:root {
    --bg-main: #070707;
    --bg-panel: #111111;
    --bg-soft: #171717;
    --line: #2b2b2b;
    --gold: #d8b369;
    --gold-strong: #f4c87a;
    --text: #f4f1ea;
    --muted: #9d978a;
    --green: #67d08d;
    --danger: #ff6363;
    --header-height: 84px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
}

body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 500px at 75% -10%, rgba(216, 179, 105, 0.12), transparent 60%),
        radial-gradient(900px 400px at 5% 5%, rgba(255, 255, 255, 0.04), transparent 55%),
        var(--bg-main);
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1320px, 92%);
    margin: 0 auto;
}

.main-content {
    min-height: calc(100vh - 270px);
}

.section-dark {
    background: #0b0b0b;
}

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex-row { display: flex; flex-direction: row; }
.mb-3 { margin-bottom: 12px; }
.fs-1 { font-size: 2rem; }
.hover-underline { text-decoration: none; border-bottom: 1px solid transparent; }
.hover-underline:hover { border-bottom-color: currentColor; }

.server-ribbon {
    border-bottom: 1px solid #24211a;
    background: linear-gradient(90deg, #10100f, #171513 30%, #10100f 100%);
    font-size: 0.95rem;
}

.ribbon-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: #d2c7b0;
}

.ribbon-item i {
    color: var(--gold);
    margin-right: 6px;
}

.is-online {
    color: var(--green);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(7px);
    background: rgba(7, 7, 7, 0.84);
    border-bottom: 1px solid var(--line);
}

.header-container {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: 'Cinzel', serif;
}

.logo-mark {
    font-size: 1.7rem;
    color: var(--gold-strong);
    letter-spacing: 1px;
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #ece0cb;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text small {
    color: #8f846f;
    font-size: 0.65rem;
    letter-spacing: 2.5px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #3a342a;
    background: #141310;
    color: var(--gold);
    border-radius: 8px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    color: #dfd3bd;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold-strong);
}

.btn {
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.btn-solid {
    border-color: #8f6d3a;
    background: linear-gradient(180deg, #f0cd8f, #c89649);
    color: #241a0d;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 7px 18px rgba(198, 150, 73, 0.18);
}

.btn-solid:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: #4e4638;
    background: rgba(21, 20, 18, 0.8);
    color: #f2e6cf;
}

.btn-outline:hover {
    border-color: #89734f;
    color: var(--gold-strong);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.9rem;
}

.btn-lg {
    min-height: 50px;
    padding: 0 24px;
    font-size: 1.02rem;
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 126px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(1100px 520px at 70% -15%, rgba(216, 179, 105, 0.14), transparent 62%),
        radial-gradient(800px 420px at 8% 12%, rgba(255, 255, 255, 0.05), transparent 58%),
        linear-gradient(160deg, #0d0c0a 0%, #070707 48%, #090805 100%);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-section::before {
    inset: -20% 45% -10% -10%;
    background: linear-gradient(110deg, rgba(255, 217, 156, 0.12), rgba(255, 217, 156, 0) 55%);
    filter: blur(16px);
}

.hero-section::after {
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.012) 0,
            rgba(255, 255, 255, 0.012) 2px,
            transparent 2px,
            transparent 8px
        );
    opacity: 0.35;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, rgba(4, 4, 4, 0.96) 28%, rgba(4, 4, 4, 0.45) 70%),
        radial-gradient(760px 340px at 20% 70%, rgba(195, 146, 68, 0.2), transparent 60%),
        url('/img/crusader-hero.webp?v=20260411-1') 74% center/cover no-repeat,
        url('/img/hero-bg.jpg?v=20260411-1') 62% center/cover no-repeat;
    opacity: 0.95;
    transform: scale(1.01);
    filter: contrast(1.03) saturate(1.05) brightness(1.2);
}

.hero-fog-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 24%, rgba(216, 179, 105, 0.32), transparent 42%),
        radial-gradient(circle at 87% 82%, rgba(255, 255, 255, 0.12), transparent 38%),
        linear-gradient(to top, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.0) 45%, rgba(0, 0, 0, 0.18));
}

.hero-ambient {
    position: absolute;
    inset: -20% -10% -10% -10%;
    background:
        radial-gradient(420px 260px at 20% 20%, rgba(244, 200, 122, 0.18), transparent 62%),
        radial-gradient(520px 300px at 78% 30%, rgba(124, 109, 72, 0.16), transparent 65%),
        radial-gradient(600px 360px at 60% 85%, rgba(128, 92, 164, 0.18), transparent 68%);
    opacity: 0.35;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

@keyframes ambientDrift {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-18px) translateX(12px); }
    100% { transform: translateY(0) translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-ambient {
        animation: none;
    }

    .hero-bg-layer { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-ambient {
        animation: ambientDrift 28s ease-in-out infinite;
    }
}

.hero-layout {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 126px);
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 34px;
    align-items: center;
    padding: 38px 0;
}

