﻿/* ============================================
   Bolão Congonhas — indexbolao.php Premium
   Identidade: verde #04453a + dourado #c1c446
   ============================================ */

:root {
    --brand-lime: #c1c446;
    --brand-green: #04453a;
    --brand-blue: #0b3288;
    --gold: #ffd700;
    --neon-green: #00ff66;
    --neon-blue: #00d4ff;
    --bg-deep: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --input-fill: #fff9c4;
    --input-fill-focus: #fffde7;
    --input-text: #2a3a18;
    --input-border: rgba(193, 196, 70, 0.85);
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-glow-gold: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
    --shadow-glow-green: 0 0 24px rgba(0, 255, 102, 0.25);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', system-ui, sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* Badge RGB Premium (Copa) */
    --badge-gold: #ffd700;
    --badge-gold-glow: rgba(255, 215, 0, 0.55);
    --badge-emerald: #00c853;
    --badge-emerald-glow: rgba(0, 200, 83, 0.5);
    --badge-white: #f8fffe;
    --badge-white-glow: rgba(255, 255, 255, 0.65);
    --badge-stadium: #1a6fd4;
    --badge-stadium-glow: rgba(26, 111, 212, 0.55);
}

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

html {
    scroll-behavior: smooth;
}

body.pagina-premium {
    font-family: var(--font-body);
    min-height: 100vh;
    height: 100vh;
    color: var(--text-primary);
    background: #7a9460;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* indexbolao.php — foto de fundo + overlays e efeitos premium por cima */
body.pagina-aposta {
    background: #5a7352;
    height: 100dvh;
    height: 100svh;
    overflow: hidden;
}

body.pagina-aposta .bg-premium__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
 /*    background-image: url('img/fundocelular.png'); */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

body.pagina-aposta .bg-premium__gradient {
    z-index: 1;
    background:
        radial-gradient(ellipse 100% 70% at 50% 100%, rgba(193, 196, 70, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 85% 15%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 55% 40% at 12% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 45%),
        linear-gradient(
            165deg,
            rgba(90, 115, 82, 0.22) 0%,
            rgba(109, 134, 96, 0.16) 35%,
            rgba(143, 160, 112, 0.12) 60%,
            rgba(181, 196, 138, 0.08) 100%
        );
}

body.pagina-aposta .bg-premium__stadium,
body.pagina-aposta .bg-premium__lights,
body.pagina-aposta .bg-premium__smoke,
body.pagina-aposta .bg-premium__particles {
    z-index: 2;
}

/* ─── Fundo cinematográfico ─── */
.bg-premium {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-premium__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 70% at 50% 100%, rgba(193, 196, 70, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 85% 15%, rgba(255, 215, 0, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 55% 40% at 12% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        linear-gradient(165deg, #5a7352 0%, #6d8660 30%, #8fa070 55%, #b5c48a 80%, #d4dc9e 100%);
}

.bg-premium__stadium {
    position: absolute;
    bottom: -5%;
    left: 50%;
    width: 140%;
    height: 55%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center bottom, rgba(193, 196, 70, 0.15) 0%, transparent 65%);
    opacity: 0.9;
}

.bg-premium__lights {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 8%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 7%),
        radial-gradient(circle at 50% 10%, rgba(255, 215, 0, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 30% 60%, rgba(0, 255, 102, 0.04) 0%, transparent 20%),
        radial-gradient(circle at 70% 55%, rgba(0, 255, 102, 0.04) 0%, transparent 18%);
    animation: lightsPulse 8s ease-in-out infinite alternate;
}

@keyframes lightsPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.bg-premium__smoke {
    position: absolute;
    width: 80%;
    height: 50%;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: smokeDrift 14s ease-in-out infinite alternate;
}

.bg-premium__smoke--green {
    bottom: 10%;
    left: -10%;
    background: radial-gradient(circle, rgba(193, 196, 70, 0.25) 0%, transparent 70%);
    opacity: 0.25;
}

.bg-premium__smoke--gold {
    top: 15%;
    right: -15%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.35) 0%, transparent 70%);
    opacity: 0.28;
    animation-delay: -4s;
}

@keyframes smokeDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.08); }
}

.bg-premium__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

/* ─── Glass único (painel) + shine + 3D ─── */
/* Sem glass na página de aposta (visual direto no fundo) */
body.pagina-aposta .painel-glass {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: #1e3018;
}

body.pagina-aposta .painel-glass.shine-card::after {
    display: none;
}

body.pagina-aposta .hero-premium__preco {
    color: #ffffff;
    font-weight: 600;
}

body.pagina-aposta .hero-premium__preco strong {
    color: #c2fff5;
}

body.pagina-aposta .contador {
    color: #04453a;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.35);
}

body.pagina-aposta .valor-destaque__label {
    color: #ffffff;
    text-shadow: none;
}

body.pagina-aposta .valor-destaque__valor {
    color: #000000;
    text-shadow: none;
}

body.pagina-aposta .label-time {
    color: #000000;
    font-weight: 700;
}

body.pagina-aposta .letreiro {
    background: rgba(255, 255, 255, 0.35);
}

body.pagina-aposta .aviso {
    color: #04453a;
    font-weight: 700;
}

/* Desktop: caber hero + placar + formulário + botão na viewport (como no celular) */
body.pagina-aposta .tela {
    min-height: 100dvh;
    min-height: 100svh;
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    max-height: 100svh;
    overflow: hidden;
}

body.pagina-aposta .coluna2.pagina-conteudo {
    min-height: 100dvh;
    min-height: 100svh;
    max-height: 100dvh;
    max-height: 100svh;
    padding: 6px 16px;
    overflow: hidden;
    justify-content: flex-start;
}

body.pagina-aposta .painel-glass {
    height: calc(100dvh - 12px);
    height: calc(100svh - 12px);
    max-height: calc(100dvh - 12px);
    max-height: calc(100svh - 12px);
    padding: clamp(6px, 1vh, 12px) clamp(14px, 2vw, 24px);
    gap: clamp(4px, 0.8vh, 10px);
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
}

body.pagina-aposta .hero-premium {
    padding: 0;
}

body.pagina-aposta .hero-premium__badge {
    font-size: clamp(0.95rem, 2vh, 1.25rem);
    margin-bottom: clamp(2px, 0.4vh, 6px);
}

body.pagina-aposta .titulo {
    font-size: clamp(1.35rem, 3.4vh, 2.2rem);
}

body.pagina-aposta .hero-premium__preco {
    margin-top: clamp(2px, 0.5vh, 8px);
    font-size: clamp(0.8rem, 1.6vh, 1rem);
}

body.pagina-aposta .hero-premium__preco strong {
    font-size: clamp(0.9rem, 1.8vh, 1.1rem);
}

body.pagina-aposta .auth-bar {
    margin-bottom: clamp(4px, 0.6vh, 8px);
    padding: 5px 10px;
    font-size: 0.82rem;
}

body.pagina-aposta .letreiro {
    height: clamp(30px, 4vh, 40px);
}

body.pagina-aposta .contador {
    padding: clamp(6px, 0.9vh, 10px) 12px;
    font-size: clamp(0.82rem, 1.6vh, 1.05rem);
}

body.pagina-aposta .valor-destaque {
    padding: clamp(6px, 1vh, 12px) clamp(12px, 2vw, 20px);
}

