*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #38bdf8;
    --secondary: #fb923c;
    --bg: #06060e;
    --surface: rgba(18, 18, 30, 0.7);
    --surface-2: rgba(26, 26, 42, 0.8);
    --surface-3: #22222f;
    --text: #e0f2fe;
    --text-secondary: #7dd3fc;
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.3);
    --success: #fb923c;
    --error: #f87171;
    --accent-blue: #38bdf8;
    --accent-orange: #fb923c;
    --accent-cyan: #7dd3fc;
    --accent-green: #fdba74;
    --radius: 20px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}

/* ============ PARTICLE CANVAS ============ */
#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ============ BACKGROUND MESH ============ */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: meshFloat 25s ease-in-out infinite;
}

.mesh-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -30%;
    right: -15%;
    opacity: 0.25;
    animation-duration: 22s;
}

.mesh-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    bottom: -25%;
    left: -15%;
    opacity: 0.2;
    animation-duration: 28s;
    animation-delay: -8s;
}

.mesh-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: 40%;
    left: 50%;
    opacity: 0.12;
    animation-duration: 20s;
    animation-delay: -15s;
}

.mesh-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-orange), transparent 70%);
    top: 10%;
    left: 20%;
    opacity: 0.1;
    animation-duration: 30s;
    animation-delay: -5s;
}

.mesh-5 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    bottom: 20%;
    right: 10%;
    opacity: 0.08;
    animation-duration: 24s;
    animation-delay: -12s;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    20% { transform: translate(60px, -40px) scale(1.15) rotate(10deg); }
    40% { transform: translate(-40px, 50px) scale(0.9) rotate(-5deg); }
    60% { transform: translate(50px, 30px) scale(1.08) rotate(8deg); }
    80% { transform: translate(-30px, -20px) scale(0.95) rotate(-3deg); }
}

/* ============ FLOATING ICONS ============ */
.floating-icons {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.06);
    animation: iconFloat 20s ease-in-out infinite;
}

.float-icon svg {
    stroke: currentColor;
    stroke-width: 1;
}

.fi-1 { top: 12%; left: 8%; animation-duration: 22s; animation-delay: 0s; color: rgba(56,189,248,0.12); }
.fi-2 { top: 25%; right: 12%; animation-duration: 18s; animation-delay: -3s; color: rgba(251,146,60,0.12); }
.fi-3 { bottom: 30%; left: 15%; animation-duration: 24s; animation-delay: -7s; color: rgba(56,189,248,0.12); }
.fi-4 { top: 60%; right: 8%; animation-duration: 20s; animation-delay: -11s; color: rgba(251,146,60,0.12); }
.fi-5 { bottom: 15%; left: 40%; animation-duration: 26s; animation-delay: -4s; color: rgba(253,186,116,0.1); }
.fi-6 { top: 8%; right: 35%; animation-duration: 19s; animation-delay: -9s; color: rgba(56,189,248,0.1); }
.fi-7 { bottom: 40%; right: 25%; animation-duration: 23s; animation-delay: -14s; color: rgba(251,146,60,0.08); }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-30px) rotate(8deg); opacity: 1; }
    50% { transform: translateY(15px) rotate(-5deg); opacity: 0.7; }
    75% { transform: translateY(-20px) rotate(3deg); opacity: 0.9; }
}

/* ============ CURSOR GLOW ============ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: left, top;
}

/* ============ CONTAINER ============ */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============ HEADER ============ */
.header {
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--secondary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s ease;
}

