/* ============================================================
   Raspou Ganhou — tema "cores da sorte" (esmeralda + dourado)
   Camada de refinamento visual sobre o tema original.
   ============================================================ */

:root {
    --rg-green: #22c55e;
    --rg-green-deep: #0e8f4c;
    --rg-green-dark: #0b3b24;
    --rg-gold: #f5c542;
    --rg-gold-soft: #ffe38a;
    --rg-ink: #06100b;
    --rg-ink-2: #0a1a12;
    --rg-line: rgba(245, 197, 66, .14);
}

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(1100px 640px at 10% -12%, rgba(34, 197, 94, .12), transparent 62%),
        radial-gradient(900px 520px at 92% -4%, rgba(245, 197, 66, .08), transparent 60%),
        radial-gradient(700px 700px at 50% 120%, rgba(34, 197, 94, .06), transparent 65%),
        #070c09 !important;
    color: #eef6f0;
}

::selection { background: rgba(245, 197, 66, .35); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #08120c; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #22c55e, #0e8f4c);
    border-radius: 10px;
    border: 2px solid #08120c;
}

/* Header */
.header {
    border-bottom: 1px solid var(--rg-line) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .55);
}

.logo-image {
    max-height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 18px rgba(34, 197, 94, .22));
    transition: transform .25s ease, filter .25s ease;
}
.logo:hover .logo-image {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 6px 22px rgba(245, 197, 66, .28));
}

.sidebar-logo-image { max-width: 190px; height: auto; }

/* Títulos com brilho dourado */
h1, h2, .section-title, .welcome-title {
    letter-spacing: -.02em;
}
h1 span, h2 span, .highlight, .text-gold {
    color: var(--rg-gold);
}

/* Botões principais: verde com aro dourado no hover */
.submit-btn, .submit-button, .btn-primary, .deposit-btn, .buy-btn {
    background: linear-gradient(135deg, #2ee06f 0%, #12a457 55%, #0b7a3f 100%) !important;
    border: 1px solid rgba(245, 197, 66, .22) !important;
    box-shadow: 0 10px 26px rgba(18, 164, 87, .28), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.submit-btn:hover, .submit-button:hover, .btn-primary:hover, .deposit-btn:hover, .buy-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.08) brightness(1.04);
    box-shadow: 0 14px 34px rgba(18, 164, 87, .36), 0 0 0 1px rgba(245, 197, 66, .35), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
}

/* Cards / cartelas */
.card, .raspadinha-card, .card-raspadinha, .game-card {
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover, .raspadinha-card:hover, .card-raspadinha:hover, .game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 197, 66, .35);
    box-shadow: 0 22px 54px rgba(0, 0, 0, .55), 0 0 0 1px rgba(245, 197, 66, .18);
}

/* Valores em dinheiro */
.balance-amount, .premio-valor, .valor-premio, .price {
    color: var(--rg-gold) !important;
    text-shadow: 0 0 24px rgba(245, 197, 66, .22);
}

/* Valores rápidos */
.quick-amount {
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .03);
    transition: .18s ease;
}
.quick-amount:hover, .quick-amount.active {
    border-color: rgba(245, 197, 66, .55);
    background: rgba(245, 197, 66, .1);
    color: var(--rg-gold-soft);
}

/* Modal */
.modal-card {
    border: 1px solid rgba(245, 197, 66, .16);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(34, 197, 94, .08);
}
.modal-icon {
    background: linear-gradient(135deg, #22c55e, #0b7a3f) !important;
    box-shadow: 0 10px 30px rgba(34, 197, 94, .35);
}

/* Selo de prêmio / destaques */
.badge-gold, .premio-badge, .tag-premio {
    background: linear-gradient(135deg, var(--rg-gold-soft), var(--rg-gold));
    color: #201503;
    font-weight: 800;
    border-radius: 999px;
    padding: .25rem .7rem;
    font-size: .75rem;
    letter-spacing: .02em;
}

/* Divisórias */
hr, .divider { border-color: rgba(255, 255, 255, .07); }

/* Rodapé */
.footer {
    border-top: 1px solid var(--rg-line);
    background: rgba(6, 14, 10, .9);
}

/* Micro animação de brilho em elementos dourados */
@keyframes rgShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.text-gold-shine {
    background: linear-gradient(100deg, #f5c542 20%, #fff6d2 40%, #f5c542 60%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rgShine 4s linear infinite;
}

@media (max-width: 640px) {
    .logo-image { max-height: 38px; }
}
