/* Shared DBO Retro theme with homepage-specific hero sections below. */
:root {
    --site-bg: #080d18;
    --site-surface: rgba(14, 22, 37, .94);
    --site-surface-soft: rgba(20, 31, 51, .9);
    --site-line: rgba(145, 174, 220, .18);
    --site-text: #f4f7ff;
    --site-muted: #aab8cf;
    --site-orange: #ff9f1c;
    --site-cyan: #36d9ff;
}

html { min-height: 100%; }
body.home-page {
    min-height: 100vh;
    height: auto;
    color: var(--site-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    text-align: left !important;
    background-color: var(--site-bg);
    background-image: linear-gradient(180deg, rgba(5, 10, 20, .47), rgba(5, 10, 20, .83)), url("../images/fundo.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.home-page #container {
    width: min(1180px, calc(100% - 36px));
    margin: 24px auto 56px;
    background: transparent;
}
.home-page .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 0; row-gap: 12px; margin-bottom: 18px; }
.home-page .site-brand { grid-column: 1 / -1; }
.header-nav-shell { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; width: 100%; overflow: visible; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #0d1728; box-shadow: 0 14px 35px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.07); }
.home-page .site-brand, .inner-page .site-brand { display: flex; align-items: center; justify-content: center; }
.home-page .site-brand, .inner-page .site-brand { margin-bottom: 70px; }
.home-page .custom-logo, .inner-page .custom-logo { display: block; width: 300px; height: 190px; object-fit: contain; filter: drop-shadow(0 7px 10px rgba(0,0,0,.48)); }
.home-page .navbar.navbar-inverse {
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    min-height: 62px;
    margin: 0;
    border: 0;
    border-radius: 12px 0 0 12px;
    background: transparent !important;
    box-shadow: none;
    position: relative;
    border-radius: 12px;
}
.home-page .navbar.navbar-inverse::before,
.inner-page .navbar.navbar-inverse::before {
    position: absolute;
    top: -1px;
    left: 13px;
    right: 13px;
    height: 2px;
    border-radius: 8px;
    background: linear-gradient(90deg, transparent, var(--site-cyan), var(--site-orange), transparent);
    display: none;
    opacity: .85;
    content: "";
}
.home-page .header-nav-shell .navbar-inverse .container-fluid { padding: 0 10px 0 22px !important; }
.home-page .header-nav-shell .container-fluid > .navbar-collapse,
.home-page .header-nav-shell .navbar-collapse {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.home-page .menu-content { display: flex; align-items: center; justify-content: space-between; }
.home-page .navbar-nav { display: flex; align-items: center; flex-wrap: nowrap; margin: 0; padding: 0; }
.home-page .navbar-nav > li { float: none; flex-shrink: 0; margin: 0; white-space: nowrap; }
.home-page .navbar-nav > li > a {
    position: relative;
    padding: 21px 11px 20px;
    color: #dce5f5;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}
.home-page .navbar-nav > li > a:hover,
.home-page .navbar-nav > li > a:focus,
.home-page .navbar-nav > .open > a,
.home-page .navbar-nav > .open > a:hover {
    color: var(--site-cyan);
    background: rgba(54,217,255,.08) !important;
}
.home-page .navbar-nav > li > a::after,
.inner-page .navbar-nav > li > a::after {
    position: absolute;
    right: 11px;
    bottom: 8px;
    left: 11px;
    height: 2px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--site-cyan), var(--site-orange));
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .18s ease, transform .18s ease;
    content: "";
}
.home-page .navbar-nav > li > a:hover::after,
.home-page .navbar-nav > li > a:focus::after,
.home-page .navbar-nav > .open > a::after,
.inner-page .navbar-nav > li > a:hover::after,
.inner-page .navbar-nav > li > a:focus::after,
.inner-page .navbar-nav > .open > a::after { opacity: 1; transform: scaleX(1); }
.home-page .navbar-inverse .navbar-toggle { border-color: var(--site-line); }
.home-page .navbar-inverse .navbar-toggle:hover,
.home-page .navbar-inverse .navbar-toggle:focus { background: rgba(54,217,255,.12); }
.home-page .dropdown-menu {
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: #101a2b;
    box-shadow: 0 16px 36px rgba(0,0,0,.4);
}
.home-page .dropdown-menu > li > a { padding: 9px 12px; border-radius: 6px; color: #dce5f5 !important; background: transparent; }
.home-page .dropdown-menu > li > a:hover { color: var(--site-cyan) !important; background: rgba(54,217,255,.08); }
.home-page .home-login-item { min-width: 238px; padding: 0; }
.home-page .home-login-item > .login-trigger { display: block; padding: 9px 12px; color: #dce5f5 !important; }
.home-page .home-login-item > .login-trigger:hover { color: var(--site-cyan) !important; background: rgba(54,217,255,.08); }
.home-page .login-form-popup { padding: 6px; }
.home-page .home-login-item form { display: grid; gap: 8px; }
.home-page .home-login-item input { width: 100%; height: 36px; box-sizing: border-box; padding: 0 10px; border: 1px solid var(--site-line); border-radius: 6px; color: #fff; background: #0a1220; }
.home-page .home-login-item button { height: 36px; border: 0; border-radius: 6px; color: #101521; background: linear-gradient(135deg, #ffd166, #ff8f1f); font-size: 12px; font-weight: 800; }
.home-page .home-login-item form > a { padding: 4px; color: var(--site-muted); font-size: 11px; text-align: center; }
.home-page .login-menu { width: 270px; padding: 17px; }
.home-page .login-menu form { margin: 0; }
.home-page .login-menu .form-group { margin-bottom: 10px; }
.home-page .login-menu .form-control { height: 40px; border-color: var(--site-line); color: #fff; background: #0a1220; }
.home-page .recovery-link { display: block; margin-top: 12px; color: var(--site-muted); text-align: center; }
.header-status {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 62px;
    padding: 0 14px 0 8px;
    border: 0;
    border-radius: 0;
    color: #dce5f5;
    background: transparent;
    box-shadow: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    white-space: nowrap;
    flex-shrink: 0;
    transform: translateX(-10px);
}

.header-status-state,
.header-status-players {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-status-state i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d6d;
    box-shadow: 0 0 8px rgba(255,77,109,.7);
}

.header-status-label {
    color: #fff;
}

.header-status-state.is-online {
    color: #9fffc0;
}

.header-status-state.is-online i {
    background: #35e887;
    box-shadow: 0 0 8px rgba(53,232,135,.8);
}

.header-status-state.is-offline {
    color: #ff9eaa;
}

.hero-banner {
    overflow: hidden;
    border: 1px solid rgba(135,191,255,.32);
    border-radius: 16px;
    background: #070b13;
    box-shadow: 0 18px 45px rgba(0,0,0,.4), 0 0 28px rgba(42,167,255,.12);
}
.hero-banner .carousel-inner { border-radius: 15px; }
.hero-banner .carousel-inner > .item > img { display: block; width: 100%; height: clamp(190px, 25vw, 300px); object-fit: cover; }
.hero-banner .carousel-indicators { bottom: 6px; margin-bottom: 0; }
.hero-banner .carousel-indicators li { border-color: #fff; }
.hero-banner .carousel-indicators .active { border-color: var(--site-orange); background: var(--site-orange); }
.hero-banner .carousel-control { width: 8%; opacity: .45; background: transparent; }
.hero-banner .carousel-control:hover { opacity: .9; }
.hero-banner .carousel-control .glyphicon { top: 50%; }

.home-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 18px 0 32px;
    padding: 21px 26px;
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: linear-gradient(110deg, rgba(14,23,40,.97), rgba(18,30,49,.82));
    box-shadow: 0 14px 35px rgba(0,0,0,.22);
}
.home-kicker, .section-kicker { color: var(--site-cyan); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.home-welcome h1 { margin: 6px 0 4px; color: #fff; font-size: clamp(21px, 3vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.home-welcome p { margin: 0; color: var(--site-muted); font-size: 14px; }
.home-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.home-button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease; }
.home-button:hover { transform: translateY(-2px); }
.home-button-primary { color: #101521; background: linear-gradient(135deg, #ffd166, #ff8f1f); box-shadow: 0 6px 18px rgba(255,159,28,.23); }
.home-button-primary:hover { color: #101521; box-shadow: 0 9px 24px rgba(255,159,28,.35); }
.home-button-ghost { border-color: rgba(54,217,255,.42); color: var(--site-cyan); background: rgba(54,217,255,.06); }
.home-button-ghost:hover { color: #fff; background: rgba(54,217,255,.13); }

.guild-section { margin: 0 0 25px; padding: 22px; border: 1px solid var(--site-line); border-radius: 14px; background: rgba(9,15,26,.82); }
.section-heading { margin-bottom: 17px; text-align: center; }
.section-heading h2 { margin: 5px 0; color: #fff; font-size: 23px; font-weight: 800; }
.section-heading p { margin: 0; color: var(--site-muted); font-size: 13px; }
.guild-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; }
.guild-card { display: flex; min-height: 142px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 13px; border: 1px solid var(--site-line); border-radius: 11px; color: #fff; background: linear-gradient(150deg, rgba(26,39,61,.9), rgba(12,19,32,.95)); text-align: center; text-decoration: none !important; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.guild-card:hover { transform: translateY(-3px); border-color: rgba(54,217,255,.55); color: #fff; box-shadow: 0 9px 22px rgba(0,0,0,.24); }
.guild-card img { width: 52px; height: 52px; object-fit: cover; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; }
.guild-card strong { max-width: 100%; overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.guild-card span { color: #ffbf5b; font-size: 11px; }
.assassin-section { margin: 0 0 25px; padding: 22px; border: 1px solid var(--site-line); border-radius: 14px; background: rgba(9,15,26,.82); }
.assassin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; }
.assassin-card { display: flex; min-height: 82px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 13px; border: 1px solid var(--site-line); border-radius: 11px; color: #fff; background: linear-gradient(150deg, rgba(26,39,61,.9), rgba(12,19,32,.95)); text-align: center; text-decoration: none !important; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.assassin-card:hover { transform: translateY(-3px); border-color: rgba(255,95,95,.6); color: #fff; box-shadow: 0 9px 22px rgba(0,0,0,.24); }
.assassin-card img { width: 54px; height: 54px; object-fit: contain; image-rendering: pixelated; }
.assassin-card strong { max-width: 100%; overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.assassin-card span { color: #ff8f8f; font-size: 11px; }
.guild-empty { margin: 0; padding: 16px; border: 1px dashed var(--site-line); border-radius: 9px; color: var(--site-muted); text-align: center; }

.home-page .sidebar { float: right; width: 280px; margin: 0; }
.home-page .content { float: left; width: calc(100% - 304px); margin: 0; }
.home-page .sidebar .panel,
.home-page .content .panel { overflow: hidden; margin-bottom: 16px; border: 1px solid var(--site-line); border-radius: 12px; color: var(--site-text); background: var(--site-surface); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.home-page .home-content-heading { margin: 2px 0 16px; padding: 2px 4px 0; }
.home-page .home-content-heading h2 { margin: 5px 0 3px; color: #fff; font-size: 23px; font-weight: 800; }
.home-page .home-content-heading p { margin: 0; color: var(--site-muted); font-size: 13px; }
.home-page .panel .dark-background,
.home-page .panel-heading { padding: 13px 16px; border: 0; border-bottom: 1px solid var(--site-line); border-radius: 0; color: #fff; background: linear-gradient(100deg, rgba(24,38,60,.98), rgba(15,24,39,.98)); box-shadow: none; text-align: left; }
.home-page .panel-title { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.home-page .panel-body { padding: 15px; color: #eaf0fa; }
.home-page .panel-body p { line-height: 1.7; }
.home-page .panel-body table { margin-bottom: 0; color: #eaf0fa; background: transparent; }
.home-page .panel-body .table > tbody > tr > td,
.home-page .panel-body .table > tbody > tr > th { border-color: var(--site-line); vertical-align: middle; }
.home-page .panel-body .table-striped > tbody > tr:nth-of-type(odd) { background: rgba(255,255,255,.035); }
.home-page .panel-body a:not(.btn) { color: #75dcff; }
.home-page .panel-body .form-control { height: 42px; border-color: var(--site-line); border-radius: 7px; color: #fff; background: #0a1220; box-shadow: none; }
.home-page .panel-body .form-control::placeholder { color: #8fa1ba; }
.home-page .panel-body .btn-primary { border: 0; border-radius: 7px; color: #101521; font-weight: 800; background: linear-gradient(135deg, #ffd166, #ff8f1f); }
.home-page .panel-body .label-warning { color: #1c2430; background-color: #ffc15c; }
.home-page .panel-body .dark-gray { color: #dceaff; }
.home-page #changelogTable, .home-page #news { width: 100%; margin: 0 0 15px; overflow: hidden; border: 1px solid var(--site-line); border-collapse: separate; border-spacing: 0; border-radius: 12px; color: #eaf0fa; background: var(--site-surface); }
.home-page #changelogTable td, .home-page #news td { padding: 14px 16px; border-color: var(--site-line); line-height: 1.65; }
.home-page #changelogTable .yellow, .home-page #news .yellow { color: #fff; background: linear-gradient(100deg, #18263c, #0f1827); }
.home-page #news .zheadline { color: #d6e5f9; }
.home-page #news .zheadline a { color: var(--site-cyan); }
.home-page #news p { margin: 0; }
.home-page select { max-width: 100%; padding: 9px 12px; border: 1px solid var(--site-line); border-radius: 7px; color: #fff; background: #101a2b; }
.home-page #container::after { display: block; clear: both; content: ""; }
.home-page footer, .home-page .site-footer { clear: both; }
.home-page .site-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 20px; padding: 16px 4px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 12px; }
.home-page .hoverable:before { display: none; }
.home-page .hoverable:hover, .home-page .hoverable:active, .home-page .hoverable:focus { transform: none; }

@media (max-width: 900px) {
    .home-page #container { width: min(100% - 24px, 720px); margin-top: 12px; }
    .home-page .custom-logo, .inner-page .custom-logo { width: 220px; height: 140px; }
    .home-page .navbar-inverse .container-fluid { padding: 0 8px; }
    .home-page .navbar-nav > li > a { padding: 17px 8px; font-size: 11px; }
    .home-page .navbar-right { margin-right: 0; }
    .home-page .sidebar { width: 250px; }
    .home-page .content { width: calc(100% - 270px); }
}
@media (max-width: 767px) {
    .home-page #container { width: calc(100% - 24px); margin: 12px auto 30px; }
    .home-page .site-header, .inner-page .site-header { display: flex; flex-direction: column; gap: 8px; }
    .home-page .navbar, .inner-page .navbar, .home-page .header-status, .inner-page .header-status { width: 100%; }
    .home-page .header-status, .inner-page .header-status { justify-content: center; }
    .header-nav-shell { display: flex; flex-direction: column; }
    .home-page .navbar.navbar-inverse, .inner-page .navbar.navbar-inverse { border-radius: 12px; }
    .home-page .header-status, .inner-page .header-status { min-height: 42px; border-left: 1px solid rgba(255,255,255,.08); border-radius: 9px; }
    .home-page .custom-logo, .inner-page .custom-logo { width: 170px; height: 110px; }
    .home-page .navbar.navbar-inverse { min-height: 48px; }
    .home-page .navbar-inverse .navbar-toggle { float: right; margin: 7px; }
    .home-page .navbar-collapse { clear: both; border-top: 1px solid var(--site-line); }
    .home-page .menu-content { display: block; padding: 5px 0 10px; }
    .home-page .menu-content .navbar-nav { float: none; }
    .home-page .menu-content .navbar-nav > li > a { padding: 11px 14px; }
    .home-page .menu-content .navbar-right { margin: 0; }
    .home-page .dropdown-menu { position: static; float: none; width: 100%; margin: 0; border: 0; box-shadow: none; }
    .home-page .dropdown-menu > li > a { white-space: normal; }
    .home-page .login-menu { width: 100%; padding: 12px; }
    .hero-banner .carousel-inner > .item > img { height: clamp(150px, 38vw, 230px); }
    .home-welcome { align-items: flex-start; flex-direction: column; gap: 15px; margin: 12px 0 22px; padding: 18px; }
    .home-actions { width: 100%; }
    .home-button { flex: 1; padding: 0 10px; }
    .guild-section { padding: 17px 13px; }
    .guild-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-page .sidebar, .home-page .content { float: none; width: 100%; }
    .home-page .site-footer { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
    .home-page .custom-logo, .inner-page .custom-logo { width: 145px; height: 95px; }
    .home-page .home-welcome h1 { font-size: 21px; }
    .guild-card { min-height: 128px; }
    .assassin-section { padding: 17px 13px; }
    .assassin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Inner pages: account, rankings, wiki, downloads, shop and community pages. */
body.inner-page {
    min-height: 100vh;
    height: auto;
    color: var(--site-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    text-align: left !important;
    background-color: var(--site-bg);
    background-image: linear-gradient(180deg, rgba(5, 10, 20, .47), rgba(5, 10, 20, .83)), url("../images/fundo.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.inner-page #container {
    width: min(1180px, calc(100% - 36px));
    min-height: 100vh;
    margin: 24px auto 40px;
    background: transparent;
}
.inner-page .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 0; row-gap: 12px; margin-bottom: 24px; }
.inner-page .site-brand { grid-column: 1 / -1; }
.inner-page .header-nav-shell { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; width: 100%; overflow: visible; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #0d1728; box-shadow: 0 14px 35px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.07); }
.inner-page .navbar.navbar-inverse {
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    min-height: 62px;
    margin: 0;
    border: 0;
    border-radius: 12px 0 0 12px;
    background: transparent !important;
    box-shadow: none;
    position: relative;
    border-radius: 12px;
}
.inner-page .header-nav-shell .navbar-inverse .container-fluid { padding: 0 10px 0 22px !important; }
.inner-page .header-nav-shell .container-fluid > .navbar-collapse,
.inner-page .header-nav-shell .navbar-collapse {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.inner-page .menu-content { display: flex; align-items: center; justify-content: space-between; }
.inner-page .navbar-nav { display: flex; align-items: center; flex-wrap: nowrap; margin: 0; padding: 0; }
.inner-page .navbar-nav > li { float: none; flex-shrink: 0; margin: 0; white-space: nowrap; }
.inner-page .navbar-nav > li > a {
    position: relative;
    padding: 21px 11px 20px;
    color: #dce5f5;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}
.inner-page .navbar-nav > li > a:hover,
.inner-page .navbar-nav > li > a:focus,
.inner-page .navbar-nav > .open > a,
.inner-page .navbar-nav > .open > a:hover { color: var(--site-cyan); background: rgba(54,217,255,.08) !important; }
.inner-page .navbar-inverse .navbar-toggle { border-color: var(--site-line); }
.inner-page .navbar-inverse .navbar-toggle:hover,
.inner-page .navbar-inverse .navbar-toggle:focus { background: rgba(54,217,255,.12); }
.inner-page .dropdown-menu {
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: #101a2b;
    box-shadow: 0 16px 36px rgba(0,0,0,.4);
}
.inner-page .dropdown-menu > li > a { padding: 9px 12px; border-radius: 6px; color: #dce5f5 !important; background: transparent; }
.inner-page .dropdown-menu > li > a:hover { color: var(--site-cyan) !important; background: rgba(54,217,255,.08); }
.inner-page .home-login-item { min-width: 238px; padding: 0; }
.inner-page .home-login-item > .login-trigger { display: block; padding: 9px 12px; color: #dce5f5 !important; }
.inner-page .home-login-item > .login-trigger:hover { color: var(--site-cyan) !important; background: rgba(54,217,255,.08); }
.inner-page .login-form-popup { padding: 6px; }
.inner-page .home-login-item form { display: grid; gap: 8px; }
.inner-page .home-login-item input { width: 100%; height: 36px; box-sizing: border-box; padding: 0 10px; border: 1px solid var(--site-line); border-radius: 6px; color: #fff; background: #0a1220; }
.inner-page .home-login-item button { height: 36px; border: 0; border-radius: 6px; color: #101521; background: linear-gradient(135deg, #ffd166, #ff8f1f); font-size: 12px; font-weight: 800; }
.inner-page .home-login-item form > a { padding: 4px; color: var(--site-muted); font-size: 11px; text-align: center; }
.inner-page .login-menu { width: 270px; padding: 17px; }
.inner-page .login-menu form { margin: 0; }
.inner-page .login-menu .form-group { margin-bottom: 10px; }
.inner-page .login-menu .form-control { height: 40px; border-color: var(--site-line); color: #fff; background: #0a1220; }
.inner-page .recovery-link { display: block; margin-top: 12px; color: var(--site-muted); text-align: center; }

.inner-page .sidebar { float: right; width: 280px; margin: 0; }
.inner-page .content { float: left; width: calc(100% - 304px); min-height: 450px; margin: 0; }
.inner-page .inner-page-content { position: relative; overflow: hidden; padding: 12px; border: 1px solid rgba(54,217,255,.18); border-radius: 16px; background: rgba(7,14,26,.72); box-shadow: 0 18px 45px rgba(0,0,0,.28); }
.inner-page .sidebar .panel,
.inner-page .content > .panel,
.inner-page .content .panel {
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    color: var(--site-text);
    background: var(--site-surface);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.inner-page .panel .dark-background,
.inner-page .panel-heading {
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid var(--site-line);
    border-radius: 0;
    color: #fff;
    background: linear-gradient(100deg, rgba(24,38,60,.98), rgba(15,24,39,.98));
    box-shadow: none;
    text-align: left;
}
.inner-page .panel-title { margin: 0; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.inner-page .panel-body { padding: 18px; color: #eaf0fa; }
.inner-page .panel-body p { line-height: 1.7; }
.inner-page h1, .inner-page h2, .inner-page h3, .inner-page h4 { color: #fff; }
.inner-page a { color: #75dcff; }
.inner-page a:hover, .inner-page a:focus { color: #b8f1ff; }
.inner-page .btn { border-radius: 7px; transition: transform .16s ease, box-shadow .16s ease; }
.inner-page .btn:hover { transform: translateY(-1px); }
.inner-page .btn-primary,
.inner-page input[type="submit"],
.inner-page button[type="submit"] {
    border: 0;
    color: #101521;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd166, #ff8f1f);
}
.inner-page .btn-primary:hover,
.inner-page input[type="submit"]:hover,
.inner-page button[type="submit"]:hover { color: #101521; background: linear-gradient(135deg, #ffe08e, #ffad48); }
.inner-page .btn-default { border-color: var(--site-line); color: #eaf0fa; background: rgba(255,255,255,.06); }
.inner-page .form-control,
.inner-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.inner-page select,
.inner-page textarea {
    max-width: 100%;
    border: 1px solid var(--site-line);
    border-radius: 7px;
    color: #f4f7ff;
    background-color: #0a1220;
    box-shadow: none;
}
.inner-page .form-control:focus,
.inner-page input:focus,
.inner-page select:focus,
.inner-page textarea:focus { border-color: rgba(54,217,255,.65); outline: 0; box-shadow: 0 0 0 3px rgba(54,217,255,.1); }
.inner-page input::placeholder, .inner-page textarea::placeholder { color: #8fa1ba; }
.inner-page table { max-width: 100%; color: #eaf0fa; }
.inner-page .table { color: #eaf0fa; background: transparent; }
.inner-page .table > thead > tr > th,
.inner-page .table > tbody > tr > th,
.inner-page .table > tfoot > tr > th,
.inner-page .table > thead > tr > td,
.inner-page .table > tbody > tr > td,
.inner-page .table > tfoot > tr > td { border-color: var(--site-line); vertical-align: middle; }
.inner-page .table-striped > tbody > tr:nth-of-type(odd) { background: rgba(255,255,255,.035); }
.inner-page .table-hover > tbody > tr:hover { background: rgba(54,217,255,.07); }
.inner-page table .yellow,
.inner-page table .header,
.inner-page .yellow { color: #fff; background: linear-gradient(100deg, #18263c, #0f1827); }
.inner-page .tab-content { border-color: var(--site-line); border-radius: 0 0 10px 10px; color: #eaf0fa; background: var(--site-surface); }
.inner-page .nav-tabs { border-bottom-color: var(--site-line); }
.inner-page .nav-tabs > li > a { border-radius: 8px 8px 0 0; color: #bdcce2; }
.inner-page .nav-tabs > li > a:hover { border-color: var(--site-line); color: var(--site-cyan); background: rgba(54,217,255,.06); }
.inner-page .nav-tabs > li.active > a,
.inner-page .nav-tabs > li.active > a:hover,
.inner-page .nav-tabs > li.active > a:focus { border-color: var(--site-line); border-bottom-color: #101a2b; color: #fff; background: #101a2b; }
.inner-page .profile-table tr,
.inner-page .profile-table-kill tr { color: #eaf0fa; background: #101a2b; }
.inner-page .profile-table td,
.inner-page .profile-table-kill td { border-color: var(--site-line); }
.inner-page .skills-container { border: 1px solid var(--site-line); background: #101a2b; }
.inner-page .skill-item { border-color: var(--site-line); color: #eaf0fa; background: #17243a; }
.inner-page .skill-label { color: #dce5f5; }
.inner-page .skill-value { color: var(--site-cyan); }
.inner-page .wiki-container { width: min(100%, 900px); max-width: 900px; border: 1px solid var(--site-line); border-radius: 14px; background: rgba(14,22,37,.82); }
.inner-page .topic-bg { border-color: var(--site-orange); border-radius: 12px; background-color: #101a2b; box-shadow: 0 10px 25px rgba(0,0,0,.24); }
.inner-page .wiki-page { width: 100%; max-width: 1080px; margin: 0 auto; }
.inner-page .wiki-hero { position: relative; overflow: hidden; margin: 0 0 18px; padding: 27px 32px 25px; border: 1px solid rgba(54,217,255,.25); border-radius: 15px; background: linear-gradient(125deg, rgba(12,25,44,.98), rgba(17,29,48,.78)); box-shadow: 0 16px 35px rgba(0,0,0,.28); }
.inner-page .wiki-hero::before { position: absolute; top: -80px; right: -35px; width: 250px; height: 250px; border: 1px solid rgba(54,217,255,.15); border-radius: 50%; box-shadow: 0 0 0 22px rgba(54,217,255,.025), 0 0 0 44px rgba(54,217,255,.02); content: ""; }
.inner-page .wiki-hero h1 { position: relative; margin: 7px 0 5px; color: #fff; font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -.04em; }
.inner-page .wiki-hero p { position: relative; max-width: 560px; margin: 0; color: var(--site-muted); font-size: 14px; }
.inner-page .wiki-scanline { position: absolute; right: 30px; bottom: 22px; width: 130px; height: 2px; background: linear-gradient(90deg, transparent, var(--site-cyan)); opacity: .8; }
.inner-page .global-page-hero { position: relative; overflow: hidden; margin: 0 0 18px; padding: 27px 32px 25px; border: 1px solid rgba(54,217,255,.25); border-radius: 15px; background: linear-gradient(125deg, rgba(12,25,44,.98), rgba(17,29,48,.78)); box-shadow: 0 16px 35px rgba(0,0,0,.28); }
.inner-page .global-page-hero::before { position: absolute; top: -80px; right: -35px; width: 250px; height: 250px; border: 1px solid rgba(54,217,255,.15); border-radius: 50%; box-shadow: 0 0 0 22px rgba(54,217,255,.025), 0 0 0 44px rgba(54,217,255,.02); content: ""; }
.inner-page .global-page-hero h1 { position: relative; margin: 7px 0 5px; color: #fff; font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -.04em; }
.inner-page .global-page-hero p { position: relative; max-width: 560px; margin: 0; color: var(--site-muted); font-size: 14px; }
.inner-page .download-page { color: var(--site-text); }
.inner-page .download-intro { margin-bottom: 22px; }
.inner-page .download-kicker { color: var(--site-cyan); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.inner-page .download-intro h1 { margin: 8px 0 5px; color: #fff; font-size: 28px; font-weight: 800; }
.inner-page .download-intro p { max-width: 680px; margin: 0; color: var(--site-muted); font-size: 14px; }
.inner-page .download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inner-page .download-card { position: relative; display: flex; gap: 16px; min-height: 180px; padding: 20px; overflow: hidden; border: 1px solid rgba(105,143,193,.34); border-radius: 13px; background: linear-gradient(135deg, rgba(22,39,64,.95), rgba(9,17,31,.94)); box-shadow: 0 12px 25px rgba(0,0,0,.22); }
.inner-page .download-card::after { position: absolute; right: -30px; bottom: -55px; width: 150px; height: 150px; border: 1px solid rgba(54,217,255,.12); border-radius: 50%; box-shadow: 0 0 0 15px rgba(54,217,255,.025), 0 0 0 30px rgba(54,217,255,.02); content: ""; }
.inner-page .download-card-featured { border-color: rgba(54,217,255,.65); box-shadow: 0 0 22px rgba(54,217,255,.1), 0 12px 25px rgba(0,0,0,.22); }
.inner-page .download-card-icon { z-index: 1; display: grid; flex: 0 0 58px; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(54,217,255,.42); border-radius: 12px; color: var(--site-cyan); background: #091323; font-size: 28px; box-shadow: inset 0 0 18px rgba(54,217,255,.08); }
.inner-page .download-card-copy { position: relative; z-index: 1; }
.inner-page .download-card-label { color: var(--site-cyan); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.inner-page .download-card h2 { margin: 7px 0 7px; color: #fff; font-size: 20px; }
.inner-page .download-card p { min-height: 38px; margin: 0 0 14px; color: var(--site-muted); font-size: 13px; line-height: 1.5; }
.inner-page .download-button { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(54,217,255,.45); border-radius: 7px; color: #dffaff; background: rgba(5,28,48,.9); font-size: 12px; font-weight: 700; text-decoration: none; transition: .18s ease; }
.inner-page .download-button:hover { border-color: var(--site-cyan); color: #fff; background: rgba(10,65,88,.95); box-shadow: 0 0 15px rgba(54,217,255,.2); transform: translateY(-1px); }
.inner-page .wiki-container { width: 100%; max-width: none; box-sizing: border-box; margin: 0; padding: 20px; border: 1px solid var(--site-line); border-radius: 15px; background: rgba(9,16,28,.82); box-shadow: 0 18px 40px rgba(0,0,0,.24); }
.inner-page .wiki-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.inner-page .wiki-topic { position: relative; display: flex; min-height: 156px; align-items: center; gap: 13px; overflow: hidden; padding: 17px; border: 1px solid rgba(126,167,220,.23); border-radius: 13px; color: #fff; background: linear-gradient(140deg, rgba(24,40,64,.96), rgba(12,21,36,.96)); text-decoration: none !important; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.inner-page .wiki-topic::before { position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(180deg, var(--site-cyan), var(--site-orange)); opacity: .8; content: ""; }
.inner-page .wiki-topic:hover { transform: translateY(-4px); border-color: rgba(54,217,255,.65); color: #fff; box-shadow: 0 12px 25px rgba(0,0,0,.3), 0 0 18px rgba(54,217,255,.09); }
.inner-page .wiki-topic-icon { display: block; flex: 0 0 82px; width: 82px; height: 105px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background-color: rgba(4,9,17,.55); background-position: center; background-repeat: no-repeat; transition: transform .2s ease; }
.inner-page .wiki-topic:hover .wiki-topic-icon { transform: scale(1.06); }
.inner-page .wiki-topic-copy { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.inner-page .wiki-topic-copy strong { color: #f4f7ff; font-size: 16px; font-weight: 800; }
.inner-page .wiki-topic-copy small { color: var(--site-muted); font-size: 11px; line-height: 1.4; }
.inner-page .wiki-topic-arrow { position: absolute; right: 13px; bottom: 10px; color: var(--site-cyan); font-size: 17px; opacity: .65; }
.inner-page .wiki-community { max-width: none; }
.inner-page .community-tabs { display: flex; gap: 8px; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--site-line); }
.inner-page .community-tab { padding: 10px 20px; border: 1px solid rgba(126,167,220,.23); border-radius: 9px; color: var(--site-muted); background: rgba(16,26,43,.9); font-weight: 800; cursor: pointer; }
.inner-page .community-tab:hover, .inner-page .community-tab.is-active { border-color: var(--site-cyan); color: #fff; background: rgba(54,217,255,.1); }
.inner-page .community-panel h2 { margin: 0 0 5px; color: #fff; font-size: 21px; }
.inner-page .community-intro { margin: 0 0 16px; color: var(--site-muted); }
.inner-page .community-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inner-page .community-vocation-link { display: inline-flex; gap: 18px; align-items: center; margin-top: 8px; padding: 13px 18px; border: 1px solid rgba(54,217,255,.35); border-radius: 9px; color: #fff; background: rgba(54,217,255,.1); font-weight: 800; text-decoration: none; }
.inner-page .community-vocation-link:hover { color: #fff; border-color: var(--site-cyan); text-decoration: none; }
.inner-page .community-item-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 220px) minmax(150px, 190px); gap: 10px; margin: 0 0 16px; }
.inner-page .community-item-controls input, .inner-page .community-item-controls select { min-width: 0; height: 42px; padding: 0 12px; border: 1px solid rgba(126,167,220,.28); border-radius: 8px; color: #fff; background: #101a2b; }
.inner-page .community-item-controls input::placeholder { color: var(--site-muted); }
.inner-page .community-item-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.inner-page .community-item-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 3px 10px; min-height: 78px; padding: 9px; border: 1px solid rgba(126,167,220,.2); border-radius: 9px; background: linear-gradient(140deg, rgba(24,40,64,.96), rgba(12,21,36,.96)); cursor: pointer; transition: border-color .16s ease, transform .16s ease; }
.inner-page .community-item-card:hover, .inner-page .community-item-card:focus-visible { border-color: rgba(54,217,255,.7); transform: translateY(-2px); outline: none; }
.inner-page .community-item-card[hidden] { display: none; }
.inner-page .community-item-card img { grid-column: 1; grid-row: 1 / span 4; width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; }
.inner-page .community-item-card .community-item-no-image { grid-row: 1 / span 4; grid-column: 1; display: block; width: 44px; height: 44px; border: 1px solid rgba(126,167,220,.16); border-radius: 6px; background: rgba(7,15,27,.55); }
.inner-page .community-item-card span { overflow: hidden; color: #f4f7ff; font-size: 12px; font-weight: 700; text-overflow: ellipsis; }
.inner-page .community-item-card small { color: var(--site-muted); font-size: 10px; }
.inner-page .community-item-card .community-item-sources { color: var(--site-cyan); font-size: 9px; line-height: 1.2; }
.inner-page .community-item-stats { display: grid; grid-column: 2; gap: 2px; margin-top: 3px; }
.inner-page .community-item-stats small { color: #c8d6e9; font-size: 9px; line-height: 1.25; }
.inner-page .community-item-stats strong { color: var(--site-cyan); font-weight: 700; }
.inner-page .community-item-empty { margin: 16px 0 0; color: var(--site-muted); }
.community-item-preview { position: fixed; z-index: 9999; width: min(340px, calc(100vw - 24px)); box-sizing: border-box; padding: 15px; border: 1px solid rgba(54,217,255,.5); border-radius: 11px; color: #eaf0fa; background: rgba(10,20,35,.98); box-shadow: 0 16px 45px rgba(0,0,0,.58); pointer-events: none; }
.community-item-preview[hidden] { display: none; }
.community-item-preview-heading { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 11px; align-items: center; }
.community-item-preview-heading img { width: 50px; height: 50px; object-fit: contain; image-rendering: pixelated; border-radius: 7px; background: rgba(0,0,0,.22); }
.community-item-preview-heading img[hidden] { display: none; }
.community-item-preview-heading div { display: grid; gap: 3px; }
.community-item-preview-heading strong { color: #fff; font-size: 15px; }
.community-item-preview-heading small { color: var(--site-cyan); }
.community-item-preview > p { margin: 11px 0 0; color: #bdcbe0; font-size: 12px; line-height: 1.4; }
.community-item-preview-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin-top: 11px; }
.community-item-preview-stats span { padding: 6px 7px; border: 1px solid rgba(126,167,220,.18); border-radius: 6px; color: #cbd8ea; background: rgba(4,12,24,.5); font-size: 10px; }
.community-item-preview-stats strong { color: var(--site-cyan); }
.community-item-preview-drops { display: grid; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(54,217,255,.2); font-size: 11px; }
.community-item-preview-drops > strong { color: #ffcc00; }
.community-item-preview-drops span { color: #d6e1f0; line-height: 1.4; }
.community-item-modal[hidden] { display: none; }
.community-item-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(3,8,16,.82); }
.community-item-modal-card { position: relative; display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 20px; width: min(100%,560px); max-height: 85vh; overflow: auto; padding: 26px; border: 1px solid rgba(54,217,255,.38); border-radius: 14px; color: #eaf0fa; background: #101a2b; box-shadow: 0 22px 70px rgba(0,0,0,.55); }
.community-item-modal-card > img { width: 96px; height: 96px; object-fit: contain; image-rendering: pixelated; border-radius: 10px; background: rgba(0,0,0,.2); }
.community-item-modal-info h2 { margin: 6px 0 10px; color: #fff; }
.community-item-modal-info h3 { margin: 18px 0 8px; color: #42d9f4; }
.community-item-modal-info p { margin: 5px 0; }
.community-item-modal-info #community-item-modal-sources { color: var(--site-muted); font-size: 13px; }
.community-item-modal-info #community-item-modal-monsters { color: #d6e1f0; font-size: 12px; line-height: 1.5; }
.community-item-modal-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.community-item-modal-stats p { margin: 0; padding: 8px 10px; border: 1px solid rgba(126,167,220,.2); border-radius: 7px; background: rgba(7,15,27,.55); }
.community-item-modal-close { position: absolute; top: 8px; right: 12px; border: 0; color: #fff; background: transparent; font-size: 28px; cursor: pointer; }
/* Wiki quests */
.inner-page .wiki-quests-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.inner-page .wiki-quests-heading h2 { margin: 0 0 4px; color: #fff; font-size: 21px; }
.inner-page .wiki-quests-heading p { margin: 0; color: var(--site-muted); font-size: 13px; }
.inner-page .wiki-quests-heading a { flex: 0 0 auto; padding: 9px 12px; border: 1px solid rgba(54,217,255,.3); border-radius: 8px; color: var(--site-cyan); background: rgba(54,217,255,.06); font-size: 11px; font-weight: 800; text-decoration: none; }
.inner-page .wiki-quests-heading a:hover { border-color: var(--site-cyan); color: #fff; text-decoration: none; }
.inner-page .wiki-community-actions { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.inner-page .wiki-back-link { flex: 0 0 auto; padding: 9px 12px; border: 1px solid rgba(54,217,255,.3); border-radius: 8px; color: var(--site-cyan); background: rgba(54,217,255,.06); font-size: 11px; font-weight: 800; text-decoration: none; }
.inner-page .wiki-back-link:hover { border-color: var(--site-cyan); color: #fff; text-decoration: none; }
.inner-page .wiki-quest-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.inner-page .wiki-quest-card { position: relative; display: flex; min-width: 0; min-height: 190px; overflow: hidden; padding: 0; border: 1px solid rgba(126,167,220,.25); border-radius: 13px; color: #fff; background: linear-gradient(140deg,rgba(24,40,64,.98),rgba(9,17,30,.98)); font: inherit; text-align: left; cursor: pointer; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.inner-page .wiki-quest-card:hover, .inner-page .wiki-quest-card:focus-visible { border-color: rgba(54,217,255,.7); outline: none; box-shadow: 0 13px 28px rgba(0,0,0,.3),0 0 18px rgba(54,217,255,.08); transform: translateY(-3px); }
.inner-page .wiki-quest-image-wrap { position: relative; display: block; flex: 0 0 45%; min-width: 0; overflow: hidden; background: #070e19; }
.inner-page .wiki-quest-image-wrap::after { position: absolute; inset: 0; background: linear-gradient(90deg,transparent 55%,rgba(13,23,39,.9)),linear-gradient(0deg,rgba(4,9,17,.4),transparent 60%); content: ""; }
.inner-page .wiki-quest-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.inner-page .wiki-quest-card:hover img { transform: scale(1.05); }
.inner-page .wiki-quest-level, .inner-page .wiki-quest-difficulty { position: absolute; z-index: 1; left: 9px; bottom: 9px; padding: 5px 7px; border-radius: 5px; color: #08111f; background: var(--site-orange); font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.inner-page .wiki-quest-difficulty { top: 9px; bottom: auto; color: #fff; background: #b52d3a; }
.inner-page .wiki-quest-content { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 17px 15px 14px; }
.inner-page .wiki-quest-content > strong { margin-bottom: 11px; color: #fff; font-size: 16px; line-height: 1.25; }
.inner-page .wiki-quest-content small { margin-bottom: 6px; color: #b8c7dc; font-size: 10px; line-height: 1.35; }
.inner-page .wiki-quest-content small b { color: #e6edf8; }
.inner-page .wiki-quest-more { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(126,167,220,.16); color: var(--site-cyan); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.wiki-quest-modal[hidden] { display: none; }
.wiki-quest-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3,8,16,.88); backdrop-filter: blur(5px); }
.wiki-quest-modal-card { position: relative; display: grid; grid-template-columns: minmax(260px,42%) minmax(0,1fr); width: min(100%,900px); max-height: 88vh; overflow: auto; border: 1px solid rgba(54,217,255,.42); border-radius: 16px; color: #eaf0fa; background: #0e1829; box-shadow: 0 25px 80px rgba(0,0,0,.65); }
.wiki-quest-modal-card > img { width: 100%; height: 100%; min-height: 430px; object-fit: contain; background: #070e19; }
.wiki-quest-modal-body { padding: 30px 28px 27px; }
.wiki-quest-modal-kicker { color: var(--site-cyan); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.wiki-quest-modal-body h2 { margin: 7px 35px 17px 0; color: #fff; font-size: 25px; line-height: 1.2; }
.wiki-quest-modal-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.wiki-quest-modal-facts p { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 9px 10px; border: 1px solid rgba(126,167,220,.19); border-radius: 7px; background: rgba(6,14,26,.55); }
.wiki-quest-modal-facts p[hidden] { display: none; }
.wiki-quest-modal-facts span { color: var(--site-muted); font-size: 9px; text-transform: uppercase; }
.wiki-quest-modal-facts strong { color: #f3f7ff; font-size: 11px; }
.wiki-quest-modal-about { margin-top: 20px; padding-top: 17px; border-top: 1px solid rgba(54,217,255,.2); }
.wiki-quest-modal-about h3 { margin: 0 0 9px; color: var(--site-cyan); font-size: 15px; }
.wiki-quest-modal-about p { margin: 0 0 10px; color: #c7d3e5; font-size: 12px; line-height: 1.65; }
.wiki-quest-modal-about .wiki-quest-modal-message { color: #f2d27a; font-weight: 700; }
.wiki-quest-modal-close { position: absolute; z-index: 2; top: 10px; right: 13px; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(5,11,21,.82); font-size: 25px; line-height: 28px; cursor: pointer; }
.wiki-quest-modal-close:hover, .wiki-quest-modal-close:focus-visible { border-color: var(--site-cyan); outline: none; color: var(--site-cyan); }
body.wiki-quest-modal-open { overflow: hidden; }
/* Wiki specials */
.inner-page .wiki-specials-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.inner-page .wiki-specials-heading h2, .inner-page .wiki-specials-section-title h2 { margin: 5px 0 5px; color: #fff; font-size: 23px; }
.inner-page .wiki-specials-heading p, .inner-page .wiki-specials-section-title p { margin: 0; color: var(--site-muted); font-size: 13px; }
.inner-page .wiki-specials-info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.inner-page .wiki-specials-info-card { display: flex; gap: 14px; min-width: 0; padding: 18px; border: 1px solid rgba(126,167,220,.22); border-radius: 12px; background: linear-gradient(140deg,rgba(23,39,63,.92),rgba(8,16,29,.95)); }
.inner-page .wiki-specials-info-card.wiki-specials-about { border-color: rgba(54,217,255,.34); }
.inner-page .wiki-specials-info-card.wiki-specials-warning { border-color: rgba(255,100,80,.42); background: linear-gradient(140deg,rgba(62,28,32,.72),rgba(17,17,28,.96)); }
.inner-page .wiki-specials-info-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(54,217,255,.3); border-radius: 10px; background: rgba(5,14,27,.75); font-size: 21px; }
.inner-page .wiki-specials-info-card h3 { margin: 2px 0 9px; color: #fff; font-size: 15px; }
.inner-page .wiki-specials-info-card p, .inner-page .wiki-specials-info-card li { color: #bdcbe0; font-size: 11px; line-height: 1.6; }
.inner-page .wiki-specials-info-card p { margin: 0; }
.inner-page .wiki-specials-info-card ul { display: grid; gap: 6px; margin: 0; padding-left: 17px; }
.inner-page .wiki-specials-info-card strong { color: #f3f7ff; }
.inner-page .wiki-specials-info-card .wiki-specials-alert { margin-bottom: 8px; color: #ffcf6c; font-weight: 900; text-transform: uppercase; }
.inner-page .wiki-specials-available { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(54,217,255,.2); }
.inner-page .wiki-specials-section-title { margin-bottom: 16px; text-align: center; }
.inner-page .wiki-specials-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.inner-page .wiki-special-card { position: relative; display: flex; min-width: 0; min-height: 205px; align-items: center; flex-direction: column; justify-content: center; overflow: hidden; padding: 18px 12px 13px; border: 1px solid rgba(126,167,220,.24); border-radius: 12px; color: #fff; background: radial-gradient(circle at 50% 35%,rgba(54,217,255,.11),transparent 44%),linear-gradient(145deg,rgba(21,38,62,.98),rgba(7,14,26,.98)); font: inherit; text-align: center; cursor: pointer; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.inner-page .wiki-special-card:hover, .inner-page .wiki-special-card:focus-visible { border-color: rgba(54,217,255,.65); outline: none; box-shadow: 0 12px 28px rgba(0,0,0,.3),0 0 20px rgba(54,217,255,.08); transform: translateY(-3px); }
.inner-page .wiki-special-card img { position: relative; z-index: 1; width: 92px; height: 92px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); transition: transform .2s ease; }
.inner-page .wiki-special-card:hover img { transform: scale(1.08); }
.inner-page .wiki-special-card strong { position: relative; z-index: 1; margin-top: 7px; color: #fff; font-size: 14px; }
.inner-page .wiki-special-card small { position: relative; z-index: 1; margin-top: 3px; color: var(--site-cyan); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.inner-page .wiki-special-card-glow { position: absolute; top: 12px; width: 90px; height: 90px; border-radius: 50%; background: rgba(54,217,255,.12); filter: blur(18px); }
.inner-page .wiki-special-card-more { position: relative; z-index: 1; width: 100%; margin-top: 12px; padding-top: 9px; border-top: 1px solid rgba(126,167,220,.17); color: #dce8f8; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.wiki-special-modal[hidden] { display: none; }
.wiki-special-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3,8,16,.9); backdrop-filter: blur(6px); }
.wiki-special-modal-card { position: relative; display: grid; grid-template-columns: 230px minmax(0,1fr); width: min(100%,850px); max-height: 88vh; overflow: hidden; border: 1px solid rgba(54,217,255,.42); border-radius: 16px; color: #eaf0fa; background: #0e1829; box-shadow: 0 25px 80px rgba(0,0,0,.68); }
.wiki-special-modal-visual { position: relative; display: flex; min-height: 100%; align-items: center; flex-direction: column; justify-content: center; overflow: hidden; padding: 28px 20px; border-right: 1px solid rgba(54,217,255,.2); background: radial-gradient(circle at 50% 38%,rgba(54,217,255,.22),transparent 38%),linear-gradient(160deg,#122842,#070f1d); }
.wiki-special-modal-visual::before, .wiki-special-modal-visual::after { position: absolute; width: 190px; height: 190px; border: 1px solid rgba(54,217,255,.12); border-radius: 50%; content: ""; }
.wiki-special-modal-visual::after { width: 145px; height: 145px; border-color: rgba(255,174,48,.12); }
.wiki-special-modal-visual img { position: relative; z-index: 2; width: 150px; height: 150px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 12px 18px rgba(0,0,0,.6)); }
.wiki-special-modal-visual > span:last-child { position: relative; z-index: 2; margin-top: 18px; color: var(--site-cyan); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.wiki-special-modal-aura { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(54,217,255,.24); filter: blur(30px); }
.wiki-special-modal-body { overflow: auto; padding: 28px 30px 30px; }
.wiki-special-modal-body h2 { margin: 7px 38px 8px 0; color: #fff; font-size: 25px; line-height: 1.2; }
.wiki-special-modal-summary { margin: 0 0 16px; color: #c2d0e3; font-size: 12px; line-height: 1.6; }
.wiki-special-modal-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.wiki-special-modal-facts p { display: flex; min-width: 0; flex-direction: column; gap: 4px; margin: 0; padding: 9px 10px; border: 1px solid rgba(126,167,220,.19); border-radius: 7px; background: rgba(6,14,26,.55); }
.wiki-special-modal-facts span { color: var(--site-muted); font-size: 9px; text-transform: uppercase; }
.wiki-special-modal-facts strong { color: #fff; font-size: 11px; }
.wiki-special-modal-sections { display: grid; gap: 15px; margin-top: 19px; padding-top: 17px; border-top: 1px solid rgba(54,217,255,.2); }
.wiki-special-modal-sections section + section { padding-top: 14px; border-top: 1px solid rgba(126,167,220,.13); }
.wiki-special-modal-sections h3 { margin: 0 0 7px; color: var(--site-cyan); font-size: 14px; }
.wiki-special-modal-sections p { margin: 0 0 7px; color: #c7d3e5; font-size: 11px; line-height: 1.65; }
.wiki-special-modal-closing { margin: 17px 0 0; padding: 12px 13px; border: 1px solid rgba(255,190,70,.24); border-radius: 8px; color: #f2d27a; background: rgba(255,174,48,.06); font-size: 11px; font-weight: 800; line-height: 1.5; }
.wiki-special-modal-close { position: absolute; z-index: 3; top: 10px; right: 13px; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(5,11,21,.82); font-size: 25px; line-height: 28px; cursor: pointer; }
.wiki-special-modal-close:hover, .wiki-special-modal-close:focus-visible { border-color: var(--site-cyan); outline: none; color: var(--site-cyan); }
body.wiki-special-modal-open { overflow: hidden; }
/* Wiki detail lists such as NPCs */
.inner-page .custom-page-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; margin: 0; padding: 0; background: transparent; }
.inner-page .custom-page-input { width: 100%; height: 46px; box-sizing: border-box; margin: 0 0 16px; padding: 0 15px; border: 1px solid rgba(54,217,255,.28); border-radius: 9px; color: #fff; background: rgba(7,15,27,.92); outline: none; }
.inner-page .custom-page-input:focus { border-color: var(--site-cyan); box-shadow: 0 0 0 3px rgba(54,217,255,.1); }
.inner-page .custom-page-input::placeholder { color: #8fa1ba; }
.inner-page .custom-page-item { position: relative; display: flex; min-height: 92px; box-sizing: border-box; align-items: center; margin: 0; padding: 18px 22px; border: 1px solid rgba(126,167,220,.24); border-radius: 12px; color: #fff; background: linear-gradient(135deg, rgba(24,40,64,.98), rgba(10,19,34,.98)); box-shadow: none; text-align: left; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.inner-page .custom-page-item::before { width: 3px; height: 48px; margin-right: 14px; border-radius: 4px; background: linear-gradient(180deg, var(--site-cyan), var(--site-orange)); content: ""; }
.inner-page .custom-page-item:hover { transform: translateY(-3px); border-color: rgba(54,217,255,.62); background: linear-gradient(135deg, rgba(28,52,80,.98), rgba(11,23,40,.98)); box-shadow: 0 10px 22px rgba(0,0,0,.24), 0 0 15px rgba(54,217,255,.08); }
.inner-page .custom-page-item-info { min-width: 0; }
.inner-page .custom-page-item h2 { margin: 0 0 6px; color: #fff; font-size: 17px; font-weight: 800; }
.inner-page .custom-page-item p { margin: 0; color: var(--site-muted); font-size: 12px; }
.inner-page .custom-page-item .info { color: var(--site-cyan); font-weight: 700; }
.inner-page .modal { z-index: 1100; background: rgba(3,8,16,.82); backdrop-filter: blur(5px); }
.inner-page .modal-content { position: relative; box-sizing: border-box; width: min(92%, 560px); margin: 10vh auto; padding: 26px; border: 1px solid rgba(54,217,255,.4); border-radius: 15px; color: #eaf0fa; background: linear-gradient(145deg, #142740, #091321); box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 30px rgba(54,217,255,.1); }
.inner-page .modal-content h2 { margin: 0 0 12px; color: #fff; font-size: 24px; }
.inner-page .modal-content p { color: var(--site-muted); line-height: 1.7; }
.inner-page .modal-img { display: block; width: auto; max-width: 100%; max-height: 280px; margin: 18px auto 0; border: 1px solid var(--site-line); border-radius: 10px; object-fit: contain; }
.inner-page .close { top: 10px; right: 17px; color: #aab8cf; }
.inner-page .close:hover { color: var(--site-cyan); }
.inner-page .site-footer { display: flex; justify-content: space-between; gap: 14px; clear: both; margin-top: 25px; padding: 16px 4px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 12px; }
.inner-page #container::after { display: block; clear: both; content: ""; }
.inner-page .hoverable:before { display: none; }
.inner-page .hoverable:hover, .inner-page .hoverable:active, .inner-page .hoverable:focus { transform: none; }

@media (max-width: 900px) {
    body.home-page, body.inner-page { background-size: cover; background-attachment: scroll; }
    .inner-page #container { width: min(100% - 24px, 720px); margin-top: 12px; }
    .inner-page .site-header { align-items: flex-start; gap: 12px; }
    .inner-page .site-brand { flex-basis: 105px; }
    .inner-page .custom-logo { width: 220px; height: 140px; }
    .inner-page .navbar-inverse .container-fluid { padding: 0 8px; }
    .inner-page .navbar-nav > li > a { padding: 17px 8px; font-size: 11px; }
    .inner-page .sidebar { width: 250px; }
    .inner-page .content { width: calc(100% - 270px); }
}
@media (max-width: 767px) {
    .inner-page #container { width: calc(100% - 24px); margin: 12px auto 30px; }
    .inner-page .site-header { align-items: center; gap: 10px; }
    .home-page .site-brand, .inner-page .site-brand { margin-bottom: 42px; }
    .inner-page .custom-logo { width: 170px; height: 110px; }
    .inner-page .navbar.navbar-inverse { min-height: 48px; }
    .inner-page .navbar-inverse .navbar-toggle { float: right; margin: 7px; }
    .inner-page .navbar-collapse { clear: both; border-top: 1px solid var(--site-line); }
    .inner-page .menu-content { display: block; padding: 5px 0 10px; }
    .inner-page .menu-content .navbar-nav { float: none; }
    .inner-page .menu-content .navbar-nav > li > a { padding: 11px 14px; }
    .inner-page .menu-content .navbar-right { margin: 0; }
    .inner-page .dropdown-menu { position: static; float: none; width: 100%; margin: 0; border: 0; box-shadow: none; }
    .inner-page .dropdown-menu > li > a { white-space: normal; }
    .inner-page .login-menu { width: 100%; padding: 12px; }
    .inner-page .sidebar, .inner-page .content { float: none; width: 100%; }
    .inner-page .content { min-height: 0; }
    .inner-page .inner-page-content { padding: 8px; border-radius: 12px; }
    .inner-page .site-footer { flex-direction: column; text-align: center; }
    .inner-page .wiki-table, .inner-page table { display: block; overflow-x: auto; }
    .inner-page .skills-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inner-page .wiki-hero { padding: 22px 19px; }
    .inner-page .wiki-container { padding: 13px; }
    .inner-page .wiki-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .inner-page .wiki-topic { min-height: 135px; flex-direction: column; justify-content: center; gap: 8px; padding: 12px; text-align: center; }
    .inner-page .wiki-topic-icon { flex-basis: 75px; width: 75px; height: 78px; }
    .inner-page .wiki-topic-copy small { display: none; }
    .inner-page .custom-page-list { grid-template-columns: 1fr; }
    .inner-page .community-item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inner-page .global-page-hero { padding: 22px 19px; }
    .inner-page .download-grid { grid-template-columns: 1fr; }
    .inner-page .download-card { min-height: 0; padding: 16px; }
    .community-item-modal-card { grid-template-columns: 1fr; justify-items: center; padding: 22px; }
    .community-item-modal-info { width: 100%; }
    .community-item-modal-info h2, .community-item-modal-info > p { text-align: center; }
    .community-item-modal-stats { grid-template-columns: 1fr; }
    .inner-page .wiki-quest-grid { grid-template-columns: 1fr; }
    .wiki-quest-modal-card { grid-template-columns: 1fr; }
    .wiki-quest-modal-card > img { height: 230px; min-height: 230px; }
    .inner-page .wiki-specials-info-grid { grid-template-columns: 1fr; }
    .inner-page .wiki-specials-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .wiki-special-modal-card { grid-template-columns: 1fr; overflow: auto; }
    .wiki-special-modal-visual { min-height: 210px; border-right: 0; border-bottom: 1px solid rgba(54,217,255,.2); }
    .wiki-special-modal-visual img { width: 115px; height: 115px; }
    .wiki-special-modal-body { overflow: visible; }
}

@media (max-width: 560px) {
    .inner-page .community-item-controls { grid-template-columns: 1fr; }
    .inner-page .wiki-quests-heading { align-items: flex-start; flex-direction: column; }
    .inner-page .wiki-quest-card { min-height: 180px; }
    .inner-page .wiki-quest-image-wrap { flex-basis: 40%; }
    .inner-page .wiki-quest-content { padding: 14px 11px 12px; }
    .inner-page .wiki-quest-content > strong { font-size: 14px; }
    .wiki-quest-modal { padding: 10px; }
    .wiki-quest-modal-body { padding: 22px 17px; }
    .wiki-quest-modal-facts { grid-template-columns: 1fr; }
    .inner-page .wiki-specials-heading { align-items: flex-start; flex-direction: column; }
    .inner-page .wiki-specials-info-card { padding: 15px; }
    .inner-page .wiki-special-card { min-height: 155px; }
    .inner-page .wiki-special-card img { width: 76px; height: 76px; }
    .wiki-special-modal { padding: 10px; }
    .wiki-special-modal-body { padding: 22px 17px; }
    .wiki-special-modal-facts { grid-template-columns: 1fr; }
}

/* ========================================================
   Discord Integration & Aesthetic Components
   ======================================================== */
.discord-svg-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Sidebar Discord Widget */
.discord-widget-panel {
    border-color: rgba(88, 101, 242, 0.45) !important;
    background: linear-gradient(155deg, rgba(88, 101, 242, 0.14) 0%, rgba(14, 22, 37, 0.98) 70%) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), 0 0 20px rgba(88, 101, 242, 0.15) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.discord-widget-panel:hover {
    border-color: rgba(88, 101, 242, 0.75) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), 0 0 28px rgba(88, 101, 242, 0.28) !important;
}

.discord-widget-heading {
    background: linear-gradient(100deg, rgba(88, 101, 242, 0.32) 0%, rgba(20, 32, 52, 0.98) 100%) !important;
    border-bottom: 1px solid rgba(88, 101, 242, 0.35) !important;
}
.discord-widget-heading .panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f4f7ff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.discord-widget-heading .discord-svg-icon {
    width: 18px;
    height: 18px;
    color: #7983f5;
}

.discord-widget-body {
    padding: 16px !important;
    text-align: center;
}

.discord-widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: rgba(35, 165, 90, 0.16);
    border: 1px solid rgba(35, 165, 90, 0.4);
    color: #57f287;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.discord-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #23a55a;
    box-shadow: 0 0 8px #23a55a;
    animation: discord-pulse 2s infinite ease-in-out;
}

@keyframes discord-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}

.discord-widget-text {
    margin: 0 0 15px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: var(--site-muted) !important;
    text-align: center;
}

.discord-widget-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.discord-widget-button:hover {
    background: linear-gradient(135deg, #6975f7 0%, #5865F2 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(88, 101, 242, 0.55);
}
.discord-widget-button .discord-svg-icon {
    width: 18px;
    height: 18px;
}

/* Home Welcome Discord Button */
.home-button-discord {
    border-color: rgba(88, 101, 242, 0.5);
    color: #ffffff !important;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.35);
}
.home-button-discord:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #6975f7, #5865F2);
    box-shadow: 0 10px 24px rgba(88, 101, 242, 0.55);
    transform: translateY(-2px);
}
.home-button-discord .discord-svg-icon {
    width: 18px;
    height: 18px;
}

/* Header Status Discord Badge */
.header-status-discord {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(88, 101, 242, 0.24);
    border: 1px solid rgba(88, 101, 242, 0.45);
    color: #ffffff !important;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: all 0.18s ease;
    margin-left: 3px;
    flex-shrink: 0;
}
.header-status-discord:hover {
    background: #5865F2;
    color: #ffffff !important;
    border-color: #5865F2;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.65);
    transform: translateY(-1px);
}
.header-status-discord .discord-svg-icon {
    width: 15px;
    height: 15px;
    color: #9ba4ff;
    transition: color 0.18s ease;
}
.header-status-discord:hover .discord-svg-icon {
    color: #ffffff;
}

/* Menu Dropdown Discord Item */
.menu-discord-item {
    color: #7983f5 !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.menu-discord-item:hover {
    color: #ffffff !important;
    background: rgba(88, 101, 242, 0.22) !important;
}

/* Download Page Discord Banner */
.download-discord-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding: 20px 24px;
    border-radius: 13px;
    border: 1px solid rgba(88, 101, 242, 0.38);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.16) 0%, rgba(14, 22, 37, 0.96) 100%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22), 0 0 20px rgba(88, 101, 242, 0.12);
}
.download-discord-icon {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #5865F2;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}
.download-discord-icon .discord-svg-icon {
    width: 30px;
    height: 30px;
}
.download-discord-info {
    flex: 1;
}
.download-discord-info h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}
.download-discord-info p {
    margin: 0;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.5;
}
.download-discord-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.download-discord-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(88, 101, 242, 0.55);
}

/* Links.php Community Cards */
.community-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 10px 0;
}
.community-link-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 13px;
    border: 1px solid rgba(88, 101, 242, 0.38);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(14, 22, 37, 0.95) 100%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}
.community-link-icon.discord {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #5865F2;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}
.community-link-icon.discord .discord-svg-icon {
    width: 30px;
    height: 30px;
}
.community-link-body {
    flex: 1;
}
.community-link-body h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}
.community-link-body p {
    margin: 0 0 14px;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.55;
}
.community-link-btn.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 7px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.community-link-btn.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.55);
}

@media (min-width: 768px) and (max-width: 1120px) {
    .home-page .navbar-nav > li > a,
    .inner-page .navbar-nav > li > a {
        padding: 21px 6px 20px;
        font-size: 10.5px;
        letter-spacing: 0.02em;
    }
    .home-page .navbar-nav > li > a::after,
    .inner-page .navbar-nav > li > a::after {
        right: 6px;
        left: 6px;
    }
    .header-status {
        padding: 0 10px 0 6px;
        gap: 6px;
        font-size: 9px;
    }
    .header-status-discord {
        padding: 4px 7px;
        font-size: 9.5px;
    }
}

@media (max-width: 767px) {
    .home-page .menu-content .navbar-nav,
    .inner-page .menu-content .navbar-nav {
        display: block !important;
        flex-wrap: wrap !important;
    }
    .home-page .menu-content .navbar-nav > li,
    .inner-page .menu-content .navbar-nav > li {
        white-space: normal !important;
    }
    .download-discord-banner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 16px;
    }
    .download-discord-action {
        width: 100%;
        justify-content: center;
    }
    .home-actions {
        flex-wrap: wrap;
    }
    .home-button {
        min-width: 140px;
    }
}


