* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    height: 100vh;
    overflow: hidden;
    background: 
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Remove the gradient animation since we're using images now */

.container {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0,0,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header {
    z-index: 2;
    text-align: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    font-style: italic;
    color: #2a1810;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
    letter-spacing: 2px;
}

.main-content {
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    width: 100%;
}

.verse-container {
    background: rgba(42, 24, 16, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 100%;
}

.verse-text {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    line-height: 1.6;
    color: #f4f3ee;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.verse-reference {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #e9c46a;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer {
    z-index: 2;
}

.refresh-hint {
    color: rgba(42, 24, 16, 0.7);
    font-size: 0.9rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .verse-container {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .verse-container {
        padding: 1.5rem 1rem;
    }
}

/* Fade-in animation for verse changes */
.verse-fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}