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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Cabeçalho */
.header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(50px) translateY(50px); }
}

.title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.description {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.age-warning {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.age-warning p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
}

/* Conteúdo Principal */
.main-content {
    padding: 2rem 1.5rem;
}

.step {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.step.hidden {
    display: none;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.4;
}

/* Botões */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #ea4335 0%, #d33b2c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.6);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Mensagens */
.message {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    color: #2d3436;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.hidden {
    display: none;
}

/* Seção de Bônus */
.bonus-section {
    margin: 2rem 0;
}

.bonus-card {
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(136, 216, 163, 0.3);
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    border-radius: 16px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

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

.bonus-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.bonus-text {
    font-size: 1rem;
    color: #2d3436;
    font-weight: 500;
}

.bonus-text strong {
    color: #e17055;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Rodapé */
.footer {
    background: #f8f9fa;
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.disclaimer {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
    font-style: italic;
}

/* Responsividade para tablets */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .description {
        font-size: 1.2rem;
    }
    
    .step-title {
        font-size: 1.6rem;
    }
    
    .button-group {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Responsividade para desktop */
@media (min-width: 1024px) {
    .container {
        max-width: 700px;
    }
    
    .header {
        padding: 3rem 2rem;
    }
    
    .main-content {
        padding: 3rem 2rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .description {
        font-size: 1.3rem;
    }
    
    .footer {
        padding: 3rem 2rem;
    }
    
    .responsible-gaming {
        padding: 2rem;
    }
}

/* Animações de entrada */
.step.active {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de foco para acessibilidade - atualizado */
.btn:focus {
    outline: 3px solid rgba(66, 133, 244, 0.5);
    outline-offset: 2px;
}

.btn-secondary:focus {
    outline: 3px solid rgba(234, 67, 53, 0.5);
}

/* Melhorias para touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* Disclaimer Box */
.disclaimer-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #f39c12;
    text-align: center;
}

.disclaimer-box p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

/* Bonus Disclaimer */
.bonus-disclaimer {
    margin-top: 0.5rem;
    color: #2d3436;
    opacity: 0.8;
}

/* Rodapé Expandido */
.footer {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    text-align: left;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.responsible-gaming {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #28a745;
}

.responsible-gaming h4 {
    color: #155724;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.responsible-gaming p {
    color: #155724;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.legal-info {
    text-align: center;
}

.legal-info .disclaimer {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.legal-info .terms {
    margin: 0;
}

.legal-info .terms small {
    color: #6c757d;
    line-height: 1.3;
}

.legal-info a {
    color: #007bff;
    text-decoration: none;
}

.legal-info a:hover {
    text-decoration: underline;
}

/* Estados de foco para acessibilidade - atualizado */
.btn:focus {
    outline: 3px solid rgba(66, 133, 244, 0.5);
    outline-offset: 2px;
}

.btn-secondary:focus {
    outline: 3px solid rgba(234, 67, 53, 0.5);
}

