/* ==========================================================================
   R.R EDUCAÇÃO — ROLETRANDO O CONHECIMENTO SHOWCASE
   Arquivo: css/roletrando.css
   Padrão Visual: Golden Master (Matriz Oficial do 3 Pistas)
   ========================================================================== */

:root {
    --bg-main: #08090d;
    --card-bg: rgba(18, 22, 34, 0.75);
    --card-hover: rgba(26, 32, 50, 0.88);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(255, 183, 3, 0.4);
    
    /* Cores de Destaque */
    --accent-neon: #00ffcc;
    --accent-cyan: #00ffcc;
    --accent-cyan-glow: rgba(0, 255, 204, 0.35);
    --accent-blue: #0070f3;
    --accent-purple: #7928ca;
    
    /* Padrão Ouro Metálico e Roletrando */
    --accent-amber: #f59e0b;
    --accent-amber-glow: rgba(245, 158, 11, 0.35);
    --accent-gold: #ffb703;
    --accent-gold-light: #ffe066;
    --accent-gold-dark: #b38600;
    --accent-gold-glow: rgba(255, 183, 3, 0.35);

    /* Tipografia e Textos */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Gradientes Oficiais */
    --gradient-primary: linear-gradient(135deg, #00ffcc 0%, #7928ca 100%);
    --gradient-title: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    --gradient-title-accent: linear-gradient(135deg, #ffb703 0%, #f59e0b 50%, #ea580c 100%);
    --gradient-gold: linear-gradient(135deg, #ffe066 0%, #ffb703 50%, #e09f00 100%);
    --gradient-pro: linear-gradient(135deg, #00ffcc 0%, #0070f3 100%);

    /* Dimensões Globais */
    --header-height: 72px;
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

/* --------------------------------------------------------------------------
   RESET & SETUP BASE
-------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   BRILHOS AMBIENTAIS GLOBAIS (AMBIENT GLOWS)
-------------------------------------------------------------------------- */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.16;
}

.glow-gold {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-gold) 0%, rgba(255, 183, 3, 0) 70%);
    top: -100px;
    left: -100px;
}

.glow-purple {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--accent-purple) 0%, rgba(121, 40, 202, 0) 70%);
    top: 25%;
    right: -150px;
}

/* --------------------------------------------------------------------------
   CABEÇALHO OFICIAL (CÓPIA EXATA DA MATRIZ 3 PISTAS)
-------------------------------------------------------------------------- */
.brand-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.brand-box:hover {
    transform: translateY(-1px);
}

.logo-rs {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -2px;
    display: flex;
    gap: 0px;
}

.logo-rs span {
    background: linear-gradient(135deg, #00ffcc 0%, #7000ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.logo-rs span.mirrored {
    transform: scaleX(-1);
}

.logo-sub {
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

header, .site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(8, 9, 13, 0.8);
    transition: background-color 0.3s;
    height: 80px;
}

header .container, .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Navegação Principal - Seletor PT-BR ao lado da logo */
nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-left: 40px;
    align-items: center;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.lang-selector:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.lang-selector i {
    font-size: 1.1rem;
}

/* Ações do Usuário (Agrupadas estritamente à direita) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.btn-planos {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-planos:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
}

.btn-register {
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.4);
    color: var(--accent-cyan);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.1);
}

.btn-register:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.4);
    transform: translateY(-1px);
}

/* Menu Lateral de Perfil e Login */
.profile-trigger-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 72px;
    cursor: pointer;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s;
    color: var(--text-muted);
}

.profile-trigger-area:hover {
    color: var(--text-main);
}

.profile-icon {
    font-size: 1.4rem;
}

.side-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: rgba(14, 17, 27, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 183, 3, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1010;
}

.profile-trigger-area:hover .side-menu {
    display: flex;
    animation: fadeInMenu 0.2s ease forwards;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.side-menu-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    padding: 6px 8px 2px;
}

.side-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-menu ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 6px;
    transition: all 0.15s ease;
}

.side-menu ul li a i {
    font-size: 1rem;
    color: var(--text-dim);
    transition: color 0.15s ease;
}

