:root {
    --primary-color: #d4a373;
    --text-color: #333;
    --bg-overlay: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.3);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    animation: fadeIn 1.5s ease-out;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.message {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-button:hover {
    background-color: #d4a373;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icons {
    margin-top: 2rem;
}

.social-icons a {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #d4a373;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 2rem;
    }
}

/* Inline Form Styles */
.subscription-box {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.cta-text {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

#emailForm {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

#emailInput {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-body);
    flex: 1;
    outline: none;
    transition: border-color 0.3s;
}

#emailInput:focus {
    border-color: #d4a373;
}

.submit-btn {
    padding: 12px 25px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background-color: #d4a373;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#formMessage {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.2em;
}

@media (max-width: 480px) {
    #emailForm {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }
}