/* Animação de Raspadinha - Sobre Mim */
.sobre-reveal-container {
    position: relative;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    min-height: 400px;
    overflow: visible;
    border-radius: 25px;
    margin: 60px 10px;
    padding: 6px;
    background: linear-gradient(135deg, 
        var(--card-background) 0%, 
        var(--card-background) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 0 80px rgba(37, 99, 235, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-reveal-container .inner-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: visible;
    border-radius: 19px;
    background: linear-gradient(135deg, 
        var(--card-background) 0%, 
        var(--card-background) 100%);
    box-shadow: inset 0 0 100px rgba(37, 99, 235, 0.05);
}

.sobre-reveal-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2),
                0 0 100px rgba(37, 99, 235, 0.15);
}

.sobre-reveal-container:hover .inner-container {
    box-shadow: inset 0 0 100px rgba(37, 99, 235, 0.08);
}

.sobre-reveal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color));
    z-index: -1;
    opacity: 0.6;
    animation: borderGlow 3s ease-in-out infinite;
    filter: blur(2px);
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.sobre-reveal-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: grab;
    pointer-events: none;
    touch-action: none;
    border-radius: 19px;
    overflow: hidden;
}

.sobre-reveal-canvas:active {
    cursor: grabbing;
}

.sobre-reveal-content {
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    pointer-events: none;
    user-select: none;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.02) 0%, 
        rgba(16, 185, 129, 0.02) 100%);
    border-radius: 21px;
    min-height: 400px;
}

.sobre-reveal-content p {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 1;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sobre-reveal-content p:last-child {
    margin-bottom: 0;
}

/* Botão de Ativação */
.scratch-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    padding: 18px 60px;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%,
        var(--accent-color) 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4),
                0 5px 15px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: visible;
    white-space: nowrap;
    animation: gradientShift 3s ease infinite, pulse 2s ease-in-out infinite;
    min-width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scratch-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s;
}

.scratch-button:hover::before {
    left: 100%;
}

.scratch-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.6),
                0 10px 25px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: none;
}

.scratch-button:active {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

.scratch-button::after {
    content: '🎫';
    margin-left: 10px;
    font-size: 1.5rem;
    display: inline-block;
    animation: ticketShake 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4),
                    0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 20px 50px rgba(37, 99, 235, 0.6),
                    0 10px 25px rgba(0, 0, 0, 0.3);
    }
}

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

/* Ajustes para tema claro e escuro */
[data-theme="dark"] .sobre-reveal-container {
    background: linear-gradient(135deg, 
        var(--card-background) 0%, 
        var(--card-background) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 3px rgba(96, 165, 250, 0.2),
                inset 0 0 100px rgba(96, 165, 250, 0.08);
}

[data-theme="dark"] .sobre-reveal-container::before {
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color));
    opacity: 0.8;
}

[data-theme="dark"] .sobre-reveal-content {
    background: linear-gradient(135deg, 
        rgba(96, 165, 250, 0.03) 0%, 
        rgba(52, 211, 153, 0.03) 100%);
}

[data-theme="dark"] .sobre-reveal-content p {
    color: var(--text-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsivo */
@media (max-width: 768px) {
    .sobre-reveal-container {
        min-height: 300px;
        margin: 40px 5px;
        padding: 4px;
        width: calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
    
    .sobre-reveal-container .inner-container {
        min-height: 300px;
        border-radius: 17px;
        overflow: visible;
    }
    
    .sobre-reveal-content {
        padding: 40px 20px;
        min-height: 300px;
        border-radius: 17px;
    }
    
    .sobre-reveal-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .sobre-reveal-canvas {
        border-radius: 17px;
    }
    
    .scratch-button {
        padding: 14px 40px;
        font-size: 0.95rem;
        letter-spacing: 1.5px;
        white-space: nowrap;
    }
    
    .scratch-button::after {
        font-size: 1.1rem;
        margin-left: 8px;
    }
}

