/* Base Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-font: 'Playfair Display', serif;
    --secondary-font: 'Montserrat', sans-serif;
    --color-accent: #E2B8BB;
    /* Soft dusty pink */
    --color-accent-dark: #C69599;
    --color-light: #FBF8F4;
    --color-dark: #2B2626;
    --glass-bg: rgba(43, 38, 38, 0.4);
    --glass-border: rgba(226, 184, 187, 0.2);
}

html,
body {
    width: 100%;
    min-height: 100%;
    background-color: var(--color-dark);
}

body {
    font-family: var(--secondary-font);
    color: var(--color-light);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: var(--color-dark);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Elegant Dark Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay: Dark edges with slightly brighter, warm center */
    background: radial-gradient(circle at center, rgba(30, 25, 25, 0.3) 0%, rgba(15, 12, 12, 0.8) 100%);
    z-index: 1;
}

/* Main Layout Wrapper */
.content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 100%;
    max-width: 1200px;
    padding: 3rem 2rem;
    text-align: center;
}

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

.logo {
    font-family: var(--primary-font);
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-light);
}

.logo span {
    color: var(--color-accent);
}

.tagline {
    font-family: var(--secondary-font);
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    color: rgba(251, 248, 244, 0.7);
}

/* Main Content Area */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.title {
    font-family: var(--primary-font);
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.title span {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 600;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(251, 248, 244, 0.85);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    font-weight: 300;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.time-value {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--color-light);
}

.time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    color: var(--color-accent);
}

/* Notify Form */
.notify-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    position: relative;
    border-bottom: 1px solid rgba(251, 248, 244, 0.3);
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--color-accent);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 0;
    color: var(--color-light);
    font-family: var(--secondary-font);
    font-size: 1rem;
    outline: none;
}

input[type="email"]::placeholder {
    color: rgba(251, 248, 244, 0.5);
    font-weight: 300;
}

.btn-submit {
    background: transparent;
    border: none;
    color: var(--color-accent);
    cursor: pointer;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--secondary-font);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    color: var(--color-light);
    transform: translateX(5px);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 20px;
    transition: opacity 0.3s;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(251, 248, 244, 0.9);
    margin-top: 2rem;
}

.contact-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info i {
    color: var(--color-accent);
    margin-right: 0.5rem;
    width: 16px;
}

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

.social-links a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(251, 248, 244, 0.1);
}

.social-links a:hover {
    color: var(--color-dark);
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Micro-animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 0.5s;
}

.slide-down {
    transform: translateY(-30px);
    opacity: 0;
    animation: slideDown 1s ease forwards;
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 1s ease forwards 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem 1.5rem;
        height: auto;
        min-height: 100vh;
    }

    .footer {
        gap: 1rem;
    }

    .header {
        margin-bottom: 0rem;
    }

    .main-content {
        /* padding: 3rem 1.5rem; */
        margin: 2rem 0;
    }

    .title {
        font-size: 2.8rem;
    }

    .countdown-container {
        gap: 1rem;
    }

    .time-box {
        width: 80px;
        height: 80px;
    }

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

    .time-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.2rem;
    }

    .time-box {
        width: 70px;
        height: 70px;
    }

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

    .btn-submit .btn-text {
        display: none;
        /* Hide text on very small screens, keep icon */
    }
}