.side-menu ul li a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.side-menu ul li a:hover i {
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   HERO SECTION
-------------------------------------------------------------------------- */
.hero-wrapper {
    position: relative;
    padding: 50px 0 60px;
    z-index: 1;
}

.game-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 44px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h1 span {
    background: var(--gradient-title-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 520px;
}

.hero-actions-btn {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-title-accent);
    color: #0b0c10;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(255, 183, 3, 0.35);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 183, 3, 0.5);
    filter: brightness(1.08);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   MOCKUP DA ARENA (ALUSÃO REFINADA AO ESTÚDIO - TILT 3D A 60 FPS)
-------------------------------------------------------------------------- */
.hero-visual-wrapper {
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.hero-visual {
    width: 100%;
    max-width: 520px;
    background: rgba(10, 14, 24, 0.95);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(255, 183, 3, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.mockup-header {
    background: rgba(16, 20, 34, 0.92);
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-traffic-lights {
    display: flex;
    gap: 7px;
}

.mockup-traffic-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.dot-yellow { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }
.dot-green { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }

.mockup-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

/* Interior da Arena Roletrando */
.roletrando-arena {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    background: radial-gradient(circle at 50% 15%, rgba(255, 183, 3, 0.08) 0%, rgba(10, 14, 24, 0.96) 80%);
}

/* 1. Dica Superior Elegante */
.audit-hint-frame {
    background: rgba(255, 183, 3, 0.06);
    border: 1px solid rgba(255, 183, 3, 0.28);
    border-radius: 20px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: #cbd5e1;
    letter-spacing: 0.3px;
    box-shadow: 0 0 14px rgba(255, 183, 3, 0.06);
}

.audit-hint-frame strong {
    color: var(--accent-gold-light);
    font-weight: 700;
}

/* 2. Painel de Letras: Moldura Dourada Sutil */
.letters-board-frame {
    background: linear-gradient(180deg, rgba(14, 18, 30, 0.96) 0%, rgba(8, 11, 18, 0.98) 100%);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: var(--radius-md);
    padding: 14px 14px;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(255, 183, 3, 0.08);
}

.enigma-tiles-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    max-width: 380px;
    margin: 0 auto;
}

.letter-tile {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
    transition: all 0.2s ease;
}

/* Letras Reveladas */
.letter-revealed {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid rgba(255, 183, 3, 0.65);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.25),
        0 0 10px rgba(255, 183, 3, 0.15);
}

.tile-char {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.55);
    letter-spacing: -0.5px;
}

/* Letras Ocultas */
.letter-hidden {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.35) 0%, rgba(15, 23, 42, 0.55) 100%);
    border: 1.5px dashed rgba(255, 183, 3, 0.35);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.tile-mystery {
    font-size: 1.2rem;
    font-weight: 800;
    color: rgba(255, 183, 3, 0.7);
    animation: mysteryBlink 2.5s infinite ease-in-out;
}

@keyframes mysteryBlink {
    0%, 100% { opacity: 0.35; transform: scale(0.95); }
    50% { opacity: 0.85; transform: scale(1.05); color: var(--accent-gold); }
}

/* 3. Alusão à Roleta na Base do Mockup */
.roulette-stage-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(14, 18, 30, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 10px 16px 14px;
}

.wheel-stage-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 220px;
    margin-bottom: -6px;
}

.wheel-needle-top {
    color: var(--accent-gold);
    font-size: 1.1rem;
    line-height: 1;
    z-index: 2;
    margin-bottom: -4px;
    filter: drop-shadow(0 0 8px rgba(255, 183, 3, 0.9));
    animation: needleBounce 1.5s infinite ease-in-out;
}

@keyframes needleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(2px); }
}

.wheel-circular-arc {
    width: 100%;
    max-height: 80px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.wheel-svg {
    width: 220px;
    height: 110px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.stage-groups-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    padding-top: 4px;
}

.group-score-item {
    font-size: 0.84rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.group-score-item strong {
    color: #cbd5e1;
    font-weight: 700;
}

.group-score-item.active-group {
    color: var(--accent-gold-light);
}

.group-score-item.active-group strong {
    color: #fbbf24;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.3);
}

.score-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   COMO FUNCIONA O JOGO (NÚMEROS MONUMENTAIS 2.6rem E GRADIENTE)
-------------------------------------------------------------------------- */
.how-it-works-section {
    padding: 60px 0 70px;
    position: relative;
    z-index: 1;
}

.section-title-wrap {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 42px;
}

.section-title-wrap h2 {
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-wrap p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
    background: var(--card-hover);
    border-color: rgba(255, 183, 3, 0.45);
    transform: translateY(-5px);
    box-shadow: 
        0 16px 36px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 183, 3, 0.16);
}

.step-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.step-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.4rem;
    transition: all 0.2s ease;
}

