/* ==========================================================
   CURACINE
   CURADORIA COLABORATIVA DE CINEMA
   ========================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #07080b;
    --bg-soft: #0a0c10;

    --panel: #0e1015;
    --panel-2: #13161d;
    --panel-3: #181b23;

    --text: #f4f5f7;
    --text-soft: #d7dae1;
    --muted: #8f94a1;
    --muted-2: #666b77;

    --line: rgba(255, 255, 255, 0.08);
    --line-soft: rgba(255, 255, 255, 0.045);

    --gold: #e7b84d;
    --gold-light: #f1cc73;
    --gold-dark: #b98b2e;

    --success: #71c99a;
    --danger: #c75c63;

    --radius: 16px;
    --radius-small: 10px;

    --shadow: 0 25px 70px rgba(0, 0, 0, .35);

    --content-width: 1240px;
}


/* ==========================================================
   BASE
   ========================================================== */

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    color: var(--text);

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(231, 184, 77, .10),
            transparent 32rem
        ),

        radial-gradient(
            circle at 100% 30%,
            rgba(95, 78, 160, .06),
            transparent 30rem
        ),

        var(--bg);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::selection {
    background: var(--gold);
    color: #17130a;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}


/* ==========================================================
   SCROLLBAR
   ========================================================== */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #08090c;
}

::-webkit-scrollbar-thumb {
    background: #292c33;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}


/* ==========================================================
   TOPO
   ========================================================== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 78px;

    padding:
        0
        clamp(20px, 5vw, 80px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);

    background: rgba(7, 8, 11, .82);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* ==========================================================
   LOGO
   ========================================================== */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -1.5px;

    transition: .2s ease;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand-mark {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(231, 184, 77, .35);

    border-radius: 10px;

    color: var(--gold);

    font-size: 13px;

    box-shadow:
        0 0 30px rgba(231, 184, 77, .08);
}

.brand-name span,
.footer-brand span {
    color: var(--gold);
}


/* ==========================================================
   TOPO - AÇÕES
   ========================================================== */

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-link {
    padding: 10px;

    color: var(--muted);

    font-size: 13px;

    transition: .2s ease;
}

.admin-link:hover {
    color: var(--text);
}


/* ==========================================================
   BOTÕES
   ========================================================== */

.btn {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 18px;

    border: 1px solid var(--line);

    border-radius: 11px;

    background: rgba(255, 255, 255, .035);

    color: var(--text);

    font-size: 13px;
    font-weight: 600;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    border-color: rgba(255, 255, 255, .18);

    background: rgba(255, 255, 255, .07);

    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-accent {
    background: var(--gold);

    border-color: var(--gold);

    color: #17130a;

    font-weight: 750;

    box-shadow:
        0 8px 25px rgba(231, 184, 77, .08);
}

.btn-accent:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    box-shadow:
        0 10px 30px rgba(231, 184, 77, .14);
}

.btn-small {
    min-height: 36px;

    padding: 0 13px;

    border-radius: 9px;

    font-size: 12px;
}

.btn-large {
    min-height: 50px;

    padding-left: 22px;
    padding-right: 22px;
}

.btn-danger {
    color: #ffb4b8;

    border-color:
        rgba(199, 92, 99, .25);
}

.btn-danger:hover {
    background:
        rgba(199, 92, 99, .10);

    border-color:
        rgba(199, 92, 99, .45);
}


/* ==========================================================
   HERO
   ========================================================== */

.hero {
    width: min(var(--content-width), 90%);

    min-height: 180px;
    
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    position: relative;
}

.hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--line),
            transparent
        );
}

.hero-copy {
    max-width: 920px;
}


.catalog-eyebrow {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 4px;
}

.catalog-eyebrow > span {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.4;
}


