﻿/* ---------------------------
    GERAL
----------------------------*/
html, body {
    margin: 0;
    padding: 0;
    background: transparent;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    overflow-x: hidden;
    font-size: 13px;
}

/* VIDEO DE FUNDO */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.video-area {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh; /* garante que o vídeo cubra a parte da home */
}

.features-section {
    background: transparent; /* fundo real, separado do vídeo */
    padding: 80px 0;
    position: relative;
    z-index: 5;
}


/* SOBRELAY PARA LEITURA */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: -1;
}


/* ---------------------------
    MENU SUPERIOR
----------------------------*/
#menu {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 50px;
    background: rgba(0,0,0,0.60);
    backdrop-filter: blur(4px);

    display: flex;
    align-items: center;

    /* Deixa tudo dentro com espaçamento agradável */
    padding: 0 25px;
    box-sizing: border-box;

    z-index: 10;
}

/* LOGO */
#menu .logo {
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

/* NAV LINKS - CENTRALIZADOS */
#menu nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

#menu nav a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.2s;
}

#menu nav a:hover {
    color: #eac27a;
}

/* ÍCONE DO MENU */
.menu-icon {
    width: 8px;      /* menor */
    height: 8px;
    margin-right: 6px;
    vertical-align: middle;

    /* mantém as cores originais do ícone */
    filter: none;

    transition: 0.25s ease-in-out;
}

/* Quando passar o mouse no link → ícone brilha vermelho */
#menu nav a:hover .menu-icon {
    filter: drop-shadow(0 0 6px #d89f4d) brightness(1.8) saturate(2);
}

/* Deixa o link alinhado certinho com ícone + texto */
#menu nav a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* BOTÃO DO PAINEL MELHOR POSICIONADO */
.panel-btn {
    background: #d89f4d;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: .2s;
}

.panel-btn:hover {
    background: #b8860b;
}

/* LOGO CENTRAL */
.hero-center {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.main-logo {
    width: 450px;
    max-width: 80%;
    filter:
        drop-shadow(0 0 6px rgba(216, 159, 77, 0.5))
        drop-shadow(0 0 12px rgba(216, 159, 77, 0.5))
        brightness(1.15);
    transition: filter 0.5s ease-in-out;
}

.main-logo:hover {
    filter:
        drop-shadow(0 0 10px rgba(216, 159, 77, 0.7))
        drop-shadow(0 0 20px rgba(216, 159, 77, 0.4))
        brightness(1.45);
}


/* BOTÃO LATERAL */
.countdown-toggle {
    position: fixed;
    top: 110px;
    left: 0;
    width: 15px;
    height: 30px;
    background: rgba(0,0,0,0.6);
    border-right: 3px solid #d89f4d;
    color: #d89f4d;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    backdrop-filter: blur(3px);
    z-index: 30;
    transition: all 0.3s ease;
}

/* PAINEL RETRÁTIL */
.countdown-banner {
    position: fixed;
    top: 100px;
    left: 0;
    width: 220px;
    background: rgba(0,0,0,0.50);
    padding: 12px 16px;
    border-right: 4px solid #d89f4d;
    border-radius: 0 8px 8px 0;
    backdrop-filter: blur(3px);
    z-index: 20;

    transform: translateX(-100%);
    opacity: 0;

    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* QUANDO ABERTO */
.countdown-banner.retract-open {
    transform: translateX(0);
    opacity: 1;
}

/* QUANDO FECHADO */
.countdown-banner.retract-close {
    transform: translateX(-100%);
    opacity: 0;
}

/* Título */
.countdown-banner h3 {
    font-size: 14px;
    margin: 0 0 8px;
    color: #d89f4d;
    text-shadow: 0 0 5px black;
}

/* BLOCO DO COUNTDOWN */
.countdown-box {
    display: flex;
    gap: 8px;
}

.cd-block {
    background: rgba(0,0,0,0.65);
    padding: 8px 10px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #d89f4d;
}

.cd-block span {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #d89f4d;
}

.cd-block p {
    font-size: 10px;
    margin: 2px 0 0;
}

/* MOBILE AJUSTADO */
@media (max-width: 768px) {
    .countdown-toggle {
        top: 100px;
    }

    .countdown-banner {
        top: 100px;
        width: 260px;
    }
}


/* Overlay escuro */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

/* Caixa de login */
.login-box {
    background: rgba(0,0,0,0.85);
    border: 1px solid #d89f4d;
    padding: 25px;
    width: 320px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px #000;
}

/* Título */
.login-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
}

/* Botão fechar */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
    font-size: 16px;
    color: #d89f4d;
}