.step-card:hover .step-icon-wrap {
    background: rgba(255, 183, 3, 0.22);
    border-color: rgba(255, 183, 3, 0.5);
    transform: scale(1.08);
}

/* Números Monumentais das Etapas (2.6rem de alto contraste) */
.step-number {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.35) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
    font-variant-numeric: tabular-nums;
    transition: all 0.25s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.step-card:hover .step-number {
    background: var(--gradient-title-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 14px rgba(255, 183, 3, 0.5));
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SEÇÃO DE PLANOS (PRO VS MESTRE PREMIUM - RIGOROSAMENTE NIVELADOS)
-------------------------------------------------------------------------- */
.avatars-section {
    padding: 60px 0 75px;
    position: relative;
    z-index: 1;
}

.avatars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Card PRO (Cobalto & Tecnologia) */
.pro-box {
    background: linear-gradient(180deg, rgba(14, 20, 36, 0.85) 0%, rgba(9, 13, 24, 0.95) 100%);
    border: 1px solid rgba(0, 112, 243, 0.3);
    border-radius: var(--radius-lg);
    padding: 38px 32px 34px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 112, 243, 0.1);
    backdrop-filter: blur(16px);
}

.plan-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 14px;
}

.badge-pro {
    background: rgba(0, 112, 243, 0.15);
    border: 1px solid rgba(0, 112, 243, 0.35);
    color: #60a5fa;
}

.pro-box h2 {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.pro-box p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Minicards Compactos PRO (Estrutura Vertical Idêntica ao 3 Pistas) */
.minicards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 26px;
}

.minicard-pro {
    background: rgba(12, 16, 27, 0.85);
    border: 1px solid rgba(0, 112, 243, 0.2);
    border-radius: 12px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.minicard-pro:hover {
    background: rgba(0, 112, 243, 0.12);
    border-color: rgba(0, 112, 243, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 112, 243, 0.15);
}

.minicard-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 112, 243, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.minicard-icon-box i {
    font-size: 1.6rem;
    color: #38bdf8;
}

.minicard-pro span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

.btn-pro-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-pro);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 112, 243, 0.35);
    transition: all 0.25s ease;
    margin-top: auto;
    text-align: center;
}

.btn-pro-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 112, 243, 0.5);
    filter: brightness(1.1);
}

/* Card Mestre Premium (Obsidiana & Ouro Metálico) */
.premium-box {
    background: linear-gradient(180deg, rgba(22, 18, 10, 0.9) 0%, rgba(12, 10, 8, 0.97) 100%);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: var(--radius-lg);
    padding: 38px 32px 34px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 35px rgba(255, 183, 3, 0.12);
    backdrop-filter: blur(16px);
}

.badge-premium {
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.35);
    color: var(--accent-gold-light);
}

.premium-box h3 {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-box h3 i {
    color: var(--accent-gold);
}

.premium-box p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.premium-highlight {
    background: rgba(255, 183, 3, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.premium-highlight i {
    font-size: 1.1rem;
    color: var(--accent-gold);
}

/* Vitrine VIP de Avatares & Cenários */
.vip-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.vip-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
}

.vip-card:hover {
    background: rgba(255, 183, 3, 0.08);
    border-color: rgba(255, 183, 3, 0.45);
    transform: translateY(-3px);
}

.vip-img-container {
    overflow: hidden;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 183, 3, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 183, 3, 0.15);
}

.round-pedestal {
    width: 62px;
    height: 62px;
    border-radius: 50%;
}

.rect-pedestal {
    width: 74px;
    height: 62px;
    border-radius: 8px;
}

.vip-img-round {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    padding: 6px;
    background: rgba(15, 23, 42, 0.8);
    display: block;
}

.vip-img-rect {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vip-card h5 {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

.vip-card span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.btn-premium-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: #120e06;
    font-size: 1rem;
    font-weight: 900;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(255, 183, 3, 0.35);
    transition: all 0.25s ease;
    margin-top: auto;
    text-align: center;
}

.btn-premium-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 183, 3, 0.55);
    filter: brightness(1.08);
}

