/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #F4D492;
    /* Light Gold */
    font-family: 'Lora', serif;
    overflow-x: hidden;
    overflow-y: auto;
    /* Explicitly allow scrolling */
}

/* Background Handling */
body {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #1a120b;
    /* Fallback dark brown */
    position: relative;
    /* Ensure it contains the absolute overlay if needed, though overlay is fixed */
}

/* Dark Overlay to insure readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 10, 5, 0.85);
    /* Deep dark brown overlay */
    z-index: 0;
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    /* Center horizontally */
    padding: 4rem 2rem 6rem 2rem;
    /* Add bottom padding for scroll space */
    text-align: center;
    animation: fadeIn 2s ease-out;
}

/* Typography & Layout */
.title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.3;
    color: #E0A95A;
    /* Gold */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.divider {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #E0A95A, transparent);
    margin: 0 auto 3rem auto;
}

.poem {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stanza p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #dfceb8;
    /* Soft beige text */
    margin-bottom: 0.5rem;
}

.stanza.highlight p {
    color: #9E682B;
    /* Bronze */
    font-style: italic;
    font-weight: 600;
}

.stanza.finale p {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* Footer & Button */
footer {
    margin-top: 4rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #9E682B 0%, #E0A95A 100%);
    color: #1a120b;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(224, 169, 90, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #F4D492;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 169, 90, 0.5);
    background: linear-gradient(135deg, #E0A95A 0%, #F4D492 100%);
}

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

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

/* Responsive adjustments */
@media (max-width: 600px) {
    .title {
        font-size: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .stanza p {
        font-size: 1.1rem;
    }
}