:root {
    --bg-dark: #050505;
    --primary: #00ff88;
    --secondary: #7000ff;
    --accent: #00d1ff;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Language Switcher */
.lang-switcher-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
}

.lang-switcher {
    display: flex;
    padding: 0.4rem;
    gap: 0.4rem;
    border-radius: 12px;
    position: relative;
    flex-direction: column; /* For potential dropdown */
}

.lang-toggle {
    display: none; /* Hidden on desktop */
}

.lang-selected-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.lang-options {
    display: flex;
    gap: 0.4rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 0.5rem 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.lang-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    background: var(--primary);
    color: #000;
}

/* Mobile Dropdown Overrides */
@media (max-width: 768px) {
    .lang-selected-toggle {
        display: flex;
    }
    .lang-options {
        display: none; /* Hidden until toggled */
        flex-direction: column;
        width: 100%;
        padding-top: 0.5rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        margin-top: 5px;
    }
    .lang-switcher.open .lang-options {
        display: flex;
    }
    .lang-btn {
        width: 100%;
        text-align: left;
        padding: 0.8rem 1rem;
    }
}

/* Background Systems */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(at 0% 0%, hsla(153, 100%, 50%, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(187, 100%, 50%, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 100%, hsla(262, 100%, 50%, 0.1) 0px, transparent 50%);
    filter: blur(80px);
}

#nodes-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Hero Content Area */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 5% 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    z-index: 10;
}

.brand-logo {
    margin-bottom: 1rem;
}

.brand-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.3));
    transition: 0.5s ease;
}

.hero-main-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 280px;
    /* margin-bottom: 2rem; */
}

.hero-center-content {
    max-width: 750px;
    z-index: 5;
    text-align: center;
}

.glitch-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: white;
}

/* Supply Badges - 3D Floating */
.badge-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 170px;
    z-index: 2;
}

.badge-item.founder.floating-left {
    left: -20px;
    transform: perspective(1000px) rotateY(25deg);
    animation: floatLeft 6s ease-in-out infinite;
}

.badge-item.prime.floating-right {
    right: -20px;
    transform: perspective(1000px) rotateY(-25deg);
    animation: floatRight 6s ease-in-out infinite;
}

.badge-item .count {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.badge-item.founder .count {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.badge-item.prime .count {
    color: #ffeb3b;
    text-shadow: 0 0 20px rgba(255, 235, 59, 0.4);
}

.badge-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    opacity: 0.9;
    text-align: center;
    width: 100%;
}

/* Floating Animations */
@keyframes floatLeft {
    0%, 100% { transform: perspective(1000px) rotateY(25deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(20deg) translateY(-20px); }
}

@keyframes floatRight {
    0%, 100% { transform: perspective(1000px) rotateY(-25deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-20deg) translateY(-20px); }
}

.badge-item:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.1) translateY(-10px) !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 20;
}

/* Rotator Styles */
.benefits-rotator-container {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.benefit-slide.active {
    display: block;
}

.slide-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 5px;
    color: var(--primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.benefit-slide.prime .slide-title {
    color: #ffeb3b;
}

.typewriter-text {
    font-size: 1.6rem;
    font-weight: 700;
    min-height: 1.5em;
    color: white;
}

.benefit-slide.prime .typewriter-text {
    color: #ffeb3b;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.4);
}

.benefit-subtitle {
    font-size: 1rem;
    color: var(--text-dim);
    margin-top: 0.6rem;
}

.benefit-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.benefit-list li {
    font-size: 0.9rem;
}

.benefit-list li::before {
    content: '•';
    color: var(--primary);
    margin-right: 0.5rem;
}

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

/* Countdown */
.countdown-container {
    padding: 2.5rem 2rem;
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.countdown-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--primary);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    position: relative;
}

.time-block span {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    line-height: 1;
}

.time-block label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-top: 0.8rem;
    font-weight: 600;
}

/* Cleaner Separator */
.countdown-timer .time-block:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -1.8rem;
    top: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

/* Whitelist Form & Button - Compact Style */
.hero-actions {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.whitelist-form {
    display: flex;
    gap: 8px;
    padding: 6px;
    border-radius: 100px;
    width: 100%;
    max-width: 500px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    margin: 0 auto;
}

.whitelist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: white;
    font-size: 0.9rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.btn-glow {
    background: var(--primary);
    color: #000000 !important;
    padding: 0.8rem 2.2rem;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

/* Badges Container Logic */
.hero-badges-container {
    display: contents; /* Desktop: Don't interfere with absolute positioning */
}

@media (max-width: 1100px) {
    .hero-main-wrapper {
        flex-direction: column;
        min-height: auto;
        gap: 2rem;
    }
    .hero-center-content {
        order: 1;
    }
    .hero-badges-container {
        display: flex;
        flex-direction: row; /* Horizontal row as requested */
        justify-content: center;
        gap: 1rem;
        order: 2;
        width: 100%;
    }
    .badge-item {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        animation: floatMobile 4s ease-in-out infinite !important;
        width: 130px; /* Smaller badges */
        padding: 0.8rem;
    }
    .badge-item .count {
        font-size: 1.8rem; /* Smaller numbers */
    }
    .badge-item .label {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 5% 40px;
    }
    .brand-logo img {
        height: 40px;
    }
    .glitch-text {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .typewriter-text {
        font-size: 1.2rem;
    }
    .countdown-container {
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
    }
    .countdown-timer {
        gap: 1.5rem;
    }
    .time-block {
        min-width: 60px;
    }
    .time-block span {
        font-size: 1.8rem;
    }
    .countdown-timer .time-block:not(:last-child)::after {
        right: -0.8rem;
        font-size: 1.5rem;
    }
    .whitelist-form {
        flex-direction: column;
        border-radius: 24px;
        padding: 1rem;
        gap: 12px;
    }
    .whitelist-form input {
        text-align: center;
        padding: 0.8rem;
    }
    .btn-glow {
        width: 100%;
        padding: 1rem;
    }
    .benefit-list {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .glitch-text {
        font-size: 2rem;
    }
    .time-block span {
        font-size: 1.5rem;
    }
    .countdown-timer {
        gap: 1rem;
    }
    .time-block {
        min-width: 50px;
    }
}

@keyframes floatMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 255, 136, 0.3);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
}

.toast-content svg {
    color: var(--primary, #00ff88);
    filter: drop-shadow(0 0 5px var(--primary, #00ff88));
}

@media (max-width: 768px) {
    .toast {
        right: 1rem;
        left: 1rem;
        bottom: 1.5rem;
        text-align: center;
        justify-content: center;
    }
}