.eyebrow {
    color: var(--gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2.4px;

    line-height: 1.4;
}

.hero h1 {
    margin-top: 15px;

    font-size:
        clamp(50px, 7vw, 88px);

    line-height: .98;

    letter-spacing: -5px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    max-width: 90%;

    margin-top: 27px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.7;
}

.hero-actions {
    margin-top: 30px;

    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}


/* ==========================================================
   ESTATÍSTICAS DO HERO
   ========================================================== */

.hero-stats {
    display: flex;

    gap: 38px;

    flex-shrink: 0;
}

.hero-stat {
    min-width: 80px;
}

.hero-stat strong {
    display: block;

    color: var(--text);

    font-size: 42px;

    line-height: 1;

    letter-spacing: -2px;
}

.hero-stat span {
    display: block;

    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


/* ==========================================================
   CONTEÚDO
   ========================================================== */

.catalog,
.detail-page,
.form-page,
.admin-page {
    width: min(var(--content-width), 90%);

    margin: 0 auto;
}

.catalog {
    padding: 40px 0 110px;
}


/* ==========================================================
   BARRA DE PESQUISA
   ========================================================== */

.toolbar {
    display: flex;

    gap: 12px;
}

.search-wrap {
    flex: 1;

    min-height: 50px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 16px;

    border: 1px solid var(--line);

    border-radius: 12px;

    background: var(--panel);

    transition: .2s ease;
}

.search-wrap:focus-within {
    border-color:
        rgba(231, 184, 77, .35);

    box-shadow:
        0 0 0 3px rgba(231, 184, 77, .05);
}

.search-icon {
    color: var(--gold);

    font-size: 23px;

    line-height: 1;
}

.search-wrap input {
    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 14px;
}

.search-wrap input::placeholder {
    color: var(--muted-2);
}

.toolbar select {
    width: 220px;

    min-height: 50px;

    padding: 0 14px;

    border: 1px solid var(--line);

    border-radius: 12px;

    outline: none;

    background: var(--panel);

    color: var(--text);

    cursor: pointer;
}

.toolbar select:focus {
    border-color:
        rgba(231, 184, 77, .35);
}


/* ==========================================================
   FILTROS
   ========================================================== */

.filters {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin:
        18px
        0
        48px;
}

.filter {
    padding: 9px 15px;

    border: 1px solid var(--line);

    border-radius: 999px;

    background: transparent;

    color: var(--muted);

    font-size: 12px;

    transition: .2s ease;
}

.filter:hover {
    color: var(--text);

    border-color:
        rgba(255, 255, 255, .15);
}

.filter.active {
    color: var(--gold);

    border-color:
        rgba(231, 184, 77, .40);

    background:
        rgba(231, 184, 77, .06);

    box-shadow:
        0 0 20px rgba(231, 184, 77, .04);
}


/* ==========================================================
   TÍTULOS DE SEÇÃO
   ========================================================== */

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2 {
    margin-top: 7px;

    font-size: 29px;

    line-height: 1.1;

    letter-spacing: -1px;
}

.section-heading > span {
    color: var(--muted);

    font-size: 12px;
}


/* ==========================================================
   GRID DE FILMES
   ========================================================== */

.movie-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* ==========================================================
   CARD DO FILME
   ========================================================== */

/* =========================================================
   CARD
   ========================================================= */

.movie-card {
    overflow: hidden;

    border: 1px solid var(--line);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            var(--panel-2),
            var(--panel)
        );

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(231, 184, 77, .25);

    box-shadow:
        var(--shadow);
}


/* =========================================================
   PARTE SUPERIOR
   POSTER 65% + INFORMAÇÕES 35%
   ========================================================= */

.movie-top {
    display: grid;

    grid-template-columns:
        65%
        35%;

    min-width: 0;
}


/* =========================================================
   POSTER
   ========================================================= */

.movie-top .poster-placeholder {
    width: 100%;

    aspect-ratio: 2 / 3;

    min-height: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(231, 184, 77, .13),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #171a21,
            #0a0b0f
        );

    color: var(--gold);
}


/* Poster real */

.movie-top .poster-com-imagem {
    background: #000;

    overflow: hidden;
}

.movie-top .poster-com-imagem img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: contain;
}


/* =========================================================
   INFORMAÇÕES AO LADO DO POSTER
   ========================================================= */

.movie-side {
    min-width: 0;

    padding:
        18px 14px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: space-between;

    text-align: center;

    border-left:
        1px solid var(--line);
}


/* Ano */

.movie-year {
    color: var(--muted);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .5px;
}


/* =========================================================
   TMDB
   ========================================================= */

.movie-side .tmdb-rating {
    display: flex;

    flex-direction: column;

    align-items: center;

    margin-top: 8px;
}

.movie-side .tmdb-rating strong {
    color: var(--gold-light);

    font-size: 20px;

    line-height: 1;
}

.movie-side .tmdb-rating span {
    margin-top: 5px;

    color: var(--muted-2);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .8px;
}


/* =========================================================
   APROVAÇÃO
   ========================================================= */

.movie-side .approval {
    display: flex;

    flex-direction: column;

    align-items: center;

    margin-top: 8px;
}

.movie-side .approval strong {
    color: var(--success);

    font-size: 21px;

    line-height: 1;
}

.movie-side .approval span {
    margin-top: 4px;

    color: var(--muted-2);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .7px;
}


/* =========================================================
   VOTOS
   ========================================================= */

.movie-side .vote-count {
    display: flex;

    flex-direction: column;

    gap: 4px;

    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   COMENTÁRIOS
   ========================================================= */

.movie-side .comments-count {
    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;

    white-space: nowrap;
}


/* =========================================================
   DISPONIBILIDADE DO FILME
   ========================================================= */

.movie-side .movie-availability {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 9px;

    min-height: 20px;
}

.movie-side .movie-availability-icon {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 22px;
    height: 22px;

    font-size: 16px;
    line-height: 1;

    opacity: .88;

    cursor: default;

    filter: saturate(.85);

    transition:
        transform .15s ease,
        opacity .15s ease;
}

.movie-side .movie-availability-icon:hover {
    opacity: 1;
    transform: translateY(-1px);
}


/* =========================================================
   BOTÃO DETALHES
   ========================================================= */

.movie-side .btn {
    width: 100%;

    margin-top: 10px;

    justify-content: center;

    padding-left: 8px;

    padding-right: 8px;

    font-size: 10px;
}


/* =========================================================
   NOME DO FILME
   ABAIXO DO POSTER
   ========================================================= */

.movie-header {
    width: 100%;

    padding:
        17px
        20px
        12px;

    text-align: center;

    border-top:
        1px solid var(--line);
}

.movie-header h3 {
    margin: 0;

    font-size: 20px;

    line-height: 1.2;

    letter-spacing: -.4px;
}

.movie-header h3 a {
    color: var(--text);

    text-decoration: none;

    transition:
        color .2s ease;
}

.movie-header h3 a:hover {
    color: var(--gold-light);
}


/* =========================================================
   GÊNEROS
   ========================================================= */

.movie-header .movie-meta {
    width: 100%;

    margin-top: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.4;

    text-align: center;
}


/* =========================================================
   SINOPSE
   ========================================================= */

.movie-description {
    width: 100%;

    padding:
        4px
        20px
        20px;

    text-align: center;
}

.movie-description p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* ==========================================================
   ESTADO VAZIO
   ========================================================== */

.empty-state {
    padding: 90px 20px;

    text-align: center;

    color: var(--muted);
}

.empty-state > div {
    margin-bottom: 12px;

    font-size: 44px;
}

.empty-state h3 {
    color: var(--text);

    font-size: 22px;
}

.empty-state p {
    margin: 8px 0 18px;
}

.hidden {
    display: none !important;
}


/* ==========================================================
   RODAPÉ
   ========================================================== */

footer {
    min-height: 90px;

    padding:
        25px
        5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--line);

    color: var(--muted-2);

    font-size: 11px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--text);

    font-size: 15px;
}

