/* ===== RESET E VARIÁVEIS ===== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent-primary: #e0ca00;
    --accent-secondary: #ff6b00;
    --accent-hover: #000e88;
    --gradient-1: linear-gradient(135deg, #0077ff 0%, #050d38 100%);
    --gradient-2: linear-gradient(45deg, #0a0a0a 0%, #1a1a1a 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --logo-filter: invert(1);
    --logo-filter-hover: invert(1) brightness(1.1);
    --border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #666666;
    --gradient-1: linear-gradient(135deg, #0055cc 0%, #003399 100%);
    --logo-filter: invert(0);
    --logo-filter-hover: invert(0) brightness(0.9);
    --border-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    height: 80px;
    position: relative;
}

/* ===== BOTÃO HAMBURGUER ===== */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger:hover span:nth-child(1) {
    transform: translateY(-2px);
}

.hamburger:hover span:nth-child(3) {
    transform: translateY(2px);
}

.hamburger:hover span {
    background: var(--accent-primary);
}

/* ===== LOGO ===== */
.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
    filter: var(--logo-filter);
}

.logo a:hover {
    transform: scale(1.02);
    filter: var(--logo-filter-hover);
}

.logo-img {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

/* ===== BOTÕES DA DIREITA ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1002;
}

#botoesheader {
    display: flex;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: var(--transition);
    z-index: 1002;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--accent-primary);
    transform: rotate(15deg) scale(1.1);
}

/* ===== MENU NAVEGAÇÃO ===== */
.nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100vh;
    background: var(--bg-primary);
    transition: left 0.4s ease-in-out;
    z-index: 19901;
    padding: 80px 30px 30px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    border-right: 2px solid #000e88;
    overflow-y: auto;
}

[data-theme="light"] .nav-menu {
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    left: 0;
}

.nav-header {
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    color: var(--accent-primary);
    background: rgba(224, 202, 0, 0.15);
    transform: scale(1.1) rotate(90deg);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.nav-list li {
    width: 100%;
    text-align: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--accent-primary);
    transform: scale(1.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

#canalyt {
    background-color: red;
    border-radius: 30px;
    padding: 10px 24px;
    text-align: center;
    display: inline-block;
    width: auto;
    margin-top: 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

#canalyt i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

#canalyt:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

#canalyt:hover i {
    transform: scale(1.1);
}

/* ===== BOTÃO VOLTAR ===== */
.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224, 202, 0, 0.15);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-decoration: none;
}

.btn-voltar:hover {
    background: var(--accent-primary);
    color: #000;
    transform: translateX(-5px);
}

.btn-voltar i {
    transition: transform 0.3s ease;
}

.btn-voltar:hover i {
    transform: translateX(-3px);
}

/* ===== MAIN ===== */
.main {
    padding: 120px 0 60px;
    min-height: calc(100vh - 200px);
}

/* ===== BANNER ===== */
.movie-banner {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #000;
}

.movie-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.movie-banner .banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.movie-banner .banner-overlay h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', monospace;
}

.movie-banner .banner-overlay h1 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.movie-banner .banner-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.movie-banner .badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

[data-theme="light"] .movie-banner .badge {
    background: rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.movie-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    margin-top: 4vh;
    gap: 40px;
}

/* ===== SIDEBAR ===== */
.movie-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.poster-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
}

.poster-container img {
    width: 100%;
    height: auto;
    display: block;
}

.poster-rating {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--accent-primary);
}

.poster-rating i {
    color: var(--accent-primary);
}

.poster-rating span {
    font-size: 1.2rem;
    font-weight: 700;
}

.poster-rating small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.movie-info-sidebar {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.info-label i {
    margin-right: 8px;
    color: var(--accent-primary);
    width: 16px;
}

.info-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-download-roteiro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-primary), #ff6b00);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download-roteiro:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(224, 202, 0, 0.3);
    gap: 14px;
}

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-share:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ===== CONTEÚDO PRINCIPAL (DIREITA) ===== */
.movie-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.movie-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.movie-section h2 i {
    color: var(--accent-primary);
}

.synopsis p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.synopsis p strong {
    color: var(--text-primary);
}

.synopsis p em {
    color: var(--accent-primary);
    font-style: italic;
}

