:root {
    --color-bg: #0a0a0f;
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-surface-dark: rgba(0, 0, 0, 0.3);
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.2);
    --color-accent-1: #a855f7;
    --color-accent-2: #3b82f6;
    --gradient-accent: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    --blur-amount: 20px;
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: var(--color-bg);
    background-image: url(pictures/background.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Gradient overlay on background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.15) 0%,
        rgba(10, 10, 15, 0.8) 50%,
        rgba(59, 130, 246, 0.15) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Animated background orbs */
.bg-orbs {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-accent-2);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* Glass effect utilities */
.glass {
    background: var(--color-surface);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--color-border);
}

.glass-dark {
    background: var(--color-surface-dark);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--color-border);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 20px;
    background: var(--color-surface);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--color-border);
    border-radius: 100px;
    z-index: 100;
    width: calc(100% - 40px);
    max-width: 500px;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: transform var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.nav-logo {
    height: 50px;
    width: auto;
}

.shop-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-accent);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 100px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4);
}

.shop-btn svg {
    transition: transform var(--transition);
}

.shop-btn:hover svg {
    transform: translate(2px, -2px);
}

/* Main content */
main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 20px 40px;
}

.hero-card {
    text-align: center;
    padding: 50px 60px;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    line-height: 1.3;
    padding-bottom: 0.1em;
}

/* Countdown grid */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.time-block {
    padding: 20px 10px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition);
}

.time-block:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-light);
}

.time-value {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.time-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.launch-date {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Launched state */
.hero-card.launched .countdown-grid {
    display: none;
}

.launched-message {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive */
@media (max-width: 600px) {
    .glass-nav {
        top: 15px;
        padding: 10px 15px;
        width: calc(100% - 30px);
    }

    .nav-logo {
        height: 40px;
    }

    .shop-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .shop-btn span {
        display: none;
    }

    .shop-btn svg {
        width: 20px;
        height: 20px;
    }

    main {
        padding: 100px 15px 30px;
    }

    .hero-card {
        padding: 30px 25px;
    }

    .tagline {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .time-value {
        font-size: 2.2rem;
    }

    .time-label {
        font-size: 0.7rem;
    }

    .orb-1 {
        width: 300px;
        height: 300px;
    }

    .orb-2 {
        width: 250px;
        height: 250px;
    }

    .orb-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 380px) {
    .title {
        font-size: 1.8rem;
    }

    .time-value {
        font-size: 1.8rem;
    }
}
