/* ==========================================================================
   DARK GAMER CONTENT FIX (Baseado no temp.html)
   Escopo: Aplica APENAS dentro de #main, ignorando Header e Footer.
   ========================================================================== */

/* [MELHORIA] Scroll suave global */
html {
    scroll-behavior: smooth !important;
}

/* 1. O GRANDE CONTÊINER (O Miolo do Site) */
#main,
.site-main,
.entry-content,
.dokan-dashboard-wrap {
    background-color: #0b0b0b !important; /* Fundo Preto Profundo */
    color: #e0e0e0 !important; /* Texto Cinza Claro (Leitura) */
}

/* [MELHORIA] Previne quebra de imagens soltas no texto */
#main img, .entry-content img {
    max-width: 100% !important;
    height: auto !important;
}

/* 2. TÍTULOS E CABEÇALHOS (Força Branco) */
#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6,
#main .dokan-page-title,
#main .entry-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

#main a {
    transition: color 0.3s ease !important; /* [MELHORIA] Suavidade no texto dos links */
}

#main a:hover {
    color: #ffffff !important; /* Branco ao passar o mouse */
    text-shadow: none !important;
}

/* 4. CARTÕES E CAIXAS (Fundo Cinza Escuro para destacar) */
#main .dokan-panel,
#main .dokan-widget,
#main .woocommerce-MyAccount-navigation,
#main .woocommerce-MyAccount-content,
#main .card,
#main .box {
    background-color: #111111 !important;
    border: 1px solid #333333 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

/* 5. INPUTS E FORMULÁRIOS (Obrigatório ser escuro) */
#main input[type="text"],
#main input[type="email"],
#main input[type="password"],
#main input[type="number"],
#main input[type="tel"],
#main input[type="search"],
#main textarea,
#main select {
    background-color: #000000 !important; /* Fundo Preto */
    color: #ffffff !important; /* Texto Branco */
    border: 1px solid #333333 !important; /* Borda Cinza */
    border-radius: 4px !important;
    padding: 10px !important;
    box-sizing: border-box !important; /* [MELHORIA] Garante que padding não estoure a largura no mobile */
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important; /* [MELHORIA] Foco suave */
}

#main input:focus,
#main textarea:focus,
#main select:focus {
    border-color: #1285fa !important; /* Borda Neon ao clicar */
    outline: none !important;
    box-shadow: 0 0 5px rgba(18, 133, 250, 0.2) !important; /* [MELHORIA] Brilho interno muito leve no input ativo */
}

/* 6. TABELAS (Limpeza visual) */
#main table,
#main th,
#main td {
    background-color: transparent !important;
    color: #e0e0e0 !important;
    border-color: #333333 !important;
}

#main thead th {
    background-color: #111111 !important; /* Cabeçalho da tabela mais escuro */
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 0.9em !important;
}

/* Zebrado suave (linhas alternadas) */
#main tbody tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.02) !important;
    transition: background-color 0.2s ease !important; /* [MELHORIA] Suavidade */
}

#main tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.05) !important; /* [MELHORIA] Destaque na linha ao passar o mouse */
}

/* ==========================================================================
   BOTÕES GERAIS DO SITE (Master Button Style)
   ========================================================================== */
#main button,
#main input[type="submit"],
#main .button,
#main .dokan-btn,
#main .elementor-button.elementor-button-link.elementor-size-sm {
    font-size: 12px !important;
    line-height: 1 !important;
    min-height: 40px !important;
    background-color: #1285fa !important;
    color: #ffffff !important;
    border: 1px solid #1285fa !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

#main button:hover,
#main input[type="submit"]:hover,
#main .button:hover,
#main .dokan-btn:hover,
#main .elementor-button.elementor-button-link.elementor-size-sm:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #1285fa !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(18, 133, 250, 0.2) !important;
}

#main button:active,
#main input[type="submit"]:active,
#main .button:active,
#main .dokan-btn:active {
    background-color: #084a8c !important;
    transform: translateY(1px) !important;
    box-shadow: none !important;
}

/* ==========================================================================
   FIX: CARROSSEL DE JOGOS (Tema Clean: Branco/Preto + Nitidez)
   ========================================================================== */
.category-carousel-fullwidth {
    background-color: #0b0b0b !important;
    border-top: 1px solid #e5e5e5 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 10px 0 !important;
    overflow: hidden !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

#carousel-track-responsive,
.carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    align-items: center !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
}

.carousel-item-text {
    flex: 0 0 auto !important;
    margin-right: 60px !important;
    white-space: nowrap !important;
}

.carousel-item-text h2 {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    letter-spacing: 1px !important;
    -webkit-text-stroke: 0 !important;
}

.carousel-item-text:hover h2 {
    color: #1285fa !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* ==========================================================================
   HIERARQUIA DE CAMADAS (Z-INDEX MASTER) - CORRIGIDA
   ========================================================================== */
#wpadminbar {
    z-index: 999999 !important;
    position: fixed !important;
}

