/* ===== RESET & VARIÁVEIS GLOBAIS ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-night: #0c1a2e;
    --bg-dawn: #1a3a5c;
    --bg-deep: #080e1a;
    --panel: #101826;
    --panel-border: #274363;
    --text: #f2f8ff;
    --muted: #9eb4cb;
    --accent: #ffbe5c;
    --accent-glow: #ffd98e;
    --action: #39d98a;
    --action-hover: #25b971;
    --danger: #ff6f6f;
    --purple: #a78bfa;
    --blue: #60a5fa;
    --cyan: #22d3ee;
    --font-display: 'Segoe UI', 'Century Gothic', 'Trebuchet MS', sans-serif;
    --font-mono: 'Consolas', 'Monaco', 'Fira Code', monospace;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.25);
    --shadow-strong: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(255, 190, 92, 0.15);
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-display);
    background: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
}

/* ===== ANIMAÇÕES ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

/* ===== BOTÕES BASE ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

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

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--action), #2bba70);
    color: #062114;
    box-shadow: 0 4px 20px rgba(57, 217, 138, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(57, 217, 138, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #f0a030);
    color: #1a0e00;
    box-shadow: 0 4px 20px rgba(255, 190, 92, 0.3);
}

.btn-accent:hover {
    box-shadow: 0 6px 30px rgba(255, 190, 92, 0.5);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}