.hero-content {
    max-width: 760px;
}

.hero-overline {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #645436;
    border-radius: 999px;
    color: #dcc291;
    font-size: 0.78rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 0.95;
    margin-bottom: 20px;
    letter-spacing: 0.4px;
}

.hero-content h1 span {
    color: var(--gold-strong);
    text-shadow: 0 0 25px rgba(244, 200, 122, 0.22);
}

.hero-content p {
    max-width: 640px;
    font-size: 1.2rem;
    color: #d4cab7;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
    max-width: 700px;
}

.metric-box {
    border: 1px solid #3b3428;
    background: linear-gradient(180deg, rgba(26, 24, 20, 0.92), rgba(12, 12, 12, 0.92));
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metric-box .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: #a99979;
    letter-spacing: 1px;
}

.metric-box strong {
    font-family: 'Cinzel', serif;
    font-size: 1.18rem;
    color: #f6e9cf;
}

.hero-side-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-left: auto;
    width: min(100%, 340px);
}


.panel-card {
    border: 1px solid #4c432f;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(27, 25, 20, 0.96), rgba(15, 14, 12, 0.95));
    padding: 18px;
}

.panel-card h3,
.panel-card h4 {
    font-family: 'Cinzel', serif;
    margin-bottom: 10px;
    color: #f5e2be;
}

.panel-card p {
    color: #bcae91;
}

.mini-link {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-strong);
    font-weight: 700;
}

.panel-dark {
    border-color: #323232;
    background: linear-gradient(180deg, #161616, #101010);
}

.panel-dark ul {
    display: grid;
    gap: 9px;
}

.panel-dark li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #2f2f2f;
    padding-bottom: 7px;
    color: #ded4bf;
}

.section-head {
    margin-bottom: 24px;
}

.section-head > span {
    color: #c7ac7b;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 2px;
}

.section-head h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    margin-top: 8px;
}