#offcanvas,
.ct-panel,
.ct-drawer,
.ct-panel-content {
    position: fixed !important;
    z-index: 500000 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
}

.sub-menu,
.ct-sub-menu,
.menu-dropdown {
    z-index: 200000 !important;
}

header,
.site-header,
.ct-header,
[data-row*="header"] {
    position: relative !important;
    z-index: 100000 !important;
}

#main,
.site-main,
.dokan-dashboard-wrap {
    position: relative !important;
    z-index: 10 !important;
}

/* ==========================================================================
   CORREÇÃO VISUAL DO MENU MOBILE (Fundo e Visibilidade)
   ========================================================================== */
#offcanvas,
.ct-panel-content,
div[data-id="mobile-menu"] {
    background-color: #050505 !important;
    background-image: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.ct-panel-content-inner {
    background-color: #050505 !important;
    height: 100% !important;
    overflow-y: auto !important;
}

.ct-header-trigger .ct-icon {
    fill: #ffffff !important;
    transition: fill 0.3s ease !important; /* [MELHORIA] Ícone acende suavemente */
}

.ct-header-trigger:hover .ct-icon {
    fill: #1285fa !important;
}

/* ==========================================================================
   PÁGINA DE SUPORTE (Escopo Fechado no ID 1082e59)
   ========================================================================== */
.elementor-element-1082e59 {
    background-color: #111111 !important;
    border: 1px solid #333333 !important;
    border-radius: 12px !important;
    padding: 40px !important;
    box-shadow: none !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.elementor-element-1082e59 h1,
.elementor-element-1082e59 h2 {
    color: #ffffff !important;
    font-family: inherit !important;
    margin-bottom: 20px !important;
    background: transparent !important;
}

.elementor-element-1082e59 h1 {
    font-size: 32px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #1285fa !important;
    padding-bottom: 15px !important;
    display: inline-block !important;
}

.elementor-element-1082e59 h2 {
    font-size: 20px !important;
    color: #1285fa !important;
    margin-top: 30px !important;
}

.elementor-element-1082e59 p,
.elementor-element-1082e59 ul li,
.elementor-element-1082e59 li {
    color: #cccccc !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.elementor-element-1082e59 ul {
    padding-left: 20px !important;
    margin-bottom: 20px !important;
}

.elementor-element-1082e59 ul li {
    list-style-type: none !important;
    position: relative !important;
    margin-bottom: 10px !important;
}

.elementor-element-1082e59 ul li::before {
    content: "➤";
    color: #1285fa !important;
    font-size: 12px !important;
    margin-right: 10px !important;
}

.elementor-element-1082e59 a {
    color: #ffffff !important;
    background-color: #1285fa !important;
    padding: 5px 15px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    display: inline-block !important;
    margin-top: 5px !important;
    transition: all 0.3s ease !important;
}

.elementor-element-1082e59 a:hover {
    background-color: #ffffff !important;
    color: #1285fa !important;
    box-shadow: none !important;
}

.elementor-element-1082e59 strong {
    color: #fff !important;
}

/* ==========================================================================
   PÁGINA SOBRE NÓS (Elementor Dark Gamer Mode)
   ========================================================================== */
.elementor-698 .e-con,
.elementor-698 .elementor-widget-wrap {
    background-color: #050505 !important;
}

.elementor-698 h2.elementor-heading-title,
.elementor-698 h3.elementor-heading-title {
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-shadow: none !important;
}

.elementor-698 .elementor-widget-text-editor p,
.elementor-698 .elementor-widget-text-editor {
    color: #cccccc !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}

.elementor-698 .elementor-counter {
    background-color: #111111 !important;
    border: 1px solid #333 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important; /* [MELHORIA] Suavidade no Hover */
}

.elementor-698 .elementor-counter:hover {
    border-color: #1285fa !important;
    transform: translateY(-5px) !important;
    box-shadow: none !important;
}

.elementor-698 .elementor-counter-number-wrapper {
    color: #1285fa !important;
    font-size: 40px !important;
    font-weight: 900 !important;
}

.elementor-698 .elementor-counter-title {
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   PÁGINAS DE TUTORIAL (Como Comprar / Como Vender)
   ========================================================================== */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.tutorial-card {
    background-color: #111111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tutorial-card:hover {
    border-color: #1285fa;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(18, 133, 250, 0.1); /* [MELHORIA] Leve glow no tutorial card */
}

.tutorial-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.tutorial-icon {
    font-size: 40px;
    color: #1285fa;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tutorial-card h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.tutorial-card p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.tutorial-faq details {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tutorial-faq details[open] {
    border-color: #1285fa;
}

.tutorial-faq summary {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tutorial-faq summary::after {
    content: '+';
    color: #1285fa;
    font-size: 20px;
    font-weight: bold;
}

.tutorial-faq details[open] summary::after {
    content: '-';
}

.tutorial-faq p {
    margin-top: 15px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid #333;
    padding-top: 15px;
}

.elementor-shortcode .dokan-dashboard-wrap {
    background-color: transparent !important;
}

/* ==========================================================================
   LISTA DE LOJAS (Cores Padrão Dark Mode)
   ========================================================================== */
body #main #dokan-store-listing-filter-wrap {
    background-color: #111111 !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    padding: 15px 20px !important;
    margin-bottom: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    box-shadow: none !important;
}

body #main .store-header .store-banner {
    height: 130px !important;
    background-color: #050505 !important;
    position: relative !important;
    border-bottom: 1px solid #222 !important;
}

body #main select option {
    color: #ffffff !important;
}

body #main .dashicons-screenoptions,
body #main .dashicons-menu-alt {
    color: #ffffff !important;
    transition: color 0.3s ease !important; /* [MELHORIA] Suavidade no hover dos ícones */
}

body #main .dashicons-screenoptions:hover,
body #main .dashicons-menu-alt:hover {
    color: #1285fa !important;
}

