.scenes-wrapper {
    margin: 40px 0;
}

.scene-section {
    margin-bottom: 50px;
    padding: 25px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scene-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.scene-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px var(--theme-color));
}

.scene-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.scene-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.scene-title a:hover {
    color: var(--theme-color);
}

.scene-description {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.scene-empty {
    text-align: center;
    padding: 40px;
    color: rgba(255,255,255,0.5);
    font-size: 16px;
}

.scene-movies {
    display: grid;
    gap: 15px;
}

.scene-movies.wide {
    grid-template-columns: repeat(5, 1fr);
}

.scene-movies.normal {
    grid-template-columns: repeat(4, 1fr);
}

.scene-movies.skewed {
    grid-template-columns: repeat(4, 1fr);
    transform: skewX(-5deg);
}

.scene-movies.skewed .scene-movie-card {
    transform: skewX(5deg);
}

.scene-asymmetric .scene-movies.wide {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.scene-asymmetric .scene-movies.wide .scene-movie-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.scene-asymmetric .scene-movies.wide .scene-movie-card:nth-child(2),
.scene-asymmetric .scene-movies.wide .scene-movie-card:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.scene-asymmetric .scene-movies.wide .scene-movie-card:nth-child(4),
.scene-asymmetric .scene-movies.wide .scene-movie-card:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.scene-asymmetric .scene-movies.normal {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.scene-asymmetric .scene-movies.normal .scene-movie-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.scene-asymmetric .scene-movies.normal .scene-movie-card:nth-child(2),
.scene-asymmetric .scene-movies.normal .scene-movie-card:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.scene-asymmetric .scene-movies.normal .scene-movie-card:nth-child(4),
.scene-asymmetric .scene-movies.normal .scene-movie-card:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.scene-movie-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scene-movie-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.movie-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 8px;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scene-movie-card:hover .movie-poster img {
    transform: scale(1.1);
}

.movie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scene-movie-card:hover .movie-overlay {
    opacity: 1;
}

.movie-info h3 {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 4px 0;
}

.movie-info p {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.scene-neon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--theme-color), transparent, var(--theme-color));
    background-size: 400% 400%;
    animation: neonGlow 3s ease infinite;
    border-radius: 14px;
    z-index: -1;
    filter: blur(15px);
}

@keyframes neonGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.scene-neon .scene-title {
    text-shadow: 0 0 10px var(--theme-color), 0 0 20px var(--theme-color);
}

.scene-glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.scene-glass .scene-movie-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}



.scene-video .scene-movie-card::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 15px var(--theme-color);
    transition: all 0.3s ease;
}

.scene-video .scene-movie-card:hover::after {
    color: var(--theme-color);
    transform: translate(-50%, -50%) scale(1.2);
}

.scene-holographic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        var(--theme-color) 0%,
        transparent 20%,
        var(--theme-color) 40%,
        transparent 60%,
        var(--theme-color) 80%,
        transparent 100%);
    background-size: 200% 200%;
    animation: holographic 5s linear infinite;
    opacity: 0.25;
    border-radius: 12px;
    pointer-events: none;
}

@keyframes holographic {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

.scene-holographic .scene-movie-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

.scene-holographic .scene-movie-card:hover {
    background: linear-gradient(135deg, var(--theme-color) 0%, rgba(255,255,255,0.1) 100%);
    border-color: var(--theme-color);
}

@media (max-width: 1200px) {
    .scene-movies.wide,
    .scene-movies.normal,
    .scene-movies.skewed {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .scene-movies.wide,
    .scene-movies.normal,
    .scene-movies.skewed,
    .scene-asymmetric .scene-movies.wide,
    .scene-asymmetric .scene-movies.normal {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .scene-asymmetric .scene-movies.wide .scene-movie-card:first-child,
    .scene-asymmetric .scene-movies.normal .scene-movie-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .scene-asymmetric .scene-movies.wide .scene-movie-card:nth-child(2),
    .scene-asymmetric .scene-movies.wide .scene-movie-card:nth-child(3),
    .scene-asymmetric .scene-movies.wide .scene-movie-card:nth-child(4),
    .scene-asymmetric .scene-movies.wide .scene-movie-card:nth-child(5),
    .scene-asymmetric .scene-movies.normal .scene-movie-card:nth-child(2),
    .scene-asymmetric .scene-movies.normal .scene-movie-card:nth-child(3),
    .scene-asymmetric .scene-movies.normal .scene-movie-card:nth-child(4),
    .scene-asymmetric .scene-movies.normal .scene-movie-card:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .scene-movies {
        grid-template-columns: 1fr !important;
    }
}
