/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #330066 25%, #660099 50%, #990099 75%, #cc0066 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

/* Animação de fundo com luzes de neon */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    animation: neonPulse 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes neonPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    padding: 20px 0;
}

.logo h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: bold;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.hero {
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.headline {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Subheadline */

.subheadline {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Scratch Card */
.scratch-card-container {
    margin: 40px 0;
    perspective: 1000px;
}

.scratch-card {
    width: 300px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(5deg); }
}

.card-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    border-radius: 15px;
    border: 3px solid #FF1493;
    box-shadow: 
        0 0 20px rgba(255, 212, 0, 0.5),
        0 0 40px rgba(255, 20, 147, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.card-front::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: cardShine 2s linear infinite;
}

@keyframes cardShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: #8B0000;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scratch-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

.prize-symbols {
    display: flex;
    gap: 20px;
    font-size: 2rem;
    animation: symbolsPulse 2s ease-in-out infinite alternate;
}

@keyframes symbolsPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.card-footer {
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    color: #8B0000;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.cta-container {
    margin: 50px 0;
}

.cta-button {
    display: inline-block;
    position: relative;
    padding: 20px 60px;
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: #FFFFFF;
    background: linear-gradient(135deg, #28a745 0%, #20c997 50%, #28a745 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 10px 30px rgba(40, 167, 69, 0.4),
        0 0 20px rgba(40, 167, 69, 0.6),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(40, 167, 69, 0.6),
        0 0 30px rgba(40, 167, 69, 0.8),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

.button-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 50px;
    animation: buttonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes buttonGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.button-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    animation: sparkleAnimation 2s linear infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 1.4s;
}

@keyframes sparkleAnimation {
    0%, 100% { 
        opacity: 0;
        transform: scale(0);
    }
    50% { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 100px;
    max-width: 120px;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    animation: featureIconBounce 2s ease-in-out infinite;
}

@keyframes featureIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.feature span:last-child {
    color: #FFD700;
    font-weight: 600;
    text-align: center;
    font-size: 0.8rem;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-content {
    text-align: center;
}

.age-disclaimer {
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    color: #FFD700;
    text-align: center;
}

.age-disclaimer strong {
    color: #FF6B6B;
}

.security-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 100px;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.security-item img {
    width: 40px;
    height: 40px;
}

.security-item span {
    font-size: 0.8rem;
    color: #B0B0B0;
    text-align: center;
}

.legal-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.legal-link {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #FF1493;
    text-decoration: underline;
}

.separator {
    margin: 0 5px; /* Reduzir margem do separador */
    color: #666;
}

.copyright {
    margin-top: 20px;
    color: #888;
    font-size: 0.8rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .headline {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .subheadline {
        font-size: 1.2rem;
    }
    
    .scratch-card {
        width: 250px;
        height: 170px;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 1.5rem;
    }
    
    .features {
        gap: 15px;
        justify-content: center;
    }
    
    .feature {
        padding: 12px 8px;
        min-width: 90px;
        max-width: 100px;
    }
    
    .security-icons {
        flex-direction: row; /* Forçar horizontal */
        justify-content: center;
        gap: 10px; /* Ajustar gap para mobile */
    }
    
    .security-item {
        width: 80px; /* Garantir que caiba 3 em linha */
        padding: 8px; /* Ajustar padding */
    }
    
    .security-item img {
        width: 25px; /* Ajustar tamanho do ícone */
        height: 25px; /* Ajustar tamanho do ícone */
    }
    
    .security-item span {
        font-size: 0.65rem; /* Ajustar tamanho da fonte */
    }
    
    .legal-links {
        flex-direction: row; /* Forçar horizontal */
        justify-content: center;
        gap: 6px; /* Ajustar gap para mobile menor */
    }
    
    .legal-link {
        font-size: 0.7rem; /* Ajustar tamanho da fonte */
    }
    
    .separator {
        display: inline; /* Mostrar separador */
        margin: 0 3px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.4rem;
    }
    
    .scratch-card {
        width: 200px;
        height: 140px;
    }
    
    .card-title, .card-footer {
        font-size: 0.9rem;
    }
    
    .prize-symbols {
        font-size: 1.5rem;
        gap: 10px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1.2rem;
    }
    
    .features {
        gap: 10px;
        justify-content: center;
        flex-direction: row;
    }
    
    .feature {
        padding: 10px 6px;
        min-width: 80px;
        max-width: 90px;
    }
    
    .feature-icon {
        font-size: 1.2rem;
    }
    
    .feature span:last-child {
        font-size: 0.7rem;
    }
    
    .security-icons {
        flex-direction: row; /* Manter horizontal */
        justify-content: center;
        gap: 8px; /* Ajustar gap para mobile menor */
    }
    
    .security-item {
        width: 70px; /* Ajustar para telas menores */
        padding: 6px; /* Ajustar padding */
    }
    
    .security-item span {
        font-size: 0.6rem; /* Ajustar tamanho da fonte */
    }
    
    .legal-links {
        flex-direction: row; /* Manter horizontal */
        justify-content: center;
        gap: 6px; /* Ajustar gap para mobile menor */
    }
    
    .legal-link {
        font-size: 0.7rem; /* Ajustar tamanho da fonte */
    }
    
    .separator {
        display: inline; /* Mostrar separador */
        margin: 0 3px;
    }
}