body #main .store-footer a .dashicons-arrow-right-alt2 {
    background-color: #1285fa !important;
    color: #ffffff !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease !important;
}

body #main .store-wrapper {
    background-color: #111111 !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

body #main .featured-label {
    box-shadow: none !important;
    background-color: #0b6bcb !important;
}

body #main .store-content .store-data a {
    color: #ffffff !important;
    transition: color 0.2s ease !important; /* [MELHORIA] Suavidade */
}

body #main .store-content .store-data a:hover {
    color: #1285fa !important;
}

body #main .store-footer {
    background-color: #111111 !important;
}

body #main .seller-avatar,
.ct-media-container {
    background-color: #ffffff !important;
    box-shadow: none !important;
}

body #main .store-footer a:hover .dashicons-arrow-right-alt2 {
    background-color: #0b6bcb !important;
}

/* ==========================================================================
   PÁGINAS JURÍDICAS (Termos, Privacidade) - ESTILO DARK GAMER
   ========================================================================== */
.legal-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 15px;
}

.legal-header p {
    color: #aaa;
    font-size: 18px;
}

.legal-card {
    background-color: #111111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.legal-card:hover {
    border-color: #1285fa;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.legal-icon {
    font-size: 24px;
    color: #1285fa;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(18, 133, 250, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
}

.legal-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
}

.legal-card p {
    color: #bbb;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 15px;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-list li {
    color: #ccc;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #222;
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li::before {
    content: '•';
    color: #1285fa;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 2px;
}

.legal-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.legal-grid-list span {
    color: #fff;
    background: #1a1a1a;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid #333;
    transition: border-color 0.3s ease; /* [MELHORIA] Suavidade */
}

.legal-grid-list span:hover {
    border-color: #1285fa; /* [MELHORIA] Feedback interativo */
}

.legal-grid-list span i {
    color: #1285fa;
    margin-right: 8px;
}

.legal-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.legal-card.half {
    flex: 1;
    margin-bottom: 0;
}

.legal-contact-btn {
    display: inline-block;
    background-color: #1285fa;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s;
}

.legal-contact-btn:hover {
    background-color: #0b6bcb;
}

/* ==========================================================================
   PÁGINA SOBRE NÓS (Custom HTML Mode)
   ========================================================================== */
.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
}

.about-hero {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: -50px;
    z-index: 1;
    border: 1px solid #333;
}

.about-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #111 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.about-overlay h2 {
    color: #fff;
    font-size: 42px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}

.about-overlay p {
    color: #ddd;
    font-size: 18px;
    background: rgba(0,0,0,0.6);
    padding: 5px 15px;
    border-radius: 20px;
}

.about-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    padding: 0 20px;
}

.about-stat-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    border-color: #1285fa;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #1285fa;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(18, 133, 250, 0.4);
}

.stat-label {
    color: #aaa;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-split {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
    border-left: 4px solid #1285fa;
    padding-left: 15px;
}

.about-text p {
    color: #ccc;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
}

.feature-item i {
    color: #1285fa;
    font-size: 20px;
}

.about-video {
    flex: 1;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #333;
    box-shadow: 0 0 20px rgba(18, 133, 250, 0.2);
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    color: #666;
    margin-top: 10px;
    font-size: 14px;
}

.about-cta {
    background: linear-gradient(45deg, #111, #1a1a1a);
    padding: 50px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid #333;
}

.about-cta h3 {
    color: #fff;
    margin-bottom: 10px;
}

/* ==========================================================================
   [MELHORIA] SCROLLBAR GAMER GLOBAL
   Substitui a barra de rolagem branca feia do navegador
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0b0b0b;
}
::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1285fa;
}

/* ==========================================================================
   PROTEÇÃO PARA CELULARES (Mobile)
   ========================================================================== */
@media (max-width: 900px) {
    .about-split { flex-direction: column; }
    .about-hero { height: 250px; }
    .about-overlay h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    .legal-row { flex-direction: column; }
    .legal-card { padding: 25px; }
    .legal-list.two-columns { columns: 1; }
    
    .elementor-element-1082e59 {
        padding: 20px !important;
    }
}