/* --------------------------------------------------------------------------
   CTA SECTION & RODAPÉ
-------------------------------------------------------------------------- */
.cta-section {
    padding: 50px 0 70px;
    position: relative;
    z-index: 1;
}

.cta-content {
    background: linear-gradient(135deg, rgba(20, 24, 38, 0.9) 0%, rgba(12, 14, 22, 0.95) 100%);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 183, 3, 0.12);
    backdrop-filter: blur(16px);
}

.cta-content h2 {
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 14px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn-cta {
    font-size: 1.05rem;
    padding: 16px 36px;
}

/* Rodapé Institucional */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #050608;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-main);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.social-icons a:hover {
    background: rgba(255, 183, 3, 0.15);
    border-color: rgba(255, 183, 3, 0.35);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE (MOBILE & TABLET)
-------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .game-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-actions-btn {
        justify-content: center;
    }

    .avatars-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 66px;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .section-title-wrap h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .pro-box h2,
    .premium-box h3 {
        font-size: 1.7rem;
    }

    .minicards-grid {
        grid-template-columns: 1fr;
    }

    .vip-showcase-grid {
        gap: 10px;
    }

    .round-pedestal {
        width: 58px;
        height: 58px;
    }

    .rect-pedestal {
        width: 68px;
        height: 58px;
    }

    .enigma-tiles-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }

    .tile-char {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .hero-actions-btn {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .cta-content {
        padding: 36px 18px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    nav ul {
        margin-left: 16px;
        gap: 12px;
    }

    .stage-groups-score {
        flex-direction: column;
        gap: 6px;
    }
}

/* =======================================================
   CABEÇALHO PADRÃO OFICIAL & GAVETA LATERAL - R.R EDUCAÇÃO
   ======================================================= */

/* Header Base */
header {
    border-bottom: 1px solid var(--border-subtle, #1f222f);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(11, 12, 16, 0.88);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header-actions {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.profile-trigger-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100% !important;
    cursor: pointer;
    padding: 0 16px;
    border-left: 1px solid var(--border-subtle, #1f222f);
    background: transparent !important;
}

.profile-trigger-area:hover,
.profile-trigger-area.perfil-ativo {
    background: transparent !important;
}

.profile-text, #texto-usuario-header {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-muted, #9ca3af);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.profile-trigger-area:hover .profile-text,
.profile-trigger-area.perfil-ativo .profile-text {
    color: #00f5d4 !important;
    text-shadow: 0 0 10px rgba(0, 245, 212, 0.4);
}

/* Gaveta Lateral (Side Menu) */
.side-menu {
    position: fixed;
    top: 80px;
    right: 0;
    width: 300px;
    height: calc(100vh - 80px);
    background: rgba(14, 17, 27, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-subtle, #1f222f);
    padding: 24px 0;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
    z-index: 999;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.side-menu.menu-ativo {
    transform: translateX(0) !important;
}

/* AJUSTES OBRIGATÓRIOS PARA CELULAR (Evitar amassar botões e travar o menu) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        position: relative;
        width: 100%;
    }

    /* Oculta seletores desnecessários no topo para desapertar o header no mobile */
    .btn-planos,
    nav,
    .lang-selector {
        display: none !important;
    }

    .btn-register {
        padding: 6px 12px;
        font-size: 0.82rem;
    }

    .profile-trigger-area {
        padding: 0 8px;
        border-left: none;
    }

    /* No celular a gaveta vira um drawer que cobre 82% da tela por cima de tudo */
    .side-menu {
        top: 0;
        height: 100vh;
        width: 82% !important;
        max-width: 320px;
        z-index: 2000;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
    }
}


/* Prioridade e Interatividade da Gaveta Lateral */
.side-menu {
    pointer-events: auto !important;
}
.side-menu a,
.side-menu button {
    pointer-events: auto !important;
    cursor: pointer;
    position: relative;
    z-index: 2005;
}
