        /* ===== RESET & BASE ===== */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --gold: #d4a843;
            --gold-light: #f0d78c;
            --purple: #8b5cf6;
            --purple-dark: #6d28d9;
            --purple-deep: #4c1d95;
            --bg-primary: #0a0a1a;
            --bg-card: rgba(20, 15, 45, 0.85);
            --bg-card-hover: rgba(30, 25, 60, 0.95);
            --text-primary: #f0e6ff;
            --text-secondary: #b8a9d4;
            --text-muted: #7a6b96;
            --border: rgba(139, 92, 246, 0.25);
            --border-hover: rgba(212, 168, 67, 0.5);
            --fire: #ff6b35;
            --earth: #4caf50;
            --air: #64b5f6;
            --water: #4fc3f7;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* ===== COSMIC BACKGROUND ===== */
        .cosmic-bg {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .cosmic-bg .nebula {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.3;
            animation: nebulaFloat 20s ease-in-out infinite;
        }

        .cosmic-bg .nebula:nth-child(1) {
            width: 600px; height: 600px;
            background: radial-gradient(circle, var(--purple-deep), transparent);
            top: -10%; left: -10%;
            animation-delay: 0s;
        }

        .cosmic-bg .nebula:nth-child(2) {
            width: 500px; height: 500px;
            background: radial-gradient(circle, #1a0533, transparent);
            top: 40%; right: -15%;
            animation-delay: -7s;
        }

        .cosmic-bg .nebula:nth-child(3) {
            width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(212,168,67,0.15), transparent);
            bottom: -5%; left: 20%;
            animation-delay: -14s;
        }

        @keyframes nebulaFloat {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(30px, -20px) scale(1.05); }
            66% { transform: translate(-20px, 15px) scale(0.95); }
        }

        /* ===== STARS ===== */
        .stars-container {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        .star {
            position: absolute;
            background: white;
            border-radius: 50%;
            animation: twinkle var(--duration) ease-in-out infinite;
            animation-delay: var(--delay);
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.2; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.3); }
        }

        /* ===== HEADER ===== */
        .header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(10, 10, 26, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            padding: 0.75rem 1.5rem;
        }

        .header-inner {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .logo-icon {
            font-size: 2rem;
            filter: drop-shadow(0 0 10px rgba(212,168,67,0.5));
            animation: logoPulse 3s ease-in-out infinite;
        }

        @keyframes logoPulse {
            0%, 100% { filter: drop-shadow(0 0 10px rgba(212,168,67,0.5)); }
            50% { filter: drop-shadow(0 0 20px rgba(212,168,67,0.8)); }
        }

        .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header-date {
            font-size: 0.85rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        /* ===== HERO ===== */
        .hero {
            text-align: center;
            padding: 3rem 1.5rem 2rem;
            max-width: 900px;
            margin: 0 auto;
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 900;
            background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 30%, var(--purple) 70%, var(--gold-light) 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 4s ease-in-out infinite;
            margin-bottom: 0.75rem;
            line-height: 1.2;
        }

        @keyframes shimmer {
            0%, 100% { background-position: 0% center; }
            50% { background-position: 200% center; }
        }

        .hero p {
            font-size: clamp(1rem, 2.5vw, 1.25rem);
            color: var(--text-secondary);
            font-weight: 300;
            max-width: 600px;
            margin: 0 auto;
        }

        /* ===== TAB SWITCHER ===== */
        .tab-container {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin: 1.5rem auto 2rem;
            padding: 0 1.5rem;
        }

        .tab-btn {
            padding: 0.75rem 2.5rem;
            border: 1px solid var(--border);
            border-radius: 50px;
            background: transparent;
            color: var(--text-secondary);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .tab-btn::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: linear-gradient(135deg, var(--purple-dark), var(--purple-deep));
            opacity: 0;
            transition: opacity 0.4s;
            z-index: -1;
        }

        .tab-btn.active {
            border-color: var(--gold);
            color: var(--gold-light);
            box-shadow: 0 0 25px rgba(212,168,67,0.2), inset 0 0 15px rgba(212,168,67,0.05);
        }

        .tab-btn.active::before { opacity: 1; }

        .tab-btn:hover:not(.active) {
            border-color: var(--purple);
            color: var(--text-primary);
        }

        .tab-btn .tab-date {
            display: block;
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .tab-btn.active .tab-date { color: var(--gold); }

        /* ===== GRID ===== */
        .zodiac-grid {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1.5rem 3rem;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.25rem;
        }

        @media (max-width: 1200px) {
            .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 900px) {
            .zodiac-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 550px) {
            .zodiac-grid { grid-template-columns: 1fr; max-width: 450px; }
        }

        /* ===== ZODIAC CARD ===== */
        .zodiac-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 1.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
            animation: cardAppear 0.6s ease-out forwards;
        }

        .zodiac-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 3px;
            background: linear-gradient(90deg, transparent, var(--element-color), transparent);
            opacity: 0;
            transition: opacity 0.4s;
        }

        .zodiac-card:hover {
            border-color: var(--border-hover);
            background: var(--bg-card-hover);
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15), 0 0 60px rgba(212,168,67,0.05);
        }

        .zodiac-card:hover::before { opacity: 1; }

        @keyframes cardAppear {
            to { opacity: 1; transform: translateY(0); }
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .zodiac-symbol {
            font-size: 2.2rem;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(139, 92, 246, 0.1);
            border-radius: 14px;
            border: 1px solid rgba(139, 92, 246, 0.2);
            flex-shrink: 0;
        }

        .card-title h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        .card-title .dates {
            font-size: 0.78rem;
            color: var(--text-muted);
        }

        .element-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.75rem;
        }

        .element-fire { background: rgba(255,107,53,0.15); color: var(--fire); border: 1px solid rgba(255,107,53,0.25); }
        .element-earth { background: rgba(76,175,80,0.15); color: var(--earth); border: 1px solid rgba(76,175,80,0.25); }
        .element-air { background: rgba(100,181,246,0.15); color: var(--air); border: 1px solid rgba(100,181,246,0.25); }
        .element-water { background: rgba(79,195,247,0.15); color: var(--water); border: 1px solid rgba(79,195,247,0.25); }

        .horoscope-text {
            font-size: 0.88rem;
            color: var(--text-secondary);
            line-height: 1.65;
            margin-bottom: 1.25rem;
            min-height: 80px;
        }

        /* ===== CATEGORIES ===== */
        .categories {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .category {
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        .category-icon {
            font-size: 0.9rem;
            width: 22px;
            text-align: center;
            flex-shrink: 0;
        }

        .category-label {
            font-size: 0.78rem;
            color: var(--text-muted);
            width: 70px;
            flex-shrink: 0;
        }

        .category-bar {
            flex: 1;
            height: 6px;
            background: rgba(255,255,255,0.06);
            border-radius: 3px;
            overflow: hidden;
            position: relative;
        }

        .category-fill {
            height: 100%;
            border-radius: 3px;
            transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .category-fill::after {
            content: '';
            position: absolute;
            top: 0; right: 0;
            width: 20px; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
            border-radius: 3px;
        }

        .fill-love { background: linear-gradient(90deg, #e91e63, #ff5252); }
        .fill-career { background: linear-gradient(90deg, var(--purple), #a78bfa); }
        .fill-finance { background: linear-gradient(90deg, var(--gold), #f0d78c); }
        .fill-health { background: linear-gradient(90deg, #4caf50, #81c784); }
        .fill-mood { background: linear-gradient(90deg, #ff9800, #ffb74d); }

        .category-value {
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text-primary);
            width: 36px;
            text-align: right;
            flex-shrink: 0;
        }

        /* ===== REFRESH BUTTON ===== */
        .refresh-container {
            text-align: center;
            padding: 1rem 1.5rem 2rem;
        }

        .refresh-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.9rem 2.5rem;
            border: 1px solid var(--gold);
            border-radius: 50px;
            background: linear-gradient(135deg, rgba(212,168,67,0.1), rgba(139,92,246,0.1));
            color: var(--gold-light);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
        }

        .refresh-btn::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212,168,67,0.15), transparent);
            transition: left 0.6s;
        }

        .refresh-btn:hover {
            box-shadow: 0 0 30px rgba(212,168,67,0.25);
            transform: translateY(-2px);
        }

        .refresh-btn:hover::before { left: 100%; }

        .refresh-icon {
            font-size: 1.2rem;
            transition: transform 0.6s;
        }

        .refresh-btn:hover .refresh-icon { transform: rotate(180deg); }
        .refresh-btn.spinning .refresh-icon { animation: spin 1s ease-in-out; }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(720deg); }
        }

        /* ===== FOOTER ===== */
        .footer {
            text-align: center;
            padding: 2rem 1.5rem;
            border-top: 1px solid var(--border);
            background: rgba(10, 10, 26, 0.5);
        }

        .footer p {
            font-size: 0.85rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }

        .footer .disclaimer {
            margin-top: 0.75rem;
            font-size: 0.75rem;
            color: rgba(122, 107, 150, 0.6);
        }

        /* ===== SCROLLBAR ===== */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-primary); }
        ::-webkit-scrollbar-thumb { background: var(--purple-dark); border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--purple); }

        /* ===== LOADING ===== */
        .loading-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: var(--bg-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s, visibility 0.5s;
        }

        .loading-overlay.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader {
            text-align: center;
        }

        .loader-symbol {
            font-size: 4rem;
            animation: loaderPulse 1.5s ease-in-out infinite;
        }

        .loader-text {
            margin-top: 1rem;
            color: var(--text-secondary);
            font-size: 1rem;
        }

        @keyframes loaderPulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.2); opacity: 1; }
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .header { padding: 0.6rem 1rem; }
            .logo-text { font-size: 1.1rem; }
            .hero { padding: 2rem 1rem 1.5rem; }
            .zodiac-grid { padding: 0 1rem 2rem; gap: 1rem; }
            .zodiac-card { padding: 1.25rem; }
            .tab-btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
        }

        @media (max-width: 400px) {
            .header-inner { justify-content: center; }
            .header-date { display: none; }
        }