body {
    transition: background-color 1s ease;
    background-color: #0a0510;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.5)), url('donde_estas_palacio.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    color: white;
    min-height: 100vh;
}

.jumbotron {
    background: transparent;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
    padding: 6rem 2rem;
    margin-bottom: 0;
}

.jumbotron-heading {
    font-family: 'Philosopher', serif;
    font-size: 3.5rem;
    color: #C0A060;
    margin-top: 30px;
    text-align: center;
}

.text-shadow-deep {
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.9) !important;
}

.lead {
    color: #d0c8b8;
    font-size: 1.3rem;
    text-align: center;
}

.handwritten {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem !important;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.poem-text {
    line-height: 1.8;
    color: #F0E6D6;
    background-color: rgba(10, 5, 15, 0.45);
    font-size: 1.25rem;
    padding: 40px 50px;
    border-radius: 20px;
    border: 1px solid rgba(192, 160, 96, 0.15);
    display: inline-block;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    max-width: 850px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
}

.signature {
    color: #C0A060;
    font-weight: bold;
    font-style: italic;
    display: block;
    margin-top: 20px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.stanza {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.stanza.reveal {
    opacity: 1;
    transform: translateY(0);
}

#effects-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.content-wrap {
    position: relative;
    z-index: 1;
}

.arabic {
    direction: rtl;
    text-align: right;
}
.arabic .poem-text {
    text-align: right;
}

#language-select {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid #C0A060;
    border-radius: 10px;
    padding: 5px 15px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    font-size: 1.1rem;
}

.btn-spotify {
    background-color: #1DB954;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    padding: 8px 15px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.btn-spotify:hover {
    background-color: #1ed760;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.language {
    display: none;
}