.footer-brand .brand-mark {
    width: 28px;
    height: 28px;

    font-size: 10px;
}

.footer-copy {
    display: flex;

    gap: 20px;
}


/* ==========================================================
   PÁGINA DO FILME
   ========================================================== */

.detail-page {
    padding:
        45px
        0
        110px;
}

.back-link {
    display: inline-block;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 13px;

    transition: .2s ease;
}

.back-link:hover {
    color: var(--gold);

    transform: translateX(-2px);
}

.detail-hero {
    display: grid;

    grid-template-columns:
        340px
        minmax(0, 1fr);

    gap: 55px;

    align-items: center;
}

.detail-poster {
    aspect-ratio: 2 / 3;

    border-radius: 18px;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, .40);
}

.detail-info h1 {
    max-width: 850px;

    margin:
        10px
        0
        14px;

    font-size:
        clamp(40px, 5vw, 68px);

    line-height: 1;

    letter-spacing: -3px;
}

.detail-info h2 {
    margin-top: 42px;

    color: var(--text);

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.synopsis {
    max-width: 760px;

    margin-top: 10px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}

.watch-btn {
    margin-top: 25px;

    margin-right: 8px;
}


/* ==========================================================
   PAINEL DE VOTAÇÃO
   ========================================================== */

.vote-panel {
    margin-top: 65px;

    padding: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border: 1px solid var(--line);

    border-radius: 18px;

    background: var(--panel);

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, .18);
}

.big-score {
    margin-top: 5px;

    color: var(--gold);

    font-size: 55px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: -3px;
}

.score-label {
    margin-top: 5px;

    color: var(--muted);

    font-size: 11px;
}

.vote-buttons {
    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 10px;
}

.vote-btn {
    min-height: 50px;

    padding: 0 18px;

    border: 1px solid var(--line);

    border-radius: 12px;

    background:
        rgba(255,255,255,.035);

    color: var(--text);

    transition: .2s ease;
}

.vote-btn:hover {
    border-color:
        rgba(231, 184, 77, .35);

    background:
        rgba(231, 184, 77, .05);
}

.vote-btn:disabled {
    opacity: .55;

    cursor: wait;
}

.vote-btn b {
    color: var(--gold);
}

#vote-message {
    width: 100%;

    margin-top: 4px;
}


/* ==========================================================
   COMENTÁRIOS
   ========================================================== */

.comments-section {
    padding-top: 70px;
}

.comment-form {
    margin-bottom: 35px;

    padding: 25px;

    border: 1px solid var(--line);

    border-radius: 16px;

    background: var(--panel);
}

.form-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        220px;

    gap: 16px;
}

label {
    display: block;

    color: #d4d7df;

    font-size: 12px;

    font-weight: 650;
}

label input,
label textarea,
label select {
    width: 100%;

    display: block;

    margin-top: 8px;

    padding:
        0
        14px;

    border: 1px solid var(--line);

    border-radius: 11px;

    outline: none;

    background: var(--panel);

    color: var(--text);

    font-weight: 400;

    transition: .2s ease;
}

label input,
label select {
    min-height: 48px;
}

label textarea {
    min-height: 145px;

    padding: 13px 14px;

    resize: vertical;
}

label input:focus,
label textarea:focus,
label select:focus {
    border-color:
        rgba(231, 184, 77, .40);

    box-shadow:
        0 0 0 3px
        rgba(231, 184, 77, .05);
}

label input::placeholder,
label textarea::placeholder {
    color: var(--muted-2);
}

label small {
    display: block;

    margin-top: 7px;

    color: var(--muted-2);

    font-weight: 400;
}

.comment-form > label {
    margin-top: 16px;
}

.form-submit {
    margin-top: 18px;

    display: flex;

    align-items: center;

    gap: 15px;
}

.success-message {
    color: var(--success);

    font-size: 12px;
}

.error-message {
    color: #f09ca2;

    font-size: 12px;
}

.comments-list {
    display: grid;

    gap: 13px;
}

.comment {
    padding: 22px;

    border: 1px solid var(--line);

    border-radius: 15px;

    background:
        rgba(255,255,255,.025);

    transition: .2s ease;
}

.comment:hover {
    border-color:
        rgba(255,255,255,.12);
}

