﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

h1.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.text-crimson {
    color: #ff2b6a;
    font-weight: 600;
}

.btn-primary {
    color: #fff;
    background-color: crimson;
    border-color: crimson;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: crimson;
    border-color: crimson;
}

.zDownload {
    color: crimson;
    font-weight: bold;
}

html {
    font-size: 16px;
}

.no-click {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

    .no-click img {
        pointer-events: none;
    }

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem #000000;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    position: relative;
    min-height: 100%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("/rotating_sigil.webp") center/300px repeat;
    opacity: 0.035;
    pointer-events: none;
    z-index: -1;
}

body {
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.relative {
    position: relative;
}

.float-right {
    float: right;
}

.ipdb {
    width: 240px;
}

:root {
    /*========== Colors ==========*/
    /* Change favorite color */
    --hue-color: 230;
    /* HSL color mode */
    --primary-color: hsl(var(--hue-color), 69%, 61%);
    --primary-color-second: hsl(var(--hue-color), 69%, 61%);
    --primary-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --header-height: 3rem;
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
    /* HSL color mode */
    --primary-color-second: hsl(var(--hue-color), 30%, 8%);
    --text-color: hsl(var(--hue-color), 8%, 75%);
    --input-color: hsl(var(--hue-color), 29%, 16%);
    --body-color: hsl(var(--hue-color), 28%, 12%);
}

.checkbox {
    display: none;
}

.switch {
    background-color: #111;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    position: relative;
    height: 26px;
    width: 50px;
    /* Scale the size to your need */
    transform: scale(0.7);
}

    .switch .ball {
        background-color: #fff;
        border-radius: 50%;
        position: absolute;
        top: 2px;
        left: 2px;
        height: 22px;
        width: 22px;
        transform: translateX(0px);
        transition: transform 0.2s linear;
    }

.checkbox:checked + .switch .ball {
    transform: translateX(24px);
}

.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #f39c12;
}

.fa-blood {
    color: #8a0303;
}

.togglerBorder {
    border-color: #8a0303;
}