body.pagina-aposta .valor-destaque__label {
    font-size: clamp(0.95rem, 2.2vh, 1.4rem);
}

body.pagina-aposta .valor-destaque__valor {
    font-size: clamp(1.25rem, 3.2vh, 2.1rem);
}

body.pagina-aposta .container-form {
    flex: 1 1 auto;
    min-height: 0;
    gap: clamp(4px, 0.8vh, 10px);
    justify-content: flex-start;
}

body.pagina-aposta .central2 {
    flex-shrink: 0;
}

body.pagina-aposta .container-times {
    gap: clamp(8px, 1.2vw, 14px);
}

body.pagina-aposta .fut-card__frame {
    padding: clamp(8px, 1.2vh, 14px) clamp(8px, 1vw, 12px) clamp(10px, 1.4vh, 16px);
}

body.pagina-aposta .time img {
    width: clamp(52px, 7.5vh, 76px);
    height: clamp(52px, 7.5vh, 76px);
    margin-bottom: clamp(4px, 0.6vh, 8px);
}

body.pagina-aposta .input-placar {
    height: clamp(38px, 5vh, 48px);
    font-size: clamp(1.15rem, 2.8vh, 1.5rem);
}

body.pagina-aposta .input-container {
    margin-bottom: clamp(4px, 0.7vh, 8px);
}

body.pagina-aposta .input-form {
    height: clamp(36px, 4.8vh, 44px);
}

body.pagina-aposta .form-acoes-aposta {
    flex-shrink: 0;
    margin-top: clamp(2px, 0.5vh, 6px);
}

body.pagina-aposta .btn-premium {
    margin-top: 0;
    padding: clamp(9px, 1.2vh, 14px) 20px;
    font-size: clamp(1.05rem, 2.4vh, 1.35rem);
}

.painel-glass {
    width: min(100%, 900px);
    height: calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    padding: clamp(16px, 2.5vh, 28px) clamp(18px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(10px, 1.8vh, 20px);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.shine-card {
    position: relative;
    overflow: hidden;
}

.shine-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );
    transform: skewX(-18deg);
    animation: shineSweep 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes shineSweep {
    0%, 70% { left: -120%; }
    100% { left: 140%; }
}

.card-3d {
    --rx: 0deg;
    --ry: 0deg;
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
    transition: transform 0.2s ease-out, box-shadow var(--transition);
}

.fut-card.card-3d:hover .fut-card__frame,
.fut-card.card-3d:focus-within .fut-card__frame {
    box-shadow: var(--shadow-glow-gold), var(--shadow-glow-green);
}

.painel-glass.shine-card::after {
    border-radius: inherit;
}

/* ─── Layout ─── */
.tela {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
}

.coluna1 {
    width: 70px;
    flex-shrink: 0;
}

.coluna2.pagina-conteudo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    gap: 0;
    max-width: none;
    margin: 0;
    width: calc(100% - 70px);
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

/* ─── Menu lateral (identidade + glass) ─── */
nav.menu-lateral {
    position: fixed;
    top: 0;
    left: 0;
    width: 70px;
    height: 100%;
    background: linear-gradient(180deg, rgba(193, 196, 70, 0.92) 0%, rgba(4, 69, 58, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 0 8px 1%;
    box-shadow: 4px 0 24px rgba(11, 50, 136, 0.35);
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

nav.menu-lateral.expandido,
nav.menu-lateral:hover {
    width: 280px;
}

.expandir {
    width: 100%;
    padding-left: 10px;
}

.expandir > i {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

nav.menu-lateral > ul {
    flex: 1;
    min-height: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 4px;
}

ul li.item-menu {
    transition: background var(--transition);
}

ul li.item-menu:hover {
    background: rgba(0, 0, 0, 0.12);
}

ul li.item-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 7%;
    display: flex;
    margin-bottom: 6px;
    line-height: 40px;
    letter-spacing: 0.04em;
}

ul li.item-menu a .txt-link {
    margin-left: 37px;
    white-space: nowrap;
}

.rotating-image {
    animation: girar 2s linear infinite;
}

@keyframes girar {
    to { transform: rotate(360deg); }
}

/* Card Copa menu */
@keyframes menuCopaNeonSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes trophySpin3d {
    0% { transform: translateX(-50%) rotateY(0deg); }
    100% { transform: translateX(-50%) rotateY(360deg); }
}

@keyframes ctaPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.85; transform: translateX(-50%) scale(1.04); }
}

ul li.item-menu.imagem-canto:hover {
    background: transparent;
}

nav.menu-lateral .imagem-canto {
    position: relative;
    margin-top: auto;
    flex-shrink: 0;
    width: calc(100% - 8px);
    margin-left: 4px;
    margin-right: 4px;
    margin-bottom: 8px;
    z-index: 1;
}

nav.menu-lateral .imagem-canto a.menu-copa-promo {
    position: relative;
    display: block;
    padding: 3px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

nav.menu-lateral .imagem-canto a.menu-copa-promo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220%;
    height: 220%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, #ffd700, #00ff66, #00d4ff, #ffd700, #00ff66);
    animation: menuCopaNeonSpin 3.2s linear infinite;
    z-index: 0;
}

nav.menu-lateral .imagem-canto a.menu-copa-promo::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

.menu-copa-promo__trophy {
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 4;
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
    animation: trophySpin3d 6s linear infinite;
    transform-style: preserve-3d;
    pointer-events: none;
}

.menu-copa-promo__cta {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--gold);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    white-space: nowrap;
    animation: ctaPulse 2s ease-in-out infinite;
    pointer-events: none;
}

nav.menu-lateral .imagem-canto a.menu-copa-promo img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 88px;
    object-fit: cover;
    object-position: center top;
    border-radius: 13px;
}

nav.menu-lateral.expandido .imagem-canto a.menu-copa-promo img,
nav.menu-lateral:hover .imagem-canto a.menu-copa-promo img {
    height: min(220px, 30vh);
    max-height: 220px;
}

nav.menu-lateral .imagem-canto a.menu-copa-promo:hover {
    box-shadow: var(--shadow-glow-gold), var(--shadow-glow-green);
}

/* ─── Hero ─── */
.hero-premium {
    width: 100%;
    text-align: center;
    padding: clamp(4px, 1vh, 12px) 0;
    flex-shrink: 0;
}

/* Badge RGB Premium — cada letra com ciclo de cor independente (CSS puro) */
@keyframes rgbPremiumLetter {
    0%, 100% {
        color: var(--badge-gold);
        text-shadow:
            0 0 10px var(--badge-gold-glow),
            0 0 22px rgba(255, 223, 0, 0.28);
    }
    25% {
        color: var(--badge-emerald);
        text-shadow:
            0 0 10px var(--badge-emerald-glow),
            0 0 20px rgba(4, 69, 58, 0.35);
    }
    50% {
        color: var(--badge-white);
        text-shadow:
            0 0 12px var(--badge-white-glow),
            0 0 26px rgba(255, 255, 255, 0.35);
    }
    75% {
        color: var(--badge-stadium);
        text-shadow:
            0 0 10px var(--badge-stadium-glow),
            0 0 22px rgba(11, 50, 136, 0.4);
    }
}

