@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Cores principais - Paleta Netflix moderna */
    --color-one: #e50914;
    --color-one-secondary: rgba(229, 9, 20, 0.8);
    --color-one-hover: #f40612;

    /* Cores de fundo - Tons escuros mais suaves */
    --color-two: #181818;
    --color-two-secondary: #2f2f2f;
    --color-two-border: rgba(255, 255, 255, 0.15);
    --color-two-light: #242424;

    /* Cores de texto */
    --color-three: #ffffff;
    --color-three-secondary: #b3b3b3;
    --color-three-muted: #8c8c8c;

    /* Cores auxiliares */
    --color-four-one: #1a1a1a;
    --color-four-two: #333333;
    --color-four-three: transparent;
    --color-four-four: #404040;
    --color-four-five: #565656;

    /* Cores de fundo escuro */
    --color-five-one: #0f0f0f;
    --color-five-two: #404040;

    /* Cores de sucesso e status */
    --color-six-one: #46d369;
    --color-six-two: #2eb344;

    --color-seven-one: #ffc107;
    --color-seven-two: #e0a800;

    /* DataTables */
    --datatables-background: #1a1a1a;
    --datatables-border: rgba(255, 255, 255, 0.1);
    --datatables-color: #b3b3b3;
    --datatables-page-link-color: #b3b3b3;
    --datatables-page-link-active-color: #e50914;
    --datatables-page-link-border-color: rgba(255, 255, 255, 0.1);
    --datatables-page-link-background: #1a1a1a;

    /* Bordas do site */
    --site-border-color-one: rgba(255, 255, 255, 0.1);
    --site-border-color-two: #e50914;

    /* Botões */
    --btn-four-background: #ff6b35;
    --btn-four-hover-background: #e55a2b;
    --btn-four-color: #fff;
    --btn-four-hover-color: #fff;

    --btn-five-background: #0f79af;
    --btn-five-hover-background: #0d6a96;
    --btn-five-color: #fff;
    --btn-five-hover-color: #fff;

    /* Cards */
    --card-background-one: #1a1a1a;
    --card-color-one: #fff;
    --card-one-hover: #2f2f2f;
    --card-one-border: rgba(255, 255, 255, 0.1);

    /* Cores de texto específicas */
    --text-color-white: #fff;
    --text-green: #46d369;
    --text-yellow: #ffc107;
    --text-red: #e50914;
    --text-blue: #0f79af;
    --text-purple: #8b5cf6;
    --text-color: #fff;
    --text-color-hover: #e50914;

    /* Backgrounds */
    --page-opacity-background: rgba(0, 0, 0, 0.8);

    /* Footer */
    --footer-nav-item-color: #b3b3b3;
    --footer-nav-item-hover-color: #e50914;
    --footer-copyright-color: #8c8c8c;

    /* Stream específico */
    --stream-list-border: rgba(255, 255, 255, 0.1);

    /* Modal stream */
    --modal-stream-info-img-border: rgba(255, 255, 255, 0.1);
    --modal-stream-icon-loading-color: #b3b3b3;
    --modal-stream-img-background: #2f2f2f;
    --modal-stream-list-border: rgba(255, 255, 255, 0.1);
    --modal-stream-episodio-hover: #2f2f2f;
    --modal-stream-episodio-thumb-hover: #404040;

    /* Modal player */
    --modal-player-background: #000;
    --modal-player-icon-color: #fff;

    /* Perfil */
    --perfil-selecionar-background: #2f2f2f00;
    --perfil-selecionar-background-hover: #00000000;
    --perfil-selecionar-color: #fff;

    /* Sombras e efeitos */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border radius */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 12px;
    --radius-xl: 16px;
}

/* Reset e base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-style: normal;
    background-color: rgb(0, 0, 0);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.body-background-image {
    background-color: var(--page-opacity-background);
    background-blend-mode: overlay;
    min-height: 100vh;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: var(--radius-medium);
}

::-webkit-scrollbar-thumb {
    background: var(--color-five-two);
    border-radius: var(--radius-medium);
    transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-four-five);
}

/* Tipografia melhorada */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.1rem;
}

p,
span,
small {
    color: var(--text-color);
}

small {
    font-size: 0.875rem;
    color: var(--color-three-secondary);
}

/* Links melhorados */
a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--text-color-hover);
    text-decoration: none;
}

/* Utilitários */
.cursor-pointer {
    cursor: pointer;
}

.img-ingresso-rounded-200 {
    width: 250px;
    height: 150px;
    border-radius: var(--radius-medium);
    object-fit: cover;
    transition: var(--transition-medium);
}

.img-ingresso-rounded-200:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* Classes de cores */
.text-green {
    color: var(--color-six-one);
}

