
#raspinha h1:nth-child(1) {
    font-family: "Exo 2";
    font-size: 3.8rem;
    font-weight: 800;
    font-style: italic;
    line-height: 3rem;
    letter-spacing: 0px;
    text-align: left;
    /* padding cobre a descendente do "p"; margin negativo evita criar espaço extra */
    padding-bottom: 0.22em;
    margin-bottom: -0.2em;
    background: linear-gradient(100deg, var(--jg-0a7a00, #0A7A00), var(--jg-2cb620, #2CB620) 60%, var(--jg-64c832, #64C832));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--jg-0a7a00, #0A7A00);
}

#raspinha .texto-menor {
    font-size: 2rem;
    color: var(--jg-2cb620, #2CB620);
    -webkit-text-fill-color: var(--jg-2cb620, #2CB620);
}

#raspinha p {
    font-family: "Nunito";
    padding-left: 0px;
    padding-right: 15px;
    padding-bottom: 20px;
    padding-top: 4px;
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0em;
    text-align: left;
    color: #495c63;
}

/* ---------- Cartões de resumo (Recebidas / Disponíveis / Premiadas) ---------- */
#infoRsp .card {
    border-radius: 14px !important;
    background: linear-gradient(120deg, var(--jg-6fd73a, #6FD73A), var(--jg-2cb620, #2CB620));
    background-size: 160% 160%;
    border: none;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.28) 0px 8px 20px 0px;
    height: 100%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s var(--sic-ease), box-shadow 0.35s var(--sic-ease);
}

#infoRsp .card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: translateX(-160%) skewX(-20deg);
    pointer-events: none;
    z-index: 2;
}

#infoRsp .card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: rgba(var(--jg-rgb-2cb620, 44,182,32), 0.4) 0px 20px 40px 0px;
}

#infoRsp .card:hover::after {
    animation: sicShine 0.9s var(--sic-ease);
}

#infoRsp .card img {
    transition: transform 0.35s var(--sic-ease);
}
#infoRsp .card:hover img {
    transform: scale(1.12) rotate(-4deg);
}

/* Entrada em cascata ao carregar */
#infoRsp .row > [class*="col-"] {
    animation: sicPopIn 0.6s var(--sic-ease) both;
}
#infoRsp .row > [class*="col-"]:nth-child(1) { animation-delay: 0.05s; }
#infoRsp .row > [class*="col-"]:nth-child(2) { animation-delay: 0.16s; }
#infoRsp .row > [class*="col-"]:nth-child(3) { animation-delay: 0.27s; }

#infoRsp .media-body h3 {
    color: #fff;
    font-family: "Exo 2";
    font-weight: 800;
}

#infoRsp .media-body span {
    color: #fff;
}

/* ---------- Raspadinha ---------- */
.sc__container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.sc__wrapper {
    display: block;
    width: 100%;
    height: 300px;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 14px;
    /* moldura de brilho pulsante — apenas visual, não captura clique */
    animation: sicScratchGlow 2.6s ease-in-out infinite;
}

.sc__container {
    position: relative;
    overflow: hidden;
    height: 300px;
    max-width: 300px;
    border-radius: 14px;
}

.sc__container>img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

/* Botões de raspar / tentar novamente */
#raspar_tudo,
#nova_raspadinha {
    background: linear-gradient(90deg, var(--jg-6fd73a, #6FD73A), var(--jg-2cb620, #2CB620));
    border: none;
    font-family: "Exo 2";
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 26px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 10px 24px rgba(var(--jg-rgb-2cb620, 44,182,32), 0.32);
    transition: transform 0.28s var(--sic-ease), box-shadow 0.28s var(--sic-ease);
}
#raspar_tudo::after,
#nova_raspadinha::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-160%) skewX(-20deg);
    pointer-events: none;
    z-index: 2;
}
#raspar_tudo:hover,
#nova_raspadinha:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(var(--jg-rgb-2cb620, 44,182,32), 0.5);
}
#raspar_tudo:hover::after,
#nova_raspadinha:hover::after {
    animation: sicShine 0.9s var(--sic-ease);
}

/* ---------- Tabela de prêmios ---------- */
#raspinha #tabela table {
    white-space: nowrap;
}
#raspinha #tabela .table th {
    font-family: "Exo 2";
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 0px;
    color: var(--jg-146e37, #146e37);
    border-bottom: 1px solid var(--jg-3fa110, #3fa110) !important;
    border-top: none;
}
#raspinha #tabela .table tbody tr {
    transition: background-color 0.2s ease;
}
#raspinha #tabela .table tbody tr:hover {
    background-color: rgba(var(--jg-rgb-64c832, 100,200,50), 0.12);
}

/* Botão Imprimir prêmios */
#raspinha .btn-print-raspinhas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 20px;
    border: 2px solid var(--jg-2cb620, #2CB620);
    border-radius: 8px;
    background: #fff;
    color: var(--jg-0a7a00, #0A7A00);
    font-family: "Exo 2";
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease,
                transform 0.25s var(--sic-ease), box-shadow 0.25s ease;
}
#raspinha .btn-print-raspinhas i {
    color: inherit;
    font-size: 15px;
}
#raspinha .btn-print-raspinhas::after {
    content: "Imprimir meus prêmios";
}
#raspinha .btn-print-raspinhas:hover {
    background: var(--jg-2cb620, #2CB620);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--jg-rgb-2cb620, 44,182,32), 0.3);
}

@media only screen and (max-width: 767px) {
    #raspinha h1:nth-child(1),
    #raspinha .texto-menor {
        font-size: 30px;
        line-height: 33px;
    }
}