.features-section {
    padding: 80px 0;
    background:
        radial-gradient(700px 240px at 15% 0%, rgba(216, 179, 105, 0.08), transparent 70%),
        linear-gradient(180deg, rgba(12, 11, 10, 0.88), rgba(10, 10, 10, 0.98));
    border-top: 1px solid #211f1a;
    border-bottom: 1px solid #1b1b1b;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-card {
    border: 1px solid #363127;
    border-radius: 12px;
    background: linear-gradient(180deg, #191816, #131312);
    padding: 22px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #7f6942;
}

.feature-card i {
    font-size: 1.5rem;
    color: var(--gold-strong);
    margin-bottom: 10px;
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: #b7ad9a;
    font-size: 1.02rem;
}

.server-hub-section {
    padding: 22px 0 80px;
    background:
        radial-gradient(700px 260px at 84% 10%, rgba(216, 179, 105, 0.09), transparent 70%),
        linear-gradient(180deg, #0c0c0b, #0a0a0a);
}

.server-hub-section,
.download-section,
.ranking-section,
.roadmap-section {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.server-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hub-card {
    border: 1px solid #362f25;
    border-radius: 12px;
    background: linear-gradient(180deg, #171614, #121211);
    padding: 18px;
}

.hub-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.hub-card h3 i {
    color: var(--gold-strong);
    margin-right: 7px;
}

.hub-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hub-stats div {
    border: 1px solid #2f2a22;
    background: #141412;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
}

.hub-stats span {
    color: #a1947b;
    font-size: 0.8rem;
}

.hub-stats strong {
    color: #f1d2a0;
    font-size: 1rem;
}

.hub-timeline {
    display: grid;
    gap: 8px;
}

.hub-timeline li {
    border-bottom: 1px dashed #2c2c2c;
    padding-bottom: 7px;
    color: #d7ccb8;
    font-weight: 600;
}

.hub-timeline span {
    display: inline-block;
    min-width: 72px;
    color: #f3cb86;
}

.hub-bullets {
    display: grid;
    gap: 8px;
    color: #c4b79e;
}

.hub-bullets li {
    border-left: 2px solid #7b6643;
    padding-left: 10px;
}

.download-section {
    padding: 0 0 90px;
    background: linear-gradient(180deg, #0a0a0a, #080808);
}

.download-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
}

.download-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.step-card {
    border: 1px solid #3b3327;
    border-radius: 12px;
    background: linear-gradient(180deg, #181715, #121212);
    padding: 16px;
}

.step-num {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 1px solid #886d3f;
    color: #f1cb89;
    font-weight: 800;
    margin-bottom: 10px;
}

.step-card h3 {
    font-family: 'Cinzel', serif;
    margin-bottom: 8px;
}

.step-card p {
    color: #b5a993;
    margin-bottom: 10px;
}

.req-list {
    display: grid;
    gap: 7px;
    margin: 8px 0 14px;
}

.req-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #2f2f2f;
    padding-bottom: 7px;
}

.req-list span {
    color: #b7a884;
}

.req-list strong {
    color: #eee0c4;
}

.download-side h4 {
    margin: 12px 0 8px;
    color: #ead6af;
}

.ranking-section {
    padding: 20px 0 90px;
    background:
        radial-gradient(620px 260px at 88% 14%, rgba(216, 179, 105, 0.08), transparent 68%),
        linear-gradient(180deg, #0d0d0c, #090909);
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

.ranking-table-wrap {
    border: 1px solid #3b3428;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #141311, #0f0f0f);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table thead {
    background: linear-gradient(180deg, #2a2419, #1d1912);
}

.modern-table th {
    padding: 14px 16px;
    text-align: left;
    color: #dac190;
    font-size: 0.88rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.modern-table td {
    padding: 13px 16px;
    border-top: 1px solid #24221f;
    font-size: 1rem;
}

.modern-table tbody tr:hover {
    background: rgba(236, 205, 146, 0.04);
}

.rank-badge {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 1px solid #4e4638;
    color: #e8d4ab;
    font-weight: 700;
}

.rank-gold {
    color: #f2c66f;
    border-color: #8e6d39;
}

.rank-silver {
    color: #d7d7d7;
}

.rank-bronze {
    color: #cb9767;
}

.char-name {
    font-weight: 700;
    color: #f3eee1;
}

.value-chip,
.class-chip {
    display: inline-flex;
    min-height: 28px;
    padding: 0 10px;
    align-items: center;
    border: 1px solid #433e33;
    border-radius: 8px;
    background: #1d1a15;
    color: #e9d2a2;
    font-weight: 700;
}

.value-chip-green {
    color: #9ceaaf;
    border-color: #2f6a42;
    background: #17261b;
}

.table-empty {
    text-align: center;
    color: #a9a090;
    padding: 30px 14px;
}

.quick-link {
    display: block;
    border: 1px solid #3a3a3a;
    background: #161616;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 9px;
    color: #dcccae;
    font-weight: 600;
}

.quick-link:hover {
    border-color: #776247;
    color: var(--gold-strong);
}

.roadmap-section {
    padding: 0 0 90px;
    background:
        radial-gradient(580px 230px at 12% 8%, rgba(216, 179, 105, 0.08), transparent 72%),
        linear-gradient(180deg, #090909, #070707);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.roadmap-card {
    border: 1px solid #372f24;
    border-radius: 12px;
    background: linear-gradient(180deg, #171614, #121212);
    padding: 18px;
}

.phase-tag {
    display: inline-block;
    border: 1px solid #7c6744;
    border-radius: 999px;
    padding: 4px 10px;
    color: #efca8a;
    font-size: 0.76rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.roadmap-card h3 {
    font-family: 'Cinzel', serif;
    margin-bottom: 7px;
}

.roadmap-card p {
    color: #baaf9b;
}

.main-footer {
    border-top: 1px solid var(--line);
    background: #0b0b0b;
}

.footer-grid {
    padding: 42px 0 30px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.7fr;
    gap: 26px;
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #f0d39f;
    margin-bottom: 8px;
}

.main-footer h4 {
    margin-bottom: 8px;
    color: #e8c98b;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: #bdb39f;
}

.footer-links a:hover {
    color: #f0d39f;
}

.social-icons {
    display: flex;
    gap: 9px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border: 1px solid #3f3a31;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dfc694;
}

.footer-bottom {
    border-top: 1px solid #1d1d1d;
    padding: 13px 0;
    text-align: center;
    color: #8e8679;
    font-size: 0.9rem;
}

.auth-section,
.dashboard-section {
    padding: 70px 0;
}

.auth-section {
    position: relative;
    min-height: calc(100vh - 260px);
    display: flex;
    align-items: center;
}

.auth-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 320px at 75% 20%, rgba(216, 179, 105, 0.16), transparent 62%),
        radial-gradient(520px 300px at 15% 70%, rgba(124, 109, 72, 0.14), transparent 60%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.95), rgba(6, 6, 6, 0.98));
    opacity: 0.9;
    pointer-events: none;
}

.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-card {
    width: min(560px, 100%);
    border: 1px solid #3c362c;
    border-radius: 14px;
    background: linear-gradient(180deg, #181715, #111111);
    padding: 30px 24px;
    position: relative;
    z-index: 1;
}

.auth-header {
    margin-bottom: 20px;
    text-align: center;
}

.auth-header h2 {
    font-family: 'Cinzel', serif;
    margin-bottom: 4px;
}

.auth-header p {
    color: #ad9e82;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #d8c7a7;
    font-weight: 600;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a79572;
}

.form-control {
    width: 100%;
    height: 44px;
    border-radius: 9px;
    border: 1px solid #3d382f;
    background: #151412;
    color: #f0e5cd;
    padding: 0 12px 0 36px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #9c7d49;
}

.auth-form .btn {
    min-height: 46px;
}

.btn-block {
    width: 100%;
}

.alert {
    padding: 10px 12px;
    border-radius: 9px;
    margin-bottom: 14px;
    border: 1px solid;
}

.alert-danger {
    color: #ffb7b7;
    background: #2a1515;
    border-color: #6e2d2d;
}

.alert-success {
    color: #b3f1c2;
    background: #142416;
    border-color: #2f6a42;
}

.auth-footer {
    text-align: center;
    color: #ada493;
}

.auth-footer a {
    color: #f0cb88;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 16px;
}

.card-glass {
    border: 1px solid #3a3428;
    border-radius: 12px;
    background: linear-gradient(180deg, #181715, #121212);
}

.dashboard-sidebar {
    padding: 20px;
}

.dashboard-main {
    padding: 22px;
}

.dashboard-header h2 {
    margin-bottom: 6px;
}

.dashboard-header p {
    color: #b6ac97;
    margin-bottom: 10px;
}

.avatar {
    margin: 0 auto 10px;
    width: 68px;
    height: 68px;
    border: 1px solid #5e4f35;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f0c988;
    font-size: 1.3rem;
}

.text-muted {
    color: #a7a094;
}

.text-primary {
    color: #f4c87a;
}

.text-success {
    color: #90e39e;
}

.text-warning {
    color: #ffcd84;
}

.text-danger {
    color: #ff9b9b;
}

.dashboard-nav ul {
    margin-top: 16px;
    display: grid;
    gap: 6px;
}

.dashboard-nav a {
    display: block;
    padding: 9px 10px;
    border: 1px solid #302c24;
    border-radius: 7px;
    color: #d8ccb3;
}

.dashboard-nav a.active,
.dashboard-nav a:hover {
    border-color: #7c6945;
    color: #f0cb88;
}

.divider {
    margin: 8px 0 0;
    width: 88px;
    height: 2px;
    background: linear-gradient(90deg, #f2ca81, transparent);
}

.mt-1 { margin-top: 4px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.py-5 { padding-top: 20px; padding-bottom: 20px; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.character-card {
    border: 1px solid #2f2b24;
    border-radius: 10px;
    padding: 12px;
    background: #141414;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-dark {
    background: linear-gradient(180deg, #141312, #101010);
}

.char-actions .btn {
    min-width: 36px;
    min-height: 36px;
    padding: 0;
}

.char-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #504730;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #efc98a;
}

.char-details h4 {
    font-size: 1.12rem;
}

.text-sm {
    font-size: 0.92rem;
}

.flex-grow-1 {
    flex: 1;
}

.empty-state {
    border: 1px dashed #39342b;
    border-radius: 10px;
    padding: 20px;
}

@media (max-width: 1100px) {
    .hero-bg-layer {
        background:
            linear-gradient(95deg, rgba(4, 4, 4, 0.97) 34%, rgba(4, 4, 4, 0.55) 74%),
            radial-gradient(640px 300px at 20% 72%, rgba(195, 146, 68, 0.18), transparent 62%),
            url('/img/crusader-hero.webp?v=20260411-1') 68% center/cover no-repeat,
            url('/img/hero-bg.jpg?v=20260411-1') 62% center/cover no-repeat;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 54px 0;
    }

    .hero-side-panel {
        margin-left: 0;
        width: min(100%, 520px);
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .server-hub-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-steps {
        grid-template-columns: 1fr;
    }

    .ranking-layout,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ribbon-inner {
        gap: 14px;
        font-size: 0.8rem;
        min-height: 38px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 4%;
        right: 4%;
        border: 1px solid #3a342a;
        border-radius: 12px;
        background: #11100e;
        padding: 10px;
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-links li a {
        display: block;
        padding: 8px 10px;
        border: 1px solid #302a21;
        border-radius: 8px;
        background: #171612;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .modern-table {
        font-size: 0.9rem;
    }

    .modern-table th,
    .modern-table td {
        padding: 10px 8px;
    }
}
