:root {
    /* Color Palette matching Royal Looms theme */
    --background: hsl(40, 20%, 97%);
    --foreground: hsl(30, 20%, 12%);
    --primary: hsl(36, 60%, 42%);
    --gold: hsl(36, 70%, 50%);
    --gold-light: hsl(40, 60%, 75%);
    --brown-dark: hsl(30, 30%, 15%);
    --brown: hsl(30, 20%, 25%);
    --border: hsl(35, 20%, 85%);
    --muted-foreground: hsl(30, 10%, 45%);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--background);
    background-image: url('saree-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--background); /* Changed base color to cream for dark theme visibility */
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Gradients and specific theme utilities */
.text-gradient-gold {
    background-image: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.bg-heritage {
    background: linear-gradient(135deg, var(--brown-dark), var(--brown));
}

.tracking-heritage {
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* Structural Layout */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    animation: fadeIn 0.8s ease-out;
    background-color: rgba(15, 10, 5, 0.65); /* Let the background image completely shine through! */
    backdrop-filter: blur(1px); /* minimal blur so the saree texture is crisp */
}

.top-border {
    height: 8px;
    width: 100%;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

/* Header */
header {
    margin-bottom: 4rem;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.logo .subtitle {
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 500;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    color: var(--background);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5); /* Pop against the background */
}

.description {
    font-size: 1.125rem;
    color: rgba(247, 244, 240, 0.85); /* 85% opacity of cream */
    max-width: 600px;
    margin-bottom: 3rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: scale-in 0.5s ease-out;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(15, 12, 10, 0.6); /* Translucent dark box letting image show through */
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 80px;
    backdrop-filter: blur(4px);
}

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

.time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Notification Form */
.notify-section {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.notify-prompt {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--background);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.email-input {
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(0,0,0,0.4); /* Translucent input */
    color: var(--background);
    transition: border-color 0.3s ease;
    width: 100%;
    backdrop-filter: blur(4px);
}

.email-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.email-input:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-button {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--brown-dark);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.05em;
}

.submit-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Footer */
footer {
    margin-top: 4rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

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

.social-links a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (min-width: 640px) {
    .notify-form {
        flex-direction: row;
        gap: 0;
    }

    .email-input {
        border-radius: 4px 0 0 4px;
        border-right: none;
    }

    .submit-button {
        border-radius: 0 4px 4px 0;
        width: 150px;
    }
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
    }

    .logo h1 {
        font-size: 2.5rem;
    }
    
    .countdown-timer {
        gap: 0.75rem;
    }
    
    .time-block {
        padding: 0.75rem 0.5rem;
        min-width: 65px;
    }
    
    .time-value {
        font-size: 1.75rem;
    }
    
    .time-label {
        font-size: 0.65rem;
    }
}