.navbar-toggler-naruto {
    background-image: url(../Naruto.svg);
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.charactureImage {
    display: inline-block;
    width: 20em;
    height: auto;
    vertical-align: middle;
    margin: 1em 0;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

@media only screen and (max-width: 475px) {
    .hideObjectOnMobile {
        display: none;
    }
}

@media only screen and (max-width: 992px) {
    .hideObjectSmallScreen {
        display: none;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .gladiatorImage {
        background-image: url(../Banner-Logo.png);
        margin-left: 12%;
        margin-right: 12%;
        width: 23em;
        height: 10em;
        vertical-align: middle;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .gladiatorImage {
        background-image: url(../Banner-Logo.png);
        margin-left: 12%;
        margin-right: 12%;
        width: 35em;
        height: 17em;
        vertical-align: middle;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .gladiatorImage {
        background-image: url(../Banner-Logo.png);
        margin-left: 12%;
        margin-right: 12%;
        width: 42em;
        height: 20em;
        vertical-align: middle;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .gladiatorImage {
        background-image: url(../Banner-Logo.png);
        margin-left: 12%;
        margin-right: 12%;
        width: 57em;
        height: 27em;
        vertical-align: middle;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .gladiatorImage {
        background-image: url(../Banner-Logo.png);
        margin-left: 12%;
        margin-right: 12%;
        width: 68em;
        height: 30em;
        vertical-align: middle;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
}

.fixedHeader {
    overflow: auto; /* allows horizontal + vertical scroll */
    height: 50em;
    scroll-behavior: smooth;
    scrollbar-width: auto; /* auto = thicker than thin */
    scrollbar-color: #8b1e2d #e9eaee; /* thumb | track */
}

    .fixedHeader:hover {
        scrollbar-color: #5a0f1a #e9eaee;
    }

    .fixedHeader thead tr th {
        background-color: #D3D4D9;
        position: sticky !important;
        top: 0em !important;
    }

        /* Sticky first column */
        .fixedHeader thead tr th:first-child,
        .fixedHeader tbody tr td:first-child {
            position: sticky;
            left: 0;
        }

    /* Proper stacking so header stays above */
    .fixedHeader thead tr th {
        z-index: 3;
    }

        .fixedHeader thead tr th:first-child {
            z-index: 5;
            background-color: #D3D4D9; /* match header */
        }

    /* Body first column */
    .fixedHeader tbody tr td:first-child {
        z-index: 2;
        background-color: #ffffff; /* prevent transparency overlap */
        box-shadow: 1px 0 0 rgba(0, 0, 0, 0.08); /* subtle divider */
        min-width: 220px; /* tweak to taste */
    }

    /* ===== Scrollbar Styling ===== */

    /* WebKit (Chrome, Edge, Safari) */
    .fixedHeader::-webkit-scrollbar {
        width: 14px;
        height: 12px;
    }

    .fixedHeader::-webkit-scrollbar-track {
        background: #e9eaee;
        border-radius: 8px;
    }

    .fixedHeader::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #8b1e2d, #6f1421);
        border-radius: 8px;
        border: 8px solid #e9eaee;
    }

        .fixedHeader::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #6f1421, #4d0c16);
        }

table {
    border-collapse: collapse;
    width: 100%;
}

tr:nth-child(even) {
    background-color: #ADD8E6;
}

tr:nth-child(odd) {
    background-color: #D9EAD3;
}

tr:hover {
    background-color: #f5f5f5;
}

/* Zolian class strip (Peasant/Berserker/Defender/...) */
/* neutral grey by default, fade to red on hover/active */

.page-wrapper .navbar.navbar-expand-sm.navbar-dark .nav-link .nav-link-title h3 {
    color: #6c757d; /* neutral grey */
    margin: 0;
    transition: color 0.2s ease;
}

.page-wrapper .navbar.navbar-expand-sm.navbar-dark .nav-link:hover .nav-link-title h3,
.page-wrapper .navbar.navbar-expand-sm.navbar-dark .nav-link:focus .nav-link-title h3 {
    color: crimson; /* hover/active red */
}

/* ==========================================
   Zolian Page — Interactive Portal Styling
   ========================================== */

.zolian-card {
    background: rgba(248, 248, 255, 0.85);
    backdrop-filter: blur(8px);
}

.zolian-glass {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
}

.zolian-shadow {
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.zolian-pill {
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.08);
    font-weight: 600;
    border-radius: 999px;
    padding: .35rem .7rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

    .zolian-pill .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #22c55e;
        box-shadow: 0 0 12px rgba(34,197,94,.65);
    }

    .zolian-pill .dot--online {
        background: #22c55e;
        box-shadow: 0 0 12px rgba(34,197,94,.65);
    }

    .zolian-pill .dot--offline {
        background: #ef4444;
        box-shadow: 0 0 12px rgba(239,68,68,.65);
    }

.zolian-cta {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.10);
    background: rgba(255,255,255,0.85);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    transition: transform .15s ease, box-shadow .15s ease;
    overflow: visible;
}

    .zolian-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 55px rgba(0,0,0,0.18);
    }

.zolian-cta__bubble {
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    padding: 1.25rem 1.5rem;
    /* Crimson pulse */
    box-shadow: 0 0 0 1px rgba(179, 18, 49, 0.14), 0 0 16px rgba(179, 18, 49, 0.12);
    animation: zolianInnerPulse 3.2s ease-in-out infinite;
    transition: box-shadow .2s ease, animation-duration .2s ease;
}

@keyframes zolianInnerPulse {
    0%, 100% {
        box-shadow: 0 0 0 1px rgba(179, 18, 49, 0.14), 0 0 16px rgba(179, 18, 49, 0.12);
    }

    50% {
        box-shadow: 0 0 0 1px rgba(179, 18, 49, 0.32), 0 0 28px rgba(179, 18, 49, 0.22), 0 0 60px rgba(179, 18, 49, 0.16);
    }
}

.zolian-cta:hover .zolian-cta__bubble {
    animation-duration: 2.2s;
    box-shadow: 0 0 0 1px rgba(179, 18, 49, 0.38), 0 0 34px rgba(179, 18, 49, 0.26), 0 0 72px rgba(179, 18, 49, 0.18);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .zolian-cta__bubble {
        animation: none;
    }
}

.gameplay-shot {
    border-radius: 16px;
    box-shadow: 0 16px 55px rgba(0,0,0,.18);
    cursor: crosshair;
    transition: transform .15s ease, box-shadow .15s ease;

    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.icon-Zolian {
    cursor: crosshair;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.zolian-hero-title {
    font-weight: 400;
    font-size: 2.6rem;
    letter-spacing: .6px;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: #b31231;
    text-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 0 12px rgba(179,18,49,0.55), 0 0 28px rgba(179,18,49,0.35), 0 0 65px rgba(179,18,49,0.25);
    animation: zolianHeroPulse 4s ease-in-out infinite;
}

@media (max-width: 768px) {
    .zolian-hero-title {
        font-size: 1.8rem;
    }
}

@keyframes zolianHeroPulse {
    0%, 100% {
        text-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 0 10px rgba(179,18,49,0.45), 0 0 22px rgba(179,18,49,0.28), 0 0 50px rgba(179,18,49,0.18);
    }

    50% {
        text-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 0 16px rgba(179,18,49,0.65), 0 0 40px rgba(179,18,49,0.45), 0 0 85px rgba(179,18,49,0.30);
    }
}

.zolian-subtitle {
    font-size: .95rem;
}

.zolian-icon {
    width: 26px;
    height: 26px;
}

.zolian-embed {
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.zolian-discord-embed {
    width: 100%;
    max-width: 420px;
    height: 260px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.btn-primary.btn-lg {
    padding: .75rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.25);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .btn-primary.btn-lg:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 40px rgba(220, 20, 60, 0.35);
    }

.zolian-pill-set {
    margin-top: 1rem;
}

/* --- Zolian pill tones (highlights) --- */

.zolian-tag {
    padding: .4rem .85rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .2px;
    background: linear-gradient(145deg, #f8f8f8, #ececec);
    border: 1px solid rgba(0,0,0,0.08);
    color: #333;
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease;
    cursor: default;
}

    .zolian-tag:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0,0,0,.14);
        background: linear-gradient(145deg, #ffffff, #e6e6e6);
    }

/* Core “hero” tone: brand crimson */
.zolian-tag--hero {
    background: linear-gradient(145deg, #fff5f6, #ffe8ec);
    border-color: rgba(220, 20, 60, 0.6);
    color: #7f1d1d;
    box-shadow: 0 10px 28px rgba(220, 20, 60, 0.18);
}

    .zolian-tag--hero:hover {
        border-color: rgba(220, 20, 60, 0.65);
        box-shadow: 0 14px 34px rgba(220, 20, 60, 0.18);
    }

/* Tactical / competitive tone: cool steel */
.zolian-tag--tactical {
    background: linear-gradient(145deg, #f3f8ff, #e7f1ff);
    border-color: rgba(37, 99, 235, 0.45);
    color: #1e3a8a;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.14);
}

    .zolian-tag--tactical:hover {
        background: linear-gradient(145deg, #e6f0ff, #d9e9ff);
        border-color: rgba(37, 99, 235, 0.75);
        box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
    }

/* Lore / mystic tone: arcane purple */
.zolian-tag--lore {
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.45);
    background: linear-gradient( 135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.08) );
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.15);
}

    .zolian-tag--lore:hover {
        border-color: rgba(138, 43, 226, 0.60);
        box-shadow: 0 14px 34px rgba(138, 43, 226, 0.16);
    }

/* Progression / grind tone: “gold” (loot / rewards vibe) */
.zolian-tag--grind {
    background: linear-gradient(145deg, #fff8e1, #ffefc2);
    border-color: rgba(202, 138, 4, 0.55);
    color: #92400e;
    box-shadow: 0 8px 22px rgba(202, 138, 4, 0.16);
}

    .zolian-tag--grind:hover {
        background: linear-gradient(145deg, #ffefc2, #ffe9ad);
        border-color: rgba(202, 138, 4, 0.8);
        box-shadow: 0 14px 34px rgba(202, 138, 4, 0.25);
    }

/* Systems / AI tone: emerald/tech */
.zolian-tag--systems {
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.45);
    background: linear-gradient( 135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.08) );
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.15);
}

    .zolian-tag--systems:hover {
        border-color: rgba(34, 197, 94, 0.70);
        box-shadow: 0 14px 34px rgba(34, 197, 94, 0.16);
    }

/* ==========================================
   Tools Page
   ========================================== */

.tools-list {
    display: grid;
    gap: .65rem;
}

.tools-link {
    display: block;
    padding: .55rem .75rem;
    border-radius: 12px;
    text-decoration: none;
    color: #0b3d91;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.55);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .tools-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.10);
        border-color: rgba(220, 20, 60, 0.30);
    }

.tools-by {
    color: #111;
    font-weight: 700;
}

.tools-section-title {
    font-weight: 700;
    color: #111;
    margin-bottom: .5rem;
}

.tools-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 1rem 0;
}

.tools-list--legacy .tools-link {
    color: darkred;
    border-color: rgba(220, 20, 60, 0.22);
}

.tools-link--legacy {
    color: #8a1c1c;
    opacity: .85;
}

    .tools-link--legacy:hover {
        opacity: 1;
        transform: translateX(3px);
    }

.tools-legacy {
    border-left: 4px solid rgba(220, 53, 69, 0.4);
}

.section-purple h2 {
    color: #6b46c1;
}

.section-yellow h2 {
    color: #b7791f;
}

.section-blue h2 {
    color: #2563eb;
}

.section-green h2 {
    color: #15803d;
}

.section-purple {
    border-top: 3px solid rgba(107,70,193,.35);
}

.section-yellow {
    border-top: 3px solid rgba(183,121,31,.35);
}

.section-blue {
    border-top: 3px solid rgba(37,99,235,.35);
}

.section-green {
    border-top: 3px solid rgba(21,128,61,.35);
}

/* ==========================================
   Archive Page
   ========================================== */
.archive-notice {
    border-left: 4px solid rgba(220, 53, 69, 0.35);
}

.archive-section p {
    line-height: 1.45;
}

/* Responsive grid of versions */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 992px) {
    .archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 475px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

.archive-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.6);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .archive-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 35px rgba(0,0,0,0.10);
    }

.archive-ver {
    font-weight: 700;
    color: #111;
    letter-spacing: .2px;
}

.archive-meta {
    font-size: .9rem;
    opacity: .7;
}

.archive-item--latest {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
    box-shadow: 0 0 0 1px rgba(25,135,84,.15), 0 12px 30px rgba(25,135,84,.12);
}

    .archive-item--latest .archive-meta {
        color: #22c55e;
        font-weight: 700;
    }

/* ==========================================
   Private Servers Page
   ========================================== */

.server-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.server-link {
    display: block;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all .2s ease;
}

    .server-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

.server-link--official {
    display: block;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.35); /* soft blue */
    background: rgba(59, 130, 246, 0.06);
    transition: all 0.2s ease;
}

    .server-link--official:hover {
        border-color: rgba(59, 130, 246, 0.65);
        background: rgba(59, 130, 246, 0.12);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
    }

.server-link--disabled {
    opacity: .6;
    cursor: default;
}

.official-servers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

    .official-servers .server-link--official {
        display: block;
    }

@media (max-width: 768px) {
    .official-servers {
        grid-template-columns: 1fr;
    }
}

.server-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #111;
}

.server-meta {
    font-size: .9rem;
    color: #666;
    margin-top: 4px;
}

/* Tags */
.server-tag {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}

.tag-slate {
    background: rgba(100, 116, 139, .12);
    color: #64748b;
}

.tag-purple {
    background: rgba(111, 66, 193, .12);
    color: #6f42c1;
}

.tag-indigo {
    background: rgba(99, 102, 241, .12);
    color: #6366f1;
}

.tag-blue {
    background: rgba(13, 110, 253, .12);
    color: #0d6efd;
}

.tag-sql {
    background: rgba(0, 82, 204, 0.12);
    color: #0052cc;
}

.tag-teal {
    background: rgba(14, 165, 164, 0.14);
    color: #0ea5a4;
}

.tag-green {
    background: rgba(25, 135, 84, .12);
    color: #198754;
}

.tag-orange {
    background: rgba(232, 137, 44, 0.12);
    color: #e8892c;
}

.tag-red {
    background: rgba(220, 53, 69, .12);
    color: #dc3545;
}

.tag-rose {
    background: rgba(244, 63, 94, .12);
    color: #f43f5e;
}

/* ---------- Navbar dropdown polish (Zolian | DarkAges) ---------- */

.dropdown-menu-zolian {
    min-width: 320px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(18, 24, 33, 0.92); /* dark glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.dropdown-header-zolian {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    padding: 8px 10px 6px 10px;
    margin: 0;
}

.dropdown-divider-zolian {
    margin: 10px 6px;
    border-top-color: rgba(255,255,255,0.10);
    opacity: 1;
}

.dropdown-menu-zolian .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 10px 12px;
    color: rgba(255,255,255,.88);
    transition: background-color .15s ease, transform .15s ease, color .15s ease;
}

    .dropdown-menu-zolian .dropdown-item:hover,
    .dropdown-menu-zolian .dropdown-item:focus {
        background: rgba(220, 20, 60, 0.18); /* crimson glow */
        color: #fff;
        transform: translateY(-1px);
    }

    .dropdown-menu-zolian .dropdown-item.active,
    .dropdown-menu-zolian .dropdown-item:active {
        background: rgba(220, 20, 60, 0.25);
        color: #fff;
    }

.dropdown-menu-zolian .dropdown-item-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,.85);
}