.login-box label {
    font-size: 13px;
}

.login-box input,
.login-box select {
    width: 100%;
    padding: 8px;
    margin: 6px 0 12px;
    border-radius: 5px;
    border: 1px solid #333;
    background: #111;
    color: white;
    font-size: 13px;
}


/* Caixa de lembrar */
.remember-box {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    margin: 5px 0 12px;
}


/* Label do remember */
.remember-box label {
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1;
}

/* Checkbox */
.remember-box input[type="checkbox"] {
    width: 12px;
    height: 12px;
    margin: 0;
    cursor: pointer;
}


/* Botão entrar */
.login-btn {
    width: 100%;
    padding: 10px;
    background: #d89f4d;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: .2s;
}

.login-btn:hover {
    background: #b8860b;
}

/* user-box quando logado */
.user-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    padding: 5px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.04);
}
.menu-user {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding-right: 6px;
    border-right: 1px solid rgba(255,255,255,0.06);
}

/* botões do user box */
.dash-btn, .logout-btn {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.04);
    transition: .15s;
}
.dash-btn:hover { background: rgba(255,255,255,0.03); color: #ffd26a; border-color: rgba(255,210,106,0.25); }
.logout-btn:hover { background: rgba(255,255,255,0.03); color: #f7d9a1; border-color: rgba(234, 194, 122,0.25); }

/* ---------------------------
   DASHBOARD SUPER MODERNO
----------------------------*/

.dashboard-box {
    background: rgba(0,0,0,0.88);
    border: 1px solid #d89f4d;
    padding: 25px;
    width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 25px rgba(0,0,0,0.7);
    animation: dashOpen .3s ease;
}

@keyframes dashOpen {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.dashboard-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: #d89f4d;
}

/* ABAS */
.dash-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.dash-tab {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    transition: .2s;
}

.dash-tab.active,
.dash-tab:hover {
    background: #d89f4d;
    border-color: #d89f4d;
}

/* CONTEÚDO DAS ABAS */
.dash-content {
    margin-top: 10px;
}

.dash-tab-content {
    display: none;
}

.dash-tab-content.active {
    display: block;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* SEÇÕES INTERNAS */
.dash-section {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.06);
}

.dash-section h3 {
    color: #ffd26a;
    margin-bottom: 8px;
    font-size: 14px;
}

.dash-section p {
    font-size: 12px;
}

.coins-btn {
    margin-top: 8px;
    background: #ffd26a;
    color: black;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.coins-btn:hover {
    background: #ffbf3e;
}
/* GRID DE PERSONAGENS */
.chars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

/* CARD DO PERSONAGEM */
.char-card {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: .2s;
}

.char-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
    border-color: #d89f4d;
}

.char-card h4 {
    font-size: 14px;
    color: #ffd26a;
    margin-bottom: 8px;
}

.char-card p {
    font-size: 12px;
}

/* LABELS */
.ok { color: #4dff4d; font-weight: bold; }
.no { color: #ff4d4d; font-weight: bold; }
.hero { color: #6ecbff; font-weight: bold; text-shadow: 0 0 5px #0099ff; }


.login-error {
    background: #ff3d3d;
    padding: 8px;
    color: white;
    margin-bottom: 8px;
    border-radius: 5px;
    text-align:center;
    font-size: 12px;
}

.login-success {
    background: #4cff4c;
    padding: 8px;
    color: #000;
    margin-bottom: 8px;
    border-radius: 5px;
    text-align:center;
    font-size: 12px;
}


.login-success {
    background: #4CFF4C;
    padding: 8px;
    color: black;
    font-weight: bold;
    border-radius: 6px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 12px;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% {opacity: 0.6;}
    100% {opacity: 1;}
}
/* CONTAINER DO FORMULÁRIO */
.security-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* LABELS */
.security-form label {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 2px;
    color: #ffd26a;
}

/* INPUTS */
.security-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 13px;
    transition: .2s;
}

.security-form input[type="password"]:focus {
    border-color: #ffd26a;
    background: rgba(255,255,255,0.08);
}

/* CHECKBOX */
.security-form .checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.security-form .checkbox-line label {
    margin: 0;
    font-weight: normal;
    font-size: 11px;
}

/* BOTÃO */
.security-form .login-btn {
    margin-top: 8px;
    background: #d89f4d;
    border-radius: 8px;
    padding: 10px;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.security-form .login-btn:hover {
    background: #c40000;
}

/* MENSAGENS */
.login-error,
.login-success {
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    margin-top: 5px;
    animation: fadeIn .3s;
}

.login-error {
    background: rgba(255, 60, 60, 0.25);
    color: #ff4c4c;
    border: 1px solid rgba(255, 50, 50, 0.5);
}

.login-success {
    background: rgba(60, 255, 90, 0.25);
    color: #4cff4c;
    border: 1px solid rgba(60, 255, 90, 0.5);
}

/* ANIMAÇÃO */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------
    RESPONSIVIDADE MOBILE
----------------------------*/

/* MENU HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE NAVIGATION */
@media (max-width: 1000px) {
    .hamburger {
        display: flex !important;
        position: absolute;
        right: 15px;
        top: 15px;
        z-index: 1002;
        background: rgba(216, 159, 77,0.2);
        padding: 12px;
        border-radius: 8px;
        border: 1px solid #d89f4d;
    }
    
    .hamburger span {
        background: #d89f4d;
        width: 28px;
        height: 3px;
    }
    
    #menu {
        flex-wrap: wrap;
        padding: 10px 15px;
        min-height: 50px;
    }
    
    #menu .logo {
        font-size: 18px;
    }
    
    #menu nav {
        display: none;
        position: absolute;
        left: 0;
        transform: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(0,0,0,0.98);
        top: 50px;
        padding: 15px;
        border-bottom: 2px solid #d89f4d;
    }
    
    #menu nav.active {
        display: flex;
    }
    
    #menu nav a {
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 14px;
        justify-content: flex-start;
    }
    
    #menu nav a:last-child {
        border-bottom: none;
    }
    
    .right-panel {
        position: absolute;
        right: 70px;
        top: 8px;
    }
    
    .panel-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .user-box {
        flex-wrap: wrap;
        gap: 6px;
        padding: 6px;
    }
    
    .menu-user {
        width: 100%;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 6px;
        margin-bottom: 4px;
        font-size: 11px;
    }
    
    .dash-btn, .logout-btn {
        flex: 1;
        text-align: center;
        padding: 6px 4px;
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    /* LOGO */
    .main-logo {
        width: 90%;
        max-width: 350px;
    }
    
    .hero-center {
        margin-top: 40px;
    }
    
    /* COUNTDOWN */
    .countdown-toggle {
        top: 70px;
        width: 20px;
        height: 40px;
    }
    
    .countdown-banner {
        top: 70px;
        width: calc(100% - 20px);
        max-width: 260px;
    }
    
    .countdown-box {
        gap: 6px;
    }
    
    .cd-block {
        padding: 6px 8px;
    }
    
    .cd-block span {
        font-size: 16px;
    }
    
    .cd-block p {
        font-size: 9px;
    }
    
    /* FEATURES */
    .features-section {
        margin-top: 30px;
        padding: 15px 8px;
    }
    
    .features-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .features-grid {
        gap: 15px;
        padding: 0 8px;
    }
    
    .feature-card {
        width: 100%;
        max-width: 280px;
        padding: 12px;
    }
    
    .feature-card h3 {
        font-size: 14px;
    }
    
    /* LOGIN MODAL */
    .login-box {
        width: 95%;
        padding: 15px;
        margin: 10px;
    }
    
    .login-title {
        font-size: 16px;
    }
    
    .login-box input {
        padding: 10px;
        font-size: 14px;
    }
    
    /* DASHBOARD */
    .dashboard-box {
        width: 95%;
        padding: 12px;
        max-height: 90vh;
    }
    
    .dashboard-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    /* ABAS DO DASHBOARD */
    .dash-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .dash-tab {
        flex: 1 1 45%;
        padding: 8px 10px;
        font-size: 11px;
        text-align: center;
    }
    
    /* SEÇÕES DO DASHBOARD */
    .dash-section {
        padding: 12px;
    }
    
    .dash-section h3 {
        font-size: 13px;
    }
    
    .dash-section p {
        font-size: 12px;
    }
    
    /* CARDS DE PERSONAGEM */
    .chars-grid {
        grid-template-columns: 1fr;
    }
    
    .char-card {
        padding: 10px;
    }
    
    .char-card h4 {
        font-size: 13px;
    }
    
    /* FORMULÁRIO DE SEGURANÇA */
    .security-form input {
        padding: 8px;
        font-size: 14px;
    }
    
    /* DOWNLOAD MODAL */
    .download-box {
        width: 95%;
        padding: 15px 12px;
    }
    
    .download-title {
        font-size: 16px;
    }
    
    .download-section {
        padding: 10px;
    }
    
    .download-btn {
        padding: 12px;
        font-size: 13px;
    }
    
    /* CONTENT */
    .content {
        margin-top: 50px;
        padding: 12px;
    }
}

