/* ==========================================================================
   R.R EDUCAÇÃO — RPG DO CONHECIMENTO SHOWCASE
   Arquivo: css/rpgconhecimento.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(168, 85, 247, 0.45);
    
    /* Cores de Destaque */
    --accent-neon: #00ffcc;
    --accent-cyan: #00ffcc;
    --accent-cyan-glow: rgba(0, 255, 204, 0.35);
    --accent-blue: #0070f3;
    
    /* Padrão Fantasia RPG & Arcano */
    --accent-purple: #7928ca;
    --accent-arcane: #a855f7;
    --accent-arcane-glow: rgba(168, 85, 247, 0.35);
    --accent-ruby: #ef4444;
    --accent-ruby-glow: rgba(239, 68, 68, 0.35);
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-gold: #ffb703;
    --accent-gold-light: #ffe066;
    --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, #c084fc 0%, #a855f7 50%, #ec4899 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;
    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(130px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
}

.glow-arcane {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--accent-arcane) 0%, rgba(168, 85, 247, 0) 70%);
    top: -120px;
    left: -120px;
}

.glow-gold {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--accent-gold) 0%, rgba(255, 183, 3, 0) 70%);
    top: 30%;
    right: -140px;
}

/* --------------------------------------------------------------------------
   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 !important;
    top: 0 !important;
    z-index: 1000 !important;
    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 encostado à esquerda */
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.8rem;
    transition: transform 0.2s;
}

.profile-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-trigger-area:hover .profile-icon {
    transform: scale(1.08);
    color: var(--accent-neon);
}

.side-menu {
    position: fixed;
    top: 72px;
    right: -320px;
    width: 290px;
    height: calc(100vh - 72px);
    background-color: rgba(14, 16, 23, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px 0;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
    z-index: 999;
    color: var(--text-main);
}

.profile-trigger-area:hover .side-menu,
.side-menu:hover {
    right: 0;
}

.side-menu ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
}

.side-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.side-menu li a i {
    font-size: 1.25rem;
    color: var(--accent-neon);
    transition: transform 0.2s;
}

.side-menu li a:hover {
    background: rgba(121, 40, 202, 0.12);
    color: var(--text-main);
    border-left-color: var(--accent-purple);
    padding-left: 28px;
}

.side-menu li a:hover i {
    transform: scale(1.15);
}

.side-menu-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin: 20px 24px 8px;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   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: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    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(168, 85, 247, 0.6);
    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 (BATALHA RPG TÁTICA - TILT 3D A 60 FPS)
-------------------------------------------------------------------------- */
.hero-visual-wrapper {
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.hero-visual {
    width: 100%;
    max-width: 530px;
    background: rgba(10, 14, 24, 0.96);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 38px rgba(168, 85, 247, 0.16),
        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.94);
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    position: relative;
}

.mockup-traffic-lights {
    display: flex;
    gap: 7px;
    z-index: 1;
}

.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 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--accent-arcane);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Interior do Mockup da Arena (Confronto Minimalista RPG) */
.rpg-arena {
    padding: 38px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: radial-gradient(circle at 50% 25%, rgba(168, 85, 247, 0.12) 0%, rgba(10, 14, 24, 0.98) 75%);
}

.combat-duel-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.duel-combatant {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.combatant-avatar {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.hero-glow {
    background: radial-gradient(circle at 35% 35%, rgba(0, 255, 204, 0.22) 0%, rgba(0, 112, 243, 0.12) 80%);
    border: 2px solid rgba(0, 255, 204, 0.5);
    color: var(--accent-cyan);
    box-shadow: 0 0 28px rgba(0, 255, 204, 0.28), inset 0 0 16px rgba(0, 255, 204, 0.15);
}

.boss-glow {
    background: radial-gradient(circle at 35% 35%, rgba(239, 68, 68, 0.22) 0%, rgba(121, 40, 202, 0.15) 80%);
    border: 2px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
    box-shadow: 0 0 28px rgba(239, 68, 68, 0.28), inset 0 0 16px rgba(121, 40, 202, 0.2);
}

.duel-combatant:hover .combatant-avatar {
    transform: translateY(-4px) scale(1.04);
}

.combatant-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.duel-vs-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.duel-vs-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(255, 183, 3, 0.5);
    font-style: italic;
    transform: skewX(-6deg);
}

.arena-footer-support {
    padding: 10px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    backdrop-filter: blur(10px);
}

.arena-footer-support span {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.4px;
}

/* --------------------------------------------------------------------------
   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(168, 85, 247, 0.5);
    transform: translateY(-5px);
    box-shadow: 
        0 16px 36px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(168, 85, 247, 0.2);
}

.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(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-arcane);
    font-size: 1.4rem;
    transition: all 0.2s ease;
}

.step-card:hover .step-icon-wrap {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.6);
    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(168, 85, 247, 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(168, 85, 247, 0.35);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(168, 85, 247, 0.15);
    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(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.35);
    color: var(--accent-arcane);
    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) {
    /* 1. Trava estrita contra rolagem horizontal fantasma */
    html, body {
        width: 100% !important;
        position: relative;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        box-sizing: border-box !important;
    }

    /* 2. Ajuste responsivo do título e subtítulo da Hero */
    .hero h1, h1, .hero-text h1 {
        font-size: clamp(1.75rem, 6.8vw, 2.3rem) !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    .hero p, .hero-desc, .hero-text p {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    /* 3. Redimensionamento da janela de mockup (pré-visualização com 3 pontinhos) */
    .preview-card,
    .mockup-window,
    .game-preview,
    .mac-window,
    .hero-visual,
    .hero-visual-wrapper,
    [class*="preview"],
    [class*="mockup"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Garante que botões e flexbox respeitem os limites da tela */
    .hero-actions, .cta-group, .hero-actions-btn {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .btn-iniciar, .btn-primary, .btn-secondary {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    .game-hero {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding: 40px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .mockup-title {
        font-size: 0.72rem !important;
        letter-spacing: 1px !important;
    }

    .rpg-arena {
        padding: 24px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .combat-duel-stage {
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .combatant-avatar {
        width: 62px !important;
        height: 62px !important;
        font-size: 1.8rem !important;
        border-radius: 16px !important;
    }

    .duel-vs-text {
        font-size: 1.25rem !important;
    }

    .combatant-name {
        font-size: 0.78rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        max-width: 95px !important;
        line-height: 1.2 !important;
    }

    .arena-footer-support span {
        font-size: 0.74rem !important;
        text-align: center !important;
        display: block !important;
    }

    :root {
        --header-height: 66px;
    }

    .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;
    }
}

@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;
    }
}

/* =======================================================
   CABEÇALHO PADRÃO OFICIAL & GAVETA LATERAL - R.R EDUCAÇÃO
   ======================================================= */

/* Header Base */
header, .site-header {
    border-bottom: 1px solid var(--border-subtle, #1f222f);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    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 {
        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;
}