.dropdown-menu-zolian .dropdown-item:hover .dropdown-item-icon,
.dropdown-menu-zolian .dropdown-item:focus .dropdown-item-icon {
    background: rgba(220, 20, 60, 0.22);
    border-color: rgba(220, 20, 60, 0.28);
    color: #fff;
}

/* Slightly tighter on mobile */
@media (max-width: 576px) {
    .dropdown-menu-zolian {
        min-width: 260px;
    }
}

/* ==========================================
   Zolian Data Pages — Header + Tabs
   ========================================== */

/* Card + glass */
.zolian-card {
    background: rgba(248, 248, 255, 0.85);
    backdrop-filter: blur(8px);
}

.zolian-glass {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
}

/* Header emblem */
.zolian-emblem {
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* Tabs wrapper (scrollable on smaller screens) */
.zolian-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    position: relative;
}

.zolian-tabs-fade {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(248, 248, 255, 0.95), rgba(248, 248, 255, 0));
}

/* Tabs themselves */
.zolian-tabs {
    flex-wrap: nowrap; /* keep in one row + allow horizontal scroll */
    border-bottom: 1px solid rgba(0,0,0,0.06);
    gap: .35rem;
}

    .zolian-tabs .nav-link {
        opacity: 1 !important;
        white-space: nowrap;
        color: #334155 !important; /* slate-700 */
        background: rgba(255,255,255,0.88) !important;
        border: 1px solid rgba(0,0,0,0.10) !important;
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
        padding: .75rem 1.05rem;
        font-weight: 600;
        text-shadow: 0 1px 0 rgba(255,255,255,0.55);
        transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease, color .15s ease;
    }

        .zolian-tabs .nav-link i {
            opacity: 1 !important;
            color: inherit !important;
        }

        /* Hover/focus */
        .zolian-tabs .nav-link:hover,
        .zolian-tabs .nav-link:focus {
            color: #111827 !important; /* near-black */
            background: rgba(255,255,255,0.96) !important;
            border-color: rgba(220, 20, 60, 0.28) !important;
            transform: translateY(-1px);
            box-shadow: 0 10px 24px rgba(0,0,0,0.08);
        }

        /* Active */
        .zolian-tabs .nav-link.active,
        .zolian-tabs .nav-item.show .nav-link {
            color: #7a0a1a !important;
            background: rgba(220, 20, 60, 0.14) !important;
            border-color: rgba(220, 20, 60, 0.32) !important;
            box-shadow: 0 12px 26px rgba(220, 20, 60, 0.12);
        }