.hero-premium__badge {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 0 clamp(4px, 0.8vh, 8px);
    padding: 0;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.8vh, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.hero-premium__badge-char {
    display: inline-block;
    animation: rgbPremiumLetter 5.5s ease-in-out infinite;
    will-change: color;
}

.hero-premium__badge-char--space {
    width: 0.35em;
}

/*
 * Delays embaralhados (1–15): vizinhos nunca sincronizam.
 * Curto → longo → médio alternado quebra direção visual.
 */
.hero-premium__badge-char:nth-child(1)  { animation-delay: 0s; }
.hero-premium__badge-char:nth-child(2)  { animation-delay: 2.15s; }
.hero-premium__badge-char:nth-child(3)  { animation-delay: 0.65s; }
.hero-premium__badge-char:nth-child(4)  { animation-delay: 3.35s; }
.hero-premium__badge-char:nth-child(5)  { animation-delay: 1.45s; }
.hero-premium__badge-char:nth-child(6)  { animation-delay: 4.7s; }
.hero-premium__badge-char:nth-child(7)  { animation-delay: 0.25s; }
.hero-premium__badge-char:nth-child(8)  { animation-delay: 2.85s; }
.hero-premium__badge-char:nth-child(9)  { animation-delay: 1.05s; }
.hero-premium__badge-char:nth-child(10) { animation-delay: 3.9s; }
.hero-premium__badge-char:nth-child(11) { animation-delay: 0.95s; }
.hero-premium__badge-char:nth-child(12) { animation-delay: 2.55s; }
.hero-premium__badge-char:nth-child(13) { animation-delay: 4.25s; }
.hero-premium__badge-char:nth-child(14) { animation-delay: 1.75s; }
.hero-premium__badge-char:nth-child(15) { animation-delay: 3.55s; }

.titulo {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5.5vh, 3.2rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold) 0%, #fff 45%, var(--brand-lime) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 12px rgba(255, 215, 0, 0.25));
    max-width: 100%;
}

.hero-premium__preco {
    margin-top: clamp(6px, 1vh, 12px);
    font-size: clamp(0.85rem, 2vh, 1.05rem);
    color: #ffffff;
}

.hero-premium__preco strong {
    color: #d4faba;
    font-weight: 800;
    font-size: clamp(1rem, 2.2vh, 1.2rem);
}

/* ─── Letreiro ─── */
.letreiro {
    width: 100%;
    height: clamp(38px, 5vh, 48px);
    flex-shrink: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.aviso {
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    animation: scroll 12s linear infinite;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold);
}

@keyframes scroll {
    0% { left: 100%; }
    100% { left: -100%; }
}

/* ─── Contador ─── */
.contador {
    width: 100%;
    font-size: clamp(0.95rem, 2.2vh, 1.15rem);
    font-weight: 700;
    text-align: center;
    padding: clamp(10px, 1.5vh, 16px) clamp(12px, 2vw, 20px);
    color: var(--neon-green);
    text-shadow: 0 0 16px rgba(0, 255, 102, 0.35);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ─── Valor estimado (destaque, uma linha) ─── */
@keyframes valorDestaqueGlow {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(255, 215, 0, 0.25),
            inset 0 0 0 1px rgba(255, 215, 0, 0.35);
    }
    50% {
        box-shadow:
            0 0 32px rgba(255, 215, 0, 0.45),
            0 0 48px rgba(0, 255, 102, 0.15),
            inset 0 0 0 1px rgba(255, 215, 0, 0.55);
    }
}

.valor-destaque {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 18px);
    width: 100%;
    padding: clamp(12px, 2vh, 20px) clamp(16px, 3vw, 28px);
    border-radius: 14px;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.14) 0%,
        rgba(0, 255, 102, 0.08) 50%,
        rgba(255, 215, 0, 0.14) 100%
    );
    border: 1px solid rgba(255, 215, 0, 0.5);
    animation: valorDestaqueGlow 2.5s ease-in-out infinite;
    flex-shrink: 0;
    white-space: nowrap;
}

.valor-destaque__label {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.2vh, 1.85rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    flex-shrink: 0;
}

.valor-destaque__valor {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vh, 3rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #fff;
    text-shadow:
        0 0 24px rgba(255, 215, 0, 0.65),
        0 0 40px rgba(0, 255, 102, 0.2);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ─── Match / FUT cards ─── */
.container-form {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: clamp(8px, 1.5vh, 18px);
}

.central {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container-times {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    width: 100%;
}

.fut-card {
    flex: 1;
    max-width: 220px;
    min-width: 0;
}

.fut-card__frame,
.input-container {
    position: relative;
}

.fut-card__frame {
    padding: clamp(16px, 2.4vh, 22px) clamp(10px, 1.5vw, 14px) clamp(18px, 2.8vh, 24px);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.12) 0%, rgba(4, 69, 58, 0.4) 100%);
    border: 2px solid transparent;
    box-shadow: none;
    text-align: center;
    transition: var(--transition);
}

.fut-card:hover .fut-card__frame,
.fut-card:focus-within .fut-card__frame {
    border-color: rgba(255, 215, 0, 0.75);
    box-shadow: var(--shadow-glow-gold), var(--shadow-glow-green);
}

.fut-card:hover .fut-card__frame {
    transform: translateY(-6px);
}

.fut-card__frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--neon-green), var(--neon-blue));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}

.fut-card:hover .fut-card__frame::before,
.fut-card:focus-within .fut-card__frame::before {
    opacity: 1;
}

.time img {
    width: clamp(72px, 12vh, 96px);
    height: clamp(72px, 12vh, 96px);
    object-fit: contain;
    margin: 0 auto clamp(6px, 1vh, 12px);
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.label-time {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vh, 1.35rem);
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: clamp(6px, 1vh, 10px);
}

.versus {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vh, 2rem);
    color: var(--gold);
    align-self: center;
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.5);
    flex-shrink: 0;
}

.input-placar {
    width: clamp(64px, 10vw, 76px);
    height: clamp(44px, 7vh, 52px);
    text-align: center;
    font-size: clamp(1.35rem, 4vh, 1.75rem);
    font-weight: 800;
    border-radius: 12px;
    border: 2px solid var(--input-border);
    background: var(--input-fill);
    color: var(--input-text);
    transition: var(--transition);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.input-placar::placeholder {
    color: rgba(30, 48, 24, 0.45);
    opacity: 1;
}

.input-placar:focus {
    outline: none;
    border-color: var(--brand-green);
    background: var(--input-fill-focus);
    box-shadow: 0 0 0 3px rgba(193, 196, 70, 0.45), inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.input-placar.input--error,
.input-form.input--error {
    border-color: #ff6b6b;
    box-shadow: 0 0 14px rgba(255, 71, 87, 0.45);
    animation: inputErrorShake 0.45s ease;
}

@keyframes inputErrorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Tooltip de validação */
.field-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
    z-index: 30;
    max-width: 240px;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: #fff;
    background: rgba(180, 30, 40, 0.95);
    border: 1px solid rgba(255, 120, 120, 0.5);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.field-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(180, 30, 40, 0.95);
}

.field-tooltip--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.field-tooltip--fadeout {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-4px);
}

/* ─── Formulário ─── */
.central2 {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: center;
}