.comment-head {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.comment-head strong {
    color: var(--text);

    font-size: 14px;
}

.comment-head time {
    color: var(--muted-2);

    font-size: 10px;
}

.comment p {
    margin-top: 10px;

    color: #b2b5be;

    font-size: 13px;

    line-height: 1.7;
}

.stars {
    margin-top: 7px;

    color: var(--gold);

    letter-spacing: 2px;
}


/* ==========================================================
   FORMULÁRIOS
   ========================================================== */

.form-page {
    max-width: 850px;

    padding:
        50px
        0
        110px;
}

.form-intro {
    margin-bottom: 30px;
}

.form-intro h1 {
    margin-top: 8px;

    font-size:
        clamp(40px, 6vw, 62px);

    line-height: 1;

    letter-spacing: -3px;
}

.form-intro p {
    max-width: 650px;

    margin-top: 13px;

    color: var(--muted);

    font-size: 15px;
}

.main-form {
    padding: 30px;

    border: 1px solid var(--line);

    border-radius: 18px;

    background: var(--panel);

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.20);
}

.main-form > label {
    margin-bottom: 20px;
}

.main-form .form-row {
    margin-bottom: 20px;
}


/* ==========================================================
   ALERTAS
   ========================================================== */

.alert {
    margin-bottom: 18px;

    padding: 14px 16px;

    border-radius: 11px;

    font-size: 13px;
}

.alert.error {
    border:
        1px solid
        rgba(199, 92, 99, .25);

    background:
        rgba(199, 92, 99, .08);

    color: #ffb4b8;
}


/* ==========================================================
   LOGIN
   ========================================================== */

.login-page {
    min-height: 100vh;

    display: grid;

    place-items: center;

    padding: 20px;
}

.login-box {
    width: min(420px, 100%);

    padding: 35px;

    border: 1px solid var(--line);

    border-radius: 20px;

    background: var(--panel);

    box-shadow:
        var(--shadow);
}

.login-box .center {
    justify-content: center;

    margin-bottom: 35px;
}

.login-box h1 {
    margin-top: 8px;

    font-size: 30px;

    letter-spacing: -1px;
}

.login-box form {
    margin-top: 22px;
}

.login-box form label {
    margin-bottom: 18px;
}

.login-box form .btn {
    width: 100%;
}

.login-box .back-link {
    margin:
        25px
        0
        0;
}


/* ==========================================================
   ADMINISTRAÇÃO
   ========================================================== */

.admin-page {
    padding:
        50px
        0
        110px;
}

.admin-stats {
    display: flex;

    gap: 10px;
}

.admin-stats span {
    padding: 9px 12px;

    border: 1px solid var(--line);

    border-radius: 9px;

    color: var(--muted);

    font-size: 11px;
}

.admin-table-wrap {
    overflow-x: auto;

    border: 1px solid var(--line);

    border-radius: 16px;

    background: var(--panel);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.18);
}

table {
    width: 100%;

    min-width: 780px;

    border-collapse: collapse;
}

th,
td {
    padding: 17px;

    border-bottom: 1px solid var(--line);

    text-align: left;

    font-size: 12px;
}

th {
    color: var(--muted);

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

td {
    color: #aeb2bc;
}

td strong {
    color: var(--text);
}

.actions {
    display: flex;

    gap: 7px;
}

.admin-comments {
    margin-top: 55px;
}

.admin-comment .btn {
    margin-top: 15px;
}



/* ==========================================================
   INFORMAÇÕES TMDB DO FILME
   ========================================================== */

.movie-tagline {
    max-width: 760px;
    margin: 0 0 12px;
    color: var(--muted);
    font-style: italic;
    line-height: 1.6;
}

.movie-director {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.movie-director strong {
    color: var(--text);
}

.movie-director a {
    color: inherit;
    text-decoration: none;
}

.movie-director a:hover strong {
    color: var(--accent);
    text-decoration: underline;
}

.movie-extra-info {
    margin-top: 60px;
}

.extra-block {
    margin-bottom: 45px;
}

.extra-block > .eyebrow {
    margin-bottom: 16px;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.cast-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.cast-card img {
    width: 52px;
    height: 68px;
    flex: 0 0 52px;
    object-fit: cover;
    border-radius: 8px;
}

.cast-card strong,
.cast-card span {
    display: block;
}

.cast-card strong {
    color: var(--text);
    font-size: 13px;
}

.cast-name-link {
    color: inherit;
    text-decoration: none;
}

.cast-name-link:hover strong {
    color: var(--accent);
    text-decoration: underline;
}

.cast-card span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.movie-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--line);
}

.movie-facts > div {
    padding: 16px;
    background: var(--panel);
}

.movie-facts span,
.movie-facts strong {
    display: block;
}

.movie-facts span {
    margin-bottom: 6px;
    color: var(--muted-2);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.movie-facts strong {
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

.provider-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.provider-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    color: var(--text);
    font-size: 12px;
}

.provider-item img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 7px;
}

.external-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 45px;
}

.detail-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}


/* ==========================================================
   LISTA PARA COMPARTILHAR
   ========================================================== */

.painel-indicacao {
    margin-top: 40px;

    padding: 28px;

    border: 1px solid var(--line);

    border-radius: 18px;

    background: var(--panel);

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, .18);
}

.painel-indicacao h2 {
    color: var(--text);

    font-size: 22px;

    line-height: 1.2;

    letter-spacing: -.5px;
}

.painel-indicacao > p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 13px;
}


/* ==========================================================
   AÇÕES DA LISTA
   ========================================================== */

.lista-acoes {
    margin-top: 20px;

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;
}

.contador-lista {
    margin-right: auto;

    color: var(--muted);

    font-size: 12px;
}