/* Make scroll hint disappear on large screens */
@media (min-width: 992px) {
    .zolian-tabs-fade {
        display: none;
    }
}

/* =========================
   Zolian: "inner" tabs (the ones inside .card-tabs)
   Applies to all pages with card-tabs (Peasant/Berserker/etc.)
   Does NOT affect the top .zolian-tabs nav.
   ========================= */

.card-tabs > .nav.nav-tabs {
    border-bottom: 0; /* remove bootstrap underline */
    gap: .35rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .25rem;
    margin: 0 0 .75rem 0;
    border-radius: 12px;
    background: rgba(255,255,255,.65);
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #8b1e2d #e9eaee;
}

    /* Tab buttons */
    .card-tabs > .nav.nav-tabs .nav-link {
        border: 1px solid rgba(0,0,0,.08);
        border-radius: 10px;
        padding: .45rem .75rem;
        color: #4b5563;
        background: rgba(255,255,255,.85);
        transition: background-color .15s ease, border-color .15s ease, color .15s ease;
        white-space: nowrap;
        margin: 0; /* kill bootstrap offsets */
    }

        /* Hover */
        .card-tabs > .nav.nav-tabs .nav-link:hover {
            border-color: rgba(139,30,45,.30);
            color: #1f2937;
        }

        /* Active */
        .card-tabs > .nav.nav-tabs .nav-link.active {
            background: rgba(139,30,45,.10);
            border-color: rgba(139,30,45,.40);
            color: #8b1e2d;
            font-weight: 600;
        }

