/* =================================================================
   INTERACTIVE SCRATCH CARD STYLES (REFINED ELEGANCE)
   ================================================================= */

.scratch-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 1.2rem auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(107, 29, 47, 0.12);
    background: linear-gradient(135deg, #fffdfb 0%, #fcf4f5 100%);
    border: 1.5px solid var(--rose-champagne);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scratch-card-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(107, 29, 47, 0.2);
}

.scratch-secret-content {
    position: relative;
    padding: 1.5rem 1.2rem;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #fffdfb 0%, #fcf4f5 100%);
    border-radius: 14px;
    z-index: 1;
}

.scratch-secret-content .secret-icon {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    animation: pulseHeart 1.8s infinite ease-in-out;
}

.scratch-secret-content .secret-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-rose-noir);
    line-height: 1.4;
}

.scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: grab;
    touch-action: none;
    border-radius: 14px;
    transition: opacity 0.6s ease-out;
}

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

.scratch-instruction {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-burgundy);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.scratch-instruction i {
    color: var(--primary-burgundy);
    animation: wiggle 1.2s infinite ease-in-out;
}

.scratch-card-wrapper.scratched .scratch-instruction {
    opacity: 0;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-12deg); }
    75% { transform: rotate(12deg); }
}
