/* =====================================================
   Homepage
   ===================================================== */

/* Banner Carousel */
.banner-carousel {
    position: relative;
    width: 100%;
    margin: 16px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/7;
    max-height: 280px;
    background: var(--bg-card);
}
.banner-track {
    display: flex;
    height: 100%;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.banner-slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-card);
    position: relative;
}
.banner-slide.placeholder {
    background: linear-gradient(135deg, #1a2750, #0a1024);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 6vw, 72px);
    letter-spacing: 4px;
}
.banner-slide.placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(45,212,255,0.3), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255,200,61,0.2), transparent 50%);
}
.banner-slide.placeholder span {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.banner-arrows {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 12px;
}
.banner-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t);
}
.banner-arrow:hover { background: rgba(0,0,0,0.8); }
.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.banner-dot {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background var(--t);
}
.banner-dot.active { background: var(--accent); }

/* Search bar */
.search-bar {
    position: relative;
    margin: 16px 0;
}
.search-bar input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: 15px;
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar input:focus { outline: none; border-color: var(--accent); }
.search-bar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* Categories (círculos coloridos) */
.categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    color: var(--text);
    transition: transform var(--t);
}
.category:hover { transform: translateY(-4px); color: var(--text); }
.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a3a7a, #1a2750);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(45,212,255,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all var(--t);
}
.category:hover .category-icon {
    box-shadow: 0 12px 28px rgba(45,212,255,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.category-icon.gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1500;
}
.category-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Top Ganhos */
.top-wins {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin: 24px 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.top-wins::-webkit-scrollbar { height: 0; }
.top-wins-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 16px 10px 10px;
    min-width: 240px;
    scroll-snap-align: start;
}
.top-wins-card.trophy {
    background: linear-gradient(135deg, rgba(255,200,61,0.15), rgba(255,200,61,0.05));
    border-color: rgba(255,200,61,0.3);
    min-width: auto;
    padding: 10px 14px;
}
.top-wins-trophy-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.top-wins-game-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.top-wins-info { font-size: 13px; line-height: 1.3; }
.top-wins-info .player { font-weight: 600; }
.top-wins-info .game { color: var(--text-muted); font-size: 12px; }
.top-wins-info .amount { color: var(--success); font-weight: 700; font-size: 14px; }

/* Section header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-card), transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin: 16px 0;
}
.section-title {
    font-size: 16px;
    font-weight: 700;
}
.section-arrows {
    display: flex;
    gap: 4px;
    color: var(--text-muted);
}
.section-arrows button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background var(--t);
}
.section-arrows button:hover { background: var(--bg-card-hover); color: var(--accent); }

/* Game Cards */
.games-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.games-row::-webkit-scrollbar { height: 0; }
.game-card {
    flex: 0 0 auto;
    width: 200px;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform var(--t);
    scroll-snap-align: start;
    background: var(--bg-card);
}
.game-card:hover { transform: translateY(-4px); }
.game-card-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #4a90e2, #2c5cb8);
}
.game-card.mines .game-card-bg { background: linear-gradient(180deg, #4a90e2, #1e3a8a); }
.game-card.double .game-card-bg { background: linear-gradient(180deg, #f59e0b, #d97706); }
.game-card.aviator .game-card-bg { background: linear-gradient(180deg, #ef4444, #991b1b); }
.game-card.fortune .game-card-bg { background: linear-gradient(180deg, #ec4899, #831843); }
.game-card-emoji {
    font-size: 80px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}
.game-card-top {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #002d3d;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
    z-index: 2;
}
.game-card-title {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    letter-spacing: 1px;
    z-index: 2;
    line-height: 0.95;
    padding: 0 8px;
}
.game-card-title span { color: var(--gold); display: block; }
.game-card-cta {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    z-index: 2;
}

/* Welcome / hero pra usuários logados */
.welcome-card {
    background: linear-gradient(135deg, rgba(45,212,255,0.15), rgba(255,200,61,0.05));
    border: 1px solid rgba(45,212,255,0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.welcome-info h3 { font-size: 18px; margin-bottom: 4px; }
.welcome-info p { color: var(--text-muted); font-size: 14px; }
.welcome-balance {
    text-align: right;
}
.welcome-balance .label { color: var(--text-muted); font-size: 12px; }
.welcome-balance .value { font-size: 24px; font-weight: 700; color: var(--accent); }

/* Mobile */
@media (max-width: 600px) {
    .game-card { width: 160px; }
    .game-card-emoji { font-size: 60px; }
    .game-card-title { font-size: 22px; bottom: 44px; }
    .categories { gap: 8px; }
    .category-icon { width: 52px; height: 52px; }
    .welcome-card { flex-direction: column; align-items: flex-start; }
    .welcome-balance { text-align: left; }
}

/* =================================================
   FOOTER PROFISSIONAL
================================================= */
.site-footer {
    background: linear-gradient(180deg, #0a1024 0%, #050817 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 16px 100px;
    margin-top: 0;
    color: #94a3c4;
    font-size: 13px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.footer-payment-row {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col a {
    color: #94a3c4;
    text-decoration: none;
    font-size: 13px;
    transition: color .15s;
}
.footer-col a:hover { color: #2dd4ff; }
.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff !important;
    font-weight: 600;
    transition: all .15s;
}
.footer-contact-btn:hover {
    background: rgba(45,212,255,0.1);
    border-color: rgba(45,212,255,0.3);
}
.footer-pix-logo {
    width: 80px; height: 60px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 28px 0;
}
.footer-brand {
    text-align: center;
}
.footer-logo-img { max-height: 50px; margin-bottom: 18px; }
.footer-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #2dd4ff;
    letter-spacing: 2px;
    margin-bottom: 18px;
}
.footer-social {
    display: flex; gap: 14px; justify-content: center;
}
.footer-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.footer-social a:hover {
    background: rgba(45,212,255,0.2);
    color: #2dd4ff;
    transform: translateY(-2px);
}
.footer-tagline {
    text-align: center;
    margin-bottom: 24px;
}
.footer-tagline h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}
.footer-heart {
    font-size: 13px;
    color: #94a3c4;
}
.footer-heart strong {
    color: #2dd4ff;
}
.footer-mf-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 20px;
    margin: 0 auto 20px;
    text-align: left;
}
.footer-mf-badge {
    display: flex;
    max-width: max-content;
    margin: 0 auto 20px;
}
.mf-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}
.mf-sub {
    font-size: 10px;
    color: #94a3c4;
    letter-spacing: 1px;
}
.footer-legal {
    font-size: 12px;
    line-height: 1.7;
    color: #94a3c4;
    text-align: center;
    margin-bottom: 20px;
}
.footer-legal strong {
    color: #fff;
}
.footer-seals {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.footer-seal {
    display: inline-flex;
    align-items: center;
    height: 36px;
}
.footer-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    margin: 0 auto 20px;
    max-width: max-content;
    transition: all .15s;
}
.footer-app-btn:hover {
    background: rgba(45,212,255,0.1);
    border-color: rgba(45,212,255,0.3);
}
.footer-18plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.footer-18-icon {
    width: 50px; height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}
.footer-18-text {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
}
.footer-emails {
    text-align: center;
    font-size: 13px;
    line-height: 2;
}
.footer-emails a {
    color: #22c55e;
    text-decoration: none;
    margin-left: 8px;
}

@media (max-width: 640px) {
    .footer-columns,
    .footer-payment-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* =================================================
   POPUP "EM BREVE"
================================================= */
/* =================================================
/* =================================================
   PRÊMIO DIÁRIO — Faixa reta + Presente 3D + Wiggle
================================================= */
.daily-rewards-section {
    background: linear-gradient(135deg, rgba(45,212,255,0.06), rgba(45,212,255,0.02));
    border: 1px solid rgba(45,212,255,0.15);
    border-radius: 16px;
    padding: 16px;
    margin: 32px 0 24px; /* espaço extra no topo pra imagem sair */
}
.daily-rewards-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    padding: 40px 4px 12px; /* padding top pra acomodar imagem saindo */
    -webkit-overflow-scrolling: touch;
}
.daily-rewards-scroll::-webkit-scrollbar { display: none; }

/* === Card === */
.daily-reward-box {
    flex: 0 0 165px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    overflow: visible; /* imagem precisa escapar */
    position: relative;
    scroll-snap-align: start;
    transition: transform .15s;
}
.daily-reward-box-inner {
    background: linear-gradient(180deg, #1e40af, #0d2563);
    border-radius: 14px;
    overflow: visible;
    position: relative;
}

/* Card de HOJE: destacado dourado + pulsa */
.daily-reward-box.today {
    border: 2px solid #ffc83d;
    box-shadow:
        0 0 0 4px rgba(255,200,61,0.2),
        0 12px 28px rgba(255,200,61,0.35);
    transform: scale(1.05);
    animation: dr-pulse-today 2.5s ease-in-out infinite;
}
@keyframes dr-pulse-today {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255,200,61,0.2), 0 12px 28px rgba(255,200,61,0.35); }
    50%      { box-shadow: 0 0 0 6px rgba(255,200,61,0.35), 0 14px 32px rgba(255,200,61,0.5); }
}

/* Card PASSADO (já resgatado): bem apagado */
.daily-reward-box.past { opacity: 0.7; }

/* Card FUTURO: visual normal (a diferença está no presente cinza, não no card) */
.daily-reward-box.future { opacity: 1; }

/* Card WAITING (aguardando próximo prêmio liberar - countdown ativo) */
.daily-reward-box.waiting {
    border: 1px solid rgba(255,200,61,0.4);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,200,61,0.15);
}
/* Imagem do waiting: meio apagada (mais clara que a cinza dos future) */
.daily-reward-box.waiting .dr-box-img {
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.7)) grayscale(0.4) brightness(0.75);
    animation: none;
}

/* === Topo: área da imagem === */
.dr-box-top {
    aspect-ratio: 1;
    background: radial-gradient(ellipse at center top, rgba(255,255,255,0.1), transparent 70%);
    position: relative;
    overflow: visible;
    border-radius: 14px 14px 0 0;
}

/* === Imagem do presente — saindo do topo === */
.dr-box-img {
    position: absolute;
    width: 130%;
    height: auto;
    left: 50%;
    top: -28%;
    transform: translateX(-50%);
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.7)) grayscale(1) brightness(0.55);
    z-index: 5;
    pointer-events: none;
    transform-origin: center bottom;
    /* Por padrão: SEM animação. Só o "today" anima. */
    animation: none;
    transition: filter .3s;
}

/* Card de HOJE: presente colorido + animado (o único que se mexe) */
.daily-reward-box.today .dr-box-img {
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.7));
    animation: dr-wiggle 1.8s ease-in-out infinite;
}

@keyframes dr-wiggle {
    0%, 100%  { transform: translateX(-50%) rotate(0deg) translateY(0); }
    20%       { transform: translateX(-50%) rotate(-4deg) translateY(-2px); }
    40%       { transform: translateX(-50%) rotate(3deg) translateY(-1px); }
    60%       { transform: translateX(-50%) rotate(-2deg) translateY(-3px); }
    80%       { transform: translateX(-50%) rotate(2deg) translateY(0); }
}

/* Imagem do presente RESGATADO (past): mantém cinza apagado (já é o default) */
/* Mas pode ficar ainda mais escuro se quiser destacar visualmente */
.daily-reward-box.past .dr-box-img {
    animation: none;
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.7)) grayscale(1) brightness(0.4);
}

