﻿:root {
            --primary: #8b5cf6;
            --secondary: #ec4899;
            --accent: #f59e0b;
            --bg-dark: #050505;
            --surface: #0a0a0a;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-dark);
            color: #ffffff;
            overflow-x: hidden;
        }

        /* Ambient Background */
        .ambient-glow {
            position: fixed;
            width: 100vw;
            height: 100vh;
            top: 0;
            left: 0;
            background:
                radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.08), transparent 25%);
            z-index: -1;
            pointer-events: none;
        }

        /* Glass Surface */
        .glass-panel {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
        }

        .glass-button {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .glass-button:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
        }

        /* Inputs */
        .modern-input {
            background: transparent;
            border: none;
            outline: none;
            color: white;
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-weight: 500;
        }

        /* Cards */
        .clip-card {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }

        .clip-card:hover {
            border-color: rgba(139, 92, 246, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4);
        }

        .clip-card.active {
            border-color: #8b5cf6;
            background: rgba(139, 92, 246, 0.05);
            box-shadow: 0 0 0 1px #8b5cf6;
        }

        /* Tabs */
        .tab-btn {
            position: relative;
            color: #94a3b8;
            transition: color 0.2s ease;
        }

        .tab-btn.active {
            color: white;
        }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #8b5cf6;
            box-shadow: 0 0 8px #8b5cf6;
        }

        /* Style Category Pill Buttons */
        .style-cat-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 99px;
            color: #94a3b8;
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .style-cat-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .style-cat-btn.active {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
            border-color: rgba(139, 92, 246, 0.5);
            color: white;
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
        }

        /* Premium Style Cards (Horizontal Scroll) */
        .style-card {
            flex-shrink: 0;
            width: 160px;
            height: 220px;
            border-radius: 16px;
            cursor: pointer;
            border: 2px solid rgba(255, 255, 255, 0.08);
            background: linear-gradient(145deg, rgba(20, 20, 25, 0.9), rgba(10, 10, 15, 0.95));
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            snap-align: start;
        }

        .style-card:hover {
            border-color: rgba(139, 92, 246, 0.5);
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.2);
        }

        .style-card.active {
            border-color: #ec4899;
            box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.3), 0 20px 40px rgba(236, 72, 153, 0.2);
        }

        .style-card .preview-area {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            position: relative;
        }

        .style-card .style-info {
            padding: 12px;
            background: rgba(0, 0, 0, 0.5);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .style-card .style-name {
            font-size: 12px;
            font-weight: 700;
            color: white;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .style-card .style-font {
            font-size: 10px;
            color: #64748b;
            margin-top: 2px;
        }

        /* Font Classes for Preview */
        .font-anton {
            font-family: 'Anton', sans-serif;
            letter-spacing: 1px;
        }

        .font-archivo {
            font-family: 'Archivo Black', sans-serif;
        }

        .font-bangers {
            font-family: 'Bangers', cursive;
            letter-spacing: 2px;
        }

        .font-marker {
            font-family: 'Permanent Marker', cursive;
        }

        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }

        /* Style Preview Cards */
        .style-tile {
            aspect-ratio: 16/9;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: #0f0f0f;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .style-tile:hover {
            border-color: rgba(255, 255, 255, 0.3);
            transform: scale(1.02);
        }

        .style-tile.active {
            border-color: #ec4899;
            box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.5);
        }

        /* Fonts for Styles */
        .font-impact {
            font-family: 'Anton', sans-serif;
            letter-spacing: 1px;
        }

        .font-marker {
            font-family: 'Permanent Marker', cursive;
        }

        .font-bold {
            font-family: 'Archivo Black', sans-serif;
        }

        .font-comic {
            font-family: 'Bangers', cursive;
            letter-spacing: 1px;
        }

        /* Loader */
        .shimmer-bg {
            background: #1a1a1a;
            position: relative;
            overflow: hidden;
        }

        .shimmer-bg::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
            transform: translateX(-100%);
            animation: shimmer 1.5s infinite;
        }

        @keyframes shimmer {
            100% {
                transform: translateX(100%);
            }
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #050505;
        }

        ::-webkit-scrollbar-thumb {
            background: #333;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        .loader-spinner {
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-left-color: #8b5cf6;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            100% {
                transform: rotate(360deg);
            }
        }

        /* Futuristic Loader */
        .futuristic-loader {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

        .loader-bars {
            display: flex;
            gap: 4px;
            align-items: flex-end;
            height: 40px;
        }

        .loader-bar {
            width: 4px;
            background: linear-gradient(180deg, #8b5cf6, #ec4899);
            border-radius: 2px;
            animation: barPulse 1.2s ease-in-out infinite;
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
        }

        .loader-bar:nth-child(1) {
            height: 20px;
            animation-delay: 0s;
        }

        .loader-bar:nth-child(2) {
            height: 30px;
            animation-delay: 0.1s;
        }

        .loader-bar:nth-child(3) {
            height: 40px;
            animation-delay: 0.2s;
        }

        .loader-bar:nth-child(4) {
            height: 30px;
            animation-delay: 0.3s;
        }

        .loader-bar:nth-child(5) {
            height: 20px;
            animation-delay: 0.4s;
        }

        @keyframes barPulse {

            0%,
            100% {
                transform: scaleY(0.5);
                opacity: 0.5;
            }

            50% {
                transform: scaleY(1);
                opacity: 1;
            }
        }

        .loader-text {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: rgba(255, 255, 255, 0.5);
            animation: textGlow 2s ease-in-out infinite;
        }

        @keyframes textGlow {

            0%,
            100% {
                opacity: 0.3;
            }

            50% {
                opacity: 0.8;
                text-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
            }
        }

        /* VIBRANT LOADER */
        .vibrant-bar {
            width: 8px;
            background: linear-gradient(to top, #8b5cf6, #ec4899);
            border-radius: 99px;
            animation: vibrantBounce 0.8s infinite ease-in-out alternate;
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
        }

        .delay-0 {
            animation-delay: 0s;
            height: 40px;
        }

        .delay-100 {
            animation-delay: 0.1s;
            height: 60px;
        }

        .delay-200 {
            animation-delay: 0.2s;
            height: 80px;
        }

        .delay-300 {
            animation-delay: 0.3s;
            height: 60px;
        }

        .delay-400 {
            animation-delay: 0.4s;
            height: 40px;
        }

        @keyframes vibrantBounce {
            0% {
                transform: scaleY(0.7);
                opacity: 0.7;
            }

            100% {
                transform: scaleY(1.3);
                opacity: 1;
                box-shadow: 0 0 25px rgba(236, 72, 153, 0.8);
            }
        }

        /* Showcase Horizontal Scroll */
        .showcase-scroll-container {
            overflow: hidden;
            padding: 1rem 0;
        }

        .showcase-scroll {
            display: flex;
            gap: 1.5rem;
            padding-left: 2rem;
            animation: scrollLeft 40s linear infinite;
        }

        .showcase-scroll:hover {
            animation-play-state: paused;
        }

        @keyframes scrollLeft {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .showcase-card {
            flex-shrink: 0;
            width: 16rem;
            cursor: pointer;
        }

        /* LIVE CAPTION PREVIEW STYLES */
        .caption-overlay {
            position: absolute;
            bottom: 25%;
            left: 10%;
            right: 10%;
            text-align: center;
            font-size: 1.8rem;
            line-height: 1.2;
            z-index: 15;
            pointer-events: none;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        /* Style Mappings */
        .style-default,
        .style-viral_hormozi {
            font-family: 'Impact', sans-serif;
            color: #fbbf24;
            -webkit-text-stroke: 1px black;
            text-transform: uppercase;
            font-weight: 900;
            filter: drop-shadow(4px 4px 0px black);
            letter-spacing: 1px;
        }

        .style-viral_beast {
            font-family: 'Arial', sans-serif;
            color: #fff;
            font-weight: 900;
            -webkit-text-stroke: 1.5px black;
            text-transform: uppercase;
        }

        .style-viral_gadzhi {
            font-family: 'Arial', sans-serif;
            color: #fff;
            font-weight: 700;
            background: rgba(0, 0, 0, 0.7);
            display: inline-block;
            padding: 0.2em 0.5em;
            border-radius: 4px;
        }

        .style-viral_abdaal {
            font-family: 'Times New Roman', serif;
            color: #fff;
            font-style: italic;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
            background: rgba(0, 0, 0, 0.3);
            padding: 4px 12px;
            border-radius: 8px;
        }

        .style-viral_news {
            font-family: 'Arial Black', sans-serif;
            background: #ef4444;
            color: white;
            padding: 0.25em 0.5em;
            display: inline-block;
            transform: rotate(-2deg);
            box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
            text-transform: uppercase;
            font-size: 1.4rem;
        }

        .style-viral_dynamic {
            font-family: 'Verdana', sans-serif;
            color: #fff;
            -webkit-text-stroke: 2px #f97316;
            font-weight: 900;
            font-style: italic;
            transform: skew(-5deg);
        }

        .style-game_cyber {
            font-family: 'Courier New', monospace;
            color: #d946ef;
            text-shadow: 0 0 10px #d946ef, 0 0 20px #d946ef;
            font-weight: bold;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .style-game_retro {
            font-family: 'Courier', monospace;
            color: #4ade80;
            text-shadow: 2px 2px 0 #000;
            background: #000;
            padding: 4px;
        }

        .style-game_arcade {
            font-family: 'Arial Black', sans-serif;
            color: #3b82f6;
            -webkit-text-stroke: 1px white;
            filter: drop-shadow(3px 3px 0px #1e40af);
            transform: rotate(1deg);
        }

        .style-min_soft {
            font-family: 'Helvetica', sans-serif;
            color: #fff;
            font-weight: 300;
            letter-spacing: 1px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .style-min_dark {
            font-family: 'Arial', sans-serif;
            color: #e2e8f0;
            font-weight: 600;
            text-shadow: 1px 1px 1px #000;
        }

        .style-min_clean {
            font-family: 'Verdana', sans-serif;
            color: #fff;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 16px;
            border-radius: 99px;
            font-size: 1.2rem;
        }

        .style-aes_neon_pink {
            font-family: 'Arial', sans-serif;
            color: #fff;
            text-shadow: 0 0 5px #ec4899, 0 0 10px #ec4899, 0 0 20px #ec4899;
            font-weight: bold;
        }

        .style-aes_dream {
            font-family: 'Georgia', serif;
            background: linear-gradient(to right, #ec4899, #8b5cf6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 900;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }

        /* LIVE CAPTION PREVIEW STYLES */
        .caption-overlay {
            position: absolute;
            bottom: 25%;
            left: 10%;
            right: 10%;
            text-align: center;
            font-size: 1.8rem;
            line-height: 1.2;
            z-index: 15;
            pointer-events: none;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        /* Style Mappings */
        .style-default,
        .style-viral_hormozi {
            font-family: 'Impact', sans-serif;
            color: #fbbf24;
            -webkit-text-stroke: 1px black;
            text-transform: uppercase;
            font-weight: 900;
            filter: drop-shadow(4px 4px 0px black);
            letter-spacing: 1px;
        }

        .style-viral_beast {
            font-family: 'Arial', sans-serif;
            color: #fff;
            font-weight: 900;
            -webkit-text-stroke: 1.5px black;
            text-transform: uppercase;
        }

        .style-viral_gadzhi {
            font-family: 'Arial', sans-serif;
            color: #fff;
            font-weight: 700;
            background: rgba(0, 0, 0, 0.7);
            display: inline-block;
            padding: 0.2em 0.5em;
            border-radius: 4px;
        }

        .style-viral_abdaal {
            font-family: 'Times New Roman', serif;
            color: #fff;
            font-style: italic;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
            background: rgba(0, 0, 0, 0.3);
            padding: 4px 12px;
            border-radius: 8px;
        }

        .style-viral_news {
            font-family: 'Arial Black', sans-serif;
            background: #ef4444;
            color: white;
            padding: 0.25em 0.5em;
            display: inline-block;
            transform: rotate(-2deg);
            box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
            text-transform: uppercase;
            font-size: 1.4rem;
        }

        .style-viral_dynamic {
            font-family: 'Verdana', sans-serif;
            color: #fff;
            -webkit-text-stroke: 2px #f97316;
            font-weight: 900;
            font-style: italic;
            transform: skew(-5deg);
        }

        .style-game_cyber {
            font-family: 'Courier New', monospace;
            color: #d946ef;
            text-shadow: 0 0 10px #d946ef, 0 0 20px #d946ef;
            font-weight: bold;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .style-game_retro {
            font-family: 'Courier', monospace;
            color: #4ade80;
            text-shadow: 2px 2px 0 #000;
            background: #000;
            padding: 4px;
        }

        .style-game_arcade {
            font-family: 'Arial Black', sans-serif;
            color: #3b82f6;
            -webkit-text-stroke: 1px white;
            filter: drop-shadow(3px 3px 0px #1e40af);
            transform: rotate(1deg);
        }

        .style-min_soft {
            font-family: 'Helvetica', sans-serif;
            color: #fff;
            font-weight: 300;
            letter-spacing: 1px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .style-min_dark {
            font-family: 'Arial', sans-serif;
            color: #e2e8f0;
            font-weight: 600;
            text-shadow: 1px 1px 1px #000;
        }

        .style-min_clean {
            font-family: 'Verdana', sans-serif;
            color: #fff;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 16px;
            border-radius: 99px;
            font-size: 1.2rem;
        }

        .style-aes_neon_pink {
            font-family: 'Arial', sans-serif;
            color: #fff;
            text-shadow: 0 0 5px #ec4899, 0 0 10px #ec4899, 0 0 20px #ec4899;
            font-weight: bold;
        }

        .style-aes_dream {
            font-family: 'Georgia', serif;
            background: linear-gradient(to right, #ec4899, #8b5cf6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 900;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }

        /* ========================================
           V2 STYLE IDS (s1-s15) FOR CAPTION PREVIEW
           ======================================== */

        /* s1: THE BEAST - Yellow/Gold, Anton font */
        .style-s1 {
            font-family: 'Anton', sans-serif;
            color: #fbbf24;
            text-transform: uppercase;
            font-weight: 400;
            -webkit-text-stroke: 1.5px black;
            filter: drop-shadow(3px 3px 0px black);
            letter-spacing: 2px;
        }

        /* s2: HORMOZI - White on dark, Archivo Black */
        .style-s2 {
            font-family: 'Archivo Black', sans-serif;
            color: #ffffff;
            text-transform: uppercase;
            font-weight: 400;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        /* s3: NEON GLOW - Purple neon, Anton */
        .style-s3 {
            font-family: 'Anton', sans-serif;
            color: #a855f7;
            text-transform: uppercase;
            text-shadow: 0 0 10px #a855f7, 0 0 20px #7c3aed, 0 0 30px #7c3aed;
        }

        /* s4: RED ALERT - Red emphasis, Archivo Black */
        .style-s4 {
            font-family: 'Archivo Black', sans-serif;
            color: #ffffff;
            background: linear-gradient(135deg, #dc2626, #991b1b);
            padding: 4px 12px;
            text-transform: uppercase;
        }

        /* s5: CYBER - Gaming purple, Bangers */
        .style-s5 {
            font-family: 'Bangers', cursive;
            color: #d946ef;
            text-shadow: 0 0 10px #d946ef, 0 0 20px #a855f7;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        /* s6: RETRO - Green gaming, Bangers */
        .style-s6 {
            font-family: 'Bangers', cursive;
            color: #22c55e;
            text-shadow: 3px 3px 0 #000, -1px -1px 0 #000;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* s7: ARCADE - Blue, Bangers */
        .style-s7 {
            font-family: 'Bangers', cursive;
            color: #3b82f6;
            -webkit-text-stroke: 1px white;
            filter: drop-shadow(2px 2px 0px #1d4ed8);
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* s8: CLEAN - White minimal, Archivo Black */
        .style-s8 {
            font-family: 'Archivo Black', sans-serif;
            color: #000000;
            background: rgba(255, 255, 255, 0.9);
            padding: 6px 14px;
            border-radius: 4px;
        }

        /* s9: SHADOW - Dark minimal, Archivo Black */
        .style-s9 {
            font-family: 'Archivo Black', sans-serif;
            color: #f9fafb;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
        }

        /* s10: PINK NEON - Pink glow, Anton */
        .style-s10 {
            font-family: 'Anton', sans-serif;
            color: #fff;
            text-shadow: 0 0 10px #ec4899, 0 0 20px #ec4899, 0 0 30px #be185d;
            text-transform: uppercase;
        }

        /* s11: VAPOR - Purple aesthetic, Permanent Marker */
        .style-s11 {
            font-family: 'Permanent Marker', cursive;
            color: #fff;
            text-shadow: 0 0 15px #8b5cf6, 0 0 25px #6366f1;
        }

        /* s12: SUNSET - Orange aesthetic, Permanent Marker */
        .style-s12 {
            font-family: 'Permanent Marker', cursive;
            color: #fff;
            text-shadow: 0 0 10px #f97316, 0 0 20px #ea580c;
        }

        /* s13: NEWS - Red professional, Archivo Black */
        .style-s13 {
            font-family: 'Archivo Black', sans-serif;
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            color: white;
            padding: 4px 12px;
            text-transform: uppercase;
        }

        /* s14: CORP - Blue professional, Archivo Black */
        .style-s14 {
            font-family: 'Archivo Black', sans-serif;
            background: linear-gradient(135deg, #1e40af, #1e3a8a);
            color: white;
            padding: 4px 12px;
            text-transform: uppercase;
        }

        /* s15: GOLD - Gold luxury, Anton */
        .style-s15 {
            font-family: 'Anton', sans-serif;
            color: #fbbf24;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* ========================================
           AUTH MODAL STYLES
           ======================================== */

        .auth-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(8px);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .auth-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .auth-card {
            background: linear-gradient(145deg, rgba(15, 15, 20, 0.95), rgba(5, 5, 10, 0.98));
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 24px;
            padding: 40px;
            width: 100%;
            max-width: 420px;
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.05),
                0 25px 50px -12px rgba(0, 0, 0, 0.8),
                0 0 100px rgba(139, 92, 246, 0.1);
            transform: scale(0.9) translateY(20px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .auth-overlay.active .auth-card {
            transform: scale(1) translateY(0);
        }

        .auth-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #94a3b8;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .auth-close:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        .auth-tabs {
            display: flex;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            padding: 4px;
            margin-bottom: 32px;
        }

        .auth-tab {
            flex: 1;
            padding: 12px;
            text-align: center;
            font-weight: 600;
            font-size: 14px;
            color: #64748b;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .auth-tab.active {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: #fff;
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
        }

        .auth-tab:not(.active):hover {
            color: #94a3b8;
        }

        .auth-divider {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 24px 0;
            color: #475569;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .auth-divider::before,
        .auth-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        }

        .google-btn {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 14px 24px;
            background: #ffffff;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 15px;
            color: #1f2937;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .google-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .google-btn svg {
            width: 20px;
            height: 20px;
        }

        .auth-footer {
            margin-top: 24px;
            text-align: center;
            font-size: 12px;
            color: #64748b;
            line-height: 1.6;
        }

        .auth-footer a {
            color: #8b5cf6;
            text-decoration: none;
            transition: color 0.2s;
        }

        .auth-footer a:hover {
            color: #a78bfa;
            text-decoration: underline;
        }

        .auth-features {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 24px;
        }

        .auth-feature {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: #94a3b8;
        }

        .auth-feature-icon {
            width: 20px;
            height: 20px;
            background: linear-gradient(135deg, #8b5cf6, #ec4899);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .auth-feature-icon svg {
            width: 12px;
            height: 12px;
            color: #fff;
        }
    