/* ==========================================================
   FILMES DA LISTA
   ========================================================== */

.lista-filmes {
    margin-top: 20px;

    display: grid;

    gap: 8px;
}

.lista-filme {
    border: 1px solid var(--line);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .018);

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.lista-filme:hover {
    background:
        rgba(255, 255, 255, .045);

    border-color:
        rgba(231, 184, 77, .20);

    transform: translateX(2px);
}


/* ==========================================================
   LINHA DO FILME
   ========================================================== */

.lista-filme label {
    min-height: 88px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 7px 14px;

    cursor: pointer;

    color: var(--text);
}


/* ==========================================================
   CHECKBOX
   ========================================================== */

.lista-filme .filme-check {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    margin: 0;

    accent-color: var(--gold);

    cursor: pointer;
}


/* ==========================================================
   POSTER
   ========================================================== */

.lista-filme label img,
.lista-filme label > div {
    width: 52px;

    height: 74px;

    flex: 0 0 52px;

    object-fit: cover;

    border-radius: 7px;

    background: #111;

    border: 1px solid rgba(255, 255, 255, .08);
}


/* ==========================================================
   INFORMAÇÕES DO FILME
   ========================================================== */

.lista-filme label > span {
    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 5px;
}

.lista-filme label strong {
    display: block;

    color: var(--text);

    font-size: 16px;

    font-weight: 700;

    line-height: 1.25;

    letter-spacing: -.2px;
}

.lista-filme label small {
    display: block;

    margin: 0;

    color: var(--muted);

    font-size: 12px;

    font-weight: 500;
}


/* Filme selecionado */

.lista-filme:has(.filme-check:checked) {
    border-color:
        rgba(231, 184, 77, .38);

    background:
        rgba(231, 184, 77, .055);

    box-shadow:
        inset 3px 0 0 var(--gold);
}

.lista-filme:has(.filme-check:checked) label strong {
    color: var(--gold-light);
}


/* ==========================================================
   LINK GERADO
   ========================================================== */

.link-gerado {
    margin-top: 25px;

    padding: 20px;

    border: 1px solid
        rgba(113, 201, 154, .18);

    border-radius: 13px;

    background:
        rgba(113, 201, 154, .035);
}

.link-gerado strong {
    color: var(--success);

    font-size: 14px;
}

.link-gerado p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}

.link-gerado input {
    width: 100%;

    min-height: 44px;

    margin-top: 10px;

    padding: 0 12px;

    border: 1px solid var(--line);

    border-radius: 9px;

    outline: none;

    background: var(--panel);

    color: var(--text);

    font-size: 12px;
}


/* ==========================================================
   RESPONSIVIDADE
   ========================================================== */

@media (max-width: 1000px) {

    .hero {
        min-height: 180px;
    }

    .hero-stats {
        display: none;
    }

    .movie-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .detail-hero {
        grid-template-columns:
            270px
            minmax(0, 1fr);

        gap: 35px;
    }
}