@media (max-width: 400px) {
    #menu .logo {
        font-size: 16px;
    }
    
    .panel-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .main-logo {
        width: 100%;
    }
    
    .dash-tab {
        flex: 1 1 100%;
        padding: 8px;
        font-size: 10px;
    }
    
    .features-title {
        font-size: 15px;
    }
}

/* TOUCH FRIENDLY */
@media (hover: none) and (pointer: coarse) {
    .dash-tab,
    .login-btn,
    .panel-btn,
    .download-btn,
    .coins-btn {
        min-height: 44px;
    }
    
    #menu nav a {
        min-height: 44px;
    }
    
    input, select {
        min-height: 44px;
        font-size: 14px;
    }
}

/* DASHBOARD MOBILE ESPECÍFICO */
@media (max-width: 700px) {
    .dashboard-box {
        width: 98%;
        max-height: 95vh;
        padding: 10px;
        border-radius: 8px;
    }
    
    .dashboard-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .close-btn {
        top: 5px;
        right: 10px;
        font-size: 18px;
    }
    
    .dash-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .dash-tab {
        padding: 10px 6px;
        font-size: 10px;
        border-radius: 6px;
    }
    
    .dash-section {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .dash-section h3 {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .dash-section p {
        font-size: 11px;
        margin: 4px 0;
    }
    
    /* Personagens no mobile */
    .char-layout {
        flex-direction: column;
    }
    
    .char-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid #3a3a5a;
        border-radius: 8px 8px 0 0;
        padding: 6px;
        gap: 4px;
    }
    
    .sidebar-btn {
        flex: 1 1 45%;
        text-align: center;
        padding: 8px 4px;
        font-size: 10px;
    }
    
    .char-content {
        max-height: 250px;
    }
    
    /* Coins packages */
    .coin-packages {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .coin-package {
        padding: 12px;
    }
    
    .pkg-coins {
        font-size: 16px;
    }
    
    .pkg-price {
        font-size: 14px;
    }
    
    /* Form security */
    .security-form input {
        padding: 10px;
    }
    
    /* Login/Register modais */
    .login-box {
        width: 95%;
        padding: 15px 12px;
    }
    
    .login-title {
        font-size: 15px;
    }
    
    .login-box input {
        padding: 10px;
    }
    
    /* Download modal */
    .download-box {
        width: 95%;
        padding: 12px;
    }
    
    .download-section {
        padding: 10px;
    }
    
    .download-btn {
        padding: 12px;
    }
}

@media (max-width: 400px) {
    .dash-tabs {
        grid-template-columns: 1fr 1fr;
    }
    
    .dash-tab {
        font-size: 9px;
        padding: 8px 4px;
    }
    
    .dashboard-title {
        font-size: 14px;
    }
}

/* ===================================================  
   FEATURE SECTION (TRÊS PERSONAGENS)
=================================================== */
.features-section {
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
    color: white;
    position: relative;
    z-index: 5;
}

.features-title {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px black;
}

/* GRID DOS CARDS */
.features-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 10px 20px;
}

/* CARD INDIVIDUAL */
.feature-card {
    width: 280px;
    background: rgba(0,0,0,0.55);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #d89f4d;
    box-shadow: 0 0 20px #d89f4d55;
}

/* TÍTULO DO CARD */
.feature-card h3 {
    margin-bottom: 12px;
    font-size: 15px;
    text-shadow: 0 0 8px black;
}

.feature-card p {
    font-size: 12px;
}

/* IMAGEM DO PERSONAGEM */
.feature-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
}
/* DOWNLOAD MODAL */
.download-box {
    background: rgba(0,0,0,0.90);
    border: 1px solid #d89f4d;
    padding: 25px;
    width: 550px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px #000;
}

