/* ========================================
   SISTEMA DE DESIGN MODERNO
   ======================================== */

:root {
    /* Cores Primárias - Gradiente Roxo/Rosa */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #8b9aef;
    
    /* Cores Secundárias */
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --secondary-color: #f093fb;
    
    /* Cores de Sucesso */
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-color: #4facfe;
    
    /* Cores Neutras */
    --dark-bg: #1a1d29;
    --dark-card: #252936;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    
    /* Sombras Modernas */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.3);
    
    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* ========================================
   RESET E BASE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #858585 0%, #000000 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   NAVBAR MODERNA
   ======================================== */

.navbar {
    background: rgba(26, 29, 41, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.navbar-brand i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::before {
    width: 80%;
}

/* ========================================
   CARDS MODERNOS
   ======================================== */

.card {
    background: #fff;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    background: var(--primary-gradient) !important;
    color: #fff !important;
    border: none !important;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.card-body {
    padding: 2rem;
}

/* Cards com ícones */
.card .fa-3x {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.card:hover .fa-3x {
    transform: scale(1.1) rotate(5deg);
}

/* ========================================
   BOTÕES MODERNOS
   ======================================== */

.btn {
    border-radius: var(--radius-md);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.btn-primary {
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-success {
    background: var(--success-gradient);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========================================
   FORMULÁRIOS MODERNOS
   ======================================== */

.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.input-group {
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.input-group .btn {
    border-radius: 0;
}

/* ========================================
   ALERTAS MODERNOS
   ======================================== */

.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    border-left: 4px solid;
}

.alert-success {
    background: linear-gradient(135deg, #d4f4dd 0%, #c3f0d3 100%);
    border-left-color: #28a745;
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #ffe0e0 0%, #ffd0d0 100%);
    border-left-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-left-color: #ffc107;
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left-color: #17a2b8;
    color: #0c5460;
}

/* ========================================
   TABELAS MODERNAS
   ======================================== */

.table {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table thead th {
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    padding: 1rem;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.01);
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

/* ========================================
   BADGES MODERNOS
   ======================================== */

.badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.badge.bg-success {
    background: var(--success-gradient) !important;
}

.badge.bg-primary {
    background: var(--primary-gradient) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb700 100%) !important;
}

/* ========================================
   QR CODE E PAGAMENTO
   ======================================== */

.qrcode-container {
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.qrcode-container:hover {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.qrcode-container img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.pix-instructions {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.countdown {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   FOOTER MODERNO
   ======================================== */

footer {
    background: var(--dark-bg) !important;
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: var(--primary-gradient);
    color: #fff;
    padding: 4rem 0;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   LISTA DE FEATURES
   ======================================== */

.list-group-item {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.5rem;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    background: #fff;
}

.list-group-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.list-group-item i {
    margin-right: 0.75rem;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
}

/* ========================================
   UTILIDADES
   ======================================== */

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient) !important;
}

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

.rounded-modern {
    border-radius: var(--radius-lg);
}


/* ========================================
   CORES MODERNAS ATUALIZADAS
   ======================================== */

:root {
    /* Cores Primárias - Gradiente Azul/Roxo Moderno */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #8b9aef;
    
    /* Cores Secundárias - Rosa/Coral */
    --secondary-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    --secondary-color: #ff6b6b;
    
    /* Cores de Sucesso - Verde Moderno */
    --success-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    --success-color: #00d2ff;
    
    /* Cores Neutras Modernas */
    --dark-bg: #0f1419;
    --dark-card: #1a1f2e;
    --dark-lighter: #252936;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --surface: #ffffff;
    
    /* Cores de Acento */
    --accent-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --warning-gradient: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
    
    /* Sombras Modernas */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.3);
    --shadow-colored: 0 8px 32px rgba(102, 126, 234, 0.2);
}

/* ========================================
   SIDEBAR MODERNA
   ======================================== */

.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--dark-bg);
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header h5 {
    margin: 0;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-close-sidebar {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-close-sidebar:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sidebar-content {
    padding: 1rem 0;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    flex: 1;
    padding: 0 1rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.1;
    transition: left 0.3s ease;
    z-index: -1;
}

.sidebar-link:hover::before {
    left: 0;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar-link.active {
    background: var(--primary-gradient);
    box-shadow: var(--shadow-colored);
}

.sidebar-link i {
    width: 20px;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-promo {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-promo h6 {
    margin-bottom: 0.5rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-promo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1040;
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.sidebar-open {
    overflow: hidden;
}

/* ========================================
   FOOTER MODERNO
   ======================================== */

.modern-footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-content {
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand h4 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--dark-card);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact .contact-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.footer-bottom {
    background: var(--dark-card);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.payment-icon {
    font-size: 1.5rem;
    color: var(--success-color);
    margin-right: 0.5rem;
}

.payment-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* ========================================
   RESPONSIVIDADE SIDEBAR E FOOTER
   ======================================== */

@media (max-width: 768px) {
    .sidebar {
        width: 280px;
        left: -280px;
    }
    
    .sidebar-toggle {
        top: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }
    
    .footer-content {
        padding: 2rem 0 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .payment-methods {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* ========================================
   MELHORIAS GERAIS COM CORES MODERNAS
   ======================================== */

/* Hero Section com cores atualizadas */
.hero-section {
    background: var(--primary-gradient);
    box-shadow: var(--shadow-xl);
}

/* Cards com cores modernas */
.card .fa-4x {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botões com cores atualizadas */
.btn-success {
    background: var(--success-gradient);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
}

/* Badges com cores modernas */
.badge.bg-warning {
    background: var(--warning-gradient) !important;
}

/* Alertas com cores atualizadas */
.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: var(--success-color);
    color: #0d47a1;
}

/* Navbar com melhor contraste */
.navbar {
    background: rgba(15, 20, 25, 0.95) !important;
}

/* Efeitos de hover melhorados */
.card:hover {
    box-shadow: var(--shadow-colored);
}

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

/* ========================================
   GALERIA DE IMAGENS INTERATIVA
   ======================================== */

.image-gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.image-gallery-item .ratio {
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-gallery-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-gallery-item:hover .image-overlay i {
    transform: scale(1);
}

/* ========================================
   MELHORIAS NA SIDEBAR
   ======================================== */

.sidebar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-toggle {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.sidebar-toggle:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: var(--primary-gradient);
}

.sidebar-link {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.sidebar-link span {
    transition: all 0.3s ease;
}

.sidebar-link:hover span {
    letter-spacing: 0.05em;
}

.sidebar-promo {
    background: linear-gradient(135deg, var(--dark-card) 0%, rgba(102, 126, 234, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.sidebar-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Sidebar responsiva aprimorada */
@media (min-width: 1200px) {
    .sidebar {
        width: 350px;
        left: -350px;
    }
    
    .sidebar.active {
        left: 0;
    }
}

/* ========================================
   PLAYER DE VÍDEO CUSTOMIZADO
   ======================================== */

video {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

video:hover {
    box-shadow: var(--shadow-lg);
}

.ratio video {
    object-fit: cover;
}

/* Controles customizados para vídeo */
video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

video::-webkit-media-controls-play-button {
    background: var(--primary-gradient);
    border-radius: 50%;
}

/* ========================================
   MODAL DE IMAGEM APRIMORADO
   ======================================== */

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.modal-body img {
    border-radius: var(--radius-md);
    max-height: 70vh;
    object-fit: contain;
}

/* ========================================
   ANIMAÇÕES APRIMORADAS
   ======================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Animação de entrada da sidebar */
.sidebar.active {
    animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ========================================
   MELHORIAS DE PERFORMANCE
   ======================================== */

.sidebar,
.sidebar-overlay,
.image-overlay {
    will-change: transform, opacity;
}

.card,
.btn,
.sidebar-link {
    will-change: transform;
}

/* ========================================
   EFEITOS VISUAIS ADICIONAIS
   ======================================== */

.card-header {
    position: relative;
    overflow: hidden;
}

.card-header::after {
    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 ease;
}

.card:hover .card-header::after {
    left: 100%;
}

/* Botões com efeito ripple */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* ========================================
   INDICADORES DE STATUS
   ======================================== */

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 0 4px 4px 0;
}

/* Badge de notificação */
.sidebar-link {
    position: relative;
}

.sidebar-link[data-badge]::after {
    content: attr(data-badge);
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--secondary-gradient);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   MELHORIAS DE ACESSIBILIDADE
   ======================================== */

.sidebar-toggle:focus,
.btn-close-sidebar:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sidebar-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: -2px;
}

/* Redução de movimento para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