@media (max-width: 700px) {

    .topbar {
        height: 68px;

        padding:
            0
            20px;
    }

    .brand {
        font-size: 21px;
    }

    .brand-mark {
        width: 31px;
        height: 31px;
    }

    .admin-link {
        display: none;
    }

    .hero {
        width: 88%;

        min-height: 180px;

        align-items: center;
    }

    .hero h1 {
        font-size: 52px;

        letter-spacing: -3px;
    }

    .hero p {
        font-size: 15px;
    }

    .catalog,
    .detail-page,
    .form-page,
    .admin-page {
        width: 88%;
    }

    .toolbar {
        flex-direction: column;
    }

    .toolbar select {
        width: 100%;
    }

    .movie-grid {
        grid-template-columns: 1fr;
    }

    .detail-page {
        padding-top: 35px;
    }

    .detail-hero {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(280px, 80%);
    }

    .detail-info h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .vote-panel {
        flex-direction: column;

        align-items: flex-start;
    }

    .vote-buttons {
        justify-content: flex-start;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .main-form {
        padding: 22px;
    }

    footer {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-copy {
        flex-direction: column;

        gap: 4px;
    }
    
    .movie-top {
        grid-template-columns:
            65%
            35%;
    }
    
    .movie-side {
        padding:
            15px 10px;
    }
    
    .movie-side .tmdb-rating strong {
        font-size: 18px;
    }
    
    .movie-side .approval strong {
        font-size: 19px;
    }
    
    .movie-header h3 {
        font-size: 18px;
    }
    
    .painel-indicacao {
        padding: 20px 15px;
    }

    .painel-indicacao h2 {
        font-size: 19px;
    }

    .lista-filme label {
        gap: 11px;

        padding:
            6px
            9px;
    }

    .lista-filme .filme-check {
        width: 16px;
        height: 16px;

        flex-basis: 16px;
    }

    .lista-filme label img,
    .lista-filme label > div {
        width: 48px;

        height: 68px;

        flex-basis: 48px;
    }

    .lista-filme label strong {
        font-size: 14px;
    }

    .lista-filme label small {
        font-size: 11px;
    }

    .contador-lista {
        width: 100%;
        margin-right: 0;
    }
}


@media (max-width: 450px) {

    .top-actions .btn {
        padding:
            0
            12px;

        font-size: 11px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .movie-body {
        padding: 18px;
    }

    .vote-panel {
        padding: 22px;
    }

    .big-score {
        font-size: 48px;
    }

    .vote-buttons {
        width: 100%;

        flex-direction: column;
    }

    .vote-btn {
        width: 100%;
    }
}

/* ==========================================================
   Voltar de Admin
   ========================================================== */

.btn-voltar-site {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 62px;

    margin-top: 28px;
    padding: 10px 18px;

    text-decoration: none;

    background:
        linear-gradient(
            90deg,
            rgba(212,175,55,.10),
            rgba(212,175,55,.035),
            rgba(0,0,0,.15)
        );

    border: 1px solid rgba(212,175,55,.28);
    border-radius: 8px;

    color: #fff;

    overflow: hidden;

    transition:
        border-color .3s ease,
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.btn-voltar-site::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: #d4af37;

    box-shadow: 0 0 12px rgba(212,175,55,.7);
}

.btn-voltar-seta {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 13px;

    border: 1px solid rgba(212,175,55,.45);
    border-radius: 50%;

    color: #d4af37;
    font-size: 28px;
    line-height: 1;

    transition: all .3s ease;
}

.btn-voltar-conteudo {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.btn-voltar-conteudo strong {
    color: #d4af37;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.btn-voltar-conteudo small {
    color: #888;

    font-size: 11px;
    letter-spacing: .3px;
}

.btn-voltar-filme {
    margin-left: auto;

    color: rgba(212,175,55,.45);

    font-size: 14px;

    transition: all .3s ease;
}

.btn-voltar-site:hover {
    border-color: rgba(212,175,55,.7);

    background:
        linear-gradient(
            90deg,
            rgba(212,175,55,.16),
            rgba(212,175,55,.055),
            rgba(0,0,0,.2)
        );

    transform: translateY(-2px);

    box-shadow:
        0 6px 22px rgba(0,0,0,.35),
        0 0 15px rgba(212,175,55,.08);
}

.btn-voltar-site:hover .btn-voltar-seta {
    background: #d4af37;
    color: #111;

    transform: translateX(-3px);
}

.btn-voltar-site:hover .btn-voltar-filme {
    color: #d4af37;
    transform: translateX(3px);
}

/* Poster real do TMDB */
.poster-com-imagem {
    background: #000;
    overflow: hidden;
}

.poster-com-imagem img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.card-votacao {
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

.card-votacao-label {
    margin-bottom: 7px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--muted);
}

.card-votacao-botoes {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.card-votacao .vote-btn {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
}

.card-votacao .vote-btn:hover {
    transform: translateY(-1px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}

.card-votacao .vote-btn:active {
    transform: scale(0.96);
}

.card-votacao .vote-btn:disabled {
    cursor: wait;
    opacity: 0.55;
}

.card-votacao .vote-icon {
    font-size: 24px;
    line-height: 1;
}

.card-votacao .vote-number {
    font-size: 13px;
    font-weight: 700;
}

.card-votacao .vote-btn-positive:hover {
    border-color: var(--success);
}

.card-votacao .vote-btn-negative:hover {
    border-color: var(--danger);
}

.card-votacao .vote-btn.votando {
    opacity: 0.5;
}

@media (max-width: 700px) {

    .card-votacao .vote-btn {
        min-height: 50px;
    }

    .card-votacao .vote-icon {
        font-size: 25px;
    }

    .card-votacao .vote-number {
        font-size: 14px;
    }
}

.movie-original-title {
    margin-top: -8px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #D4AF37;
    opacity: 0.75;
    letter-spacing: 0.02em;
}

/* ==========================================================
 * BOTÃO EDITAR COMENTÁRIO
 * ========================================================== */

.comment-edit-btn {
    margin-left: auto;
    padding: 5px 11px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 5px;
    background: transparent;
    color: #D4AF37;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.comment-edit-btn:hover {
    background: rgba(212, 175, 55, 0.10);
    border-color: #D4AF37;
    color: #E8C85A;
    transform: translateY(-1px);
}

.comment-edit-btn:active {
    transform: translateY(0);
}

.comment-edit-btn:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.55);
    outline-offset: 2px;
}


/* ==========================================================
 * ÁREA DE EDIÇÃO
 * ========================================================== */

.comment-edit-area {
    margin-top: 14px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.20);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
}

.comment-edit-area label {
    display: block;
    margin-bottom: 12px;
    color: #cfcfcf;
    font-size: 0.82rem;
}

.comment-edit-area input,
.comment-edit-area select,
.comment-edit-area textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 9px 10px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.25);
    color: #f0f0f0;
    font-family: inherit;
    font-size: 0.9rem;
}

.comment-edit-area input:focus,
.comment-edit-area select:focus,
.comment-edit-area textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.65);
}

.comment-edit-area textarea {
    min-height: 100px;
    resize: vertical;
}

.comment-edit-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.comment-save-btn,
.comment-cancel-btn {
    padding: 7px 13px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.comment-cancel-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #aaa;
}

.comment-cancel-btn:hover {
    border-color: rgba(255, 255, 255, 0.30);
    color: #ddd;
}

/* ==========================================================
 * AVISO DOS COMENTÁRIOS
 * ========================================================== */

.comment-disclaimer {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.75rem;
    line-height: 1.5;
}


/* ==========================================================
   MENSAGEM DE VOTO
========================================================== */