.input-container {
    margin-bottom: clamp(8px, 1.2vh, 14px);
    width: 100%;
    max-width: 360px;
}

.input-form {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: block;
    height: clamp(38px, 5.5vh, 46px);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid var(--input-border);
    background: var(--input-fill);
    color: var(--input-text);
    transition: var(--transition);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.input-form::placeholder {
    color: rgba(42, 58, 24, 0.55);
    font-weight: 500;
}

.input-form:focus {
    outline: none;
    border-color: var(--brand-green);
    background: var(--input-fill-focus);
    box-shadow: 0 0 0 3px rgba(193, 196, 70, 0.4), inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-premium,
button.btn {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: clamp(8px, 1.2vh, 14px) auto 0;
    padding: clamp(12px, 1.8vh, 16px) 24px;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vh, 1.5rem);
    letter-spacing: 0.12em;
    color: #0a0a0a;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand-lime) 0%, var(--gold) 50%, var(--brand-lime) 100%);
    background-size: 200% 200%;
    box-shadow: 0 4px 24px rgba(193, 196, 70, 0.35);
    transition: transform 0.2s ease, box-shadow var(--transition), background-position 0.4s ease;
}

.btn-premium:hover,
button.btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow-gold);
    background-position: 100% 50%;
}

.btn-premium:active,
button.btn:active {
    transform: scale(0.95);
}

/* Botão principal — pulso verde → amarelado → verde */
@keyframes btnApostarGlow {
    0%, 100% {
        background: linear-gradient(135deg, #032f27 0%, #04453a 42%, #055647 100%);
        box-shadow:
            0 4px 20px rgba(4, 69, 58, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
        color: #f2f7ed;
        filter: brightness(1) saturate(1);
    }
    50% {
        background: linear-gradient(135deg, #3f6624 0%, #8fa836 26%, #c1c446 50%, #e6d96a 74%, #98ad38 100%);
        box-shadow:
            0 6px 30px rgba(193, 196, 70, 0.55),
            0 0 24px rgba(230, 217, 106, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
        color: #0d160a;
        filter: brightness(1.07) saturate(1.15);
    }
}

#btnApostar.btn-premium {
    animation: btnApostarGlow 6s ease-in-out infinite;
    background-size: 100% 100%;
    transition: transform 0.25s ease, filter 0.25s ease;
}

#btnApostar.btn-premium:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 32px rgba(193, 196, 70, 0.6);
    background-position: initial;
}

#btnApostar.btn-premium:active {
    transform: scale(0.97);
    filter: brightness(0.95);
}

.container-times.match-card--winner {
    animation: winnerShake 0.6s ease-in-out 3;
}

@keyframes winnerShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Confete */
.confetti-piece {
    position: fixed;
    width: 8px;
    height: 8px;
    z-index: 9999;
    pointer-events: none;
    border-radius: 2px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ─── Modal Rose ─── */
.rose-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.rose-modal-overlay.ativo {
    display: flex;
}

.rose-modal-box {
    width: min(95vw, 720px);
    height: min(90vh, 760px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rose-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 14px 18px;
    border-bottom: 1px solid var(--glass-border);
}

.rose-modal-header h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.06em;
}

.rose-modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.rose-modal-close:hover {
    transform: scale(1.1);
    color: var(--gold);
}

.rose-modal-body {
    flex: 1;
    background: #0f172a;
}

#roseFrame {
    width: 100%;
    height: 100%;
    border: 0;
}

body.modal-aberto {
    overflow: hidden;
}

/* ─── Modal pagamento (legado) ─── */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
    background: linear-gradient(135deg, rgba(193, 196, 70, 0.95), rgba(4, 69, 58, 0.98));
    margin: 5% auto;
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glow-gold);
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.modal .mensagem,
.modal .agradecimento,
.modal .instrucao {
    color: #fff;
}

.botao-copiar,
.modal .botao-voltar {
    margin-top: 16px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

/* ─── Responsivo ─── */

/* indexbolao.php — celular: tudo na tela, título em 1 linha, textos legíveis */
@media (max-width: 768px) {
    body.pagina-aposta {
        overflow: hidden;
        height: 100dvh;
        height: 100svh;
        color: #1e3018;
    }

    body.pagina-aposta .coluna2.pagina-conteudo {
        width: 100%;
        min-height: 100dvh;
        min-height: 100svh;
        max-height: 100dvh;
        max-height: 100svh;
        padding: 2px 6px;
        overflow: hidden;
        justify-content: center;
    }

    body.pagina-aposta .painel-glass {
        width: 100%;
        height: calc(100dvh - 6px);
        height: calc(100svh - 6px);
        max-height: calc(100dvh - 6px);
        max-height: calc(100svh - 6px);
        padding: clamp(8px, 1.5vh, 12px) clamp(10px, 3vw, 14px) calc(clamp(8px, 1.5vh, 12px) + env(safe-area-inset-bottom, 0px));
        gap: clamp(8px, 1.4vh, 12px);
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scroll-padding-bottom: 12px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        color: #1e3018;
    }

    /* Bloco superior: ocupa o espaço com textos maiores */
    body.pagina-aposta .hero-premium,
    body.pagina-aposta .letreiro,
    body.pagina-aposta .contador,
    body.pagina-aposta .valor-destaque {
        flex-shrink: 0;
        width: 100%;
    }

    body.pagina-aposta .hero-premium {
        padding: 0;
    }

    body.pagina-aposta .hero-premium__badge {
        font-size: clamp(1.18rem, 5.2vw, 1.45rem);
        letter-spacing: 0.14em;
        margin-bottom: clamp(4px, 0.8vh, 8px);
    }

    body.pagina-aposta .titulo {
        font-size: clamp(1.08rem, 7.2vw, 2rem);
        letter-spacing: 0.03em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
        line-height: 1.1;
        filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.6));
    }

    body.pagina-aposta .hero-premium__preco {
        margin-top: clamp(4px, 0.8vh, 8px);
        font-size: clamp(1rem, 4.6vw, 1.28rem);
        line-height: 1.25;
        color: #ffffff;
        font-weight: 600;
    }

    body.pagina-aposta .hero-premium__preco strong {
        font-size: clamp(1.15rem, 5.2vw, 1.45rem);
        color: #c2fff5;
    }

    body.pagina-aposta .letreiro {
        height: clamp(40px, 6.2vh, 52px);
        background: rgba(255, 255, 255, 0.4);
    }

    body.pagina-aposta .aviso {
        font-size: clamp(0.95rem, 4vw, 1.12rem);
        color: #04453a;
        font-weight: 700;
    }

    body.pagina-aposta .contador {
        padding: clamp(8px, 1.4vh, 12px) 10px;
        font-size: clamp(0.95rem, 3.8vw, 1.15rem);
        line-height: 1.2;
        color: #04453a;
        font-weight: 800;
        background: rgba(255, 255, 255, 0.4);
    }

    body.pagina-aposta .valor-destaque {
        padding: clamp(10px, 1.6vh, 14px) clamp(10px, 3vw, 14px);
        gap: clamp(8px, 2vw, 14px);
        background: linear-gradient(90deg, rgba(255, 249, 196, 0.65) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 249, 196, 0.65) 100%);
    }

    body.pagina-aposta .valor-destaque__label {
        font-size: clamp(1rem, 4.6vw, 1.28rem);
        letter-spacing: 0.08em;
        color: #3d5218;
        text-shadow: none;
    }

    body.pagina-aposta .valor-destaque__valor {
        font-size: clamp(1.55rem, 7.5vw, 2.15rem);
        color: #04453a;
        text-shadow: none;
    }

    /* Formulário compacto: cards colados ao valor e aos inputs */
    body.pagina-aposta .container-form {
        flex: 0 0 auto;
        min-height: 0;
        width: 100%;
        margin-top: 0;
        gap: clamp(6px, 1vh, 10px);
        justify-content: flex-start;
    }

    body.pagina-aposta .central {
        flex: 0 0 auto;
        width: 100%;
    }

    body.pagina-aposta .container-times {
        flex-wrap: nowrap;
        gap: 6px;
        align-items: center;
        padding-top: clamp(10px, 1.6vh, 16px);
        padding-bottom: clamp(10px, 1.6vh, 16px);
    }

    body.pagina-aposta .versus {
        font-size: clamp(1.05rem, 4vw, 1.25rem);
        color: #04453a;
        width: auto;
        order: 0;
        margin-bottom: 0;
        text-shadow: none;
    }

    body.pagina-aposta .fut-card__frame {
        padding: clamp(6px, 1vh, 8px) clamp(5px, 1.2vw, 8px);
        background: rgba(255, 255, 255, 0.35);
    }

    body.pagina-aposta .time img {
        width: clamp(50px, 13vw, 64px);
        height: clamp(50px, 13vw, 64px);
        margin-bottom: 5px;
    }

    body.pagina-aposta .label-time {
        font-size: clamp(0.88rem, 3.6vw, 1.08rem);
        margin-bottom: 5px;
        line-height: 1.1;
        color: #1e3018;
        font-weight: 700;
    }

    body.pagina-aposta .input-placar {
        width: clamp(58px, 16vw, 72px);
        height: clamp(42px, 5.8vh, 50px);
        font-size: clamp(1.35rem, 5.5vw, 1.6rem);
        background: var(--input-fill);
        color: var(--input-text);
        border-color: var(--input-border);
    }

    body.pagina-aposta .central2 {
        flex: 0 0 auto;
        gap: 0;
        width: 100%;
    }

    body.pagina-aposta .input-container {
        margin-bottom: clamp(4px, 0.7vh, 6px);
        max-width: 100%;
    }

    body.pagina-aposta .input-form {
        height: clamp(36px, 5vh, 42px);
        font-size: clamp(0.9rem, 3.5vw, 1.05rem);
        font-weight: 700;
        max-width: 100%;
        background: var(--input-fill);
        color: var(--input-text);
    }

    body.pagina-aposta .btn-premium {
        margin-top: clamp(4px, 0.6vh, 6px);
        padding: clamp(10px, 1.4vh, 12px) 16px;
        font-size: clamp(1.05rem, 4.2vw, 1.25rem);
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    body.pagina-aposta .titulo {
        font-size: clamp(1rem, 6.8vw, 1.35rem);
        letter-spacing: 0.02em;
    }

    body.pagina-aposta .valor-destaque__label {
        font-size: clamp(0.92rem, 4.2vw, 1.1rem);
    }

    body.pagina-aposta .valor-destaque__valor {
        font-size: clamp(1.4rem, 7vw, 1.85rem);
    }
}

