/* Prime Online – site theme
   Visual layer only: all widgets, pages and texts come from the theme views.
   Loaded after Bootstrap 4 (app.css); replaces the old main.css. */

:root {
    --bg: #0a0e11;
    --bg-2: #0d1317;
    --surface: #111a1f;
    --surface-2: #162229;
    --surface-3: #1c2b33;
    --border: #1f2e36;
    --border-2: #2c4049;
    --gold: #d4a24c;
    --gold-hi: #ecc574;
    --gold-lo: #9c7331;
    --teal: #45c4b9;
    --text: #e2ded5;
    --muted: #8e9ea3;
    --dim: #5f6f75;
    --green: #5ec77a;
    --red: #e0605a;
    --heading: "Cinzel", Georgia, serif;
    --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

/* ------------------------------------------------------------------ base */
html { color-scheme: dark; }

body.prime {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
}

.prime h1, .prime h2, .prime h3, .prime h4, .prime h5 {
    font-family: var(--heading);
    font-weight: 700;
    color: var(--gold-hi);
    letter-spacing: .02em;
}
.prime h6 { color: var(--muted); }
.prime p { margin-bottom: .5rem; }
.prime a { color: var(--gold-hi); text-decoration: none; }
.prime a:hover { color: #fff; }
.prime li { list-style: none; }
.prime hr { border-color: var(--border); }
.prime label { color: var(--text); }
.prime .text-muted, .prime .text-body { color: var(--muted) !important; }
.prime .text-primary { color: var(--gold-hi) !important; }
.prime .text-secondary { color: var(--teal) !important; }
.prime .bg-transparent { background-color: transparent !important; }
.prime ::selection { background: var(--gold); color: #0a0e11; }

/* ---------------------------------------------------------------- navbar */
.prime .silk-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0 28px;
    background: rgba(9, 13, 16, .97);
    border-bottom: 1px solid var(--border);
}
.prime .silk-navbar .nav-shell { min-height: 70px; padding: 0; }
.prime .silk-navbar .navbar-brand { margin: 0 36px 0 0; padding: 0; }
.prime .silk-navbar .navbar-brand img { height: 46px; width: auto; }

.prime .silk-navbar .navbar-nav { align-items: center; }
.prime .nav-actions { margin-left: auto; gap: 8px; }
.prime .nav-brand-center { display: none; }

@media (min-width: 1200px) {
    .prime .nav-brand-mobile { display: none; }
    .prime .nav-split { display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
    .prime .nav-left { justify-content: flex-end; }
    .prime .silk-navbar .nav-brand-center { display: block; margin: 0 26px; }
    .prime .nav-right-group { display: flex; align-items: center; min-width: 0; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .prime .silk-navbar .nav-link { padding-left: 10px !important; padding-right: 10px !important; }
    .prime .silk-navbar .nav-link.active::before { left: 10px; right: 10px; }
    .prime .silk-navbar .nav-brand-center { margin: 0 18px; }
    .prime .silk-navbar { padding: 0 18px; }
}
.prime .silk-navbar .nav-item { margin: 0; }
.prime .silk-navbar .nav-link {
    position: relative;
    padding: 24px 14px !important;
    color: #c5ccce !important;
    font-size: 15px;
    font-weight: 600;
    transition: color .15s ease;
}
.prime .silk-navbar .nav-link:hover { color: #fff !important; }
.prime .silk-navbar .nav-link.active { color: #fff !important; }
.prime .silk-navbar .nav-link.active::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 2px;
    background: var(--gold);
}
.prime .silk-navbar .dropdown-toggle::after { margin-left: 6px; vertical-align: .15em; opacity: .55; }
.prime .nav-actions .nav-link { padding: 8px 10px !important; font-size: 14px; color: var(--muted) !important; }

.prime .dropdown-menu {
    margin-top: 0;
    padding: 6px 0;
    min-width: 210px;
    background: #0f171b;
    border: 1px solid var(--border-2);
    border-radius: 3px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .5);
}
.prime .dropdown-item { padding: 8px 16px; color: #cfd6d5; font-size: 14px; }
.prime .dropdown-item img { margin-right: 6px; }
.prime .dropdown-item:hover, .prime .dropdown-item:focus { background: var(--surface-2); color: #fff; }
.prime .dropdown-item.active, .prime .dropdown-item:active { background: var(--surface-2); color: var(--gold-hi); }
.prime .dropdown-divider { border-color: var(--border); }

.prime .oldsro-currency-block { padding: 6px 16px; }
.prime .oldsro-currency-title { margin-bottom: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.prime .oldsro-currency-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.prime .oldsro-currency-label { color: #cfd6d5; }
.prime .oldsro-currency-val { color: var(--gold-hi); font-weight: 700; }

.prime .navbar-toggler { border: 1px solid var(--border-2); border-radius: 3px; padding: 6px 10px; }

/* ------------------------------------------------------------- buttons */
.prime .btn {
    border-radius: 3px;
    font-weight: 600;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.prime .btn:focus, .prime .btn.focus { box-shadow: 0 0 0 3px rgba(212, 162, 76, .25); }

.prime .btn-login-silk,
.prime .btn-register-silk {
    padding: 7px 18px !important;
    font-size: 14px;
    background-image: none !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}
.prime .btn-login-silk { color: var(--text) !important; background: transparent !important; border: 1px solid var(--border-2) !important; margin-right: 0 !important; }
.prime .btn-login-silk:hover { color: #fff !important; border-color: var(--gold) !important; }
.prime .btn-register-silk { color: #0a0e11 !important; background: var(--gold) !important; border: 1px solid var(--gold) !important; }
.prime .btn-register-silk:hover { background: var(--gold-hi) !important; border-color: var(--gold-hi) !important; }

.prime .btn-primary, .prime .btn-success, .prime .hbtn {
    color: #0a0e11 !important;
    background: var(--gold) !important;
    border: 1px solid var(--gold) !important;
}
.prime .btn-primary:hover, .prime .btn-success:hover, .prime .hbtn:hover {
    background: var(--gold-hi) !important;
    border-color: var(--gold-hi) !important;
}
.prime .btn-secondary, .prime .btn-outline-dark, .prime .btn-outline-primary, .prime .btn-light, .prime .btn-info, .prime .dt-button.btn {
    color: var(--text) !important;
    background: var(--surface-2) !important;
    border: 1px solid var(--border-2) !important;
}
.prime .btn-secondary:hover, .prime .btn-outline-dark:hover, .prime .btn-outline-primary:hover,
.prime .btn-outline-dark.active, .prime .btn-outline-primary.active {
    color: #0a0e11 !important;
    background: var(--gold) !important;
    border-color: var(--gold) !important;
}
.prime .btn-danger { background: #8a2f2b !important; border-color: #8a2f2b !important; color: #fff !important; }
.prime .btn-link { color: var(--gold-hi); }
.prime .btn-link:hover { color: #fff; text-decoration: none; }

/* ---------------------------------------------------------------- header */
.prime .hero-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(340px, 44vw, 620px);
    overflow: hidden;
    background: #060809;
}
.prime .hero-art, .prime .hero-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.prime .hero-art img { max-width: none; object-fit: cover; object-position: center 40%; }
.prime .hero-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 38% 55% at 50% 50%, rgba(6, 8, 10, .45), transparent 75%),
        linear-gradient(180deg, rgba(6, 8, 10, .3) 0%, rgba(6, 8, 10, 0) 35%, rgba(10, 14, 17, .6) 80%, var(--bg) 100%);
}
.prime .hero-logo-wrapper { position: relative; z-index: 1; }
.prime .hero-logo { width: min(460px, 70vw); height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .7)); }
.prime .hero-header--slim { height: clamp(220px, 20vw, 300px); }
.prime .hero-header--slim .hero-art img { object-position: center 28%; }
.prime .hero-header--slim::after {
    background:
        radial-gradient(ellipse 30% 70% at 50% 55%, rgba(6, 8, 10, .7), transparent 75%),
        linear-gradient(180deg, rgba(6, 8, 10, .35) 0%, rgba(6, 8, 10, .1) 40%, rgba(10, 14, 17, .75) 85%, var(--bg) 100%);
}
.prime .hero-title-wrapper { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.prime .hero-title {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 48px);
    letter-spacing: .14em;
    color: #ecc574;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .85), 0 0 26px rgba(236, 197, 116, .25);
}
.prime .hero-title-gem {
    width: 13px;
    height: 13px;
    transform: rotate(45deg);
    background: radial-gradient(circle at 35% 35%, #b9fff8 0%, #45c4b9 45%, #11615b 100%);
    border: 1px solid #ecc574;
    box-shadow: 0 0 12px rgba(69, 196, 185, .75);
}
.prime .hero-title-wrapper::after {
    content: "";
    width: 220px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 197, 116, .8), transparent);
}
/* the ranking page title now lives in the banner */
.prime .hero-header--slim ~ main .main-content .col-md-12 > h1.text-center:first-child { display: none; }

/* auth pages (login / register / password): full-screen split – form left, artwork right */
body.prime-auth {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 30% 45% at 25% 52%, rgba(212, 162, 76, .10), transparent 70%),
        radial-gradient(ellipse 22% 30% at 25% 60%, rgba(69, 196, 185, .07), transparent 70%),
        linear-gradient(160deg, #0d1418 0%, #090d10 55%, #07090b 100%);
    background-attachment: fixed;
}
body.prime-auth main[role="main"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    max-width: none;
    width: 100%;
    min-height: calc(100vh - 71px);
    padding: 0;
}
.prime-auth main > .row.my-5 {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 520px;
    justify-self: center;
    margin: 0 !important;
    padding: 48px 24px;
}
.prime-auth main .container > .row { justify-content: center; }
.prime-auth main .container > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }

/* right half: full-bleed artwork that slowly pans */
.prime-auth main[role="main"]::before {
    content: "";
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 71px);
    border-left: 1px solid rgba(212, 162, 76, .45);
    box-shadow: -30px 0 60px rgba(0, 0, 0, .5);
    background:
        linear-gradient(90deg, rgba(8, 12, 15, .55) 0%, rgba(8, 12, 15, 0) 22%),
        linear-gradient(180deg, rgba(8, 12, 15, 0) 55%, rgba(8, 12, 15, .9) 100%),
        url("../images/prime-hero-mobile.jpg");
    background-size: 100% 100%, 100% 100%, cover;
    background-position: 0 0, 0 0, 30% 40%;
    background-repeat: no-repeat;
    animation: primeShowcasePan 30s ease-in-out infinite alternate;
}
/* login uses a different scene than register */
body.prime-auth--login main[role="main"]::before {
    background-image:
        linear-gradient(90deg, rgba(8, 12, 15, .55) 0%, rgba(8, 12, 15, 0) 22%),
        linear-gradient(180deg, rgba(8, 12, 15, 0) 55%, rgba(8, 12, 15, .9) 100%),
        url("../images/prime-auth-login.jpg");
}
@keyframes primeShowcasePan {
    from { background-position: 0 0, 0 0, 20% 35%; }
    to   { background-position: 0 0, 0 0, 70% 50%; }
}
/* logo near the bottom of the artwork, with a slow glow */
.prime-auth main[role="main"]::after {
    content: "";
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: center;
    width: min(420px, 70%);
    height: 180px;
    margin-bottom: 7vh;
    background: url("../images/prime-logo-600.png") center / contain no-repeat;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .8));
    animation: primeLogoGlow 4s ease-in-out infinite alternate;
}
@keyframes primeLogoGlow {
    from { filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .8)) drop-shadow(0 0 0 rgba(69, 196, 185, 0)); }
    to   { filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .8)) drop-shadow(0 0 18px rgba(69, 196, 185, .45)); }
}
@media (max-width: 991.98px) {
    body.prime-auth main[role="main"] { grid-template-columns: minmax(0, 1fr); justify-items: center; }
    .prime-auth main[role="main"]::before { display: none; }
    .prime-auth main[role="main"]::after { grid-column: 1; grid-row: 1; align-self: start; width: 280px; height: 120px; margin: 24px 0 0; }
    .prime-auth main > .row.my-5 { grid-row: 2; padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .prime-auth main[role="main"]::before, .prime-auth main[role="main"]::after { animation: none; }
}

.prime-auth .card {
    position: relative;
    overflow: visible;
    border: 1px solid transparent;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(14, 20, 24, .86), rgba(9, 13, 16, .94)) padding-box,
        linear-gradient(90deg, rgba(212, 162, 76, .12), rgba(236, 197, 116, .85) 50%, rgba(212, 162, 76, .12)) border-box;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.prime-auth .card::before { /* teal gem on the top edge */
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    z-index: 2;
    width: 15px;
    height: 15px;
    margin-left: -7.5px;
    transform: rotate(45deg);
    background: radial-gradient(circle at 35% 35%, #b9fff8 0%, #45c4b9 45%, #11615b 100%);
    border: 1px solid #ecc574;
    box-shadow: 0 0 12px rgba(69, 196, 185, .75);
}
.prime-auth .card-header {
    justify-content: center;
    min-height: 0;
    padding: 26px 28px 10px;
    background: transparent;
    border: 0;
}
body.prime-auth .card .card-header p {
    font-family: var(--heading) !important;
    font-size: 22px !important;
    letter-spacing: .12em !important;
    color: #ecc574 !important;
}
.prime-auth .card-body { padding: 10px 30px 30px; }
.prime-auth .card-body > h6 { text-align: center; margin-bottom: 22px !important; color: var(--muted); }
.prime-auth .card .form-group { margin-bottom: 16px; }
.prime-auth .card .form-group.pt-4 { padding-top: 6px !important; }
.prime-auth .card .form-group.row > [class*="col-md"] { flex: 0 0 100%; max-width: 100%; margin-left: 0; text-align: left !important; }
.prime-auth .card .form-group.row .col-form-label { padding-bottom: 4px; }
.prime-auth .card label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #cfd6d5; }
.prime-auth .card .form-control {
    height: 46px;
    padding: 10px 14px;
    background: rgba(4, 7, 9, .75);
    border: 1px solid var(--border-2);
    border-radius: 6px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.prime-auth .card .form-control:focus { border-color: #45c4b9; box-shadow: 0 0 0 3px rgba(69, 196, 185, .18); }
.prime-auth .card #securityCodeImg,
.prime-auth .card .security-code-img { height: 46px !important; border-radius: 6px !important; border: 1px solid var(--border-2) !important; }
.prime-auth .card .btn-primary {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 6px;
}
.prime-auth .card .btn-link { display: block; width: 100%; margin-top: 10px; text-align: center; color: var(--muted); }
.prime-auth .card .btn-link:hover { color: var(--gold-hi); }
.prime-auth .card .form-group.row.mb-0 > div { display: block !important; }

/* ----------------------------------------------------------- main area */
.prime main[role="main"] { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.prime main > .row.my-5 { margin-top: 2rem !important; margin-bottom: 3.5rem !important; }

/* server status strip (glass panel over the bottom edge of the header) */
.prime .status-strip { position: relative; z-index: 2; margin-top: -70px; }
.prime .status-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    border: 1px solid transparent;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(14, 20, 24, .82), rgba(9, 13, 16, .92)) padding-box,
        linear-gradient(90deg, rgba(212, 162, 76, .12), rgba(236, 197, 116, .85) 50%, rgba(212, 162, 76, .12)) border-box;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* teal gem on the top edge, like the gem in the logo */
.prime .status-gem {
    position: absolute;
    top: -8px;
    left: 50%;
    width: 15px;
    height: 15px;
    margin-left: -7.5px;
    transform: rotate(45deg);
    background: radial-gradient(circle at 35% 35%, #b9fff8 0%, #45c4b9 45%, #11615b 100%);
    border: 1px solid #ecc574;
    box-shadow: 0 0 12px rgba(69, 196, 185, .75);
}
.prime .status-gem::before, .prime .status-gem::after { content: none; }

.prime .status-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 28px 22px;
    text-align: center;
}
.prime .status-cell + .status-cell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(212, 162, 76, .45), transparent);
}
.prime .status-cell + .status-cell::after {
    content: "";
    position: absolute;
    left: -3px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    transform: rotate(45deg);
    background: #45c4b9;
    box-shadow: 0 0 8px rgba(69, 196, 185, .7);
}
.prime .status-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #d9b46a;
}
.prime .status-value { font-size: 22px; font-weight: 600; line-height: 1.2; color: #f4ecdc; font-variant-numeric: tabular-nums; }
.prime .status-value--online { display: inline-flex; align-items: center; gap: 9px; color: #6fd68b; }
.prime .status-value--online::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6fd68b;
    box-shadow: 0 0 0 0 rgba(111, 214, 139, .6);
    animation: primePulse 2.2s ease-out infinite;
}
@keyframes primePulse { 0% { box-shadow: 0 0 0 0 rgba(111, 214, 139, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(111, 214, 139, 0); } }
.prime .status-meter { width: 140px; height: 3px; margin-top: 4px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.prime .status-meter span { display: block; height: 100%; background: linear-gradient(90deg, #11615b, #45c4b9); }
.prime .status-meter--gold span { background: linear-gradient(90deg, #9c7331, #ecc574); }

.prime .status-clock { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 2px 0 0; }
.prime .clock-digits {
    font-family: var(--heading);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    color: #f7eedb;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 22px rgba(236, 197, 116, .28), 0 2px 3px rgba(0, 0, 0, .8);
}
.prime .clock-sep { font-family: var(--heading); font-size: 36px; font-weight: 700; line-height: 1; color: #45c4b9; transform: translateY(-3px); animation: primeBlink 1s steps(1) infinite; }
@keyframes primeBlink { 50% { opacity: .35; } }
.prime .status-sub { font-size: 12px; letter-spacing: .04em; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    .prime .status-value--online::before, .prime .clock-sep { animation: none; }
}

/* section heading */
.prime .section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.prime .section-title h2 { margin: 0; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #e8ecea; }
.prime .section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* --------------------------------------------------------------- cards */
.prime .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text);
}
/* wrapper cards that only hold another card */
.prime .card:has(> .card) { background: none; border: 0; }
.prime .card > .card { margin-bottom: 0 !important; }

.prime .card-header {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 18px;
    background: #0f171c;
    border-bottom: 1px solid var(--border);
    border-top: 2px solid var(--gold);
}
.prime .card-header:first-child { border-radius: 3px 3px 0 0; }
.prime .card-header p, .prime .card-header span, .prime .card-header h5 {
    margin: 0;
    font-family: var(--body);
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e8ecea;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.prime .card-header img { display: none; }
.prime .card-header .d-flex { gap: 0 !important; }
.prime .card-body { padding: 14px 18px; }
.prime .card-footer { background: transparent; border-top: 1px solid var(--border); }
.prime .card-title { color: var(--gold-hi); }

/* ------------------------------------------------------- server status */
.prime .sidebar .status { display: grid; gap: 12px; }
.prime .server-time { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.prime .server-time-text { color: var(--muted); white-space: nowrap; }
.prime .server-time-timer { color: var(--text); text-align: right; }
.prime .server-status { display: flex; align-items: center; gap: 12px; }
.prime .server-status .progress { flex: 1; height: 8px !important; background: #070a0c !important; border: 1px solid var(--border); border-radius: 8px !important; }
.prime .server-status .progress-bar { background-color: var(--teal) !important; background-image: none !important; }
.prime .status .online { color: var(--green); font-size: 13px; font-weight: 700; }
.prime .status .offline { color: var(--red); font-size: 13px; font-weight: 700; }
.prime .statistic { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.prime .players-online-text { color: var(--muted); }
.prime .players-online-value { color: #fff; font-weight: 700; }

/* ------------------------------------------------------------- lists */
.prime .sidebar .list-group li { padding: 8px 0 !important; font-size: 14px; }
.prime .sidebar .list-group li + li { border-top: 1px solid var(--border); }
.prime .card-info .list-group li > div:last-child { color: var(--gold-hi); font-weight: 700; }
.prime .card-info .list-group img { filter: grayscale(1) brightness(1.6); opacity: .55; }
.prime .card-info .list-group .fa { color: var(--muted) !important; }

/* event timers */
.prime .server-event-timers { padding: 0 !important; }
.prime .server-event-timers li.custom-event-pill { padding: 9px 2px !important; }
.prime .event-icon { color: var(--dim); }
.prime .event-time-text { color: var(--gold-hi); font-weight: 700; font-variant-numeric: tabular-nums; }

/* unique kills */
.prime .server-unique-kills { max-height: 380px; padding-right: 6px !important; overflow-y: auto; padding: 0 !important; gap: 0 !important; }
.prime .server-unique-kills li { padding: 0 !important; }

.prime .uniques { display: flex; align-items: center; gap: 12px; padding: 11px 2px; }
.prime .unique-image { display: none; }
.prime .unique-data { font-size: 14px; color: var(--text); line-height: 1.4; }
.prime .unique-data a { font-weight: 700; }
.prime .killed-at { color: var(--muted); font-size: 12px; }

/* top ten players */
.prime .top-ten-table { width: 100%; margin: 0; }
.prime .top-ten-table th { padding: 6px 4px !important; font-family: var(--body); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted) !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; }
.prime .top-ten-table td { padding: 9px 4px !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; font-size: 14px; }
.prime .top-ten-table tr:last-child td { border-bottom: 0 !important; }
.prime .top-row:hover { background: var(--surface-2); }
.prime .rank-text { color: var(--muted); font-weight: 700; width: 32px; }
.prime .top-row:nth-child(1) .rank-text { color: #e8c15a; }
.prime .top-row:nth-child(2) .rank-text { color: #c7d1d6; }
.prime .top-row:nth-child(3) .rank-text { color: #cf915d; }
.prime .name-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.prime .name-link:hover { color: var(--gold-hi); }
.prime .character-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-2); }
.prime .points-box { display: inline-block; min-width: 48px; padding: 1px 8px; font-size: 13px; font-weight: 700; color: var(--gold-hi); }

/* discord widget */
.prime .discord-banner { height: 76px; overflow: hidden; border-bottom: 1px solid var(--border); }
.prime .discord-banner img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; }
.prime .discord-members { max-height: 230px; overflow-y: auto; margin: 0; padding: 0; }
.prime .discord-member { padding: 6px 4px; border-radius: 3px; }
.prime .discord-member:hover { background: var(--surface-2); }
.prime .discord-avatar { width: 28px !important; height: 28px !important; min-width: 28px; margin-right: 10px; border-radius: 50%; object-fit: cover; }
.prime .discord-name { font-size: 14px; color: var(--text); }
.prime .discord-playing { font-size: 12px; color: var(--muted); max-width: 45%; }
.prime .btn-discord-join {
    display: block;
    width: 100%;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    background: #5865f2;
    border: 1px solid #5865f2;
    border-radius: 3px;
}
.prime .btn-discord-join:hover { background: #4752c4; border-color: #4752c4; }

/* facebook widget (inline styles in facebook.blade.php are light; darken them) */
.prime .fb-profile-section { background: var(--surface); border-bottom-color: var(--border); }
.prime .fb-profile-name { color: #fff; }
.prime .fb-follower-count { color: var(--muted); }
.prime .fb-profile-pic { border-color: var(--border-2); }
.prime .fb-follow-btn { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.prime .fb-follow-btn:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.prime .fb-content-area { background: var(--surface); }

/* widgets row under the main content */
.prime .highlights { margin-top: 0; }
.prime .highlights > div { display: flex; flex-direction: column; min-height: 0; }
.prime .highlights > div > .card { flex: 1; display: flex; flex-direction: column; margin-bottom: 0 !important; }
.prime .highlights > div > .card > .card { flex: 1; }

/* --------------------------------------------------------------- news */
.prime .news-container { margin-bottom: 28px; }
.prime .posts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prime .post-box {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    transition: border-color .15s ease;
}
.prime .post-box:hover { border-color: var(--border-2); }
.prime .post-box:first-child { grid-column: 1 / -1; }
.prime .post-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #060809; }
.prime .post-box:first-child .post-image { aspect-ratio: 21 / 9; }
.prime .post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prime .post-box:hover .post-image img { transform: scale(1.03); }
.prime .post-data { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.prime .news-date p { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.prime .post-data h1 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; color: #fff; }
.prime .post-box:first-child .post-data h1 { font-size: 24px; }
.prime .post-data p { margin-bottom: 12px; font-size: 14px; color: #b9c2c2; }
.prime .post-data a { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--gold-hi); }
.prime .post-data a:hover { color: #fff; }
.prime .main-btn-holder { margin-top: 20px; text-align: center; }
.prime .news-container .hbtn { display: inline-block; padding: 9px 28px; border-radius: 3px; font-weight: 700; }

.prime article h1 { color: #fff; }
.prime .news-image { max-height: 460px; object-fit: cover; }

/* ---------------------------------------------------- bootstrap bits */
.prime .table { color: var(--text); }
.prime .table th, .prime .table td { border-color: var(--border) !important; vertical-align: middle; }
.prime .table thead th { color: var(--gold-hi); background: var(--surface-2); border-bottom: 1px solid var(--border-2) !important; font-weight: 700; }
.prime .table-striped tbody tr:nth-of-type(odd) { background: rgba(255, 255, 255, .02); }
.prime .table-hover tbody tr:hover { background: var(--surface-2); color: #fff; }
.prime .table td a { color: var(--gold-hi); font-weight: 600; }
.prime .table td a:hover { color: #fff; }
.prime .result-area { padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 3px; }
.prime table.dataTable { border-collapse: collapse !important; }
.prime .dataTables_wrapper { color: var(--muted); }
.prime .dataTables_wrapper .dataTables_filter input,
.prime .dataTables_wrapper .dataTables_length select { background: #070a0c; color: var(--text); border: 1px solid var(--border-2); border-radius: 3px; padding: 4px 8px; }
.prime .dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--text) !important; }
.prime .dataTables_wrapper .dataTables_paginate .paginate_button.current { color: #0a0e11 !important; background: var(--gold) !important; border-color: var(--gold) !important; }

.prime .form-control, .prime .custom-select, .prime select, .prime textarea {
    color: var(--text);
    background: #070a0c;
    border: 1px solid var(--border-2);
    border-radius: 3px;
}
.prime .form-control:focus { color: #fff; background: #070a0c; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 162, 76, .2); }
.prime .form-control::placeholder { color: var(--dim); }
.prime .form-control:disabled, .prime .form-control[readonly] { background: var(--surface-2); }
.prime .input-group-text { color: var(--muted); background: var(--surface-2); border-color: var(--border-2); }
.prime .select2-container--default .select2-selection--single { background: #070a0c; border-color: var(--border-2); }
.prime .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); }
.prime .select2-dropdown { background: #0f171b; border-color: var(--border-2); color: var(--text); }

.prime .list-group-item { background: var(--surface); border-color: var(--border); color: var(--text); }
.prime .list-group-item-action:hover, .prime .list-group-item-action:focus { background: var(--surface-2); color: #fff; }
.prime .list-group-item.active { background: var(--surface-3); border-color: var(--gold); color: var(--gold-hi); }
.prime .list-group-item h5 { font-family: var(--body); color: #fff; font-size: 16px; }

.prime .nav-tabs { border-bottom-color: var(--border); }
.prime .nav-tabs .nav-link { color: var(--muted); border: 0; border-bottom: 2px solid transparent; }
.prime .nav-tabs .nav-link:hover { color: #fff; }
.prime .nav-tabs .nav-link.active, .prime .nav-tabs .nav-item.show .nav-link { color: var(--gold-hi); background: none; border-bottom-color: var(--gold); }
.prime .nav-pills .nav-link { color: var(--muted); }
.prime .nav-pills .nav-link.active { color: #0a0e11; background: var(--gold); }

.prime .page-link { color: var(--text); background: var(--surface); border-color: var(--border); }
.prime .page-link:hover { color: #fff; background: var(--surface-2); border-color: var(--border-2); }
.prime .page-item.active .page-link { color: #0a0e11; background: var(--gold); border-color: var(--gold); }
.prime .page-item.disabled .page-link { color: var(--dim); background: var(--surface); border-color: var(--border); }

.prime .alert-success { color: #c8ecd0; background: #13291a; border-color: #20482b; }
.prime .alert-danger { color: #f3c9c7; background: #341617; border-color: #572324; }
.prime .alert-warning { color: #f1dfb4; background: #33291a; border-color: #544224; }
.prime .alert-info { color: #c3ecea; background: #112b2b; border-color: #1c4745; }
.prime .alert .close { color: inherit; text-shadow: none; }
.prime .progress { background: #070a0c; }
.prime .progress-bar { background-color: var(--gold); }
.prime .modal-content { background: var(--surface); border: 1px solid var(--border-2); color: var(--text); }
.prime .modal-header, .prime .modal-footer { border-color: var(--border); }
.prime .modal-header .close { color: var(--text); text-shadow: none; }
.prime #accordion .card { margin-bottom: 8px; }
.prime #accordion .card-header { padding: 0; border-top-width: 1px; border-top-color: var(--border); }
.prime #accordion .btn-link { width: 100%; padding: 12px 16px; text-align: left; font-family: var(--heading); font-weight: 700; color: var(--gold-hi); }

.prime .download-card { padding: 18px; text-align: center; background: var(--surface-2) !important; border: 1px solid var(--border) !important; }
.prime .download-card:hover { border-color: var(--border-2) !important; }
.prime .download-card .card-header { border-top: 0; }
.prime .download-card img { margin: 0 auto 12px; max-height: 100px; object-fit: contain; }
.prime .file-size { color: var(--muted); }
.prime .file-size span { color: var(--text); font-weight: 700; }

/* ------------------------------------------------------ discord popup */
.professional-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background: rgba(4, 6, 8, .78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.professional-modal.visible { display: flex; animation: primeModalIn .3s ease; }
@keyframes primeModalIn { from { opacity: 0; } to { opacity: 1; } }
.professional-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 34px 30px 24px;
    text-align: center;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 12px;
    background:
        radial-gradient(ellipse 80% 45% at 50% 0%, rgba(88, 101, 242, .22), transparent 70%) padding-box,
        linear-gradient(180deg, #121b21, #0b1115) padding-box,
        linear-gradient(90deg, rgba(212, 162, 76, .12), rgba(236, 197, 116, .85) 50%, rgba(212, 162, 76, .12)) border-box;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
    animation: primeModalRise .35s ease;
}
@keyframes primeModalRise { from { transform: translateY(14px); } to { transform: none; } }
.professional-modal-content::before { content: none; }
.professional-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}
.professional-logo {
    width: 64px;
    height: 64px;
    padding: 14px;
    object-fit: contain;
    border-radius: 50%;
    background: #5865f2;
    box-shadow: 0 0 0 6px rgba(88, 101, 242, .18), 0 10px 26px rgba(88, 101, 242, .45);
}
.professional-modal-header h2 { margin: 0; font-size: 22px; letter-spacing: .03em; color: #fff; }
.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 1;
    color: var(--muted);
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.modal-close-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.professional-modal-body { font-size: 15px; line-height: 1.5; max-height: 60vh; overflow-y: auto; }
.professional-modal-body p { margin: 0 0 4px; color: #b9c2c2; }
.professional-modal-body p:first-child { color: #e8ecea; font-weight: 600; }
.professional-modal-body ul {
    display: grid;
    gap: 9px;
    margin: 16px 0 0;
    padding: 14px 18px;
    text-align: left;
    background: rgba(0, 0, 0, .25);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.professional-modal-body li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: #dfe4e2; }
.check-icon {
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin: 0 !important;
    font-size: 10px !important;
    color: #0b1115 !important;
    background: #45c4b9;
    border-radius: 50%;
}
.professional-modal-footer { display: flex; flex-direction: column-reverse; gap: 8px; margin-top: 22px; }
.btn-discord, .btn-cancel { min-width: 0; font-size: 15px; font-weight: 700; text-align: center; border-radius: 8px; cursor: pointer; }
.btn-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    color: #fff;
    background: linear-gradient(180deg, #6d79f6, #4f5bea);
    border: 0;
    box-shadow: 0 10px 24px rgba(88, 101, 242, .35);
}
.btn-discord:hover, a.btn-discord:hover { color: #fff; background: linear-gradient(180deg, #7a85f8, #5864f0); text-decoration: none; }
.btn-discord i { font-size: 18px; }
.btn-cancel {
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    border: 0;
}
.btn-cancel i { display: none; }
.btn-cancel:hover { color: #fff; background: transparent; }
.btn-cancel::before, .btn-cancel::after { content: none !important; }

/* --------------------------------------------------------------- footer */
.prime .custom-footer { margin-top: 1rem; background: #080b0d; border-top: 1px solid var(--border); }
.prime .footer-overlay { display: none; }

/* community band */
.prime .footer-community {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(8, 11, 13, .95) 0%, rgba(8, 11, 13, .75) 45%, rgba(8, 11, 13, .88) 100%),
        #080b0d url("../images/prime-page-banner.jpg") center 35% / cover no-repeat;
}
.prime .footer-community::before { /* thin gold line with the teal gem */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 197, 116, .7), transparent);
}
.prime .footer-community-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px;
}
.prime .footer-community-text h2 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #f4ecdc;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}
.prime .footer-community-text p { margin: 0; font-size: 15px; color: #aeb8b8; }
.prime .footer-community-actions { display: flex; gap: 12px; flex-shrink: 0; }
.prime .footer-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.prime .footer-cta i { font-size: 17px; }
.prime a.footer-cta--discord { color: #fff; background: linear-gradient(180deg, #6d79f6, #4f5bea); box-shadow: 0 10px 24px rgba(88, 101, 242, .3); }
.prime a.footer-cta--discord:hover { color: #fff; background: linear-gradient(180deg, #7a85f8, #5864f0); transform: translateY(-2px); }
.prime a.footer-cta--facebook { color: #f4ecdc; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .18); }
.prime a.footer-cta--facebook:hover { color: #fff; background: #1877f2; border-color: #1877f2; transform: translateY(-2px); }
.prime .footer-cta::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -75%;
    width: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}
.prime .footer-cta:hover::after { left: 130%; }

/* link columns */
.prime .footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 40px;
}
.prime .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.prime .footer-logo img { width: 170px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
.prime .footer-social { display: flex; gap: 10px; }
.prime .footer-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #cfd6d5;
    border: 1px solid var(--border-2);
    border-radius: 6px;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.prime .footer-social a:hover { color: #0a0e11; background: var(--gold-hi); border-color: var(--gold-hi); }
.prime .footer-col-title {
    margin: 0 0 16px;
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ecc574;
}
.prime .footer-links { margin: 0; padding: 0; display: grid; gap: 10px; }
.prime .footer-links a { font-size: 15px; color: #c3cbcb; transition: color .15s ease, padding .15s ease; }
.prime .footer-links a:hover { color: #fff; padding-left: 4px; }

.prime .footer-backlinks { display: flex; flex-wrap: wrap; gap: 10px; }
.prime .footer-backlinks a img {
    display: block;
    width: auto;
    height: 46px;
    min-width: 58px;
    max-width: 110px;
    padding: 8px 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: border-color .15s ease, background .15s ease;
}
.prime .footer-backlinks a img:hover { border-color: var(--gold); background: rgba(212, 162, 76, .08); }

/* bottom bar */
.prime .footer-bottom { border-top: 1px solid var(--border); }
.prime .footer-bottom .footer-copy { max-width: 1200px; margin: 0 auto; padding: 18px 24px; font-size: 13px; color: var(--muted); text-align: center; }

@media (max-width: 991.98px) {
    .prime .footer-community-inner { flex-direction: column; align-items: flex-start; padding: 40px 20px; }
    .prime .footer-community-text h2 { font-size: 26px; }
    .prime .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px 20px; }
}
@media (max-width: 575.98px) {
    .prime .footer-content { grid-template-columns: 1fr; }
    .prime .footer-community-actions { width: 100%; }
    .prime .footer-cta { flex: 1; justify-content: center; }
}

/* --------------------------------------------- helpers used by pages */
.gap-0 { gap: 0; } .gap-1 { gap: .375rem; } .gap-2 { gap: .75rem; } .gap-3 { gap: 1rem; } .gap-4 { gap: 1.5rem; } .gap-5 { gap: 2.75rem; }
.row-gap-0 { row-gap: 0; } .row-gap-1 { row-gap: .375rem; } .row-gap-2 { row-gap: .75rem; } .row-gap-3 { row-gap: 1rem; } .row-gap-4 { row-gap: 1.5rem; } .row-gap-5 { row-gap: 2.75rem; }
.col-gap-1 { column-gap: .375rem; } .col-gap-2 { column-gap: .75rem; } .col-gap-3 { column-gap: 1rem; } .col-gap-4 { column-gap: 1.5rem; }
.img-fluid-reverse { max-height: 100%; width: auto; }
.border-radius-even { border-radius: 4px; }
.border-1 { border: 1px solid var(--border-2); }
.h-100vh { height: 100vh; }
.character-panel { border: 1px solid var(--border-2); border-radius: 4px; }
.player-icon { width: calc(150px + 4vh); }
.character-list { color: var(--text); }
.character-information td:first-child { width: 55%; }
.character-equipment { width: 60%; margin: auto; }
.prime .character-equipment td { border: none !important; }
.character-equipment .nav-tabs { border-bottom: 0; margin-bottom: 1rem; }
.inventory-slots { background-size: contain !important; background-repeat: no-repeat; background-position: center; }
.inventory-slots .slots.right { width: auto !important; }
.slots-items { display: flex; align-items: center; gap: 5px; }
.slots-items .slots { clear: both; margin: 0; float: none; width: 100% !important; }
.donation-method { padding: 12px; border: 1px solid var(--border); border-radius: 3px; background: var(--surface-2); }
.row-bordered:after { border-bottom: 1px solid var(--border-2); }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1199.98px) {
    .prime .silk-navbar { padding: 4px 16px; }
    .prime .silk-navbar .nav-shell { min-height: 60px; }
    .prime .silk-navbar .navbar-brand img { height: 40px; }
    .prime .silk-navbar .navbar-collapse { padding: 8px 0 14px; margin-top: 4px; border-top: 1px solid var(--border); }
    .prime .silk-navbar .navbar-nav { align-items: stretch; }
    .prime .silk-navbar .nav-link { padding: 11px 4px !important; }
    .prime .silk-navbar .nav-link.active::before { display: none; }
    .prime .nav-actions { margin-left: 0; padding-top: 8px; border-top: 1px solid var(--border); }
    .prime .silk-navbar .btn-login-silk, .prime .silk-navbar .btn-register-silk { display: block; margin: 4px 0 !important; text-align: center; }
}

@media (max-width: 991.98px) {
    .character-equipment { width: 100%; }
}

@media (max-width: 767.98px) {
    .prime .hero-header { height: 300px; }
    .prime .posts { grid-template-columns: 1fr; }
    .prime .post-box:first-child .post-image { aspect-ratio: 16 / 9; }
}

/* slim scrollbars inside widgets */
.prime .server-unique-kills, .prime .discord-members { scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.prime .server-unique-kills::-webkit-scrollbar, .prime .discord-members::-webkit-scrollbar { width: 6px; }
.prime .server-unique-kills::-webkit-scrollbar-thumb, .prime .discord-members::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; }
.prime .server-unique-kills::-webkit-scrollbar-track, .prime .discord-members::-webkit-scrollbar-track { background: transparent; }


/* ------------------------------------------ register: password rules */
.prime #password-requirements {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: -6px 0 0 !important;
    padding: 0 14px !important;
    border: 1px solid transparent !important;
    background: rgba(0, 0, 0, .25) !important;
    border-radius: 3px !important;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease, margin .35s ease, border-color .35s ease;
}
.prime #password-requirements.is-visible {
    max-height: 220px;
    opacity: 1;
    margin: -4px 0 16px !important;
    padding: 12px 14px !important;
    border-color: var(--border-2) !important;
}

/* ------------------------------------------------- button effects */
.prime .btn-register-silk, .prime .btn-login-silk,
.prime .btn-primary, .prime .btn-success, .prime .hbtn,
.prime .btn-secondary, .prime .btn-outline-dark,
.prime .btn-discord-join, .btn-discord, .btn-cancel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* gold buttons: metallic gradient that glints on hover */
.prime .btn-register-silk, .prime .btn-primary, .prime .btn-success, .prime .hbtn {
    background-color: var(--gold) !important;
    background-image: linear-gradient(110deg, #b8843a 0%, #d4a24c 30%, #f3d68f 48%, #d4a24c 66%, #b8843a 100%) !important;
    background-size: 250% 100% !important;
    background-position: 100% 0 !important;
    transition: background-position .6s ease, box-shadow .25s ease, color .15s ease !important;
}
.prime .btn-register-silk:hover, .prime .btn-primary:hover, .prime .btn-success:hover, .prime .hbtn:hover {
    background-position: 0 0 !important;
    box-shadow: 0 6px 18px rgba(212, 162, 76, .35) !important;
}

/* light sweep across every button on hover */
.prime .btn-register-silk::after, .prime .btn-login-silk::after,
.prime .btn-primary::after, .prime .btn-success::after, .prime .hbtn::after,
.prime .btn-secondary::after, .prime .btn-outline-dark::after,
.prime .btn-discord-join::after, .btn-discord::after, .btn-cancel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -75%;
    width: 50%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}
.prime .btn-register-silk:hover::after, .prime .btn-login-silk:hover::after,
.prime .btn-primary:hover::after, .prime .btn-success:hover::after, .prime .hbtn:hover::after,
.prime .btn-secondary:hover::after, .prime .btn-outline-dark:hover::after,
.prime .btn-discord-join:hover::after, .btn-discord:hover::after, .btn-cancel:hover::after { left: 130%; }

/* Register (top menu): a slow shimmer every few seconds so it catches the eye */
.prime .silk-navbar .btn-register-silk::after { animation: primeShimmer 6s ease-in-out 2s infinite; }
@keyframes primeShimmer { 0%, 82% { left: -75%; } 100% { left: 130%; } }

/* outline buttons: gold fill slides in from the left */
.prime .btn-login-silk::before, .prime .btn-secondary::before, .prime .btn-outline-dark::before, .btn-cancel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(212, 162, 76, .22), rgba(212, 162, 76, .08));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.prime .btn-login-silk:hover::before, .prime .btn-secondary:hover::before, .prime .btn-outline-dark:hover::before, .btn-cancel:hover::before { transform: scaleX(1); }
.prime .btn-login-silk:hover { background: transparent !important; color: #fff !important; }

@media (prefers-reduced-motion: reduce) {
    .prime .silk-navbar .btn-register-silk::after { animation: none; }
}

/* footer credit */
.prime .footer-credit { font-weight: 700; color: var(--gold-hi); }
.prime .footer-credit:hover { color: #fff; }

/* facebook feed: the box follows the real height Facebook renders (its 70px header is hidden) */
.prime .fb-content-area {
    height: auto !important;
    max-height: none !important;
    margin: 0 14px 14px;
    border-radius: 3px;
    overflow: hidden;
    background: transparent !important;
}
.prime .fb-content-area .fb_iframe_widget,
.prime .fb-content-area .fb_iframe_widget span,
.prime .fb-content-area iframe { display: block !important; width: 100% !important; }

/* discord popup button: keep text + icon white (overrides the global gold link colour) */
.prime a.btn-discord, .prime a.btn-discord:hover, .prime a.btn-discord i { color: #fff !important; }

/* ------------------------------------------------ living header art */
.prime .hero-art img {
    transform-origin: 50% 45%;
    animation: primeHeroDrift 32s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes primeHeroDrift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to   { transform: scale(1.1) translate3d(-1.2%, -1%, 0); }
}

/* flickering firelight from the torches on both sides */
.prime .hero-fire {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    background:
        radial-gradient(ellipse 16% 30% at 3% 40%, rgba(255, 140, 50, .55), transparent 70%),
        radial-gradient(ellipse 12% 22% at 29% 48%, rgba(255, 150, 60, .35), transparent 70%),
        radial-gradient(ellipse 14% 26% at 88% 45%, rgba(255, 140, 50, .45), transparent 70%),
        radial-gradient(ellipse 12% 22% at 97% 16%, rgba(255, 160, 70, .35), transparent 70%);
    animation: primeFlicker 3.2s steps(1, end) infinite, primeFlickerSoft 7s ease-in-out infinite alternate;
}
@keyframes primeFlicker {
    0%   { opacity: .75; } 7%  { opacity: .9; } 13% { opacity: .7; } 21% { opacity: .95; }
    34%  { opacity: .8; }  42% { opacity: 1; }  55% { opacity: .72; } 63% { opacity: .9; }
    77%  { opacity: .78; } 88% { opacity: .96; } 100% { opacity: .75; }
}
@keyframes primeFlickerSoft { from { filter: brightness(.9); } to { filter: brightness(1.15); } }

/* glowing embers drifting upward */
.prime .hero-embers {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 70%, transparent 100%);
}
.prime .hero-embers span {
    position: absolute;
    inset: -10% 0 0;
    mix-blend-mode: screen;
    background-repeat: repeat;
}
.prime .hero-embers span:nth-child(1) {
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 190, 110, .9), transparent),
        radial-gradient(1.5px 1.5px at 140px 120px, rgba(255, 160, 80, .8), transparent),
        radial-gradient(2px 2px at 260px 60px, rgba(255, 210, 140, .75), transparent),
        radial-gradient(1.5px 1.5px at 330px 200px, rgba(255, 150, 70, .8), transparent);
    background-size: 380px 260px;
    animation: primeEmbersRise 14s linear infinite, primeEmbersSway 6s ease-in-out infinite alternate;
}
.prime .hero-embers span:nth-child(2) {
    background-image:
        radial-gradient(1.5px 1.5px at 60px 90px, rgba(255, 200, 120, .8), transparent),
        radial-gradient(2.5px 2.5px at 210px 20px, rgba(255, 170, 90, .7), transparent),
        radial-gradient(1.5px 1.5px at 300px 170px, rgba(255, 220, 160, .7), transparent);
    background-size: 420px 300px;
    animation: primeEmbersRise 22s linear infinite, primeEmbersSway 9s ease-in-out infinite alternate-reverse;
    opacity: .8;
}
.prime .hero-embers span:nth-child(3) { /* a few teal sparks from the gem */
    background-image:
        radial-gradient(1.5px 1.5px at 90px 60px, rgba(120, 235, 225, .8), transparent),
        radial-gradient(2px 2px at 380px 210px, rgba(90, 220, 210, .6), transparent);
    background-size: 520px 340px;
    animation: primeEmbersRise 28s linear infinite, primeEmbersSway 11s ease-in-out infinite alternate;
    opacity: .7;
}
@keyframes primeEmbersRise { from { background-position: 0 0; } to { background-position: 0 -1200px; } }
@keyframes primeEmbersSway { from { transform: translateX(-12px); } to { transform: translateX(12px); } }

/* logo: gentle float and a soft glow */
.prime .hero-logo-wrapper { z-index: 2; }
.prime .hero-logo { animation: primeLogoFloat 6s ease-in-out infinite, primeHeroLogoGlow 4s ease-in-out infinite alternate; }
@keyframes primeLogoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes primeHeroLogoGlow {
    from { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .7)) drop-shadow(0 0 0 rgba(69, 196, 185, 0)); }
    to   { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(69, 196, 185, .4)); }
}

@media (prefers-reduced-motion: reduce) {
    .prime .hero-art img, .prime .hero-fire, .prime .hero-embers span, .prime .hero-logo { animation: none; }
}

/* ------------------------------------------------ ranking table */
.prime table.dataTable, .prime table.dataTable.table-bordered,
.prime table.dataTable thead th, .prime table.dataTable tbody td,
.prime table.dataTable.no-footer { border-left: 0 !important; border-right: 0 !important; }
.prime table.dataTable.no-footer { border-bottom: 1px solid var(--border) !important; }
.prime table.dataTable tbody td { border-top: 1px solid var(--border) !important; }
.prime .result-area table.dataTable tbody tr:nth-child(1) td:first-child { color: #e8c15a; font-weight: 700; }
.prime .result-area table.dataTable tbody tr:nth-child(2) td:first-child { color: #c7d1d6; font-weight: 700; }
.prime .result-area table.dataTable tbody tr:nth-child(3) td:first-child { color: #cf915d; font-weight: 700; }
.prime .result-area table.dataTable tbody td:first-child { padding-left: 18px !important; }
.prime .result-area table.dataTable tbody td img { width: 22px; height: 22px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* ------------------------------------------------ character page */
.prime .character-panel { background: transparent; border: 0; box-shadow: none; }
.prime .character-panel > .card-body { padding: 0; }
.prime .character-information td { padding: 12px 16px !important; vertical-align: middle; }
.prime .character-information td:first-child { color: var(--muted); }
.prime .character-information td:first-child img { opacity: .55; filter: grayscale(1) brightness(1.6); }
.prime .character-information td:last-child { color: #fff; font-weight: 600; }
.prime .player-icon .card-body { display: flex; justify-content: center; }
.prime .player-icon img { border: 1px solid var(--border-2); border-radius: 6px; }
.prime .character-equipment { width: 100%; padding: 16px 0 20px; }
.prime .character-equipment .nav-tabs { display: flex; gap: 8px; justify-content: center; border: 0; margin-bottom: 18px; }
.prime .character-equipment .nav-tabs .nav-link {
    min-width: 120px; padding: 8px 18px; text-align: center; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 4px;
}
.prime .character-equipment .nav-tabs .nav-link.active { color: #0a0e11; background: var(--gold); border-color: var(--gold); }
.prime .character-equipment .bg-equipment, .prime .character-equipment .bg-equipment-avatar {
    width: 300px; height: 420px; margin: 0 auto; padding: 10px;
    background-color: #070a0c !important; background-size: auto 88% !important; background-position: center 60% !important; background-repeat: no-repeat !important;
    border: 1px solid var(--border-2); border-radius: 8px;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, .8);
}
.prime .character-equipment .itemslot { border: 1px solid rgba(212, 162, 76, .55); border-radius: 4px; box-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.prime .character-equipment .itemslot:hover { border-color: var(--gold-hi); box-shadow: 0 0 10px rgba(236, 197, 116, .45); }
.prime .itemInfo { background: rgba(10, 14, 17, .96) !important; border: 1px solid var(--gold) !important; border-radius: 4px; }
.prime .last-unique-box .unique-row { border-color: var(--border) !important; }
.prime .last-global-box .global-avatar img { width: 44px; border-radius: 6px; }

/* character page: three-column layout */
.prime .row.character-panel { background: none; border: 0; }
.prime .character-panel > [class*="col-"] > .card, .prime .character-activity > .card { margin-bottom: 0; }
.prime .character-equipment .bg-equipment, .prime .character-equipment .bg-equipment-avatar { max-width: 100%; }
.prime .character-profile-head { text-align: center; padding: 6px 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.prime .character-profile-avatar { display: block; margin: 0 auto 12px; border: 1px solid var(--gold); border-radius: 6px; box-shadow: 0 0 18px rgba(212, 162, 76, .18); }
.prime .character-profile-name { font-family: 'Cinzel', serif; font-size: 1.35rem; font-weight: 700; color: var(--gold-hi); letter-spacing: .04em; }
.prime .character-profile-level { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 2px; }
.prime .character-profile-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--border); }
.prime .character-profile-list li:last-child { border-bottom: 0; }
.prime .character-profile-list .label { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.prime .character-profile-list .label img { opacity: .55; filter: grayscale(1) brightness(1.6); }
.prime .character-profile-list .value { color: #fff; font-weight: 600; text-align: right; }
.prime .activity-list { max-height: 260px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.prime .activity-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--border); }
.prime .activity-list li:last-child { border-bottom: 0; }
.prime .activity-list li:hover { background: rgba(255, 255, 255, .02); }
.prime .activity-icon { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 4px; }
.prime .activity-icon--kill { display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--gold); background: rgba(212, 162, 76, .1); border: 1px solid rgba(212, 162, 76, .3); }
.prime .activity-text { color: var(--text); line-height: 1.35; word-break: break-word; }
.prime .activity-text strong { color: #fff; }
.prime .activity-unique { color: var(--gold-hi); }
.prime .activity-time { font-size: .75rem; color: var(--muted); margin-top: 3px; }

/* character page: details */
.prime .character-profile-head { padding: 4px 0 18px; margin-bottom: 16px; }
.prime .character-profile-sub { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.prime .character-profile-sub .sep { opacity: .5; }
.prime .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #c0453a; }
.prime .status-dot.is-online { background: #3fbf7f; box-shadow: 0 0 6px #3fbf7f; }
.prime .character-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prime .character-stats .stat { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; background: rgba(0, 0, 0, .25); border: 1px solid var(--border); border-radius: 6px; }
.prime .character-stats .stat-value { font-weight: 700; color: #fff; font-size: 1.05rem; }
.prime .character-stats .stat:nth-child(2) .stat-value, .prime .character-stats .stat:nth-child(3) .stat-value { color: var(--gold-hi); }
.prime .character-stats .stat-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 2px; }
.prime .character-details .character-profile-list li { padding: 11px 18px; }
.prime .character-subtitle { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.prime .character-masteries { margin: 18px 20px 0; padding-top: 16px; border-top: 1px solid var(--border); }
.prime .mastery-row { display: grid; grid-template-columns: 80px 1fr 28px; align-items: center; gap: 10px; padding: 5px 0; font-size: .85rem; }
.prime .mastery-name { color: var(--text); }
.prime .mastery-bar { height: 6px; background: rgba(255, 255, 255, .06); border-radius: 3px; overflow: hidden; }
.prime .mastery-bar span { display: block; height: 100%; background: linear-gradient(90deg, #a87a2e, var(--gold-hi)); border-radius: 3px; }
.prime .mastery-level { text-align: right; color: #fff; font-weight: 700; }
.prime .activity-list { max-height: 240px; }
.prime .activity-list li { align-items: baseline; gap: 10px; padding: 10px 18px; }
.prime .activity-list .activity-text { flex: 1; min-width: 0; }
.prime .activity-list .activity-time { flex: 0 0 auto; margin: 0; font-size: .72rem; white-space: nowrap; }
.prime .activity-list--dots .activity-text { position: relative; padding-left: 14px; font-weight: 600; }
.prime .activity-list--dots .activity-text::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.prime .pvp-tag { flex: 0 0 auto; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 2px 7px; border-radius: 3px; }
.prime .pvp-tag.is-win { color: #3fbf7f; background: rgba(63, 191, 127, .12); }
.prime .pvp-tag.is-loss { color: #e0655a; background: rgba(224, 101, 90, .12); }
.prime .character-activity .card-header i, .prime .character-panel .card-header i { color: var(--gold); }

/* character page: active buffs */
.prime .character-buffs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 320px; margin: 0 auto 16px; }
.prime .buff-slot { position: relative; width: 32px; height: 32px; border: 1px solid rgba(212, 162, 76, .55); border-radius: 4px; background: #070a0c; cursor: help; }
.prime .buff-slot img { width: 100%; height: 100%; border-radius: 3px; display: block; }
.prime .buff-slot:hover, .prime .buff-slot:focus { border-color: var(--gold-hi); box-shadow: 0 0 10px rgba(236, 197, 116, .45); outline: none; }
.prime .buff-tip {
    position: absolute; z-index: 30; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
    min-width: 200px; padding: 10px 12px; text-align: left; font-size: .8rem; line-height: 1.5;
    background: rgba(10, 14, 17, .97); border: 1px solid var(--gold); border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .6);
    opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none;
}
.prime .buff-tip strong { display: block; color: var(--gold-hi); margin-bottom: 2px; }
.prime .buff-tip span { color: var(--muted); }
.prime .buff-slot:hover .buff-tip, .prime .buff-slot:focus .buff-tip { opacity: 1; visibility: visible; }
.prime .buff-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: .8rem; color: var(--gold); background: radial-gradient(circle, rgba(212, 162, 76, .22), rgba(212, 162, 76, .04)); border-radius: 3px; }

/* ------------------------------------------------ landing page */
html { scroll-behavior: smooth; }
body.prime-landing { overflow-x: hidden; background: #060809; }

/* top bar */
.prime .landing-nav {
    position: fixed; z-index: 50; top: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 14px 32px; transition: background .3s, box-shadow .3s, padding .3s;
}
.prime .landing-nav.is-solid { padding: 8px 32px; background: rgba(8, 11, 13, .92); box-shadow: 0 1px 0 rgba(212, 162, 76, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.prime .landing-nav-brand img { height: 46px; width: auto; display: block; transition: height .3s; }
.prime .landing-nav.is-solid .landing-nav-brand img { height: 38px; }
.prime .landing-nav-links { display: flex; gap: 28px; }
.prime .landing-nav-links a, .prime .landing-nav-enter {
    color: rgba(255, 255, 255, .85) !important; font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important;
}
.prime .landing-nav-links a:hover { color: var(--gold-hi) !important; }
.prime .landing-nav-enter { padding: 9px 18px; border: 1px solid rgba(212, 162, 76, .6); border-radius: 4px; background: rgba(10, 14, 17, .5); }
.prime .landing-nav-enter:hover { border-color: var(--gold-hi); color: var(--gold-hi) !important; }
.prime .landing-nav-enter i { margin-left: 6px; font-size: .75rem; }

/* hero */
.prime .landing {
    position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.prime .landing::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 45% 50% at 50% 48%, rgba(6, 8, 10, .55), transparent 75%),
        linear-gradient(180deg, rgba(6, 8, 10, .6) 0%, rgba(6, 8, 10, .05) 30%, rgba(6, 8, 10, .25) 65%, #060809 100%);
}
.prime .landing .hero-art img { object-position: center 35%; }
.prime .landing-inner {
    position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center;
    padding: 90px 16px 110px; text-align: center;
    animation: primeLandingIn 1.2s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes primeLandingIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.prime .landing-logo { width: min(560px, 82vw); }
.prime .landing-tagline {
    max-width: 560px; margin: 10px 0 32px; color: rgba(255, 255, 255, .8);
    font-size: 1.05rem; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}
.prime .landing-tagline:empty { display: none; }
.prime .landing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.prime .landing-btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 170px; padding: 14px 28px; border-radius: 4px;
    font-family: 'Cinzel', serif; font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
    color: #fff !important; text-decoration: none !important;
    background: rgba(10, 14, 17, .55); border: 1px solid rgba(212, 162, 76, .55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: border-color .2s, background .2s, transform .2s;
}
.prime .landing-btn:hover { border-color: var(--gold-hi); background: rgba(212, 162, 76, .14); transform: translateY(-2px); }
.prime .landing-btn--primary {
    min-width: 220px; color: #1a1206 !important; border-color: var(--gold-hi);
    background: linear-gradient(180deg, #f3d48d 0%, var(--gold) 55%, #a8772c 100%);
    box-shadow: 0 6px 24px rgba(212, 162, 76, .35), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.prime .landing-btn--primary:hover { background: linear-gradient(180deg, #f8e0a6 0%, var(--gold-hi) 55%, #b98634 100%); }
.prime .landing-btn--primary::after {
    content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg); animation: primeShimmer 4.5s ease-in-out infinite;
}
.prime .landing-btn--discord { background: #5865f2; border-color: #5865f2; }
.prime .landing-btn--discord:hover { background: #6d78f5; border-color: #6d78f5; }
.prime .landing-status {
    display: flex; flex-wrap: wrap; justify-content: center; margin-top: 36px;
    background: rgba(10, 14, 17, .6); border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.prime .landing-status-item { display: flex; align-items: center; gap: 8px; padding: 12px 22px; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.prime .landing-status-item + .landing-status-item { border-left: 1px solid rgba(255, 255, 255, .08); }
.prime .landing-status-item strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.prime .landing-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; animation: primePulse 2s infinite; }
.prime .landing-scroll {
    position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px;
}
.prime .landing-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: primeScrollDot 1.8s ease-in-out infinite; }
@keyframes primeScrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* sections */
.prime .landing-sections { position: relative; z-index: 1; }
.prime .landing-section { max-width: 1180px; margin: 0 auto; padding: 80px 20px; scroll-margin-top: 60px; }
.prime .landing-heading { text-align: center; margin-bottom: 40px; }
.prime .landing-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.prime .landing-heading h2, .prime .landing-join h2 { font-family: 'Cinzel', serif; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gold-hi); margin: 0; }
.prime .landing-heading h2::after { content: ""; display: block; width: 70px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.prime .landing-heading p { color: var(--muted); margin: 14px 0 0; }
.prime [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.prime [data-reveal].is-revealed { opacity: 1; transform: none; }

.prime .landing-info-grid, .prime .landing-download-grid, .prime .landing-news-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.prime .landing-info-card, .prime .landing-download-card, .prime .landing-news-card {
    background: linear-gradient(180deg, rgba(20, 26, 30, .9), rgba(12, 16, 19, .9));
    border: 1px solid rgba(255, 255, 255, .07); border-top: 2px solid var(--gold); border-radius: 6px;
}
.prime .landing-info-card { padding: 24px; }
.prime .landing-info-card h3, .prime .landing-download-card h3, .prime .landing-news-card h3 { font-family: 'Cinzel', serif; font-size: 1.1rem; color: #fff; margin: 0 0 10px; }
.prime .landing-info-body { color: var(--text); font-size: .95rem; }
.prime .landing-info-body > :last-child { margin-bottom: 0; }
.prime .landing-download-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 24px; text-align: center; }
.prime .landing-download-card img { max-width: 120px; max-height: 70px; object-fit: contain; margin-bottom: 8px; }
.prime .landing-download-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 50%; color: var(--gold); background: rgba(212, 162, 76, .1); border: 1px solid rgba(212, 162, 76, .35); font-size: 1.3rem; }
.prime .landing-download-card p { color: var(--muted); margin: 0 0 14px; }
.prime .landing-download-card p span { color: #fff; }
.prime .landing-download-card .landing-btn { min-width: 0; width: 100%; }
.prime .landing-news-card { display: block; overflow: hidden; text-decoration: none !important; transition: transform .25s, border-color .25s; }
.prime .landing-news-card:hover { transform: translateY(-4px); border-color: rgba(212, 162, 76, .4); }
.prime .landing-news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.prime .landing-news-body { padding: 18px 20px 22px; }
.prime .landing-news-date { font-size: .75rem; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; }
.prime .landing-news-body h3 { margin-top: 6px; }
.prime .landing-news-body p { color: var(--muted); font-size: .9rem; margin: 0; }

.prime .landing-join-card {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: 44px 48px; border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(8, 11, 13, .95) 35%, rgba(8, 11, 13, .6)),
        url('../images/prime-page-banner.jpg') center / cover no-repeat;
    border: 1px solid rgba(212, 162, 76, .35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.prime .landing-join-text { max-width: 520px; }
.prime .landing-join-text p { color: rgba(255, 255, 255, .75); margin: 12px 0 0; }
.prime .landing-join-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.prime .landing-join-actions .landing-btn { min-width: 150px; }

/* footer */
.prime .landing-footer { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .07); background: #05070a; padding: 30px 32px 22px; }
.prime .landing-backlinks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.prime .landing-backlinks a { display: flex; align-items: center; height: 40px; color: var(--muted) !important; font-size: .85rem; opacity: .6; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.prime .landing-backlinks a:hover { opacity: 1; filter: none; }
.prime .landing-backlinks img { max-height: 40px; max-width: 120px; width: auto; height: auto; object-fit: contain; }
.prime .landing-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.prime .landing-footer a { color: var(--gold); }
.prime .landing-social { display: flex; gap: 10px; }
.prime .landing-social a {
    display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
    color: #fff !important; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .2s, color .2s;
}
.prime .landing-social a:hover { border-color: var(--gold); color: var(--gold-hi) !important; }

@media (max-width: 991px) {
    .prime .landing-nav-links { display: none; }
    .prime .landing-nav, .prime .landing-nav.is-solid { padding-left: 16px; padding-right: 16px; }
    .prime .landing-join-card { padding: 32px 24px; }
}
@media (max-width: 575px) {
    .prime .landing-nav-brand img { height: 36px; }
    .prime .landing-btn, .prime .landing-btn--primary { min-width: 0; width: 100%; }
    .prime .landing-actions, .prime .landing-join-actions { width: 100%; max-width: 320px; flex-direction: column; }
    .prime .landing-status { flex-direction: column; width: 100%; max-width: 320px; }
    .prime .landing-status-item { justify-content: center; }
    .prime .landing-status-item + .landing-status-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
    .prime .landing-section { padding: 56px 16px; }
    .prime .landing-footer-bottom { flex-direction: column; text-align: center; }
    .prime .landing-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .prime .landing-inner, .prime .landing-btn--primary::after, .prime .landing-scroll span { animation: none; }
    .prime [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* landing: open beta countdown */
.prime .landing-countdown { margin: 0 0 30px; }
.prime .landing-countdown-title { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 16px; }
.prime .landing-countdown-title span { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 0 18px rgba(212, 162, 76, .45); }
.prime .landing-countdown-title em { font-style: normal; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.prime .landing-countdown-units { display: flex; justify-content: center; gap: 12px; }
.prime .landing-countdown-units div {
    position: relative; display: flex; flex-direction: column; align-items: center; min-width: 92px; padding: 14px 10px 10px;
    background: linear-gradient(180deg, rgba(20, 26, 30, .8), rgba(8, 11, 13, .85));
    border: 1px solid rgba(212, 162, 76, .45); border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.prime .landing-countdown-units div::before { content: ""; position: absolute; top: -1px; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.prime .landing-countdown-units strong { font-family: 'Cinzel', serif; font-size: 2.4rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.prime .landing-countdown-units span { margin-top: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* landing: server facts */
.prime .landing-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(212, 162, 76, .25); border: 1px solid rgba(212, 162, 76, .35); border-radius: 8px; overflow: hidden; }
.prime .landing-fact { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px 12px; background: #0b0f12; transition: background .25s; }
.prime .landing-fact:hover { background: #10161a; }
.prime .landing-fact strong { font-family: 'Cinzel', serif; font-size: 1.9rem; color: var(--gold-hi); line-height: 1.1; }
.prime .landing-fact span { margin-top: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* landing: register */
.prime .landing-register-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.prime .landing-register-info h2 { font-family: 'Cinzel', serif; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gold-hi); margin: 0 0 12px; }
.prime .landing-register-info p { color: rgba(255, 255, 255, .75); }
.prime .landing-perks { list-style: none; padding: 0; margin: 22px 0 0; }
.prime .landing-perks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.prime .landing-perks li i { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--gold); background: rgba(212, 162, 76, .1); border: 1px solid rgba(212, 162, 76, .3); }
.prime .landing-register-card {
    position: relative; padding: 32px; border-radius: 8px;
    background: linear-gradient(180deg, rgba(20, 26, 30, .95), rgba(10, 13, 16, .95));
    border: 1px solid rgba(212, 162, 76, .35); box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.prime .landing-register-card::before { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.prime .landing-register-card h3 { font-family: 'Cinzel', serif; color: #fff; font-size: 1.3rem; margin: 0 0 20px; }
.prime .landing-field { margin-bottom: 16px; flex: 1; min-width: 0; }
.prime .landing-field-row { display: flex; gap: 14px; }
.prime .landing-field label { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.prime .landing-field input {
    width: 100%; height: 46px; padding: 0 14px; color: #fff; font-size: .95rem;
    background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); border-radius: 4px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.prime .landing-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 162, 76, .15); }
.prime .landing-field input.is-invalid { border-color: #e0655a; }
.prime .landing-field-error { display: block; margin-top: 5px; font-size: .8rem; color: #e0655a; }
.prime .landing-field-error:empty { display: none; }
.prime .landing-captcha { display: flex; gap: 10px; align-items: center; }
.prime .landing-captcha img { height: 46px; border: 1px solid rgba(212, 162, 76, .5); border-radius: 4px; cursor: pointer; flex: 0 0 auto; }
.prime .landing-pass-rules { display: none; margin: -4px 0 16px; padding: 10px 14px; font-size: .8rem; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .06); border-radius: 4px; }
.prime .landing-pass-rules.is-visible { display: block; }
.prime .landing-pass-rules div { color: #e0655a; padding: 2px 0; }
.prime .landing-pass-rules div::before { content: "\25CF"; display: inline-block; width: 18px; }
.prime .landing-pass-rules div.is-ok { color: #3fbf7f; }
.prime .landing-pass-rules div.is-ok::before { content: "\2713"; }
.prime .landing-check { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--text); cursor: pointer; }
.prime .landing-check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; }
.prime .landing-register-login { margin: 14px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.prime .landing-alert { padding: 12px 14px; margin-bottom: 16px; border-radius: 4px; font-size: .9rem; }
.prime .landing-alert--error { color: #f2b3ad; background: rgba(224, 101, 90, .12); border: 1px solid rgba(224, 101, 90, .4); }
.prime .landing-alert--success { color: #a5e6c4; background: rgba(63, 191, 127, .12); border: 1px solid rgba(63, 191, 127, .4); }
.prime .landing-register-done { text-align: center; padding: 20px 0; }
.prime .landing-register-done > i { font-size: 3rem; color: #3fbf7f; margin-bottom: 14px; }
.prime .landing-register-done p { color: var(--text); }
.prime .landing-link-btn { background: none; border: 0; color: var(--gold); text-decoration: underline; cursor: pointer; }

@media (max-width: 991px) {
    .prime .landing-register-wrap { grid-template-columns: 1fr; gap: 28px; }
    .prime .landing-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .prime .landing-countdown-units { gap: 8px; }
    .prime .landing-countdown-units div { min-width: 0; flex: 1; padding: 12px 4px 8px; }
    .prime .landing-countdown-units strong { font-size: 1.7rem; }
    .prime .landing-countdown-units span { font-size: .6rem; letter-spacing: .1em; }
    .prime .landing-field-row { flex-direction: column; gap: 0; }
    .prime .landing-register-card { padding: 24px 18px; }
    .prime .landing-fact strong { font-size: 1.5rem; }
}

/* landing: Open Beta / Grand Opening timers */
.prime .landing-timers { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 0 0 30px; }
.prime .landing-timer {
    position: relative; width: 360px; max-width: 100%; padding: 18px 18px 16px;
    background: linear-gradient(180deg, rgba(16, 21, 25, .82), rgba(7, 10, 12, .88));
    border: 1px solid rgba(212, 162, 76, .45); border-radius: 8px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.prime .landing-timer::before { content: ""; position: absolute; top: -1px; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.prime .landing-timer[data-timer="grand"] { border-color: rgba(69, 196, 185, .45); }
.prime .landing-timer[data-timer="grand"]::before { background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.prime .landing-timer-head { display: flex; align-items: center; justify-content: center; gap: 10px; }
.prime .landing-timer-head i { color: var(--gold); font-size: .95rem; }
.prime .landing-timer[data-timer="grand"] .landing-timer-head i { color: var(--teal); }
.prime .landing-timer-head span { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); }
.prime .landing-timer-date { margin: 4px 0 14px; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.prime .landing-timer-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.prime .landing-timer-units div { display: flex; flex-direction: column; align-items: center; padding: 10px 4px 8px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .07); border-radius: 5px; }
.prime .landing-timer-units strong { font-family: 'Cinzel', serif; font-size: 1.9rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.prime .landing-timer-units span { margin-top: 5px; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.prime .landing-timer-live { display: none; align-items: center; justify-content: center; gap: 8px; padding: 14px 0 6px; font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.3rem; letter-spacing: .12em; text-transform: uppercase; color: #6fd68b; }
.prime .landing-timer.is-live .landing-timer-units { display: none; }
.prime .landing-timer.is-live .landing-timer-live { display: flex; }
@media (max-width: 575px) {
    .prime .landing-timers { width: 100%; }
    .prime .landing-timer-units strong { font-size: 1.5rem; }
}

/* landing register: live availability check */
.prime .landing-field-status { display: none; margin-top: 5px; font-size: .8rem; }
.prime .landing-field-status.is-ok, .prime .landing-field-status.is-bad, .prime .landing-field-status.is-wait { display: flex; align-items: center; gap: 6px; }
.prime .landing-field-status.is-ok { color: #3fbf7f; }
.prime .landing-field-status.is-bad { color: #e0655a; }
.prime .landing-field-status.is-wait { color: var(--muted); }
.prime .landing-field-status.is-ok::before { content: "\2713"; font-weight: 700; }
.prime .landing-field-status.is-bad::before { content: "\2715"; font-weight: 700; }
.prime .landing-field input.is-valid { border-color: rgba(63, 191, 127, .7); }
.prime .landing-field-status.is-ok, .prime .landing-field-status.is-bad, .prime .landing-field-status.is-wait {
    width: fit-content; margin-top: 7px; padding: 4px 10px 4px 8px; border-radius: 4px; font-weight: 600;
}
.prime .landing-field-status.is-ok { color: #4fd18b !important; background: rgba(63, 191, 127, .12); border: 1px solid rgba(63, 191, 127, .45); }
.prime .landing-field-status.is-bad { color: #ff7b6e !important; background: rgba(224, 101, 90, .12); border: 1px solid rgba(224, 101, 90, .5); }
.prime .landing-field-status.is-wait { color: var(--muted) !important; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.prime .landing-field input.is-valid { border-color: #3fbf7f !important; box-shadow: 0 0 0 3px rgba(63, 191, 127, .15); }
.prime .landing-field input.is-invalid { border-color: #e0655a !important; box-shadow: 0 0 0 3px rgba(224, 101, 90, .15); }

/* landing: floating social buttons on the left */
.prime .landing-float-social {
    position: fixed; z-index: 60; left: 0; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 6px;
    animation: primeFloatIn .6s .8s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes primeFloatIn { from { opacity: 0; transform: translate(-100%, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
.prime .landing-float-social a {
    display: flex; align-items: center; height: 48px; width: 48px; overflow: hidden;
    color: #fff !important; text-decoration: none !important; white-space: nowrap;
    border-radius: 0 6px 6px 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
    transition: width .3s cubic-bezier(.2, .7, .2, 1), filter .2s;
}
.prime .landing-float-social a i { flex: 0 0 48px; text-align: center; font-size: 1.25rem; }
.prime .landing-float-social a span { padding-right: 18px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.prime .landing-float-social a:hover, .prime .landing-float-social a:focus-visible { width: 150px; filter: brightness(1.08); }
.prime .landing-float-social a:hover span, .prime .landing-float-social a:focus-visible span { opacity: 1; }
.prime .landing-float-social .float-discord { background: #5865f2; }
.prime .landing-float-social .float-facebook { background: #1877f2; }
@media (max-width: 575px) {
    .prime .landing-float-social a { width: 40px; height: 40px; }
    .prime .landing-float-social a i { flex-basis: 40px; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { .prime .landing-float-social { animation: none; } }
.prime .landing-logo { margin-bottom: 28px; }
.prime .landing-btn--xl { min-width: 340px; padding: 20px 48px; font-size: 1.25rem; letter-spacing: .14em; gap: 12px; }
.prime .landing-btn--xl i { font-size: 1.05rem; }
@media (max-width: 575px) { .prime .landing-btn--xl { min-width: 0; padding: 18px 24px; font-size: 1.1rem; } }