.text-yellow {
    color: var(--text-yellow);
}

.text-red {
    color: var(--text-red);
}

.text-blue {
    color: var(--text-blue);
}

.text-purple {
    color: var(--text-purple);
}

/* Video.js melhorado */
.video-js {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16/9;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

/* List group melhorado */
.list-group-item {
    background-color: var(--color-two);
    border-color: var(--color-two-border);
    color: var(--color-three);
    transition: var(--transition-fast);
    border-radius: var(--radius-small);
    margin-bottom: 2px;
}

.list-group-item:hover {
    background-color: var(--color-two-secondary);
    transform: translateX(4px);
}

/* Melhorias de performance */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Animações suaves */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-medium) ease-out;
}

.slide-in {
    animation: slideIn var(--transition-medium) ease-out;
}

/* Estados de foco melhorados para acessibilidade */
*:focus {
    outline: 2px solid var(--color-one);
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--color-one);
    outline-offset: 2px;
}

/* Prevenção de layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Otimizações de performance */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Estrutura de Grid Responsiva (Baseado em Bootstrap) */
.container {
    max-width: 1580px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    max-width: 100vw;
}

.col-12,
.col-sm-6,
.col-md-4,
.col-lg-3,
.col-xl-2 {
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    width: 100%;
}

/* Extra Small devices (smartphones, less than 576px) - Padrão */

/* Small devices (smartphones em paisagem, 576px e acima) */
@media (min-width: 576px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Medium devices (tablets, 768px e acima) */
@media (min-width: 768px) {
    .col-md-4 {
        max-width: 33.333333%;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* Large devices (desktops, 992px e acima) */
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Extra Large devices (desktops grandes, 1200px e acima) */
@media (min-width: 1200px) {
    .col-xl-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}

/* Ajustes de responsividade para telas menores */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }

    .row {
        margin-right: -10px;
        margin-left: -10px;
    }

    .col-12,
    .col-sm-6,
    .col-md-4,
    .col-lg-3,
    .col-xl-2 {
        padding-right: 10px;
        padding-left: 10px;
    }

    /* Ajustes de tipografia para tablets */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1.1rem;
    }

    h6 {
        font-size: 1rem;
    }

    .img-ingresso-rounded-200 {
        width: 200px;
        height: 120px;
    }

    /* Ajustes para vídeo em tablets */
    .video-js {
        aspect-ratio: 16/9;
        /* Mantendo 16:9 para tablets */
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 10px;
    }

    .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .col-12,
    .col-sm-6,
    .col-md-4,
    .col-lg-3,
    .col-xl-2 {
        padding-right: 5px;
        padding-left: 5px;
    }

    /* Ajustes de tipografia para smartphones */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    h6 {
        font-size: 0.9rem;
    }

    p,
    span {
        font-size: 0.9rem;
    }

    small {
        font-size: 0.8rem;
    }

    .img-ingresso-rounded-200 {
        width: 160px;
        height: 96px;
    }

    /* Melhorias para list-group em telas pequenas */
    .list-group-item {
        padding: 0.5rem 0.75rem;
        margin-bottom: 1px;
    }

    /* Melhorias para botões em telas pequenas */
    button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5px;
    }

    /* Ajustes de tipografia para smartphones pequenos */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    h4 {
        font-size: 1rem;
    }

    h5 {
        font-size: 0.9rem;
    }

    h6 {
        font-size: 0.8rem;
    }

    p,
    span {
        font-size: 0.85rem;
    }

    small {
        font-size: 0.75rem;
    }

    .img-ingresso-rounded-200 {
        width: 140px;
        height: 84px;
    }

    /* Melhorias para botões em telas muito pequenas */
    button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    /* Ajustes para list-group em telas muito pequenas */
    .list-group-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {

    /* Ajustes de tipografia para smartphones muito pequenos */
    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.15rem;
    }

    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 0.9rem;
    }

    h5 {
        font-size: 0.8rem;
    }

    h6 {
        font-size: 0.75rem;
    }

    p,
    span {
        font-size: 0.8rem;
    }

    small {
        font-size: 0.7rem;
    }

    .img-ingresso-rounded-200 {
        width: 120px;
        height: 72px;
    }

    /* Melhorias para botões em telas muito pequenas */
    button {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    /* Ajustes para list-group em telas muito pequenas */
    .list-group-item {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Melhorias para dispositivos com orientação paisagem em telas pequenas */
@media (max-width: 768px) and (orientation: landscape) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .img-ingresso-rounded-200 {
        width: 180px;
        height: 108px;
    }
}

/* Melhorias para dispositivos com alta densidade de pixels */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    /* Ajustes finos para telas de alta resolução */
    .img-ingresso-rounded-200 {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}