 :root {
            --primary: #4a00e0;
            --secondary: #8e2de2;
            --dark: #0a0a1a;
            --darker: #050510;
            --light: #e0e0ff;
            --success: #00c9a7;
            --warning: #ff9e00;
            --danger: #ff3860;
            --info: #00d1ff;
            --card-bg: rgba(20, 20, 40, 0.7);
            --border-radius: 16px;
            --shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
            --text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            --glow: 0 0 15px rgba(138, 43, 226, 0.5);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(135deg, var(--darker), var(--dark));
            color: var(--light);
            min-height: 100vh;
            padding: 20px;
            line-height: 1.6;
            overflow-x: hidden;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .container { max-width: 1200px; margin: 0 auto; }

        /* Header */
        header {
            text-align: center;
            padding: 30px 0;
            margin-bottom: 30px;
            animation: fadeInDown 0.8s ease-out;
        }

        h1 {
            font-size: 3.5rem;
            margin-bottom: 10px;
            text-shadow: var(--text-shadow);
            background: linear-gradient(to right, #fff, #c2e9fb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
            display: inline-block;
        }

        h1::after, .how-it-works h2::after, 
        .stats-container h2::after, 
        .features-container h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            border-radius: 2px;
        }

        .tagline {
            font-size: 1.3rem;
            opacity: 0.85;
            max-width: 600px;
            margin: 0 auto;
            animation: fadeIn 1s ease-out 0.3s both;
            text-shadow: var(--text-shadow);
        }

        /* Layout */
        .main-content {
            display: block;
            gap: 25px;
            margin-bottom: 40px;
        }

        /* Cards */
        .card, .step-card, .stat-card, .feature {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            margin-bottom: 25px;
        }

        .card::before, .secret-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
        }

        .card {
            backdrop-filter: blur(12px);
            animation: slideIn 0.6s ease-out;
        }

        .card:nth-child(1) { animation-delay: 0.2s; }
        .card:nth-child(2) { animation-delay: 0.4s; }

        .card:hover, .secret-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--glow);
            background: rgba(30, 30, 46, 0.8);
        }

        .card-title {
            font-size: 1.7rem;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
            color: #fff;
            position: relative;
            padding-bottom: 10px;
        }

        .card-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            border-radius: 3px;
        }

        .card-title i {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--glow);
        }

        /* Forms */
        form { display: flex; flex-direction: column; gap: 20px; }

        textarea {
            width: 100%;
            height: 150px;
            padding: 15px;
            border-radius: var(--border-radius);
            border: 2px solid rgba(255, 255, 255, 0.15);
            background: rgba(10, 10, 20, 0.4);
            color: white;
            font-size: 1.1rem;
            resize: vertical;
            transition: all 0.3s;
            font-family: inherit;
        }

        textarea:focus {
            outline: none;
            border-color: var(--info);
            box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.2), var(--glow);
        }

        /* Components */
        .emotion-selector, .counter {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .emotion-selector { margin: 10px 0; }
        .counter { margin: 20px 0; }

        .emotion-btn {
            background: rgba(255, 255, 255, 0.08);
            border: 2px solid transparent;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .emotion-btn:hover, .emotion-btn.active {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--info);
            transform: scale(1.1);
            box-shadow: var(--glow);
        }

        .counter-btn {
            flex: 1;
            min-width: 120px;
            padding: 15px;
            border: none;
            border-radius: var(--border-radius);
            color: white;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .counter-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .counter-btn i { font-size: 1.8rem; margin-bottom: 5px; }

        .keep-btn { background: linear-gradient(135deg, var(--success), #009688); }
        .forget-btn { background: linear-gradient(135deg, var(--warning), #ff6d00); }
        .support-btn { background: linear-gradient(135deg, var(--info), #0091ea); }
        .reveal-btn { background: linear-gradient(135deg, var(--danger), #ff1744); }

        /* Secret Display */
        .secret-display, .moderation-message, .code-error {
            border-radius: var(--border-radius);
            padding: 25px;
            margin: 20px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .secret-display {
            background: rgba(0, 0, 0, 0.25);
            min-height: 180px;
            border: 1px dashed rgba(255, 255, 255, 0.15);
            overflow-y: auto;
            max-height: 250px;
            font-style: italic;
        }

        .secret-display::-webkit-scrollbar { width: 8px; }
        .secret-display::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
        .secret-display::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--primary), var(--secondary)); }

        .moderation-message {
            background: rgba(255, 0, 0, 0.15);
            border: 1px solid var(--danger);
            display: none;
            margin-top: 10px;
        }

        .code-error {
            background: rgba(255, 165, 0, 0.15);
            border: 1px solid var(--warning);
            display: none;
            margin-top: 10px;
        }

        /* Secret Cards */
        .revealed-secrets {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .secret-card { padding: 25px; }

        .secret-emotion {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 15px;
        }

        .secret-content {
            margin-bottom: 15px;
            font-style: italic;
            line-height: 1.7;
            position: relative;
            padding: 10px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            overflow-y: auto;
            max-height: 150px;
        }

        .secret-content::-webkit-scrollbar { width: 6px; }
        .secret-content::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); }
        .secret-content::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--primary), var(--secondary)); }
        .secret-content::before {
            content: '"';
            position: absolute;
            top: -15px;
            left: -5px;
            font-size: 4rem;
            opacity: 0.2;
        }

        .secret-stats {
            display: flex;
            justify-content: space-around;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 15px;
            margin-top: 15px;
        }

        .secret-stat { text-align: center; }
        .secret-stat-value { font-weight: bold; font-size: 1.3rem; }
        .secret-stat-label { font-size: 0.85rem; opacity: 0.7; }

        /* Buttons */
        .btn {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 14px 28px;
            border-radius: 30px;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4), var(--glow);
        }

        .btn:active { transform: translateY(-1px); }
        .btn-block { display: block; width: 100%; text-align: center; }

        /* Utilities */
        .char-count {
            text-align: right;
            font-size: 0.9rem;
            opacity: 0.7;
            margin-top: -10px;
        }

        .min-chars { color: var(--warning); font-weight: bold; }
        .hidden { display: none; }
        .emotion-error {
            color: var(--danger);
            font-size: 0.9rem;
            margin-top: -10px;
            display: none;
        }

        footer {
            text-align: center;
            padding: 40px 0 20px;
            margin-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .action-taken {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--success);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            animation: fadeIn 0.5s;
        }

        .model-status {
            font-size: 0.9rem;
            padding: 8px 12px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 20px;
            margin-top: 10px;
            display: inline-block;
        }

        .model-status.error {
            background: rgba(255, 0, 0, 0.2);
            color: var(--danger);
        }

        /* Animations */
        @keyframes spin { to { transform: rotate(360deg); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes slideIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Particles */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(138, 43, 226, 0.5);
            animation: particle-float 5s infinite ease-in-out;
        }

        @keyframes particle-float {
            0% { transform: translateY(0) translateX(0); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
        }
        
        /* Stats section */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .stat-card { text-align: center; padding: 25px; }
        .stat-icon { font-size: 2.5rem; margin-bottom: 15px; color: var(--info); }
        .stat-value {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 10px;
            background: linear-gradient(to right, #fff, #c2e9fb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .stat-label { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; }
        
        /* How it works section */
        .steps { display: grid; gap: 25px; }
        .steps { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
        .step-card, .feature {
            text-align: center;
            padding: 25px;
        }
        
        .step-icon, .feature-icon { font-size: 3rem; margin-bottom: 20px; color: var(--info); }
        .step-number {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .step-card h3, .feature h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: white;
        }

        .step-card p, .feature p {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
        }
        
        /* Notification */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 18px 28px;
            border-radius: var(--border-radius);
            background: var(--success);
            color: white;
            box-shadow: var(--shadow);
            z-index: 1000;
            transform: translateX(200%);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .notification.show { transform: translateX(0); }
        .notification.error { background: var(--danger); }
        .notification i { font-size: 1.5rem; }

        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
        }
        
        /* Sections */
        .how-it-works, .stats-container, .features-container {
            background: rgba(30, 30, 50, 0.7);
            border-radius: var(--border-radius);
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: var(--shadow);
        }

        .how-it-works h2, .stats-container h2, .features-container h2 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2.2rem;
            color: white;
            position: relative;
            padding-bottom: 15px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            h1 { font-size: 2.5rem; }
            .card-title { font-size: 1.5rem; }
            .stat-value { font-size: 2rem; }
            .counter-btn { min-width: 100px; padding: 12px; }
        }