/* Reset & Variables */
:root {
    --bg-dark: #0b0c0e;
    --card-bg: rgba(20, 22, 28, 0.75);
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-bright: #FFD700;
    --gold-dark: #996515;
    --gold-gradient: linear-gradient(135deg, #FFF099 0%, #D4AF37 50%, #8A5A00 100%);
    --gold-glow: rgba(212, 175, 55, 0.35);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Particle Canvas & Overlay */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(153, 101, 21, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 10% 60%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    z-index: 2;
    pointer-events: none;
}

/* Main Container */
.container {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 900px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Header & Logo */
.header {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    width: 210px;
    height: 210px;
    border-radius: 3%;
    padding: 6px;
    box-shadow: 0 0 35px var(--gold-glow);
    margin-bottom: 20px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.logo-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 8px;
}

.brand-tagline {
    font-size: 1.05rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
}

.brand-tagline .highlight {
    color: var(--gold-primary);
    border-bottom: 1px solid var(--gold-primary);
    padding-bottom: 2px;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background-color: var(--gold-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-bright);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-light);
}

/* Hero Teaser */
.hero-teaser {
    margin-bottom: 35px;
    max-width: 700px;
}

.hero-teaser h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

.hero-teaser p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Countdown Grid */
.countdown-section {
    width: 100%;
    margin-bottom: 40px;
}

.section-subtitle {
    font-family: var(--font-heading);
    letter-spacing: 3px;
    font-size: 0.95rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 650px;
    margin: 0 auto;
}

.time-card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.time-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.time-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
}

.time-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 650px;
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 40px;
    backdrop-filter: blur(8px);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.progress-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px var(--gold-bright);
}

/* Subscribe Card */
.subscribe-card {
    width: 100%;
    max-width: 650px;
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.subscribe-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-light);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.subscribe-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 22px;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 40px;
    padding: 6px 8px 6px 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--gold-bright);
    box-shadow: 0 0 15px var(--gold-glow);
}

.input-icon {
    color: var(--gold-primary);
    margin-right: 12px;
    font-size: 1.1rem;
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.subscribe-form input::placeholder {
    color: #666;
}

.gold-btn {
    background: var(--gold-gradient);
    color: #0d0d0f;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.gold-btn:hover {
    transform: scale(1.04);
    filter: brightness(1.1);
}

.form-status {
    margin-top: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 22px;
}

.form-status.success {
    color: #4E4;
}

.form-status.error {
    color: #F66;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 850px;
    margin-bottom: 50px;
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 14px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-bright);
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.feature-box h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: var(--gold-gradient);
    color: #0d0d0f;
    border-color: transparent;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .brand-title {
        font-size: 2.1rem;
        letter-spacing: 2px;
    }

    .logo-wrapper {
        width: 170px;
        height: 170px;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .time-value {
        font-size: 2.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .input-group {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
        gap: 10px;
    }

    .input-icon {
        display: none;
    }

    .gold-btn {
        width: 100%;
        justify-content: center;
    }

    .subscribe-form input {
        width: 100%;
        text-align: center;
    }
}
