/* --- CSS Variables & Resets --- */
:root {
    --primary: #d4af37; /* Elegant Gold */
    --primary-hover: #e6c55c;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(25, 30, 40, 0.45);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #000; /* Fallback */
}

/* --- Background & Overlay --- */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    /* Slow subtle zoom effect */
    animation: zoomIn 40s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Gradient overlay to ensure text readability while keeping the sunset visible */
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(10,20,40,0.3) 100%);
    z-index: -1;
}

/* --- Layout --- */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* --- Glassmorphism Card --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 4rem;
    max-w: 800px;
    width: 100%;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Header & Branding --- */
.header {
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
}

.logo i {
    font-size: 2rem;
}

/* --- Main Content Typography --- */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* --- Countdown Timer --- */
.countdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

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

.time-block .number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.25rem;
    background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.time-block .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 500;
}

.separator {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    margin-top: -1.5rem;
}

/* --- Subscription Form (Removed) --- */

/* --- Footer --- */
.footer {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .glass-card {
        padding: 2.5rem 2rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .countdown-wrapper {
        gap: 1rem;
    }

    .time-block .number {
        font-size: 2.5rem;
    }

    .time-block {
        min-width: 60px;
    }

    .separator {
        font-size: 1.75rem;
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .input-group:focus-within {
        box-shadow: none;
    }

    .input-group input {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50px;
        margin-bottom: 1rem;
    }

    .input-group input:focus {
        border-color: var(--primary);
        background: rgba(255, 255, 255, 0.1);
    }

    .input-group button {
        width: 100%;
        padding: 1rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
    }

    .title {
        font-size: 2rem;
    }

    .countdown-wrapper {
        gap: 0.5rem;
    }

    .time-block .number {
        font-size: 2rem;
    }
}
