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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #333333;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Overlay do popup */
.age-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

/* Popup principal */
.age-popup {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.4s ease-out;
}

.popup-content {
    padding: 40px 32px;
    text-align: center;
}

/* Logo */
.logo-container {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Título */
.popup-title {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Texto explicativo */
.popup-text {
    font-size: 16px;
    color: #666666;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Botão de confirmação */
.age-button {
    background: linear-gradient(135deg, #00aff0 0%, #008ccf 100%);
    color: #ffffff;
    border: 1px solid #008ccf;
    border-radius: 24px;
    padding: 16px 34px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 175, 240, 0.28);
    margin-bottom: 32px;
}

.age-button:hover {
    background: linear-gradient(135deg, #22c3ff 0%, #009adb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 175, 240, 0.4);
}

.age-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(0, 175, 240, 0.3);
}

.age-button:focus-visible {
    outline: 3px solid rgba(0, 175, 240, 0.6);
    outline-offset: 2px;
}

/* Links informativos */
.popup-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.popup-link {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    cursor: pointer;
}

.popup-link:hover {
    color: #00aff0;
    text-decoration: underline;
}

.separator {
    color: #999999;
    font-size: 14px;
}

/* Conteúdo principal (oculto inicialmente) */
.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.main-content.hidden {
    display: none;
}

.content-wrapper {
    max-width: 600px;
}

.content-wrapper h1 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-wrapper p {
    color: #cccccc;
    font-size: 18px;
    line-height: 1.6;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .popup-content {
        padding: 32px 24px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-text {
        font-size: 15px;
    }
    
    .age-button {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .logo {
        max-width: 100px;
    }
    
    .popup-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 28px 20px;
    }
    
    .popup-title {
        font-size: 22px;
    }
    
    .popup-text {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .age-button {
        padding: 12px 20px;
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .age-popup {
        width: 95%;
        margin: 10px;
    }
    
    .content-wrapper h1 {
        font-size: 28px;
    }
    
    .content-wrapper p {
        font-size: 16px;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .age-popup-overlay,
    .age-popup {
        animation: none;
    }
    
    .age-button {
        transition: none;
    }
}

/* Estados de foco para acessibilidade */
.age-button:focus,
.popup-link:focus {
    outline: 2px solid #00aff0;
    outline-offset: 2px;
}

/* Scroll suave para o popup em telas pequenas */
.age-popup {
    scroll-behavior: smooth;
}
