/* ===== VARIÁVEIS E DARK MODE ===== */
:root {
    --ib-primary: #0d6efd;
    --ib-gradient: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    --ib-glass: rgba(255, 255, 255, 0.7);
    --ib-glass-border: rgba(255, 255, 255, 0.2);
    --ib-text: #212529;
    --ib-bg-alt: #f8f9fa;
}
.container-fluid {
    display: flex;
    flex-direction: column;
    align-items: center;
}


[data-bs-theme="dark"] .lead,
[data-bs-theme="dark"] li,
[data-bs-theme="dark"] .fw-bold
{
    color: #fff3cd;
}
[data-bs-theme="dark"] {
    --ib-glass: rgba(33, 37, 41, 0.7);
    --ib-glass-border: rgba(255, 255, 255, 0.1);
    --ib-text: #f8f9fa;
    --ib-bg-alt: #15171a;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    justify-content: center;
    width: 100%;
    display: flex;
    align-items: center;
    background: var(--ib-bg-alt);
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--ib-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: -200px;
    right: -100px;
}

.shape-2 {
    bottom: -200px;
    left: -100px;
    animation-delay: -3s;
}

.floating-logo {
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(13, 110, 253, 0.3));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ===== EFEITO VIDRO (GLASSMORPHISM) ===== */
.glass-card {
    background: var(--ib-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--ib-glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
}

/* ===== CUSTOM SELECT ===== */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.custom-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ib-glass);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border: 1px solid var(--ib-glass-border);
}

.dropdown-item-custom {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--ib-text);
}

.dropdown-item-custom:hover {
    background: rgba(13, 110, 253, 0.1);
}

/* ===== RANKING ===== */
.rank-badge {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #808080);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
}

.rank-4, .rank-5 {
    background: var(--ib-gradient);
}

.progress-bar-custom {
    height: 8px;
    border-radius: 4px;
    background: rgba(13, 110, 253, 0.1);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--ib-gradient);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* ===== PLANOS ===== */
.plan-highlight {
    border: 2px solid var(--ib-primary) !important;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.2);
}

/* ===== UTILITÁRIOS ===== */
.text-gradient {
    background: var(--ib-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.bi-glow {
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

/* Mobile adjustments */

@media (max-width: 575px) {
    .glass-card {
        justify-self: center;
        max-width: 400px;

    }
}

@media (max-width: 768px) {
    .hero-section{
        padding-left: 10px;
        padding-right: 10px;
    }
    .plan-highlight {
        transform: scale(1);
    }

    .hero-bg-shape {
        width: 300px;
        height: 300px;
    }
}