#mensagem-voto {
    position: fixed;

    left: 50%;

    bottom: 28px;

    z-index: 99999;

    width: min(
        420px,
        calc(100% - 32px)
    );

    transform:
        translateX(-50%)
        translateY(0);

    pointer-events: none;

    opacity: 1;

    transition:
        opacity 0.5s ease,
        transform 0.5s ease;

    animation:
        mensagemVotoEntrada
        0.25s
        ease-out;
}


/*
 * ----------------------------------------------------------
 * CARD
 * ----------------------------------------------------------
 */

.mensagem-voto-conteudo {

    padding:
        15px
        20px
        17px;

    border:

        1px solid
        rgba(
            212,
            175,
            55,
            0.38
        );

    border-radius: 10px;

    background:
        rgba(
            17,
            17,
            17,
            0.96
        );

    box-shadow:
        0 12px 35px
        rgba(
            0,
            0,
            0,
            0.45
        );

    backdrop-filter:
        blur(8px);

    text-align: center;
}


/*
 * ----------------------------------------------------------
 * TÍTULO
 * ----------------------------------------------------------
 */

.mensagem-voto-titulo {

    margin-bottom: 6px;

    color: #d4af37;

    font-size: 10px;

    font-weight: 700;

    letter-spacing:
        0.18em;
}


/*
 * ----------------------------------------------------------
 * TEXTO
 * ----------------------------------------------------------
 */

.mensagem-voto-texto {

    color: #e8e8e8;

    font-size: 14px;

    line-height: 1.5;
}


/*
 * ----------------------------------------------------------
 * ERRO
 * ----------------------------------------------------------
 */

.mensagem-voto.erro
.mensagem-voto-conteudo {

    border-color:
        rgba(
            212,
            175,
            55,
            0.38
        );
}


/*
 * ----------------------------------------------------------
 * SUCESSO
 * ----------------------------------------------------------
 */

.mensagem-voto.sucesso
.mensagem-voto-conteudo {

    border-color:
        rgba(
            212,
            175,
            55,
            0.55
        );
}


/*
 * ----------------------------------------------------------
 * SAÍDA
 * ----------------------------------------------------------
 */

.mensagem-voto-saindo {

    opacity: 0;

    transform:
        translateX(-50%)
        translateY(12px);
}


/*
 * ----------------------------------------------------------
 * ENTRADA
 * ----------------------------------------------------------
 */

@keyframes mensagemVotoEntrada {

    from {

        opacity: 0;

        transform:
            translateX(-50%)
            translateY(12px);
    }

    to {

        opacity: 1;

        transform:
            translateX(-50%)
            translateY(0);
    }
}

/* ==========================================================
   AUTENTICAÇÃO
========================================================== */

