:root {
    --uv-bg: #06030a;
    --uv-surface: #0f081d;
    --uv-surface-raised: #160c2b;
    --uv-border: rgba(139, 92, 246, .25);
    --uv-text: #e2e8f0;
    --uv-muted: #94a3b8;
    --uv-violet: #6d28d9;
    --uv-violet-bright: #c4b5fd;
}

html {
    min-height: 100%;
    background: var(--uv-bg);
}

body {
    min-height: 100vh;
    color: var(--uv-text);
    background:
        radial-gradient(rgba(139, 92, 246, .12) 1px, transparent 1px) 0 0 / 28px 28px,
        radial-gradient(ellipse at 50% -18%, rgba(91, 33, 182, .22), transparent 42%),
        var(--uv-bg);
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a,
a:hover,
a:focus {
    color: var(--uv-violet-bright);
    text-decoration: none;
}

a:focus,
button:focus,
.form-control:focus {
    outline: 2px solid rgba(183, 160, 255, .65);
    outline-offset: 3px;
    box-shadow: none;
}

.container {
    max-width: 1160px;
}

/* Navigation */
.site-header {
    position: relative;
    z-index: 1030;
}

.v2-announcement {
    min-height: 36px;
    border-bottom: 1px solid rgba(91, 33, 182, .42);
    color: #ddd6fe;
    background: linear-gradient(90deg, rgba(26, 14, 48, .98), rgba(43, 22, 76, .98), rgba(26, 14, 48, .98));
    font-size: .68rem;
    font-weight: 700;
}

.announcement-content {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.announcement-status,
.announcement-links {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.announcement-status {
    color: #e9ddff;
    letter-spacing: .08em;
}

.announcement-status .status-dot {
    width: 6px;
    height: 6px;
}

.announcement-copy {
    color: #a99abb;
    font-weight: 500;
}

.announcement-links {
    color: #7d669f;
}

.announcement-links a {
    color: #c4b5fd;
}

.announcement-links a:hover {
    color: #fff;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 80px;
    padding: 0 1rem;
    overflow: visible;
    border-bottom: 1px solid rgba(91, 33, 182, .38);
    background: rgba(15, 8, 29, .82) !important;
    box-shadow: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-navbar > .container {
    max-width: 1280px;
}

.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--uv-text) !important;
    font-size: 1rem;
    font-weight: 900;
}

.brand-mark {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(167, 139, 250, .4);
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, #8b5cf6, #2e1065);
    box-shadow: 0 0 28px -5px rgba(139, 92, 246, .5);
    font-family: "Cinzel", serif;
    font-size: 1.45rem;
    font-weight: 900;
}

.brand-wordmark {
    color: #e9d5ff;
    font-family: "Cinzel", serif;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-shadow: 0 0 16px rgba(168, 85, 247, .32);
}

.brand-wordmark span {
    color: #a78bfa;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-caption {
    margin-top: 2px;
    color: rgba(196, 181, 253, .7);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-navbar .navbar-nav {
    align-items: center;
    gap: 4px;
    padding: 6px 0;
}

.site-navbar .nav-link {
    display: block;
    line-height: 1.35;
    margin: 0;
    padding: 9px 12px !important;
    border: 1px solid rgba(139, 92, 246, .22);
    border-radius: .75rem;
    color: #cbd5e1 !important;
    font-size: .75rem;
    font-weight: 700;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .navbar-active .nav-link {
    border-color: rgba(167, 139, 250, .65);
    color: #fff !important;
    background: rgba(109, 40, 217, .25);
}

.site-navbar .nav-item {
    overflow: visible;
}

.site-navbar .navbar-active .nav-link {
    border-color: transparent;
    color: #fff !important;
    background: linear-gradient(110deg, #7c3aed, #4f46e5);
    box-shadow: none;
}

.external-nav {
    margin-left: 6px;
}

.external-nav .nav-link {
    min-height: 44px;
    padding: 11px 16px !important;
    font-size: .85rem;
}

.external-nav .nav-link .glyphicon {
    margin-right: 6px;
    color: var(--uv-violet-bright);
    font-size: .95rem;
}

.external-nav .nav-item:first-child .nav-link,
.external-nav .nav-item:last-child .nav-link {
    border-color: transparent;
    color: #fff !important;
    background: linear-gradient(110deg, #7c3aed, #4f46e5);
    box-shadow: 0 8px 22px rgba(76, 29, 149, .3);
}

.external-nav .nav-item:first-child .nav-link:hover,
.external-nav .nav-item:last-child .nav-link:hover {
    background: linear-gradient(110deg, #8b5cf6, #6366f1);
}

.my-lg-0 {
    margin-left: auto;
}

.my-lg-0 .nav-link {
    color: #8d829f !important;
    font-size: .68rem;
}

.navbar-toggler {
    border-color: var(--uv-border);
}

.navbar-toggler:focus {
    outline: none;
}

/* Content and controls */
.litebans-header {
    display: block;
    position: relative;
    margin: 2rem 0 1.5rem;
    padding: 1.25rem 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, .28);
    border-radius: 18px;
    color: #fff;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(99, 57, 185, .2), transparent 45%),
        linear-gradient(120deg, rgba(15, 8, 29, .95), rgba(26, 14, 48, .82), rgba(15, 8, 29, .95));
    box-shadow: 0 16px 55px -38px rgba(139, 92, 246, .7);
    font-family: "Cinzel", serif;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 900;
    letter-spacing: .035em;
    text-align: left;
    text-shadow: 0 0 16px rgba(168, 85, 247, .22);
}

.col-lg-12 {
    text-align: left;
}

.litebans-check {
    margin-bottom: 1rem;
    text-align: left;
}

.litebans-check-form {
    margin-left: 0;
}

.form-control {
    min-height: 42px;
    border: 1px solid var(--uv-border);
    border-radius: 12px;
    color: #f1f5f9;
    background-color: #0b0713;
}

.form-control::placeholder {
    color: #777586;
}

.btn {
    border-radius: 9px;
    font-weight: 600;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border-color: #6d28d9;
    color: #fff;
    background: #6d28d9;
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: #7c3aed;
    color: #fff;
    background: #7c3aed;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .22);
    color: #eeedf4;
}

.btn-outline-light:hover {
    border-color: rgba(183, 160, 255, .5);
    color: #fff;
    background: rgba(154, 120, 255, .12);
}

/* Records table */
table.table {
    overflow: hidden;
    margin: 1.25rem 0;
    border: 1px solid var(--uv-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    color: #d7d5e0;
    background: var(--uv-surface);
}

.table thead th {
    padding: 14px 12px;
    border: 0;
    border-bottom: 1px solid var(--uv-border);
    color: #aaa7bb;
    background: #151724;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-align: center;
    text-transform: uppercase;
}

.table td {
    padding: 12px 10px;
    border: 0;
    border-bottom: 1px solid rgba(192, 184, 255, .07);
    color: #d7d5e0;
    text-align: center;
    vertical-align: middle !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, .018);
}

.table tbody tr {
    transition: background .16s ease;
}

.table tbody tr:hover {
    background: rgba(154, 120, 255, .09);
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table tbody td a {
    color: #ded8ff;
}

.avatar {
    margin: 0 5px 5px 0;
    border: 1px solid var(--uv-border);
    border-radius: 8px;
}

.avatar-name-left {
    display: flex;
    align-items: center;
}

.badge,
.badge-pill {
    border-radius: 999px;
    font-weight: 600;
}

.litebans-pager {
    color: var(--uv-violet-bright);
    font-size: 1.7rem;
}

.litebans-pager-number {
    margin-top: 20px;
    color: var(--uv-muted);
    font-size: .85rem;
    text-align: center;
}

.litebans-pager-inactive {
    visibility: hidden;
    pointer-events: none;
}

/* Home */
.home-shell {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.hero-panel {
    position: relative;
    display: flex;
    min-height: 430px;
    overflow: hidden;
    align-items: center;
    padding: clamp(2rem, 7vw, 5.5rem);
    border: 1px solid rgba(139, 92, 246, .34);
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 75% 15%, rgba(99, 57, 185, .28), transparent 42%),
        linear-gradient(120deg, rgba(15, 8, 29, .94), rgba(26, 14, 48, .8), rgba(15, 8, 29, .94));
    box-shadow: 0 22px 80px -45px rgba(139, 92, 246, .7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 1.5rem;
    color: #c4b5fd;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9b7aff;
    box-shadow: 0 0 12px rgba(155, 122, 255, .9);
}

.eyebrow-divider {
    color: #666377;
}

.litebans-index {
    text-align: left;
}

.litebans-index-main h1 {
    max-width: 620px;
    margin: 0 0 1rem;
    color: #fff;
    font-family: "Cinzel", serif;
    font-size: clamp(2.4rem, 5.6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: 1.06;
}

.litebans-index-main h1 span {
    color: #c4b5fd;
    background: linear-gradient(90deg, #a78bfa, #c4b5fd, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.litebans-index-sub p {
    max-width: 480px;
    margin: 0;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 2rem;
}

.hero-actions .btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 0 17px;
}

.hero-art {
    position: absolute;
    top: 50%;
    right: 8%;
    width: 285px;
    height: 285px;
    transform: translateY(-50%);
}

.hero-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(183, 160, 255, .17);
    border-radius: 50%;
}

.hero-orbit-outer {
    transform: rotate(-24deg) scaleX(.78);
}

.hero-orbit-inner {
    inset: 24px;
    border-color: rgba(183, 160, 255, .11);
    transform: rotate(38deg) scaleX(.78);
}

.hero-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 126px;
    height: 126px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(192, 132, 252, .4);
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(145deg, rgba(139, 92, 246, .95), rgba(46, 16, 101, .96));
    box-shadow: 0 0 80px rgba(139, 92, 246, .36), inset 0 1px rgba(255, 255, 255, .28);
    font-size: 4.6rem;
    font-weight: 700;
    letter-spacing: -.1em;
    transform: translate(-50%, -50%) rotate(-8deg);
}

.hero-emblem span {
    color: #d8ccff;
}

.home-caption {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 1.5rem 0 0 5px;
    color: #757284;
    font-size: .82rem;
}

.caption-line {
    width: 24px;
    height: 1px;
    background: var(--uv-violet);
}

/* Status labels */
.litebans-label-info {
    margin-left: 10px;
    font-size: .9rem;
    font-weight: 700;
}

.litebans-label-inactive,
.litebans-label-expired,
.litebans-label-active,
.litebans-label-permanent,
.litebans-label-ipban,
.litebans-label-ipmute,
.litebans-label-ban,
.litebans-label-mute,
.litebans-label-warn,
.litebans-label-kick {
    border-radius: 999px;
    color: #fff;
}

.litebans-label-inactive { background-color: #ad7830; }
.litebans-label-expired { background-color: #5b5b69; }
.litebans-label-active,
.litebans-label-permanent,
.litebans-label-ipban,
.litebans-label-ipmute,
.litebans-label-ban { background-color: #bd4d65; }
.litebans-label-mute { background-color: #62617a; }
.litebans-label-warn { background-color: #ba7837; }
.litebans-label-kick { background-color: #a85e49; }

.noalign-w { width: 0; }
.noalign-h { height: 0; }

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        padding: 10px 0 15px;
        overflow: visible;
        border-top: 1px solid var(--uv-border);
        background: rgba(15, 8, 29, .96);
    }

    .site-navbar .navbar-nav {
        align-items: stretch;
        padding: 0;
    }

    .external-nav {
        margin: 8px 0 0;
        padding: 8px 0 0;
        border-top: 1px solid var(--uv-border);
    }

    .site-navbar .nav-link {
        margin: 2px 0;
    }

    .my-lg-0 {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .site-navbar {
        min-height: 72px;
    }

    .home-shell {
        padding-top: 1.25rem;
    }

    .hero-panel {
        min-height: 390px;
        padding: 2rem 1.5rem;
        border-radius: 18px;
    }

    .hero-art {
        top: auto;
        right: -80px;
        bottom: -82px;
        width: 220px;
        height: 220px;
        opacity: .48;
        transform: none;
    }

    .hero-emblem {
        width: 96px;
        height: 96px;
        border-radius: 26px;
        font-size: 3.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-eyebrow {
        font-size: .62rem;
        letter-spacing: .1em;
    }

    .announcement-content {
        gap: 8px;
        font-size: .6rem;
    }

    .announcement-copy {
        display: none;
    }

    .brand-wordmark {
        font-size: .88rem;
    }

    .brand-caption {
        font-size: .52rem;
    }

    .litebans-index-main h1 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }

    table.table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
