body {
    transition: background-color 1s ease;
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('background.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;
}

.handwritten {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem !important;
    margin-bottom: 20px;
}

.poem-text {
    line-height: 1.8;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 1.25rem;
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    max-width: 850px;
    text-shadow: 1px 1px 2px 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);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid #444;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#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 rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 5px 15px;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.btn-spotify {
    background-color: #1DB954;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-spotify:hover {
    background-color: #1ed760;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.language {
    display: none;
}