:root {
    --primary: #9b51e0;
    --primary-glow: rgba(155, 81, 224, 0.6);
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --glass-bg: rgba(15, 15, 20, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-image: url('WebPage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Subtle overlay with a light spotlight in the center to illuminate the art */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -1;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    width: 100%;
    z-index: 10;
}

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

.launch-date-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(15, 15, 20, 0.5);
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-btn i {
    font-size: 1.2rem;
    transform: translateY(1px);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--primary-glow);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-circle {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

/* Dropdown Menu */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    transform: translateY(10px);
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 200;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent rgba(15, 15, 20, 0.9) transparent;
}

/* Main Content Area */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 10;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    max-width: 900px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

h1.glitch-text {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff 0%, #d4b5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.2));
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 400;
}

/* Animated Vibrant Green Glow for Pill */
@keyframes pill-pulse-green {
    0% { 
        box-shadow: 0 0 20px 5px rgba(0, 255, 80, 0.4), inset 0 0 10px rgba(0, 255, 80, 0.2); 
        border-color: rgba(0, 255, 80, 0.5); 
    }
    50% { 
        box-shadow: 0 0 30px 10px rgba(100, 255, 150, 0.6), inset 0 0 15px rgba(100, 255, 150, 0.3); 
        border-color: rgba(100, 255, 150, 0.8); 
    }
    100% { 
        box-shadow: 0 0 20px 5px rgba(0, 255, 80, 0.4), inset 0 0 10px rgba(0, 255, 80, 0.2); 
        border-color: rgba(0, 255, 80, 0.5); 
    }
}

/* Bottom Countdown Pill */
.countdown-pill {
    position: fixed;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 255, 80, 0.5);
    border-radius: 50px;
    padding: 15px 35px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 100;
    animation: pill-pulse-green 4s infinite;
}

.pill-label {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-size: 1.1rem;
    padding-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.pill-label.live-green {
    color: #4dff88;
    text-shadow: 0 0 15px rgba(0, 255, 80, 0.8);
}

.pill-timer {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pill-timer span[id] {
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-glow);
}

.pill-timer .unit {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-right: 5px;
}

/* Responsiveness */
@media (max-width: 768px) {
    .glass-card {
        padding: 2rem 1rem;
    }
    
    h1.glitch-text {
        font-size: 2.5rem;
    }

    .countdown-pill {
        width: max-content;
        max-width: 95%;
        justify-content: center;
        padding: 12px 15px;
        bottom: 30px;
        flex-wrap: nowrap;
    }

    .logo {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 5px;
    }

    .launch-date-text {
        font-size: 0.75rem;
        padding: 4px 10px;
        transform: translateY(-15px);
    }

    .pill-label {
        font-size: 0.85rem;
        padding-right: 10px;
        letter-spacing: 1px;
    }

    .pill-timer {
        font-size: 1.1rem;
        gap: 4px;
    }

    /* Hide Telegram text on mobile and make the button circular to match others */
    .btn-text {
        display: none;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    /* Hide market cap display completely on mobile */
    .market-cap-display {
        display: none !important;
    }
}

/* Bottom Left Market Cap Display */
.market-cap-display {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.market-cap-display .mc-value {
    color: #fff;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