@media (max-width: 768px) {
    .coluna2.pagina-conteudo {
        width: 100%;
        padding: 8px 8px;
        max-height: none;
        min-height: auto;
        overflow: visible;
    }

    .coluna2.pagina-interna {
        width: 100%;
        justify-content: center;
        padding: 16px 12px 28px;
        min-height: calc(100vh - 0px);
    }

    .painel-glass--interna {
        min-height: auto;
        max-height: none;
        width: 100%;
    }

    body.pagina-premium {
        overflow-y: auto;
    }

    /* A página de lance rola só no painel; o botão fica fixo embaixo. */
    body.pagina-aposta.pagina-premium {
        overflow: hidden;
    }

    .valor-destaque {
        gap: 8px;
        padding: 12px 10px;
    }

    .valor-destaque__label {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
        letter-spacing: 0.06em;
    }

    .valor-destaque__valor {
        font-size: clamp(1.35rem, 6vw, 1.85rem);
    }

    .painel-glass {
        height: auto;
        max-height: none;
        justify-content: flex-start;
        gap: 14px;
    }

    .container-times {
        gap: 6px;
    }

    .time img {
        width: 56px;
        height: 56px;
    }

    .rose-modal-box {
        width: 100%;
        height: 92vh;
    }
}

@media (min-width: 769px) and (max-height: 720px) {
    .titulo {
        font-size: 1.5rem;
    }

    .time img {
        width: 60px;
        height: 60px;
    }

    .painel-glass {
        padding: 8px 12px 10px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .container-times {
        flex-wrap: wrap;
        justify-content: center;
    }

    .versus {
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 4px;
    }

    body.pagina-aposta .container-times {
        flex-wrap: nowrap;
    }

    body.pagina-aposta .versus {
        width: auto;
        order: 0;
        margin-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-premium__badge-char {
        animation: none;
        color: var(--badge-gold);
        text-shadow: 0 0 8px var(--badge-gold-glow);
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .card-3d {
        transform: none !important;
    }

    .shine-card::after {
        display: none;
    }
}

/* ═══════════════════════════════════════════
   Páginas internas (pagamento, lances, regras, tabela)
   ═══════════════════════════════════════════ */
body.pagina-interna {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

.coluna2.pagina-interna {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(100% - 70px);
    min-height: 100vh;
    max-height: none;
    margin: 0 auto;
    padding: clamp(20px, 4vh, 40px) clamp(16px, 3vw, 32px);
    box-sizing: border-box;
    overflow: visible;
}

.painel-glass--interna {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-evenly;
    gap: clamp(16px, 2.5vh, 28px);
    width: min(100%, 800px);
    max-width: 800px;
    margin: auto;
    height: auto;
    max-height: calc(100vh - clamp(40px, 8vh, 80px));
    min-height: min(70vh, auto);
    overflow-y: auto;
    padding: clamp(22px, 3.5vh, 40px) clamp(20px, 3vw, 36px);
    text-align: center;
}

.painel-glass--interna .hero-premium,
.painel-glass--interna .form-interna,
.painel-glass--interna .pagamento-acoes {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.painel-glass--interna .regras-intro,
.painel-glass--interna .regras-bloco,
.painel-glass--interna .tabela-wrap,
.painel-glass--interna .lances-grid {
    width: 100%;
}

.titulo--pagina {
    font-size: clamp(1.8rem, 5vh, 2.8rem);
}

ul li.item-menu.is-ativo {
    background: rgba(0, 0, 0, 0.18);
    border-left: 3px solid var(--gold);
}

ul li.item-menu.is-ativo a {
    color: var(--gold);
}

/* Formulários internos */
.form-interna {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-align: left;
}

.msg-interna {
    text-align: center;
    font-size: 0.95rem;
    color: var(--neon-green);
    padding: 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.msg-interna--aviso {
    color: var(--gold);
}

/* Pagamento */
.hidden {
    display: none !important;
}

.pagamento-demo-aviso {
    text-align: left;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.55);
    margin-bottom: 16px;
}

.pagamento-demo-aviso__titulo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin: 0 0 10px;
}

.pagamento-demo-aviso__lista {
    margin: 8px 0 12px 18px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.pagamento-demo-aviso__teste {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pagamento-demo-aviso code {
    font-size: 0.82rem;
    word-break: break-all;
}

/* Carrinho de lances — painel flutuante (fora do formulário) */
.carrinho-flutuante {
    position: fixed;
    top: max(6px, env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 9000;
    width: min(360px, calc(100vw - 12px));
    max-width: calc(100vw - 12px);
    border-radius: 12px;
    background: rgba(8, 22, 14, 0.92);
    border: 1px solid rgba(255, 215, 0, 0.45);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(255, 215, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    touch-action: none;
}

.carrinho-flutuante.is-posicionado {
    transform: none;
}

.carrinho-flutuante.is-dragging {
    opacity: 0.96;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.carrinho-flutuante.is-collapsed .carrinho-flutuante__corpo {
    display: none;
}

.carrinho-flutuante.is-collapsed .carrinho-flutuante__toggle {
    transform: rotate(180deg);
}

.carrinho-flutuante__handle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    cursor: grab;
    user-select: none;
    border-radius: 12px 12px 0 0;
    background: rgba(255, 215, 0, 0.12);
    border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

.carrinho-flutuante.is-collapsed .carrinho-flutuante__handle {
    border-radius: 12px;
    border-bottom: none;
}

.carrinho-flutuante.is-dragging .carrinho-flutuante__handle {
    cursor: grabbing;
}

.carrinho-flutuante__grip {
    color: rgba(255, 215, 0, 0.75);
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: -2px;
}

.carrinho-flutuante__titulo {
    flex: 1;
    min-width: 0;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    color: var(--gold);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carrinho-flutuante__acoes-handle {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.carrinho-flutuante__toggle {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--gold);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    line-height: 1;
    padding: 0;
    transition: transform 0.2s ease;
}

.carrinho-flutuante__corpo {
    padding: 10px 12px 12px;
    color: #ffffff;
}

.carrinho-resumo__titulo {
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    color: var(--gold);
    font-size: 1.1rem;
}

.carrinho-resumo__limpar {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

.carrinho-resumo__lista {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    max-height: min(28vh, 160px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.carrinho-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: #ffffff;
}

.carrinho-item > span {
    color: #ffffff;
}

.carrinho-item__remove {
    background: rgba(255, 80, 80, 0.2);
    border: none;
    color: #ff6b6b;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.carrinho-resumo__total {
    margin: 0;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.95rem;
}

.form-acoes-aposta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.btn-acao-aposta {
    width: 100%;
    max-width: 100%;
}

.btn-acao-aposta.btn--modo-adicionar {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: none;
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-acao-aposta.btn--modo-adicionar.btn--pronto-adicionar:not(:disabled) {
    background: linear-gradient(135deg, #008f3e 0%, #00c853 35%, #00e676 70%, #69f0ae 100%) !important;
    border: 1px solid rgba(105, 240, 174, 0.65) !important;
    color: #042810 !important;
    font-weight: 700;
    box-shadow:
        0 4px 18px rgba(0, 200, 83, 0.45),
        0 0 24px rgba(0, 230, 118, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-acao-aposta.btn--modo-adicionar.btn--pronto-adicionar:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow:
        0 6px 22px rgba(0, 200, 83, 0.55),
        0 0 28px rgba(0, 230, 118, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-acao-aposta.btn--modo-adicionar:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.btn-acao-aposta.btn--encerrado,
.btn-acao-aposta.btn--encerrado:disabled {
    background: linear-gradient(135deg, #4a4a4a 0%, #6b6b6b 50%, #525252 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-aposta--encerrado .input-placar,
.form-aposta--encerrado .input-form {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    body.pagina-aposta .carrinho-flutuante {
        width: min(340px, calc(100vw - 8px));
        font-size: 0.9rem;
    }

    body.pagina-aposta .carrinho-resumo__lista {
        max-height: min(22vh, 120px);
    }

    body.pagina-aposta .carrinho-flutuante__titulo {
        font-size: 0.88rem;
    }

    body.pagina-aposta .carrinho-item,
    body.pagina-aposta .carrinho-item > span,
    body.pagina-aposta .carrinho-flutuante__corpo {
        color: #ffffff;
    }

    body.pagina-aposta .form-acoes-aposta {
        margin-top: 6px;
    }
}

/* Celular baixo: botão de adicionar/pagar fica preso embaixo e o miolo aperta */
@media (max-width: 768px) and (max-height: 700px) {
    body.pagina-aposta .painel-glass {
        gap: 4px;
        padding-top: 4px;
        padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }

    body.pagina-aposta .form-acoes-aposta {
        position: fixed;
        z-index: 40;
        left: 70px;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 8px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(90, 115, 82, 0) 0%, rgba(74, 98, 66, 0.97) 32%, #4a6242 100%);
    }

    body.pagina-aposta .form-acoes-aposta .btn-premium {
        margin-top: 0;
    }

    body.pagina-aposta .input-form,
    body.pagina-aposta .input-placar {
        scroll-margin-bottom: 88px;
    }

    body.pagina-trembao .trembao {
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }

    body.pagina-aposta .hero-premium__badge {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    body.pagina-aposta .auth-bar {
        margin-bottom: 2px;
        padding: 3px 8px;
    }

    body.pagina-aposta .hero-premium__preco {
        margin-top: 2px;
        font-size: 0.92rem;
    }

    body.pagina-aposta .letreiro {
        height: 28px;
    }

    body.pagina-aposta .contador {
        padding: 4px 8px;
        font-size: 0.85rem;
    }

    body.pagina-aposta .valor-destaque {
        padding: 6px 8px;
    }

    body.pagina-aposta .valor-destaque__valor {
        font-size: 1.35rem;
    }

    body.pagina-aposta .container-times {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    body.pagina-aposta .time img {
        width: 40px;
        height: 40px;
        margin-bottom: 2px;
    }

    body.pagina-aposta .input-placar {
        height: 36px;
        font-size: 1.2rem;
    }

    body.pagina-aposta .input-container {
        margin-bottom: 3px;
    }

    body.pagina-aposta .input-form {
        height: 34px;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) and (max-height: 540px) {
    body.pagina-aposta .auth-bar {
        font-size: 0.72rem;
        line-height: 1.15;
        gap: 2px;
    }

    body.pagina-aposta .letreiro {
        height: 22px;
    }

    body.pagina-aposta .fut-card__frame {
        padding: 3px 4px;
    }

    body.pagina-aposta .time img {
        width: 32px;
        height: 32px;
    }

    body.pagina-aposta .label-time {
        margin-bottom: 2px;
        font-size: 0.78rem;
    }
}


.pagamento-lances-resumo {
    text-align: left;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 10px;
}

.pagamento-lances-resumo__titulo {
    margin: 0 0 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.pagamento-lances-lista {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagamento-lances-lista li {
    padding: 4px 0;
    font-size: 0.9rem;
}

.pagamento-lances-lista__num {
    color: var(--gold);
    margin-right: 6px;
}

.pagamento-pix-mp {
    text-align: center;
}

.pix-qr-wrap {
    margin: 16px auto;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    display: inline-block;
    max-width: 220px;
}

.pix-qr-img {
    display: block;
    width: 100%;
    height: auto;
}

.pix-box__valor--code {
    font-size: clamp(0.65rem, 2.5vw, 0.85rem) !important;
    letter-spacing: 0.02em !important;
    line-height: 1.35;
    max-height: 120px;
    overflow-y: auto;
}

.pagamento-panel {
    text-align: center;
}

.pagamento-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.pagamento-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.9rem;
    line-height: 1.45;
}

.pagamento-step__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #0a0a0a;
    background: var(--gold);
    border-radius: 50%;
}

.pix-box {
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(0, 255, 102, 0.08));
    border: 1px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.15);
}

.pix-box__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.pix-box__valor {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 14px;
    word-break: break-all;
}

.pix-box__nome {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn--secundario {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    font-size: 1rem !important;
    letter-spacing: 0.08em !important;
    box-shadow: none !important;
}

.btn--secundario:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: var(--shadow-glow-gold) !important;
}

.btn--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #fff !important;
    font-size: 1rem !important;
    margin-top: 4px;
}

.btn--outline {
    background: transparent !important;
    color: var(--gold) !important;
    border: 2px solid rgba(255, 215, 0, 0.5) !important;
    box-shadow: none !important;
}

.pagamento-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.pagamento-acoes .btn {
    flex: 1 1 180px;
    max-width: 280px;
}

.toast-pix {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(4, 69, 58, 0.95);
    border: 1px solid var(--neon-green);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
}

.toast-pix--show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Lances */
.lances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    width: 100%;
}

.lance-card {
    position: relative;
    padding: 16px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 215, 0, 0.35);
    text-align: center;
}

.lance-card--pendente {
    border-color: rgba(255, 193, 7, 0.4);
    background: rgba(0, 0, 0, 0.22);
}

.lance-card--nao-pago {
    border-color: rgba(220, 80, 80, 0.35);
    opacity: 0.88;
}

.lance-card__status {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.lance-card__status--pendente {
    background: rgba(255, 193, 7, 0.14);
    color: #d4a800;
    border: 1px solid rgba(255, 193, 7, 0.35);
}

.lance-card__status--clickable {
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.15s ease;
}

.lance-card__status--clickable:hover,
.lance-card__status--clickable:focus-visible {
    background: rgba(255, 193, 7, 0.28);
    transform: scale(1.03);
    outline: none;
}

.lance-card__status--nao-pago {
    background: rgba(220, 80, 80, 0.12);
    color: #e88;
    border: 1px solid rgba(220, 80, 80, 0.3);
}

.lances-legenda {
    width: 100%;
    margin: 0 0 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.lances-legenda .lance-card__status {
    margin-bottom: 0;
    vertical-align: middle;
    font-size: 0.58rem;
}

/* Modal Pix em lances.php */
.lance-pix-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lance-pix-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lance-pix-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.lance-pix-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 18px 24px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(15, 40, 30, 0.98), rgba(8, 24, 18, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.lance-pix-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.lance-pix-modal__title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--gold);
    letter-spacing: 0.04em;
}

.lance-pix-modal__meta {
    margin: 0 0 14px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.lance-pix-modal__loading {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.lance-pix-lote {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.08);
    font-size: 0.82rem;
}

.lance-pix-lote ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.lance-pix-lote__aviso {
    margin: 0;
}

.lance-pix-sucesso {
    text-align: center;
    padding: 12px 0;
}

.lance-card__placar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.lance-card__gols {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}

.lance-card__vs {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.lance-card__nome {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.lance-card__meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Regras */
.regras-intro,
.regras-bloco {
    text-align: left;
    width: 100%;
}

.regras-intro__titulo,
.regras-bloco__titulo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 12px;
}

.regras-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.regras-lista li {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    padding: 10px 12px 10px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid rgba(0, 255, 102, 0.5);
}

.regras-lista--numerada {
    counter-reset: regra;
}

.regras-lista--numerada li {
    counter-increment: regra;
    padding-left: 42px;
    position: relative;
}

.regras-lista--numerada li::before {
    content: counter(regra);
    position: absolute;
    left: 12px;
    top: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
}

.regras-lista a {
    color: var(--neon-green);
    font-weight: 600;
}

.letreiro--compacto {
    height: 40px;
    margin-bottom: 4px;
}

/* Tabela */
.tabela-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
}

.tabela-premium {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tabela-premium thead {
    background: linear-gradient(90deg, rgba(193, 196, 70, 0.35), rgba(4, 69, 58, 0.6));
}

.tabela-premium th {
    padding: 14px 16px;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--gold);
    text-align: left;
    border-bottom: 2px solid rgba(255, 215, 0, 0.35);
}

.tabela-premium td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.tabela-premium tbody tr {
    transition: background 0.2s ease;
}

.tabela-premium tbody tr:hover {
    background: rgba(255, 215, 0, 0.08);
}

.tabela-jogo {
    font-weight: 600;
}

.tabela-jogo__vs {
    margin: 0 6px;
    color: var(--neon-green);
    font-family: var(--font-display);
}

/* ─── Trembão (trembao.php) — mascote flutuante, fora do fluxo ─── */
body.pagina-trembao .trembao {
    position: fixed;
    z-index: 40;
    bottom: 14px;
    right: 14px;
    width: 100px;
    height: auto;
    max-width: 28vw;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 768px) {
    body.pagina-trembao .trembao {
        width: 72px;
        max-width: 22vw;
        bottom: 10px;
        right: 8px;
        opacity: 0.92;
    }
}

/* ─── Título clicável (apostas encerradas) ─── */
a.titulo.titulo--link {
    display: block;
    text-decoration: none;
    color: var(--gold);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

a.titulo.titulo--link:hover,
a.titulo.titulo--link:focus-visible {
    color: #fff3a0;
    transform: scale(1.02);
    outline: none;
}

.menu-icon-emoji {
    font-size: 1.75rem;
    line-height: 1;
    display: inline-block;
}

/* ─── Página lancesgeral.php ─── */
.pagina-lances-geral .lg-letreiro-wrap {
    width: 100%;
    margin: 12px 0 16px;
}

.pagina-lances-geral .lg-letreiro {
    width: 100%;
    height: clamp(40px, 5vh, 52px);
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 215, 0, 0.25);
    position: relative;
}

.pagina-lances-geral .lg-letreiro__track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: lg-scroll 40s linear infinite;
    height: 100%;
    padding: 0 12px;
    gap: 24px;
}

.pagina-lances-geral .lg-letreiro__item {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gold);
}

.pagina-lances-geral .lg-letreiro__sep {
    color: var(--neon-green);
    opacity: 0.7;
}

@keyframes lg-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.lg-ganhadores {
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.16), rgba(4, 69, 58, 0.45));
    border: 1px solid rgba(255, 215, 0, 0.4);
}
.lg-ganhadores__titulo {
    margin: 0 0 6px;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    color: var(--gold);
    font-size: 1.4rem;
}
.lg-ganhadores__meta {
    margin: 0 0 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
}
.lg-ganhadores__lista {
    margin: 0;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lg-tabela tbody tr.is-ganhador {
    background: rgba(255, 215, 0, 0.16);
}
.lg-tabela tbody tr.is-ganhador td {
    color: var(--gold);
    font-weight: 700;
}

.ganhadores-publico {
    margin: 14px 0 4px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 215, 0, 0.35);
    text-align: left;
}
.ganhadores-publico__titulo {
    margin: 0 0 6px;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    color: var(--gold);
    font-size: 1.35rem;
}
.ganhadores-publico__placar,
.ganhadores-publico__premio,
.ganhadores-publico__vazio {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.ganhadores-publico__lista {
    margin: 0;
    padding-left: 1.15rem;
}

.lg-premio-card {
    text-align: center;
    padding: 18px 16px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(193, 196, 70, 0.2), rgba(4, 69, 58, 0.45));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.lg-premio-card__label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
}

.lg-premio-card__valor {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 2.8rem);
    color: var(--gold);
    line-height: 1.1;
}

.lg-premio-card__meta {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.lg-status-partida {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(76, 175, 80, 0.35);
}

.lg-status-partida__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    color: var(--neon-green);
    font-size: 1.15rem;
}

.lg-status-partida__placar {
    margin: 0 0 12px;
    font-weight: 600;
}

.lg-status-partida__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lg-stat {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.lg-stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold);
}

.lg-stat__lbl {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
}

.lg-filtros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.lg-filtro__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
}

.lg-select {
    width: 100%;
}

.lg-resultado-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 10px;
}

.pagina-lances-geral .lg-lista-lances {
    width: 100%;
    text-align: left;
}

.lg-tabela-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
    max-height: min(52vh, 480px);
    overflow-y: auto;
}

.lg-tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    table-layout: fixed;
}

.lg-tabela th,
.lg-tabela td {
    text-align: left;
}

.lg-tabela__id {
    width: 72px;
    white-space: nowrap;
}

.lg-tabela__nome {
    width: auto;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-word;
}

.lg-tabela th:nth-child(3),
.lg-tabela__placar {
    width: 96px;
    text-align: center;
    white-space: nowrap;
}

.lg-tabela__th-sort {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.lg-tabela__th-sort::after {
    content: '↕';
    margin-left: 6px;
    font-size: 0.72rem;
    opacity: 0.35;
}

.lg-tabela__th-sort.is-active::after {
    opacity: 1;
}

.lg-tabela__th-sort.is-active.is-asc::after {
    content: '↑';
}

.lg-tabela__th-sort.is-active.is-desc::after {
    content: '↓';
}

.lg-tabela thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(193, 196, 70, 0.4), rgba(4, 69, 58, 0.75));
}

.lg-tabela th {
    padding: 12px 14px;
    text-align: left;
    font-family: var(--font-display);
    color: var(--gold);
    letter-spacing: 0.06em;
}

.lg-tabela td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    vertical-align: middle;
}

.lg-tabela tbody tr:hover {
    background: rgba(255, 215, 0, 0.06);
}

.lg-tabela__empty {
    text-align: center;
    padding: 24px !important;
    color: rgba(255, 255, 255, 0.65);
}

.lg-recado {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lg-recado__title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
}

.lg-recado__form {
    display: grid;
    gap: 10px;
}

.lg-recado__hint {
    min-height: 1.2em;
    font-size: 0.85rem;
    color: var(--neon-green);
    margin: 8px 0 0;
}

@media (max-width: 640px) {
    .lg-filtros,
    .lg-status-partida__grid {
        grid-template-columns: 1fr;
    }

    .lg-tabela {
        table-layout: auto;
    }

    .lg-tabela thead {
        display: none;
    }

    .lg-tabela tr {
        display: block;
        margin-bottom: 8px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.22);
    }

    .lg-tabela td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        border: none;
        text-align: right;
    }

    .lg-tabela__nome {
        text-align: right;
        flex: 1;
    }

    .lg-tabela td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--gold);
        margin-right: 10px;
        text-align: left;
        flex-shrink: 0;
    }
}

@media (max-width: 600px) {
    .tabela-premium thead {
        display: none;
    }

    .tabela-premium tr {
        display: block;
        margin-bottom: 10px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.25);
    }

    .tabela-premium td {
        display: flex;
        justify-content: space-between;
        padding: 10px 14px;
        border: none;
    }

    .tabela-premium td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--gold);
        margin-right: 12px;
    }
}