.logo-link:hover .logo-text {
    opacity: 0.85;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.current-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

/* ============ MAIN ============ */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px 80px;
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

/* ============ STATUS BADGE ============ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px 8px 14px;
    background: rgba(251, 146, 60, 0.08);
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 36px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out both;
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.pulse::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--success);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.5); }
}

/* ============ HERO TITLE ============ */
.hero-title {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 22px;
    min-height: 1.2em;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.typewriter-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 40%, var(--secondary) 70%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.typewriter-cursor {
    display: inline-block;
    font-weight: 300;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    animation: cursorBlink 0.8s step-end infinite;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============ HERO MESSAGE ============ */
.hero-message {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* ============ COUNTDOWN ============ */
.countdown-wrapper {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.countdown-label-top {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 16px;
    opacity: 0.7;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: var(--transition);
}

.countdown-bg {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    z-index: 0;
}

.countdown-item:hover .countdown-bg {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

.countdown-value {
    position: relative;
    z-index: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    padding: 14px 22px;
    min-width: 95px;
    line-height: 1;
    background: linear-gradient(180deg, var(--text) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.countdown-item:hover .countdown-value {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
}

.countdown-label {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}

.countdown-separator {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 28px;
}

.sep-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: sepPulse 1s ease-in-out infinite;
}

.sep-dot:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes sepPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

/* ============ PROGRESS BAR ============ */
.progress-wrapper {
    width: 100%;
    max-width: 440px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-percent {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-bar {
    height: 10px;
    background: var(--surface);
    border-radius: 100px;
    overflow: visible;
    border: 1px solid var(--border);
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--secondary), var(--primary));
    background-size: 300% 100%;
    border-radius: 100px;
    position: relative;
    width: 0%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: progressGradient 4s ease infinite;
}

.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-glow {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 12px var(--secondary), 0 0 24px var(--primary);
    opacity: 0;
    transition: opacity 1s ease 1.5s;
}

.progress-fill.animate + .progress-glow {
    opacity: 1;
}

@keyframes progressGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* ============ SUBSCRIBE ============ */
.subscribe-section {
    width: 100%;
    max-width: 500px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.subscribe-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.subscribe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--secondary), var(--primary), var(--primary));
    background-size: 200% 100%;
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.subscribe-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(251,146,60,0.1));
    color: var(--primary);
    margin-bottom: 16px;
    animation: bellSwing 3s ease-in-out infinite;
}

@keyframes bellSwing {
    0%, 80%, 100% { transform: rotate(0); }
    85% { transform: rotate(8deg); }
    90% { transform: rotate(-6deg); }
    95% { transform: rotate(4deg); }
}

.subscribe-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1), 0 0 30px rgba(56, 189, 248, 0.08);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    padding: 12px 16px;
    min-width: 0;
}

.input-group input::placeholder {
    color: rgba(144, 144, 176, 0.6);
}

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============ FORM MESSAGES ============ */
.form-message {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 500;
    min-height: 20px;
    transition: var(--transition);
}

.form-message.success {
    color: var(--success);
    text-shadow: 0 0 10px rgba(251, 146, 60, 0.3);
}

.form-message.error {
    color: var(--error);
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.3);
}

/* ============ FEATURES ROW ============ */
.features-row {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.85s both;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.feature-chip svg {
    flex-shrink: 0;
}

/* ============ CONTACT ============ */
.contact-section {
    width: 100%;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.contact-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-toggle:hover {
    border-color: var(--primary);
    color: var(--text);
    background: var(--surface-2);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.1);
}

.toggle-chevron {
    transition: transform 0.3s;
}

.contact-toggle.active .toggle-chevron {
    transform: rotate(180deg);
}

.contact-form-wrapper {
    display: none;
    margin-top: 20px;
}

.contact-form-wrapper.active {
    display: block;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(20px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1), 0 0 20px rgba(56, 189, 248, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(144, 144, 176, 0.5);
}

/* ============ FOOTER ============ */
.footer {
    padding: 32px 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    border-radius: 100px;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-twitter:hover {
    background: rgba(29, 161, 242, 0.15);
    border-color: #1da1f2;
    color: #1da1f2;
    box-shadow: 0 4px 20px rgba(29, 161, 242, 0.25);
}

.social-facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: #1877f2;
    color: #1877f2;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.25);
}

.social-instagram:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(248, 113, 113, 0.15), rgba(251, 146, 60, 0.15));
    border-color: #e4405f;
    color: #e4405f;
    box-shadow: 0 4px 20px rgba(228, 64, 95, 0.25);
}

.social-admin:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
}

.footer-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-sub {
    font-size: 12px;
    color: rgba(144, 144, 176, 0.5);
}

/* ============ TOAST ============ */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(20px);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    animation: toastIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 360px;
}

.toast.toast-success {
    border-color: rgba(251, 146, 60, 0.3);
}

.toast.toast-success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(251, 146, 60, 0.15);
    color: var(--success);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.toast.toast-error {
    border-color: rgba(248, 113, 113, 0.3);
}

.toast.toast-error::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(248, 113, 113, 0.15);
    color: var(--error);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.toast.removing {
    animation: toastOut 0.3s ease-in forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateX(40px) scale(0.95); }
}

/* ============ CONFETTI ============ */
.confetti-piece {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    z-index: 9999;
    pointer-events: none;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ============ ENTERTAINMENT SECTION ============ */
.entertain-section {
    width: 100%;
    max-width: 600px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out both;
}

.entertain-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.entertain-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(251,146,60,0.15));
    color: var(--primary);
}

.entertain-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.game-tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 4px;
    overflow-x: auto;
    backdrop-filter: blur(10px);
}

.game-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex: 1;
    justify-content: center;
}

.game-tab:hover {
    color: var(--text);
    background: rgba(255,255,255,0.03);
}

.game-tab.active {
    background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(251,146,60,0.15));
    color: var(--primary);
    box-shadow: 0 2px 12px rgba(56,189,248,0.15);
}