.download-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    color: #d89f4d;
}

/* CONTENT */
.download-section {
    background: rgba(255,255,255,0.04);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.06);
}

.download-section h3 {
    color: #ffd26a;
    margin-bottom: 6px;
    font-size: 14px;
}

.download-section p {
    color: #fff;
    margin-bottom: 10px;
    font-size: 12px;
}

/* BUTTONS */
.download-btn {
    display: block;
    background: #d89f4d;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: 0.2s;
}

.download-btn:hover {
    background: #cc0000;
}


/* ===================================================
   MOBILE OPTIMIZATION - BOXES RESPONSIVOS
   =================================================== */

/* Status Box - Desktop */
.status-box {
    position: fixed;
    top: 10%;
    left: 30px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 168, 74, 0.3);
    border-radius: 12px;
    padding: 20px 25px;
    width: 240px;
    box-sizing: border-box;
    z-index: 100;
}

/* Login Box Sidebar - Desktop */
.login-sidebar {
    position: fixed;
    top: 10%;
    right: 30px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 168, 74, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    width: 220px;
    box-sizing: border-box;
    z-index: 100;
}

/* Mobile - Telas até 768px */
@media (max-width: 768px) {
    .status-box,
    .login-sidebar {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
        border-radius: 0;
        padding: 15px;
    }
    
    .status-box {
        margin-top: 70px;
    }
    
    .login-sidebar {
        margin-top: 0;
    }
    
    /* Hero area com boxes empilhados */
    .hero-center {
        margin-top: 20px;
    }
    
    /* Esconder vídeo em mobile para economizar dados */
    .bg-video {
        display: none;
    }
    
    /* Background fallback */
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    }
}