.auth-page {
    min-height: calc(100vh - 90px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px 20px;
}


.auth-card {
    width: min(
        460px,
        100%
    );

    padding: 36px;

    border:
        1px solid
        rgba(
            212,
            175,
            55,
            0.25
        );

    border-radius: 12px;

    background:
        rgba(
            17,
            17,
            17,
            0.96
        );

    box-shadow:
        0 20px 60px
        rgba(
            0,
            0,
            0,
            0.35
        );
}


.auth-card h1 {
    margin:
        8px
        0
        12px;
}


.auth-intro {
    margin:
        0
        0
        28px;

    color:
        #aaa;

    line-height:
        1.6;
}


.auth-form {
    display:
        flex;

    flex-direction:
        column;

    gap:
        18px;
}


.auth-form label {
    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;

    color:
        #ddd;

    font-size:
        14px;
}


.auth-form input {
    width:
        100%;

    box-sizing:
        border-box;

    padding:
        12px
        14px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

    border-radius:
        7px;

    background:
        #0c0c0c;

    color:
        #fff;

    outline:
        none;
}


.auth-form input:focus {
    border-color:
        #d4af37;

    box-shadow:
        0 0 0 2px
        rgba(
            212,
            175,
            55,
            0.10
        );
}


.auth-message {
    margin:
        0
        0
        22px;

    padding:
        12px
        14px;

    border-radius:
        7px;

    font-size:
        14px;
}


.auth-message.erro {
    border:
        1px solid
        rgba(
            200,
            80,
            80,
            0.35
        );

    background:
        rgba(
            120,
            30,
            30,
            0.16
        );

    color:
        #e5aaaa;
}


.auth-footer {
    margin-top:
        24px;

    padding-top:
        20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    color:
        #999;

    text-align:
        center;

    font-size:
        14px;
}


.auth-footer a {
    color:
        #d4af37;

    text-decoration:
        none;
}


.auth-footer a:hover {
    text-decoration:
        underline;
}


@media (max-width: 600px) {

    .auth-card {
        padding:
            26px
            20px;
    }
}

/* ==========================================================
   AUTENTICAÇÃO
========================================================== */

.auth-page {
    min-height: calc(100vh - 90px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px 20px;
}


.auth-card {
    width: min(
        460px,
        100%
    );

    padding: 36px;

    border:
        1px solid
        rgba(
            212,
            175,
            55,
            0.25
        );

    border-radius: 12px;

    background:
        rgba(
            17,
            17,
            17,
            0.96
        );

    box-shadow:
        0 20px 60px
        rgba(
            0,
            0,
            0,
            0.35
        );
}


.auth-card h1 {
    margin:
        8px
        0
        12px;
}


.auth-intro {
    margin:
        0
        0
        28px;

    color:
        #aaa;

    line-height:
        1.6;
}


.google-login {
    display: flex;

    justify-content: center;

    min-height: 44px;
}


.auth-separator {
    display: flex;

    align-items: center;

    gap: 14px;

    margin:
        22px
        0;
}


.auth-separator::before,
.auth-separator::after {
    content: "";

    flex: 1;

    height: 1px;

    background:
        rgba(
            255,
            255,
            255,
            0.10
        );
}


.auth-separator span {
    color:
        #777;

    font-size:
        12px;

    text-transform:
        uppercase;

    letter-spacing:
        0.12em;
}


.auth-form {
    display:
        flex;

    flex-direction:
        column;

    gap:
        18px;
}


.auth-form label {
    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;

    color:
        #ddd;

    font-size:
        14px;
}


.auth-form input {
    width:
        100%;

    box-sizing:
        border-box;

    padding:
        12px
        14px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

    border-radius:
        7px;

    background:
        #0c0c0c;

    color:
        #fff;

    outline:
        none;
}


.auth-form input:focus {
    border-color:
        #d4af37;

    box-shadow:
        0 0 0 2px
        rgba(
            212,
            175,
            55,
            0.10
        );
}


.auth-message {
    margin:
        0
        0
        22px;

    padding:
        12px
        14px;

    border-radius:
        7px;

    font-size:
        14px;
}


.auth-message.erro {
    border:
        1px solid
        rgba(
            200,
            80,
            80,
            0.35
        );

    background:
        rgba(
            120,
            30,
            30,
            0.16
        );

    color:
        #e5aaaa;
}


.auth-footer {
    margin-top:
        24px;

    padding-top:
        20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    color:
        #999;

    text-align:
        center;

    font-size:
        14px;
}


.auth-footer a {
    color:
        #d4af37;

    text-decoration:
        none;
}


.auth-footer a:hover {
    text-decoration:
        underline;
}


@media (max-width: 600px) {

    .auth-card {
        padding:
            26px
            20px;
    }
}

/* ==========================================================
   RESENHAS
   ========================================================== */

.reviews-section {
    margin-top: 42px;
}

.review-login-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.review-login-box p {
    margin: 6px 0 0;
}

.review-editor {
    padding: 26px;
    margin-bottom: 30px;
    border: 1px solid rgba(210, 170, 90, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.review-form {
    margin-top: 18px;
}

.review-form textarea {
    min-height: 260px;
    resize: vertical;
}

.review-status {
    margin-top: 14px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
}

.review-status.moderation {
    border: 1px solid rgba(220, 170, 70, 0.28);
    background: rgba(220, 170, 70, 0.07);
}

.review-status.archived {
    border: 1px solid rgba(180, 180, 180, 0.2);
    background: rgba(180, 180, 180, 0.06);
}

.review-list {
    display: grid;
    gap: 18px;
}

.review-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.review-card-own {
    border-color: rgba(210, 170, 90, 0.28);
}

.review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.review-head > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.review-head time {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
}

.review-own-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    border: 1px solid rgba(210, 170, 90, 0.28);
    background: rgba(210, 170, 90, 0.08);
}

.review-card .stars {
    margin-top: 10px;
}

.review-title {
    margin: 12px 0 10px;
    font-size: 1.15rem;
}

.review-body {
    margin-top: 12px;
    line-height: 1.75;
    white-space: normal;
}

@media (max-width: 700px) {

    .review-login-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-editor {
        padding: 18px;
    }

    .review-head {
        flex-direction: column;
        gap: 8px;
    }

}

.detail-community-counts {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
    color: #d8b15a;
    font-size: 0.88rem;
    font-weight: 500;
}

.detail-community-counts span + span::before {
    content: "•";
    margin-right: 18px;
    color: rgba(216, 177, 90, 0.55);
}

@media (max-width: 700px) {
    .detail-community-counts {
        gap: 12px;
        flex-wrap: wrap;
    }

    .detail-community-counts span + span::before {
        margin-right: 12px;
    }
}

/* ==========================================================
   META DO FILME — UMA ÚNICA LINHA
   ========================================================== */

.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
}

.detail-meta span:not(:last-child)::after {
    content: "•";
    margin: 0 10px;
    color: rgba(216, 177, 90, 0.7);
}

@media (max-width: 700px) {
    .detail-meta span:not(:last-child)::after {
        margin: 0 7px;
    }
}

.user-menu-name {
    display: inline-flex;
    align-items: center;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #d8b15a;
    font-size: 0.88rem;
    font-weight: 500;
}

@media (max-width: 700px) {
    .user-menu-name {
        max-width: 120px;
    }
}

.review-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.review-action-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.review-action-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(216, 177, 90, 0.35);
    color: #fff;
}

.review-action-publicar {
    color: #d8b15a;
    border-color: rgba(216, 177, 90, 0.3);
}

.review-action-excluir {
    color: #d98b8b;
}

.review-action-excluir:hover {
    border-color: rgba(217, 139, 139, 0.4);
    color: #efaaaa;
}

.review-status.hidden {
    border: 1px solid rgba(180, 180, 180, 0.18);
    background: rgba(180, 180, 180, 0.05);
}
/* ==========================================================
 * PERFIL / PERSONA PÚBLICA
 * ========================================================== */

.user-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.user-mini-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .65);
    background: #211d0e;
    color: #d4af37;
    font-size: .72rem;
    font-weight: 700;
}

.user-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.review-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .5);
    background: #211d0e;
    color: #d4af37;
    font-size: .82rem;
    font-weight: 700;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .user-profile-link .user-menu-name {
        max-width: 100px;
    }
}
