* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #030303;
    color: white;
    font-family: "Inter", sans-serif;
}


/* =========================
   SEÇÃO PRINCIPAL
========================= */

.royal-scratch {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 70px 6%;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 50%,
            rgba(255, 20, 147, 0.07),
            transparent 35%
        ),
        #030303;
}


/* =========================
   LUZES DE FUNDO
========================= */

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
}

.glow-left {
    width: 350px;
    height: 350px;

    background: rgba(255, 20, 147, 0.08);

    left: -180px;
    top: 35%;
}

.glow-right {
    width: 450px;
    height: 450px;

    background: rgba(255, 20, 147, 0.07);

    right: -200px;
    bottom: -100px;
}


/* =========================
   CONTAINER
========================= */

.scratch-container {
    width: 100%;
    max-width: 1450px;

    margin: auto;

    position: relative;
    z-index: 2;
}


/* =========================
   TÍTULO SUPERIOR
========================= */

.scratch-top {
    text-align: center;
    margin-bottom: 65px;
}

.scratch-top span {
    color: #777;

    font-size: 11px;
    letter-spacing: 7px;
}

.scratch-top h1 {
    font-family: "Sedgwick Ave Display", cursive;

    font-size: clamp(45px, 5vw, 75px);

    margin-top: 10px;

    font-weight: 400;
}

.scratch-top p {
    color: #777;

    margin-top: 8px;

    font-size: 13px;

    letter-spacing: 4px;
    text-transform: uppercase;
}


/* =========================
   CONTEÚDO
========================= */

.scratch-content {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: center;

    max-width: 1250px;
    margin: auto;
}


/* =========================
   TEXTO
========================= */

.mini-title {
    display: block;

    color: #ff1493;

    letter-spacing: 5px;

    font-size: 13px;

    margin-bottom: 25px;
}

.scratch-info h2 {
    font-family: "Sedgwick Ave Display", cursive;

    font-size: clamp(48px, 5vw, 78px);

    line-height: 0.95;

    font-weight: 400;
}

.scratch-info h2 strong {
    display: block;

    color: #ff1493;

    font-weight: 400;

    margin-top: 8px;
}

.description {
    color: #aaa;

    max-width: 430px;

    line-height: 1.7;

    font-size: 16px;

    margin-top: 35px;
}


/* =========================
   BENEFÍCIOS
========================= */

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    margin-top: 45px;
}

.benefit {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    text-align: center;

    gap: 10px;
}
.benefit-icon {
    color: #ff1493;

    font-size: 32px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit span {
    color: #ddd;

    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 1.5px;

    min-height: 32px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    text-align: center;
}


/* =========================
   ÁREA DO CARTÃO
========================= */

.scratch-area {
    width: 100%;
}

.scratch-card {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    max-height: 500px;

    overflow: hidden;

    border-radius: 24px;

    border: 1px solid #ff1493;

    background: #090909;

    box-shadow:
        0 0 15px rgba(255, 20, 147, 0.3),
        0 0 55px rgba(255, 20, 147, 0.12);
}


/* =========================
   PRÊMIO
========================= */

.prize {
    position: absolute;
    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        radial-gradient(
            circle,
            #181818,
            #050505 70%
        );
}

.prize-small {
    color: #888;

    letter-spacing: 5px;

    font-size: 10px;
}

.prize h3 {
    color: #ff1493;

    font-family: "Sedgwick Ave Display", cursive;

    font-size: clamp(55px, 7vw, 100px);

    font-weight: 400;

    margin: 5px 0;
}

.prize p {
    color: #777;

    font-size: 10px;

    letter-spacing: 4px;
}


/* =========================
   CUPOM
========================= */

.coupon {
    margin-top: 15px;

    padding: 10px 25px;

    border: 1px dashed #555;

    letter-spacing: 5px;

    font-size: 14px;
}

#copyButton {
    margin-top: 20px;

    background: #ff1493;

    border: none;

    color: white;

    padding: 12px 28px;

    cursor: pointer;

    font-weight: 700;

    letter-spacing: 2px;

    font-size: 10px;

    transition: 0.3s;
}

#copyButton:hover {
    background: white;
    color: black;
}

#copyMessage {
    height: 18px;

    margin-top: 10px;

    color: #888;

    font-size: 10px;

    letter-spacing: 2px;
}


/* =========================
   CANVAS
========================= */

#scratchCanvas {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    cursor: crosshair;

    touch-action: none;
}


/* =========================
   INSTRUÇÃO
========================= */

.scratch-instruction {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 13px;

    margin-top: 23px;

    color: #777;

    font-size: 10px;

    letter-spacing: 4px;
}

.finger {
    font-size: 24px;
}


/* =========================
   CELULAR
========================= */

@media (max-width: 850px) {

    .royal-scratch {
        padding: 65px 25px;
    }

    .scratch-top {
        margin-bottom: 45px;
    }

    .scratch-top p {
        letter-spacing: 2px;
        line-height: 1.7;
    }

    .scratch-content {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .scratch-info {
        text-align: center;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .benefits {
        justify-content: center;

        gap: 25px;
    }

    .benefit {
        align-items: center;
    }

    .scratch-card {
        border-radius: 17px;
    }

    .scratch-instruction {
        letter-spacing: 2px;
        font-size: 9px;
    }
}