:root {
    --primary-color: #470C14; /* deep maroon */
    --secondary-color: #F0E8DC; /* warm cream */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.4);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(71, 12, 20, 0.05), transparent 50%),
                radial-gradient(circle at bottom left, rgba(71, 12, 20, 0.05), transparent 50%);
}

.shape {
    position: absolute;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    bottom: 5%;
    right: -50px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 15%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-delay: -10s;
    opacity: 0.03;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 25%;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-40px) rotate(15deg); }
}

/* Main Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

/* Header */
header {
    width: 100%;
    padding: 1rem 0;
}

.logo {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: 2rem 0;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 650px;
    text-align: center;
}

/* Countdown */
.countdown-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.countdown-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(71, 12, 20, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(71, 12, 20, 0.12);
}

.number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    font-weight: 600;
}

/* Form */
.notify-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .notify-form {
        flex-direction: row;
        background: var(--white);
        padding: 0.4rem;
        border-radius: 50px;
        box-shadow: 0 10px 25px rgba(71, 12, 20, 0.08);
    }
}

input[type="email"] {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(71, 12, 20, 0.15);
    border-radius: 50px;
    font-size: 1.05rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

@media (min-width: 576px) {
    input[type="email"] {
        border: none;
        background: transparent;
    }
}

input[type="email"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(71, 12, 20, 0.1);
}

@media (min-width: 576px) {
    input[type="email"]:focus {
        border-color: transparent;
        box-shadow: none;
    }
}

button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

button:hover {
    background-color: #33080E;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(71, 12, 20, 0.25);
}

button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Footer */
footer {
    width: 100%;
    padding: 2rem 0 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(71, 12, 20, 0.1);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(71, 12, 20, 0.15);
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--text-light);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