/* Mobile - Telas muito pequenas */
@media (max-width: 480px) {
    .status-box,
    .login-sidebar {
        padding: 12px;
        font-size: 12px;
    }
    
    .status-box h3,
    .login-sidebar h3 {
        font-size: 14px;
    }
}

/* Rates Box - Desktop */
.rates-box {
    position: fixed;
    top: calc(10% + 250px);
    left: 30px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 168, 74, 0.3);
    border-radius: 12px;
    padding: 20px 25px;
    width: 240px;
    box-sizing: border-box;
    z-index: 100;
    overflow-y: auto;
}

/* Mobile - Rates Box */
@media (max-width: 768px) {
    .rates-box {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
        border-radius: 0;
        max-height: none;
        overflow: visible;
    }
}

/* Mobile Container - Desktop invisível */
.mobile-container {
    display: contents;
}

/* Mobile Container - Mobile */
@media (max-width: 768px) {
    .mobile-container {
        display: flex;
        flex-direction: column;
        padding: 10px;
        gap: 15px;
    }
    
    /* Ocultar vídeo em mobile para economizar dados */
    .bg-video {
        display: none;
    }
    
    /* Background fallback */
    body::before {
        background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    }
    
    /* Touch-friendly: aumentar área de toque */
    button, a, input[type="checkbox"], input[type="radio"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Scroll suave */
    html {
        scroll-behavior: smooth;
    }
}

/* BOTÃO SHOP NO MENU */
.panel-link-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931a);
    color: white !important;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    margin-right: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.panel-link-btn:hover {
    background: linear-gradient(135deg, #ff8c5a, #ffa940);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.6);
}

/* ===================================================
   MODAIS LOGIN/REGISTER - ESTILO PAINEL DOURADO
=================================================== */

/* Caixa de login/register estilo painel */
.login-box {
    background: linear-gradient(135deg, rgba(30, 26, 26, 0.98), rgba(20, 18, 18, 0.98));
    border: 1px solid rgba(255, 191, 115, 0.3);
    padding: 25px 30px;
    width: 340px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 191, 115, 0.15);
}

