:root {
    --primary-color: #ffffff;
    --accent-purple: #8e2de2;
    --accent-blue: #4a00e0;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-heading);
    min-height: 100vh;
    min-height: 100dvh;
    /* Better for mobile browsers */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f0c29;
    color: var(--text-color);
    padding: 2rem;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: -2;
}

.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.content-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.poster-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.poster-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    /* Frame detail */
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: scaleIn 0.8s ease 0.3s backwards;
    transition: transform 0.3s ease;
}

.poster-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
}

.poster-image {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
}

.status-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    animation: fadeIn 1.5s ease 0.5s backwards;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.roman-numeral {
    background: linear-gradient(to right, #e0c3fc, #8ec5fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.highlight {
    background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 154, 158, 0.3));
}

.info-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideRight 0.8s ease 0.8s backwards;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 300;
    color: #e2e2e2;
}

.divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.website-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    border-radius: 50px;
}

.website-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .content-side {
        align-items: center;
        text-align: center;
        order: 2;
        /* Put text below on medium screens if desired, or keep 1 */
        order: 1;
    }

    .poster-side {
        order: 2;
    }

    .poster-image {
        max-width: 300px;
    }

    .info-card {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .divider {
        width: 100px;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .glass-container {
        padding: 2rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .roman-numeral {
        font-size: 3.5rem;
    }
}

/* Lightbox & Audio Styles */

/* Music Button */
.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.music-btn.playing {
    background: rgba(142, 45, 226, 0.6);
    /* Purple accent when playing */
    border-color: rgba(142, 45, 226, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(142, 45, 226, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(142, 45, 226, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(142, 45, 226, 0);
    }
}

.hidden {
    display: none;
}

/* Lightbox */
.poster-image {
    cursor: zoom-in;
    /* Indicate clickable */
}

.lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 12, 41, 0.95);
    /* Deep dark background */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.visible {
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin-top: 15px;
    color: #ccc;
    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
    width: 80%;
}

/* Responsive adjustments for lightbox */
@media (max-width: 700px) {
    .lightbox-content {
        width: 95%;
    }
}