.game-area {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.game-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.game-screen.active {
    display: flex;
}

.game-hud {
    display: flex;
    gap: 24px;
    justify-content: center;
    width: 100%;
}

.hud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hud-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.hud-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-start-btn {
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 4px;
}

.game-start-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(56,189,248,0.35);
}

.game-footer-text {
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-top: 10px;
}

/* Orb Pops Game */
.orb-field {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0,0,0,0.2);
    cursor: crosshair;
}

.game-orb {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
    transition: transform 0.1s;
    animation: orbPop 0.3s ease-out;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    pointer-events: auto;
}

.game-orb:hover {
    transform: scale(1.15);
}

@keyframes orbPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.orb-pop-effect {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: orbExplode 0.5s ease-out forwards;
}

@keyframes orbExplode {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* Memory Game */
.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 360px;
}

.mem-card {
    aspect-ratio: 1;
    border-radius: 10px;
    cursor: pointer;
    perspective: 600px;
    position: relative;
}

.mem-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
}

.mem-card.flipped .mem-card-inner {
    transform: rotateY(180deg);
}

.mem-card-front,
.mem-card-back {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mem-card-front {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 2px solid rgba(255,255,255,0.1);
}

.mem-card-front svg {
    opacity: 0.5;
}

.mem-card-back {
    background: var(--surface-2);
    border: 2px solid var(--border);
    transform: rotateY(180deg);
    font-size: 28px;
}

.mem-card.matched .mem-card-back {
    border-color: var(--success);
    background: rgba(52,211,153,0.1);
    animation: matchPulse 0.5s ease;
}

@keyframes matchPulse {
    50% { transform: rotateY(180deg) scale(1.1); }
}

/* Reflex Game */
.reaction-zone {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    background: rgba(0,0,0,0.2);
    user-select: none;
}

.reaction-zone.waiting {
    background: rgba(239, 68, 68, 0.15);
}

.reaction-zone.ready {
    background: rgba(251, 146, 60, 0.2);
}

.reaction-zone.tooEarly {
    background: rgba(251, 146, 60, 0.2);
}

.reaction-instruction {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.reaction-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--success), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Puzzle Game */
.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
    max-width: 280px;
}

.puz-tile {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(251,146,60,0.1));
    border: 1px solid rgba(56,189,248,0.2);
    color: var(--text);
    user-select: none;
}

.puz-tile:hover:not(.empty) {
    background: linear-gradient(135deg, rgba(56,189,248,0.3), rgba(251,146,60,0.2));
    transform: scale(1.05);
}

.puz-tile.empty {
    background: rgba(0,0,0,0.2);
    border-color: transparent;
    cursor: default;
}

.puz-tile.correct {
    border-color: var(--success);
    color: var(--success);
}

/* ============ ILLUSTRATION ============ */
.illustration-section {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out both;
    display: flex;
    justify-content: center;
}

.main-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(56,189,248,0.1));
}

.screen-bar {
    animation: barGrow 2s ease-out both;
}

.sb-1 { animation-delay: 0.1s; }
.sb-2 { animation-delay: 0.2s; }
.sb-3 { animation-delay: 0.3s; }
.sb-4 { animation-delay: 0.4s; }
.sb-5 { animation-delay: 0.5s; }
.sb-6 { animation-delay: 0.6s; }

@keyframes barGrow {
    from { width: 0; }
}

.screen-cursor {
    animation: screenBlink 1s step-end infinite;
}

@keyframes screenBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.key {
    animation: keyGlow 3s ease-in-out infinite;
}

.k-1, .k-5, .k-9 { animation-delay: 0s; }
.k-2, .k-6, .k-10 { animation-delay: 0.3s; }
.k-3, .k-7 { animation-delay: 0.6s; }
.k-4, .k-8 { animation-delay: 0.9s; }

@keyframes keyGlow {
    0%, 80%, 100% { fill: #2a2a45; }
    40% { fill: #3a3a5a; }
}

.steam {
    animation: steamRise 3s ease-in-out infinite;
}

.s-1 { animation-delay: 0s; }
.s-2 { animation-delay: 0.8s; }
.s-3 { animation-delay: 1.6s; }

@keyframes steamRise {
    0%, 100% { transform: translateY(0); opacity: 0; }
    20% { opacity: 0.4; }
    80% { opacity: 0.1; }
    100% { transform: translateY(-15px); opacity: 0; }
}

.plant-leaf {
    transform-origin: 94px 198px;
    animation: leafSway 4s ease-in-out infinite;
}

.pl-1 { animation-delay: 0s; }
.pl-2 { animation-delay: -1.3s; }
.pl-3 { animation-delay: -2.6s; }

@keyframes leafSway {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(3deg); }
}

.float-dot {
    animation: dotFloat 6s ease-in-out infinite;
}

.fd-1 { animation-delay: 0s; }
.fd-2 { animation-delay: -1.5s; }
.fd-3 { animation-delay: -3s; }
.fd-4 { animation-delay: -4.5s; }

@keyframes dotFloat {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-12px); opacity: 0.8; }
}