/* ===== Identidade / Conta / Histórico ===== */
.id-fluxo { max-width: 420px; margin: 0 auto 1.5rem; }
.id-passo { display: none; flex-direction: column; gap: 10px; }
.id-passo.is-ativo { display: flex; }
.id-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-top: 4px; }
.id-input { width: 100%; }
.id-input--otp { letter-spacing: 0.35em; text-align: center; font-size: 1.35rem; font-weight: 700; }
.id-btn { margin-top: 12px; width: 100%; }
.id-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--text-muted);
    font-weight: 600;
}
.id-btn--ghost:disabled { opacity: 0.7; cursor: default; }
.id-titulo { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.04em; }
.id-texto { color: var(--text-muted); font-size: 0.95rem; }
.id-hint { color: var(--text-muted); font-size: 0.8rem; margin-top: 8px; }
.id-erro { color: #ff8a80; margin-top: 12px; font-size: 0.9rem; }
.id-link { background: none; border: none; color: var(--brand-lime); cursor: pointer; margin-top: 8px; font-size: 0.9rem; text-decoration: underline; }
.id-demo { color: var(--gold); font-size: 0.85rem; margin-top: 6px; }

.auth-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 8px; margin-bottom: 10px; padding: 8px 12px;
    background: rgba(0,0,0,0.25); border: 1px solid var(--glass-border); border-radius: 12px;
    font-size: 0.9rem;
}
.auth-bar__acoes { display: flex; gap: 12px; align-items: center; }
.auth-bar a { color: var(--brand-lime); }
.auth-bar__trocar {
    background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer;
    text-decoration: underline; font: inherit;
}

