[data-bs-theme=dark] {
    --bs-body-bg: #0b0e16;
    --bs-body-bg-rgb: 11, 14, 22;
    --bs-tertiary-bg: #0c0f18;
    --bs-tertiary-bg-rgb: 12, 15, 24;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background: #141928;
}

#app {
    flex-shrink: 0;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}

h1 {
    text-align: center;
}

.content {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.navbar .nav-item {
    margin-left: 0.7rem;
    margin-right: 0.7rem;
}

.navbar .navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
}

.home-background {
    position: relative;
    min-height: 100vh;
}

.home-background::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0, var(--bs-body-bg), rgba(0, 0, 0, 0.15) 80%);
}

.home-background .container {
    min-height: calc(100vh - 100px);
}

.shop-background {
    position: relative;
    min-height: 50vh;
}

.shop-background::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0, var(--bs-body-bg), rgba(0, 0, 0, 0.15) 80%);
}

.shop-background .container {
    min-height: calc(50vh - 50px);
}

.home-links .home-link {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: inline-block;
    font-size: 12px;
    transition: .3s;
}

.home-links .home-link:hover {
    transform: scale(1.15);
    border: 1px solid rgba(255, 255, 255, .8);
}

.home-section-information .element {
    height: 100%;
    padding: 3rem;
    text-align: center;
    background: rgba(0, 0, 0, .2);
    border-radius: 25px 0 25px 0;
}

.home-section-information .element i {
    font-size: 3rem;
}

.home-section-information .element h3 {
    font-size: 2rem;
    margin-top: .8rem;
    font-weight: 400;
}

.home-section-information .element p {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 200;
    color: #9fa1a5;
}

.color-inherit {
    color: inherit !important;
}

/* === HERO GRID 3 COLONNES === */
.hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    align-items: center;
    padding: 0 2rem;
    gap: 1.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 2rem 1rem;
    }
}

/* === CARTES SERVEUR === */
.server-card {
    position: relative;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: border-color .25s;
}

.server-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.server-card-glow {
    position: absolute;
    top: -30px; left: -30px;
    width: 120px; height: 120px;
    background: var(--glow-color, rgba(52, 211, 153, 0.12));
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
}

.server-icon-wrap {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.server-card-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255,255,255,.4);
    font-weight: 600;
}

.server-card-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.online-count {
    color: #34d399;
}

.ip-value {
    font-size: 1.1rem !important;
    font-family: monospace;
    color: #fff !important;
}

.ip-copy-btn {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: rgba(255,255,255,.5);
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}

.ip-copy-btn:hover {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.online-bar {
    height: 4px;
    background: rgba(255,255,255,.08);
    border-radius: 99px;
    overflow: hidden;
}

.online-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #34d399, #6ee7b7);
    border-radius: 99px;
    transition: width .8s ease;
}

/* === TOP VOTE PANEL === */
.top-vote-panel {
    width: 260px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 5rem;
}

.top-vote-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: .75rem;
}

.top-vote-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background .2s;
}

.top-vote-item:hover {
    background: rgba(255, 255, 255, 0.09);
}

.top-vote-badge {
    background: rgba(var(--bs-primary-rgb), 0.2);
    color: var(--bs-primary);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.3);
    font-size: .75rem;
    font-weight: 600;
}