/* ===== ELENCO ===== */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.cast-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.cast-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.cast-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #000;
}

.cast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cast-card:hover .cast-image img {
    transform: scale(1.05);
}

.cast-info {
    padding: 15px;
    text-align: center;
}

.cast-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cast-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== GALERIA ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #fff;
}

.gallery-view-all {
    margin-top: 20px;
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--accent-primary);
    color: #000;
    transform: translateY(-2px);
}

/* ===== PLAYER DE MÚSICA ===== */
.music-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px 25px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.music-card:hover {
    border-color: var(--accent-primary);
}

.music-card-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botão de Play/Pause - Estilo circular */
.music-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(224, 202, 0, 0.15);
    border: 2px solid rgba(224, 202, 0, 0.3);
    color: var(--accent-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.music-play-btn:hover {
    transform: scale(1.05);
    background: rgba(224, 202, 0, 0.25);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(224, 202, 0, 0.2);
}

.music-play-btn:active {
    transform: scale(0.95);
}

.music-play-btn.playing {
    background: rgba(224, 202, 0, 0.3);
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(224, 202, 0, 0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

.music-play-btn.playing:hover {
    background: rgba(224, 202, 0, 0.4);
    box-shadow: 0 0 40px rgba(224, 202, 0, 0.4);
}

.music-play-btn i {
    transition: transform 0.3s ease;
}

.music-play-btn:hover i {
    transform: scale(1.1);
}

.music-play-btn.playing i {
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(224, 202, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(224, 202, 0, 0.5);
    }
}

.music-info-card {
    flex: 1;
}

.music-info-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.music-info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== BARRA DE PROGRESSO DA MÚSICA ===== */
.music-progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.music-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    min-width: 35px;
    text-align: center;
}

.music-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.music-progress-bar:hover {
    height: 6px;
}

.music-progress-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.music-progress-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(224, 202, 0, 0.5);
}

.music-progress-bar:hover .music-progress-fill::after {
    opacity: 1;
}

/* Tema claro */
[data-theme="light"] .music-progress-bar {
    background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .music-time {
    color: var(--text-muted);
}

/* ===== INFO CARDS ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.info-card i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== MODAL DA GALERIA ===== */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: transparent;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    transform: rotate(90deg);
    color: var(--accent-primary);
}

.gallery-modal-body {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-modal-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: var(--accent-primary);
    color: #000;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-modal-counter {
    text-align: center;
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.9rem;
}

/* ===== TOAST ===== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-secondary);
    color: var(--accent-primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--accent-primary);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    max-width: 90%;
    text-align: center;
    word-break: break-word;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== FOOTER ===== */
.footer {
    background: #050505;
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

[data-theme="light"] .footer {
    background: #e0e0e0;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
    .movie-content {
        grid-template-columns: 1fr;
    }
    
    .movie-sidebar {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
        left: -100%;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .header-container {
        padding: 0.5rem 4%;
        height: 70px;
    }
    
    .theme-toggle {
        font-size: 1.1rem;
        padding: 8px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .movie-banner {
        height: 250px;
    }
    
    .movie-banner .banner-overlay h1 {
        font-size: 1.8rem;
    }
    
    .movie-banner .banner-overlay {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .main {
        padding: 100px 0 40px;
    }
    
    .close-menu {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .music-card-content {
        flex-direction: column;
        text-align: center;
    }
    
    .music-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .music-progress-container {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.5rem 3%;
        height: 65px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .theme-toggle {
        font-size: 1rem;
        padding: 6px;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .movie-banner {
        height: 200px;
    }
    
    .movie-banner .banner-overlay h1 {
        font-size: 1.4rem;
    }
    
    .movie-banner .badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .movie-sidebar {
        max-width: 100%;
    }
    
    .poster-rating {
        bottom: 10px;
        left: 10px;
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    .btn-download-roteiro,
    .btn-share {
        font-size: 0.8rem;
        padding: 10px;
    }
    
    .gallery-modal-body {
        aspect-ratio: 4/3;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .gallery-prev {
        left: 8px;
    }
    
    .gallery-next {
        right: 8px;
    }
    
    .music-play-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .music-progress-container {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .cast-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}