.card-tabs .tab-content {
    margin-top: .25rem;
}

/* Remove "card" chrome inside tab panes */
.card-tabs .tab-pane.card {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* =========================
   WoW Styling on tooltip
   ========================= */

/* Ensure the pill row never clips tooltips and has a stable stacking base */
.zolian-pill-set {
    position: relative;
    z-index: 0;
    overflow: visible;
}

/* Host wraps each pill + tooltip */
.zolian-tooltip-host {
    position: relative;
    display: inline-flex;
    align-items: center;
    /* Key: isolates stacking so neighbors don't momentarily paint above */
    isolation: isolate;
    /* Baseline */
    z-index: 0;
}

    /* Raise the hovered / keyboard-focused host above siblings */
    .zolian-tooltip-host:hover,
    .zolian-tooltip-host:focus-visible {
        z-index: 50;
    }

/* Tooltip base */
.zolian-tooltip.wow-tooltip {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    /* tooltip is always above its host */
    z-index: 60;
    min-width: 280px;
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 14px;
    color: #e9eef7;
    font-size: 0.95rem;
    line-height: 1.3;
    /* Glass base */
    background: radial-gradient(circle at 22% 14%, rgba(255,255,255,0.10), transparent 55%), linear-gradient(145deg, rgba(14, 18, 30, 0.72), rgba(8, 10, 18, 0.66));
    border: 1px solid rgba(255,255,255,0.10);
    /* Base shadow */
    box-shadow: 0 16px 44px rgba(0,0,0,0.42);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    /* Hidden by default */
    opacity: 0;
    transform: translateY(-4px) scale(0.985);
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease;
    will-change: transform, opacity;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    /* Default rarity glow var */
    --rarity-glow: rgba(255,255,255,0.00);
}

/* Show ONLY on hover OR keyboard focus */
.zolian-tooltip-host:hover .zolian-tooltip,
.zolian-tooltip-host:focus-visible .zolian-tooltip {
    opacity: 1;
    transform: translateY(0);
    animation: wowTooltipPop .16s ease-out both;
    box-shadow: 0 0 0 1px var(--rarity-glow), 0 0 22px var(--rarity-glow), 0 18px 55px rgba(0,0,0,0.55);
}

/* Pop animation */
@keyframes wowTooltipPop {
    0% {
        transform: translateY(-4px) scale(0.985);
    }

    70% {
        transform: translateY(0) scale(1.01);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/* Arrow */
.zolian-tooltip.wow-tooltip::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 18px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    background: rgba(10, 12, 18, 0.86);
    border-left: 1px solid rgba(255,255,255,0.10);
    border-top: 1px solid rgba(255,255,255,0.10);
    box-shadow: -6px -6px 18px rgba(0,0,0,0.18);
}

/* Inner glow + vignette + highlight bloom */
.zolian-tooltip.wow-tooltip::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
    /* inner edge glow */
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.10), transparent 45%),
    /* vignette */
    radial-gradient(circle at 50% 55%, transparent 35%, rgba(0,0,0,0.28) 78%, rgba(0,0,0,0.38) 100%),
    /* bloom */
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.08), transparent 55%);
}