.login-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d89f4d, #eac27a, #d89f4d);
    border-radius: 12px 12px 0 0;
}

/* Título dourado */
.login-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 12px;
    color: #eec889;
    font-family: 'Cinzel Decorative', serif;
    text-shadow: 0 0 10px rgba(232, 194, 122, 0.3);
}

/* Botão fechar */
.login-box .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
    color: #d89f4d;
    transition: 0.2s;
}

.login-box .close-btn:hover {
    color: #f7d9a1;
    text-shadow: 0 0 8px rgba(232, 194, 122, 0.5);
}

/* Labels */
.login-box label {
    font-size: 11px;
    color: #d89f4d;
    font-weight: 500;
    margin-bottom: 2px;
    display: block;
}

/* Inputs */
.login-box input,
.login-box select {
    width: 100%;
    padding: 8px 10px;
    margin: 4px 0 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 191, 115, 0.25);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 13px;
    transition: all 0.2s;
}

.login-box input:focus,
.login-box select:focus {
    border-color: #eac27a;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(232, 194, 122, 0.2);
    outline: none;
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Botão entrar/registrar */
.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #eac27a, #d4a84a);
    border: none;
    border-radius: 8px;
    color: #111;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 5px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #f7d9a1, #eac27a);
    box-shadow: 0 0 15px rgba(234, 194, 122, 0.4);
    transform: translateY(-2px);
}

/* Mensagens de erro/sucesso */
.login-error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #ff6b6b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 12px;
}

.login-success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #4caf50;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 12px;
}

/* Checkbox lembrar */
.remember-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0 12px;
}

.remember-box input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #eac27a;
}

.remember-box label {
    margin: 0;
    color: #ccc;
    font-weight: normal;
}

/* Select duração sessão */
#sessionTimeBox {
    margin-bottom: 12px;
}

#sessionTimeBox label {
    margin-bottom: 4px;
}

#sessionTimeBox select {
    margin-top: 4px;
}




/* ===== SCROLLBAR GLOBAL - Estilo L2-EVO ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4a84a, #b8942e);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a84a;
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #d4a84a rgba(0, 0, 0, 0.3);
}
