/* ==========================================================
   GO EVENTS - SCRATCH ENGINE PREMIUM V2
========================================================== */

.go-scratch-card{
    position:relative;
    width:min(100%,360px);
    height:230px;
    border-radius:28px;
    overflow:hidden;
    transform:rotate(-1deg);
    background:#fff;
    box-shadow:
        0 22px 45px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.65);
}

.go-scratch-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:
        radial-gradient(circle at 20% 10%,rgba(255,255,255,.75),transparent 24%),
        linear-gradient(135deg,#ffffff,#f0f0f0 45%,#d7d7d7);
}

.go-scratch-card::after{
    content:"";
    position:absolute;
    inset:-40%;
    z-index:5;
    background:linear-gradient(120deg,transparent 40%,rgba(255,255,255,.45),transparent 60%);
    animation:goScratchShine 4s infinite;
    pointer-events:none;
}

@keyframes goScratchShine{
    0%,55%{transform:translateX(-60%) rotate(10deg);}
    100%{transform:translateX(60%) rotate(10deg);}
}

.go-scratch-content{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:22px;
    text-align:center;
    color:#111;
}

.go-scratch-reward-icon{
    width:76px;
    height:76px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:10px;
    font-size:42px;
    background:
        radial-gradient(circle at 30% 20%,#fff,transparent 35%),
        linear-gradient(145deg,#ffe28a,#d4af37);
    box-shadow:0 12px 28px rgba(0,0,0,.20);
}

.go-scratch-reward-title{
    font-size:26px;
    font-weight:1000;
    color:#0f6b3f;
    text-transform:uppercase;
    line-height:1;
}

.go-scratch-reward-subtitle{
    margin-top:8px;
    font-size:13px;
    font-weight:800;
    color:#555;
    line-height:1.35;
}

.go-scratch-canvas{
    position:absolute;
    inset:0;
    z-index:10;
    width:100%;
    height:100%;
    touch-action:none;
    cursor:grab;
}

.go-scratch-canvas:active{
    cursor:grabbing;
}

.go-scratch-cover-label{
    position:absolute;
    inset:0;
    z-index:11;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
    font-size:24px;
    font-weight:1000;
    letter-spacing:1px;
    color:#333;
    text-shadow:0 1px 0 rgba(255,255,255,.8);
}

.go-scratch-card.is-started .go-scratch-cover-label{
    opacity:0;
    transition:.25s ease;
}

.go-scratch-card.is-complete{
    animation:goScratchComplete .55s ease-out;
}

@keyframes goScratchComplete{
    0%{transform:rotate(-1deg) scale(1);}
    40%{transform:rotate(1deg) scale(1.04);}
    100%{transform:rotate(0deg) scale(1);}
}

.go-scratch-hint{
    position:absolute;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);
    z-index:12;
    pointer-events:none;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(0,0,0,.45);
    color:#fff;
    font-size:11px;
    font-weight:900;
    letter-spacing:.8px;
}

.go-scratch-card.is-started .go-scratch-hint{
    opacity:0;
    transition:.25s ease;
}

.go-scratch-card.locked{
    opacity:.65;
    filter:grayscale(.5);
}

@media(max-width:480px){
    .go-scratch-card{
        width:min(94vw,350px);
        height:215px;
        border-radius:24px;
    }

    .go-scratch-reward-title{
        font-size:23px;
    }

    .go-scratch-cover-label{
        font-size:21px;
    }
}
/* Masquer le bouton "Grattez le ticket" */

.go-events-main-button{
    display:none !important;
}