/* Typography */
.wow-name {
    display: block;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
    margin-bottom: 2px;
}

.wow-sub {
    display: block;
    opacity: 0.85;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.wow-line {
    display: block;
    opacity: 0.92;
    margin: 2px 0;
}

.wow-stat {
    display: block;
    color: #58e38a;
    margin: 2px 0;
}

.wow-spacer {
    display: block;
    height: 8px;
}

.wow-flavor {
    display: block;
    color: #a6b2c7;
    font-style: italic;
    opacity: 0.95;
}

/* =========================
   Rarity: colors + glow vars
   ========================= */

/* Name color by rarity */
.rarity-rare .wow-name {
    color: #0070dd;
    text-shadow: 0 0 10px rgba(0,112,221,0.25);
}

.rarity-epic .wow-name {
    color: #a335ee;
    text-shadow: 0 0 10px rgba(163,53,238,0.25);
}

.rarity-legendary .wow-name {
    color: #ff8000;
    text-shadow: 0 0 10px rgba(255,128,0,0.25);
}

.rarity-mythic .wow-name {
    color: #ff2b6a; /* Crimson-magenta */
    text-shadow: 0 0 8px rgba(255,43,106,0.55), 0 0 18px rgba(255,43,106,0.25);
}

/* Rarity glow vars (drives tooltip container glow) */
.rarity-rare {
    --rarity-glow: rgba(0,112,221,0.26);
}

.rarity-epic {
    --rarity-glow: rgba(163,53,238,0.26);
}

.rarity-legendary {
    --rarity-glow: rgba(255,128,0,0.28);
}

.rarity-mythic {
    --rarity-glow: rgba(255,43,106,0.40);
}
