/* ============================================
   BASE STYLES - Aurora Link-in-Bio
   Arquivo: base.css
   Descrição: Variáveis CSS, reset e estilos base
   ============================================ */

/* === VARIÁVEIS CSS === */
:root {
    /* Cores */
    --color-bg: #000000;
    --color-card: rgba(42, 42, 42, 0.95);
    --color-card-hover: rgba(51, 51, 51, 0.98);
    --color-text: #ffffff;
    --color-muted: #999999;
    --color-telegram: #0088cc;
    --color-vip: #fbbf24;
    
    /* Tipografia */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Espaçamento */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    
    /* Transições */
    --transition: 0.2s ease;
}

/* === RESET === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* === BODY & BACKGROUND === */
body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    background-image:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.85) 300px,
            #000000 430px
        ),
        url('../assets/img/banner1.png');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--color-text);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Safe area para dispositivos com notch */
@supports (padding: env(safe-area-inset-top)) {
    body {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }
}

/* === ELEMENTOS BASE === */
a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* === CONTAINER PRINCIPAL === */
.container {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

/* === OVERLAY DE PROTEÇÃO === */
.protection-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.protection-overlay.active {
    display: flex;
}

.protection-content {
    text-align: center;
    padding: var(--space-xl);
}

.protection-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--color-vip);
}

.protection-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

/* === ACESSIBILIDADE === */
*:focus-visible {
    outline: 2px solid var(--color-vip);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