/* Overlay verde quando resgatado */
.dr-box-overlay-claimed {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    color: #22c55e;
    font-size: 60px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 4px 12px rgba(34,197,94,0.7);
    z-index: 6;
    border-radius: 14px 14px 0 0;
}

/* === Base amarela (RETA, sem clip-path) === */
.dr-box-bottom {
    background: #ffe552;
    padding: 12px 10px 12px;
    text-align: center;
    color: #002d3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 2;
    border-radius: 0 0 14px 14px;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.4);
}
.dr-box-day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: rgba(0,45,61,0.75);
    line-height: 1;
    margin-top: 2px;
}
.dr-box-amount {
    font-size: 18px;
    font-weight: 800;
    color: #002d3d;
    line-height: 1.1;
    margin-bottom: 6px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

/* === Botão === */
.dr-box-btn {
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
    letter-spacing: 0.3px;
}
.dr-box-btn.primary {
    background: linear-gradient(180deg, #4de6ff 0%, #2dd4ff 50%, #1cb0d6 100%);
    color: #002d3d;
    box-shadow:
        0 3px 0 #0c8eb5,
        0 5px 10px rgba(45,212,255,0.4),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.dr-box-btn.primary:hover {
    background: linear-gradient(180deg, #6efbff 0%, #4de6ff 50%, #2dd4ff 100%);
    transform: translateY(-1px);
    box-shadow:
        0 4px 0 #0c8eb5,
        0 6px 14px rgba(45,212,255,0.55);
}
.dr-box-btn.primary:active {
    transform: translateY(2px);
    box-shadow:
        0 1px 0 #0c8eb5,
        0 2px 4px rgba(45,212,255,0.3);
}
.dr-box-btn.done {
    background: rgba(0,45,61,0.18);
    color: rgba(0,45,61,0.55);
    cursor: default;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.dr-box-btn.locked {
    background: rgba(0,45,61,0.12);
    color: rgba(0,45,61,0.4);
    cursor: not-allowed;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Botão countdown (amarelo pulsante) — quando aguardando próximo prêmio */
.dr-box-btn.countdown {
    background: linear-gradient(180deg, #ffc83d, #f5a623);
    color: #4a2c00;
    box-shadow:
        0 3px 0 #b07000,
        inset 0 1px 0 rgba(255,255,255,0.4);
    cursor: default;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    animation: pulse-countdown 1.5s ease-in-out infinite;
}
@keyframes pulse-countdown {
    0%, 100% {
        box-shadow: 0 3px 0 #b07000, 0 0 0 0 rgba(255,200,61,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
    }
    50% {
        box-shadow: 0 3px 0 #b07000, 0 0 0 4px rgba(255,200,61,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    }
}

/* Countdown */
.daily-reward-expires {
    margin-top: 14px;
    text-align: center;
}
.daily-reward-expires span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3c4;
}
.daily-reward-expires strong {
    background: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .daily-reward-box { flex: 0 0 140px; }
    .dr-box-amount { font-size: 16px; }
    .dr-box-img { width: 125%; top: -25%; }
}


.daily-claim-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.daily-claim-modal-backdrop.show { display: flex; }
.daily-claim-modal {
    background: linear-gradient(135deg, #1e40af, #0d2563);
    border: 2px solid #ffc83d;
    border-radius: 24px;
    padding: 40px 32px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 80px rgba(255,200,61,0.3);
    animation: popin .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popin {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.daily-claim-modal .confetti {
    font-size: 70px;
    margin-bottom: 16px;
    animation: bounce 1s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.daily-claim-modal h2 {
    color: #ffc83d;
    font-size: 28px;
    margin-bottom: 8px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}
.daily-claim-modal p { color: #fff; font-size: 14px; margin-bottom: 12px; }
.daily-claim-amount {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    margin: 12px 0;
    text-shadow: 0 0 20px rgba(255,200,61,0.6);
}
.daily-claim-info { color: rgba(255,255,255,0.8) !important; font-size: 12px !important; margin-bottom: 24px !important; }
.daily-claim-modal button {
    background: #ffc83d;
    color: #002d3d;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

/* =================================================
   CATEGORIAS DE JOGOS
================================================= */
.game-category-section {
    margin: 20px 0;
}
.see-all-btn {
    background: rgba(45,212,255,0.1);
    color: #2dd4ff;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    transition: all .15s;
}
.see-all-btn:hover { background: rgba(45,212,255,0.2); }
.games-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
    scroll-snap-type: x mandatory;
}
.games-scroll::-webkit-scrollbar { display: none; }
.game-tile {
    flex: 0 0 130px;
    background: var(--bg-card);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .15s;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.game-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.game-tile-image {
    aspect-ratio: 3/4;
    background: #0a1024;
    overflow: hidden;
}
.game-tile-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.game-tile-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, #1a2540, #0a1024);
}
.game-tile-info {
    padding: 8px 10px;
    background: rgba(0,0,0,0.4);
}
.game-tile-name {
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.game-tile-provider {
    color: #94a3c4;
    font-size: 10px;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Provedores: card só com logo (fundo escuro, sem nome embaixo) */
.providers-section .game-tile {
    flex: 0 0 130px;
}
.provider-tile .game-tile-image {
    aspect-ratio: 5/3;
    background: linear-gradient(135deg, #131e3f, #0a1024);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.provider-tile .game-tile-image img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 480px) {
    .game-tile { flex: 0 0 115px; }
    .providers-section .game-tile { flex: 0 0 115px; }
}

/* =================================================
   ÚLTIMAS APOSTAS - FEED VERTICAL ANIMADO
================================================= */
.latest-bets-section {
    margin: 20px 0;
}
.latest-bets-wrap {
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    height: 234px; /* 3 itens × 78px */
}
.latest-bets-track {
    display: flex;
    flex-direction: column;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.latest-bet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    height: 78px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    flex-shrink: 0;
}
.latest-bet-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    background: #0a1024;
    flex-shrink: 0;
}
.latest-bet-icon img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.latest-bet-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, #1a2540, #0a1024);
}
.latest-bet-info {
    flex: 1;
    min-width: 0;
}
.latest-bet-player {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}
.latest-bet-game {
    color: #94a3c4;
    font-size: 12px;
    margin-top: 2px;
}
.latest-bet-amounts {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 13px;
}
.latest-bet-amounts .bet { color: #94a3c4; }
.latest-bet-amounts .arrow { color: #94a3c4; }
.latest-bet-amounts .win { color: #c5f54a; font-weight: 700; }

@media (max-width: 380px) {
    .latest-bet-item { padding: 10px; gap: 8px; }
    .latest-bet-icon { width: 44px; height: 44px; }
    .latest-bet-player { font-size: 13px; }
    .latest-bet-game { font-size: 11px; }
    .latest-bet-amounts { font-size: 11px; }
}

/* =================================================
   RECOMENDADOS - card é só a imagem (admin cadastra arte completa)
================================================= */
.recommended-section {
    margin: 16px 0 24px;
}
.recommended-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 4px 0;
}
.recommended-scroll::-webkit-scrollbar { display: none; }

.recommended-card {
    flex: 0 0 180px;
    aspect-ratio: 5/6;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform .2s;
    display: block;
    line-height: 0;
}
.recommended-card:hover {
    transform: translateY(-3px);
}
.recommended-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rec-card-empty {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a2540, #0a1024);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 16px;
}

@media (max-width: 480px) {
    .recommended-card {
        flex: 0 0 160px;
    }
}

/* =================================================
   POPUP "Depósito Necessário" (1ª vez do usuário)
================================================= */
.deposit-required-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: dr-backdrop-in .25s ease-out;
}
.deposit-required-backdrop.show { display: flex; }
@keyframes dr-backdrop-in { from { opacity: 0; } to { opacity: 1; } }

.deposit-required-modal {
    background: linear-gradient(180deg, #1e3a8a 0%, #0a1024 100%);
    border: 2px solid #ffc83d;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    padding: 30px 24px 24px;
    text-align: center;
    box-shadow:
        0 0 0 8px rgba(255,200,61,0.12),
        0 20px 60px rgba(0,0,0,0.6),
        0 0 80px rgba(255,200,61,0.25);
    position: relative;
    animation: dr-popup-in .4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 92vh;
    overflow-y: auto;
}
@keyframes dr-popup-in {
    from { transform: scale(0.7) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.deposit-required-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #94a3c4;
    cursor: pointer;
    font-size: 16px;
    transition: all .15s;
    z-index: 2;
}
.deposit-required-close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.deposit-required-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ffc83d, #f5a623);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow:
        0 0 0 6px rgba(255,200,61,0.18),
        0 8px 16px rgba(0,0,0,0.4);
    animation: dr-icon-bounce 2s ease-in-out infinite;
}
@keyframes dr-icon-bounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(-3deg); }
}

.deposit-required-modal h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: #ffe552;
    font-size: 30px;
    margin: 0 0 8px;
    letter-spacing: 1px;
    text-shadow: 0 2px 0 rgba(0,0,0,0.3);
}

.deposit-required-game {
    color: #94a3c4;
    font-size: 13px;
    margin: 0 0 4px;
}
.deposit-required-game strong {
    color: #fff;
}

.deposit-required-text {
    color: #c8d3e8;
    font-size: 15px;
    line-height: 1.5;
    margin: 16px 0 20px;
}

.deposit-required-amount {
    background: linear-gradient(135deg, rgba(255,200,61,0.15), rgba(245,166,35,0.1));
    border: 1px dashed rgba(255,200,61,0.5);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 24px;
}
.dr-amount-label {
    font-size: 11px;
    color: #ffc83d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
}
.dr-amount-value {
    font-size: 34px;
    font-weight: 900;
    color: #ffe552;
    line-height: 1;
}
.dr-amount-hint {
    font-size: 11px;
    color: #94a3c4;
    margin-top: 6px;
}

.deposit-required-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dr-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    border: none;
    padding: 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.dr-btn.primary {
    background: linear-gradient(180deg, #4de6ff 0%, #2dd4ff 50%, #1cb0d6 100%);
    color: #002d3d;
    box-shadow:
        0 4px 0 #0c8eb5,
        0 6px 16px rgba(45,212,255,0.5),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.dr-btn.primary:hover {
    background: linear-gradient(180deg, #6efbff 0%, #4de6ff 50%, #2dd4ff 100%);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #0c8eb5,
        0 8px 20px rgba(45,212,255,0.6),
        inset 0 1px 0 rgba(255,255,255,0.7);
}
.dr-btn.primary:active {
    transform: translateY(2px);
}
.dr-btn.secondary {
    background: transparent;
    color: #94a3c4;
    border: 1px solid rgba(255,255,255,0.15);
}
.dr-btn.secondary:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

/* =================================================
   🎁 POPUP CADASTRO OBRIGATÓRIO (deslogado)
================================================= */
.register-required-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 9998;
    display: none;
    align-items: center; justify-content: center;
    padding: 16px;
    animation: rrFadeIn .25s ease-out;
}
.register-required-backdrop.show { display: flex; }
@keyframes rrFadeIn { from { opacity: 0; } to { opacity: 1; } }

.register-required-modal {
    background: linear-gradient(180deg, #131e3f 0%, #0a1024 100%);
    border: 1px solid rgba(45,212,255,0.3);
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 340px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 80px rgba(45,212,255,0.15);
    position: relative;
    animation: rrSlideUp .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes rrSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.register-required-close {
    position: absolute; top: 14px; right: 14px;
    background: rgba(255,255,255,0.06);
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    color: #94a3c4;
    font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.register-required-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.register-required-icon {
    font-size: 52px;
    margin-bottom: 12px;
    line-height: 1;
    animation: rrBounce 2s ease-in-out infinite;
}
@keyframes rrBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.register-required-modal h2 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 700;
}

.register-required-text {
    color: #94a3c4;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 18px;
}

.register-required-amount {
    background: linear-gradient(135deg, rgba(45,212,255,0.12), rgba(255,200,61,0.08));
    border: 1px solid rgba(45,212,255,0.25);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 18px;
}
.rr-amount-label {
    color: #94a3c4;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.rr-amount-value {
    color: #ffc83d;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255,200,61,0.4);
}
.rr-amount-hint {
    color: #94a3c4;
    font-size: 11px;
    margin-top: 6px;
}

.register-required-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rr-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all .2s;
    border: none;
}
.rr-btn.primary {
    background: linear-gradient(135deg, #2dd4ff, #6ee7ff);
    color: #002d3d;
    box-shadow: 0 8px 24px rgba(45,212,255,0.35);
}
.rr-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45,212,255,0.5);
}

.rr-login-link {
    color: #5a6890;
    font-size: 12px;
    margin: 14px 0 0;
}
.rr-login-link a {
    color: #2dd4ff;
    font-weight: 600;
    text-decoration: none;
}
.rr-login-link a:hover { text-decoration: underline; }