.screen-gear {
    animation: gearSpin 8s linear infinite;
    transform-origin: 380px 115px;
}

/* ============ WAITING ANIMATIONS ============ */
.waiting-section {
    width: 100%;
    max-width: 500px;
    margin-bottom: 48px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out both;
}

.waiting-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.waiting-animations {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.wait-anim {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wait-anim p {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* DNA Helix */
.dna-helix {
    width: 40px;
    height: 50px;
    position: relative;
}

.dna-helix span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: dnaWave 2s ease-in-out infinite;
}

.dna-helix span:nth-child(1) { top: 0; background: var(--primary); animation-delay: 0s; }
.dna-helix span:nth-child(2) { top: 0; background: var(--secondary); animation-delay: 0s; animation-name: dnaWave2; }
.dna-helix span:nth-child(3) { top: 7px; background: var(--secondary); animation-delay: 0.15s; }
.dna-helix span:nth-child(4) { top: 7px; background: var(--primary); animation-delay: 0.15s; animation-name: dnaWave2; }
.dna-helix span:nth-child(5) { top: 14px; background: var(--primary); animation-delay: 0.3s; }
.dna-helix span:nth-child(6) { top: 14px; background: var(--secondary); animation-delay: 0.3s; animation-name: dnaWave2; }
.dna-helix span:nth-child(7) { top: 21px; background: var(--secondary); animation-delay: 0.45s; }
.dna-helix span:nth-child(8) { top: 21px; background: var(--primary); animation-delay: 0.45s; animation-name: dnaWave2; }

@keyframes dnaWave {
    0%, 100% { transform: translateX(-50%) translateX(-8px); }
    50% { transform: translateX(-50%) translateX(8px); }
}

@keyframes dnaWave2 {
    0%, 100% { transform: translateX(-50%) translateX(8px); }
    50% { transform: translateX(-50%) translateX(-8px); }
}

/* Solar System */
.solar-system {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fb923c;
    box-shadow: 0 0 10px #fb923c, 0 0 20px rgba(56,189,248,0.3);
    position: absolute;
    z-index: 2;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.o-1 { width: 26px; height: 26px; animation: orbitSpin 3s linear infinite; }
.o-2 { width: 38px; height: 38px; animation: orbitSpin 5s linear infinite; }
.o-3 { width: 48px; height: 48px; animation: orbitSpin 7s linear infinite; }

.planet {
    position: absolute;
    border-radius: 50%;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.p-1 { width: 5px; height: 5px; background: var(--primary); }
.p-2 { width: 6px; height: 6px; background: var(--secondary); }
.p-3 { width: 4px; height: 4px; background: var(--primary); }

@keyframes orbitSpin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

/* Dot Wave */
.dot-wave {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 30px;
}

.dot-wave span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    animation: dotBounce 1.4s ease-in-out infinite;
}

.dot-wave span:nth-child(1) { animation-delay: 0s; background: var(--primary); }
.dot-wave span:nth-child(2) { animation-delay: 0.1s; background: var(--secondary); }
.dot-wave span:nth-child(3) { animation-delay: 0.2s; background: var(--secondary); }
.dot-wave span:nth-child(4) { animation-delay: 0.3s; background: var(--primary); }
.dot-wave span:nth-child(5) { animation-delay: 0.4s; background: var(--secondary); }

@keyframes dotBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-12px); }
}

/* Morph Blob */
.morph-blob {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blob-inner {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: morphShape 4s ease-in-out infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg) scale(1); }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(90deg) scale(1.1); }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ============ SCROLL ANIMATIONS ============ */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-down"] {
    transform: translateY(-15px);
}

[data-animate="scale-in"] {
    transform: scale(0.85);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
    .header { padding: 20px 20px; }
    .logo-img { width: 56px; height: 56px; }
    .current-time { display: none; }
    main { padding: 0 16px 60px; }
    .countdown-value { font-size: 32px; min-width: 64px; padding: 10px 14px; }
    .countdown-separator { padding-bottom: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .input-group { flex-direction: column; }
    .footer { padding: 24px 16px; }
    .features-row { gap: 8px; }
    .float-icon { display: none; }
    .gear-container { transform: scale(0.8); }
    .contact-form { padding: 20px; }
    .subscribe-card { padding: 24px; }
    .waiting-animations { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .game-tabs { flex-wrap: nowrap; overflow-x: auto; }
    .game-tab { flex: none; padding: 8px 12px; font-size: 12px; }
    .main-illustration { max-width: 320px; }
    .puzzle-grid { max-width: 220px; }
    .puz-tile { font-size: 14px; }
}
