/* ===================================
   BASE STYLES & RESET
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #000;
    width: 100%;
    max-width: 100vw;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #1a2a2e 0%, #0f1419 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #40e0d0 0%, #2a9d8f 50%, #1a6f64 100%);
    border-radius: 6px;
    border: 2px solid #0f1419;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #48d1cc 0%, #40e0d0 50%, #2a9d8f 100%);
}

/* ===================================
   NAVIGATION
   =================================== */

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(64, 224, 208, 0.3);
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.nav-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.6));
    transition: transform 0.2s ease;
    position: absolute;
    left: 20px;
}

.nav-logo:hover {
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.8));
    transform: scale(1.05);
}

.nav-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
    border: 2px solid rgba(64, 224, 208, 0.5);
    box-shadow: 0 8px 32px rgba(72, 209, 204, 0.3);
    margin: 0 auto;
    min-height: 50px;
}

.nav-item {
    padding: 12px 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    height: 100%;
}

.nav-item:hover {
    background: linear-gradient(45deg, #40e0d0, #48d1cc);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64, 224, 208, 0.4);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.4) 0%, rgba(72, 209, 204, 0.3) 25%, rgba(255, 105, 180, 0.3) 50%, rgba(186, 85, 211, 0.2) 75%, rgba(138, 43, 226, 0.3) 100%), url('assets/bg1.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdff 15%, #e8f8ff 25%, #ffffff 35%, #f0faff 45%, #ffffff 55%, #e5f5ff 65%, #ffffff 75%, #f5f9ff 85%, #ffffff 100%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: sparkleGlow 2s infinite;
    opacity: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 16px rgba(255, 255, 255, 0.8), 0 0 24px rgba(255, 255, 255, 0.6);
    filter: brightness(1.5) contrast(1.2) drop-shadow(0 0 6px rgba(255, 255, 255, 1));
}

@keyframes sparkleGlow {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
    width: 100%;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   COUNTDOWN CONTAINER
   =================================== */

.countdown-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    margin: 40px 0;
    border: 2px solid rgba(64, 224, 208, 0.4);
    box-shadow: 0 20px 60px rgba(72, 209, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.countdown-container.finished {
    border: 2px solid rgba(255, 215, 0, 0.7);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 215, 0, 0.08) 100%);
    padding: 25px 20px;
    margin: 40px auto 30px;
    max-width: 850px;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.25), 0 0 80px rgba(255, 215, 0, 0.15);
}

.countdown-section {
    display: block;
}

.countdown-section.hidden {
    display: none;
}

.countdown-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.time-unit {
    text-align: center;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.3), rgba(72, 209, 204, 0.3));
    border-radius: 15px;
    padding: 20px 15px;
    border: 1px solid rgba(64, 224, 208, 0.5);
    min-width: 80px;
}

.time-number {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.time-label {
    font-size: 0.9rem;
    color: #40e0d0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.progress-container {
    position: relative;
    z-index: 2;
}

.progress-label {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #40e0d0, #ffd700, #48d1cc);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.signup-button {
    background: linear-gradient(45deg, #40e0d0, #48d1cc, #ffd700);
    color: #fff;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
    font-family: 'Playfair Display', serif;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.signup-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.6);
}

/* ===================================
   LAUNCH MESSAGE
   =================================== */

.launch-message {
    display: none;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.launch-message.active {
    display: block;
}

.launch-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    background: linear-gradient(135deg, #ffd700 0%, #ffffff 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.giveaway-preview {
    text-align: left;
    max-width: 750px;
    margin: 0 auto 30px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.giveaway-preview-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.prizes-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #40e0d0;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.giveaway-prizes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prize-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.prize-bullet {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.5;
}

.prize-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.prize-item strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

.prize-item em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

.giveaway-rules-button {
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 7px 14px;
    border-radius: 16px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin: 10px auto 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.giveaway-rules-button svg {
    width: 13px;
    height: 13px;
}

.giveaway-rules-button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
}

.launch-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.buy-now-button {
    background: linear-gradient(45deg, #40e0d0, #48d1cc, #ffd700);
    color: #fff;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
    font-family: 'Playfair Display', serif;
    max-width: 300px;
}

.buy-now-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.6);
}