*{
    box-sizing: border-box;
    outline: none;
}

:root{
    --primary-color: #e6d200;
    --secondary-color: #e6d200;
    --tertiary-color: #b1a306;
    
    --bg-color: #13151b;
    --support-color: #13151b;
    --text-color: #e6d200;
    --white-color: #ffffff;
    
    /* Novas variáveis para modernização */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(135deg, #13151b 0%, #1a1d26 100%);
    --gradient-card: linear-gradient(145deg, rgba(67, 238, 93, 0.05) 0%, rgba(37, 157, 55, 0.02) 100%);
    --shadow-glow: 0 0 8px rgba(0, 222, 147, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --border-glow: 1px solid rgba(0, 222, 147, 0.3);
}

html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    display: flex;
    padding-top: 6rem;
    flex-direction: column;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--gradient-dark);
    color: var(--white-color);
    width: 100%;
    max-width: 100vw;
}

/* Ajuste para mobile com menu inferior */
@media (max-width: 768px) {
    body {
        padding-bottom: 5rem;
        overflow-x: hidden;
        width: 100%;
    }
    
    html {
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
    }
    
    header {
        width: 100vw;
        max-width: 100vw;
        left: 0;
        right: 0;
    }
    
    .w-full {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #backdrop {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/assets/img/dark-fundo.png?id=123');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.8; 
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(19, 21, 27, 0.9) 0%, rgba(26, 29, 38, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Efeitos de partículas flutuantes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color); }
}

/* Cards modernos */
.modern-card {
    background: rgba(19, 21, 27, 0.8);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: none;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: none;
}

/* Botões modernos */
.btn-modern {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--primary-color);
}

.btn-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 222, 147, 0.15);
}

.btn-modern::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-modern:hover::before {
    left: 100%;
}

/* Gradientes de texto */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(19, 21, 27, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Efeitos de hover modernos - REMOVIDO */
/* .hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px var(--primary-color);
} */

/* Glow effects */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 8px rgba(0, 222, 147, 0.2);
}

/* Loading spinner moderno */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notificações modernizadas */
.notiflix-notify-success {
    background: var(--gradient-primary) !important;
    color: white !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-glow) !important;
    border: none !important;
}

.notiflix-notify-info {
    background: var(--gradient-secondary) !important;
    color: white !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-glow) !important;
    border: none !important;
}

.notiflix-notify-failure {
    background: linear-gradient(135deg, #ff4757 0%, #c0392b 100%) !important;
    color: white !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.3) !important;
    border: none !important;
}

.notiflix-notify {
    top: 83px !important;
    z-index: 9999 !important;
    position: fixed !important;
    max-width: 90vw !important; 
    width: 300px !important;
    right: 16px !important;
    left: auto !important;
    border-radius: 12px !important;
    overflow-wrap: break-word;
    box-sizing: border-box;
    backdrop-filter: blur(10px) !important;
}

#NotiflixNotifyWrap .notiflix-notify {
    background-clip: padding-box !important;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .modern-card {
        border-radius: 12px;
        margin: 8px;
    }
    
    .btn-modern {
        padding: 10px 20px;
        font-size: 13px;
    }
}


/* Sombras modernas */
.shadow-rox{
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(67, 238, 93, 0.1);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Gradientes de fundo */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-dark {
    background: var(--gradient-dark);
}

.bg-gradient-card {
    background: var(--gradient-card);
}

/* Bordas com glow */
.border-glow {
    border: var(--border-glow);
}

/* Efeitos de texto */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animações de carregamento */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}
