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

:root {
    --green-50: #e8fdf0;
    --green-100: #b8f5d0;
    --green-200: #6eeaa0;
    --green-300: #34d97a;
    --green-400: #00e87b;
    --green-500: #00c96a;
    --green-600: #00a858;
    --green-700: #008a48;
    --green-glow: rgba(0, 232, 123, 0.4);
    --bg-deep: #040d08;
    --bg-card: rgba(10, 30, 18, 0.6);
    --bg-card-hover: rgba(15, 45, 28, 0.7);
    --border-subtle: rgba(0, 232, 123, 0.1);
    --border-active: rgba(0, 232, 123, 0.3);
    --text-primary: #e8fdf0;
    --text-secondary: rgba(232, 253, 240, 0.6);
    --text-muted: rgba(232, 253, 240, 0.35);
    --font-main: 'Outfit', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    animation: fadeIn 1s ease-out 0.8s both;
}

.lang-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.lang-btn:hover {
    color: var(--green-200);
}

.lang-btn.active {
    background: rgba(0, 232, 123, 0.15);
    color: var(--green-400);
    box-shadow: 0 0 16px rgba(0, 232, 123, 0.1);
}

/* ===== BACKGROUND ===== */
.bg-layer {
    position: fixed; inset: 0;
    z-index: 0; overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--green-400), transparent 70%);
    top: -200px; left: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--green-600), transparent 70%);
    bottom: -150px; right: -100px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, var(--green-300), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 18s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(80px, 60px); }
    66% { transform: translate(-40px, 100px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-60px, -80px); }
    66% { transform: translate(50px, -40px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

#particles-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}

.grid-overlay {
    position: fixed; inset: 0; z-index: 1;
    background-image:
        linear-gradient(rgba(0,232,123,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,232,123,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    position: relative; z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 44px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    display: flex; flex-direction: column;
    align-items: center; gap: 24px;
    animation: fadeInUp 1s ease-out;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 120px;
    background: radial-gradient(ellipse, var(--green-glow), transparent 70%);
    filter: blur(40px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.logo-text {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.logo-letter {
    display: inline-block;
    background: linear-gradient(135deg, var(--green-200), var(--green-400), var(--green-200));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letterFloat 4s ease-in-out infinite, shimmer 5s linear infinite;
    animation-delay: calc(var(--i) * 0.15s), calc(var(--i) * 0.3s);
    text-shadow: none;
    filter: drop-shadow(0 0 30px var(--green-glow));
}

@keyframes letterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes shimmer {
    0% { background-position: 200% 50%; }
    100% { background-position: -200% 50%; }
}

.logo-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    color: var(--green-400);
    margin-top: 8px;
    opacity: 0.8;
}

.tagline {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 400px;
    transition: opacity 0.3s;
}

.status-badge {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 10px 24px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-active);
    backdrop-filter: blur(20px);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green-200);
}

.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green-400);
    box-shadow: 0 0 12px var(--green-glow);
    animation: dotPulse 2s ease-in-out infinite;
}

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

/* ===== DATE SECTION ===== */
.date-section {
    width: 100%;
    animation: fadeInUp 1s ease-out 0.15s both;
}

.date-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 232, 123, 0.08), rgba(10, 30, 18, 0.7));
    border: 1px solid var(--border-active);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.date-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 232, 123, 0.12);
}

.date-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(0, 232, 123, 0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.date-icon svg {
    width: 24px; height: 24px;
    color: var(--green-400);
}

.date-info {
    display: flex; flex-direction: column; gap: 4px;
    flex: 1;
}

.date-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.date-value {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--green-100), var(--green-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.date-glow {
    position: absolute;
    top: -50%; right: -20%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0, 232, 123, 0.1), transparent 70%);
    pointer-events: none;
    animation: dateGlowPulse 4s ease-in-out infinite;
}

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

/* ===== COUNTDOWN ===== */
.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
    transition: opacity 0.3s;
}

.countdown-section {
    width: 100%;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.countdown-card {
    position: relative;
    width: clamp(72px, 18vw, 130px);
    aspect-ratio: 1;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.countdown-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
}

.card-inner {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    height: 100%; padding: 12px;
}

.countdown-value {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(180deg, var(--green-100), var(--green-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.countdown-label {
    font-size: clamp(0.6rem, 1.5vw, 0.75rem);
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: opacity 0.3s;
}

.countdown-separator {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--green-400);
    opacity: 0.4;
    animation: separatorPulse 1s ease-in-out infinite;
}

@keyframes separatorPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.15; }
}

.card-shine {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,232,123,0.05), transparent 60%);
    pointer-events: none;
}

/* ===== SOCIAL LINKS ===== */
.social-section {
    width: 100%;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.social-grid {
    display: flex; flex-direction: column;
    gap: 10px;
}

.social-card {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    border-color: var(--border-active);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0,232,123,0.1);
}

.social-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(0,232,123,0.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s, transform 0.3s;
}

.social-icon svg { width: 22px; height: 22px; color: var(--green-400); }

.social-card:hover .social-icon {
    background: rgba(0,232,123,0.2);
    transform: scale(1.08);
}

.social-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.social-name { font-weight: 600; font-size: 1rem; }
.social-handle { font-size: 0.8rem; color: var(--text-muted); }
.social-count {
    font-size: 0.75rem;
    color: var(--green-400);
    font-weight: 500;
    margin-top: 2px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-arrow {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translate(-8px, 8px);
    transition: all 0.35s;
}
.social-arrow svg { width: 18px; height: 18px; color: var(--green-400); }

.social-card:hover .social-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding-top: 24px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.footer-line {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-400), transparent);
    margin: 0 auto 16px;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .main-container { padding: 40px 16px 32px; gap: 36px; }
    .countdown-grid { gap: 8px; }
    .countdown-card { border-radius: 14px; }
    .social-card { padding: 14px 16px; }
    .logo-subtitle { letter-spacing: 0.3em; font-size: 0.75rem; }
    .date-card { padding: 18px 20px; gap: 14px; }
    .date-value { font-size: 1rem; }
    .lang-switcher { top: 12px; right: 12px; }
    .lang-btn { padding: 6px 10px; font-size: 0.7rem; }
}