.conta-bloco { margin: 1.25rem 0 1.75rem; max-width: 520px; }
.conta-titulo { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 10px; letter-spacing: 0.04em; }
.conta-row { display: flex; gap: 8px; align-items: center; }
.conta-row .id-input { flex: 1; }
.conta-btn-sm { padding: 10px 14px; white-space: nowrap; font-size: 0.8rem; }
.conta-devices { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.conta-device {
    display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
    padding: 12px; border: 1px solid var(--glass-border); border-radius: 12px;
    background: rgba(255,255,255,0.04);
}
.conta-device.is-revoked { opacity: 0.55; }
.conta-badge {
    display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
    font-size: 0.7rem; background: rgba(193,196,70,0.25); color: var(--brand-lime);
}
.conta-badge--off { background: rgba(255,255,255,0.1); color: var(--text-muted); }

.push-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 16px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    background: var(--brand-green);
    border: 1px solid rgba(193, 196, 70, 0.5);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
}
.push-banner__txt {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.4;
}
.push-banner__acoes {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}
.push-banner__btn {
    background: var(--brand-lime);
    color: var(--brand-green);
    border: none;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
}
.push-banner__nao {
    background: transparent;
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
}

.hist-lista { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hist-item {
    display: flex; justify-content: space-between; gap: 12px; align-items: center;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
