/* ── Override body for full-page layout ── */
body {
    padding: 0;
    justify-content: flex-start;
    align-items: stretch;
}

.site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

/* ══════════════════════════════
   HERO SECTION
══════════════════════════════ */
.hero {
    text-align: center;
    padding: 6rem 2rem 4.5rem;
    position: relative;
    isolation: isolate;
}

/* Slow breathing ember behind the title — the only thing alive up here */
.hero::before {
    content: '';
    position: absolute;
    left: 50%; top: 45%;
    width: min(1000px, 92vw);
    height: 440px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
        rgba(200,40,20,0.22) 0%,
        rgba(120,10,10,0.12) 40%,
        transparent 72%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
    animation: heroBreathe 7s ease-in-out infinite;
}

@keyframes heroBreathe {
    0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

.hero-ornament,
.hero-bottom-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hero-ornament {
    margin-bottom: 1.25rem;
    color: var(--gold);
    font-size: 0.65rem;
}

.hero-ornament::before,
.hero-ornament::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184,134,11,0.55));
}

.hero-ornament::after { background: linear-gradient(to left, transparent, rgba(184,134,11,0.55)); }

.hero-title {
    font-family: var(--font-hero);
    /* Mixed case on purpose: blackletter in capitals is unreadable.
       The floor keeps "Mu Nightmare" on one line on a 360px phone. */
    font-size: clamp(2.8rem, 9.6vw, 8.2rem);
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1.05;
    margin: 0 0 1.4rem 0;
    padding: 0 0.1em;
    background: linear-gradient(180deg,
        #d42a1c 0%,
        #e03a1e 38%,
        #ee6a22 68%,
        #f4a531 88%,
        #f7c94a 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 34px rgba(212,42,28,0.55)) drop-shadow(0 4px 10px rgba(0,0,0,0.85));
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(0.62rem, 1.4vw, 0.85rem);
    letter-spacing: clamp(4px, 1.1vw, 10px);
    text-transform: uppercase;
    color: #a89e90;
    text-shadow: 0 2px 20px rgba(0,0,0,0.9);
    margin-bottom: 1.75rem;
}

.hero-bottom-ornament {
    color: var(--red);
    font-size: 0.55rem;
}

.hero-bottom-ornament::before,
.hero-bottom-ornament::after {
    content: '';
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(187,24,24,0.45));
}

.hero-bottom-ornament::after { background: linear-gradient(to left, transparent, rgba(187,24,24,0.45)); }

/* ══════════════════════════════
   RATES STRIP
══════════════════════════════ */
/* Same column as the cards below it, chips of equal width */
.rates-strip {
    display: flex;
    gap: 2px;
    width: calc(100% - 4rem);
    max-width: 936px;
    margin: 0 auto;
    scroll-margin-top: 110px;
}

.rate-chip {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 1.15rem 0.5rem 1.05rem;
    background: linear-gradient(180deg, rgba(26,20,30,0.94) 0%, rgba(14,10,16,0.94) 100%);
    border: 1px solid rgba(255,255,255,0.07);
    border-top-color: rgba(184,134,11,0.2);
    box-shadow: inset 0 -26px 28px -20px rgba(150,20,20,0.5);
    text-align: center;
    position: relative;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.rate-chip:hover {
    border-color: rgba(224,178,62,0.32);
    transform: translateY(-2px);
    box-shadow:
        inset 0 -26px 28px -20px rgba(187,24,24,0.65),
        0 10px 26px rgba(0,0,0,0.6);
    z-index: 1;
}

.rate-chip-label {
    font-family: var(--font-display);
    font-size: 0.54rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a0958a;
    white-space: nowrap;
}

.rate-chip-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gold-bright);
    text-shadow: 0 0 16px rgba(224,178,62,0.35);
    white-space: nowrap;
}

/* ══════════════════════════════
   OPEN BETA BANNER
   The loudest thing on the page, right under the hero: a burning
   panel with the word BETA on fire, the three numbers of the
   server and the way into /beta.
══════════════════════════════ */
.beta-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    gap: 1.1rem 1.75rem;
    width: calc(100% - 4rem);
    max-width: 936px;
    margin: 0 auto 1.5rem;
    padding: 1.6rem 1.75rem;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,170,80,0.75);
    background:
        radial-gradient(ellipse 55% 140% at 12% 120%, rgba(255,90,30,0.55) 0%, transparent 65%),
        linear-gradient(90deg, rgba(24,8,4,0.95) 0%, rgba(24,8,4,0.80) 55%, rgba(24,8,4,0.55) 100%),
        url('/images/hero-bg.png') center 65% / cover no-repeat,
        #1f0a05;
    color: #f3e4c8;
    text-decoration: none;
    font-family: 'Inter', var(--font-body);
    box-shadow: 0 20px 50px rgba(0,0,0,0.65), 0 0 40px rgba(255,90,30,0.28);
    animation: betaBannerGlow 2.6s ease-in-out infinite;
    transition: transform 0.25s;
}

.beta-banner:hover { transform: translateY(-3px); }

@keyframes betaBannerGlow {
    0%, 100% { box-shadow: 0 20px 50px rgba(0,0,0,0.65), 0 0 30px rgba(255,90,30,0.25); border-color: rgba(255,170,80,0.65); }
    50%      { box-shadow: 0 20px 50px rgba(0,0,0,0.65), 0 0 64px rgba(255,110,30,0.6);  border-color: rgba(255,210,120,1); }
}

/* Shine sweeping across */
.beta-banner::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 30%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,220,160,0.25), transparent);
    transform: skewX(-20deg);
    animation: shimmer 5s infinite;
    pointer-events: none;
}

.beta-banner-glow {
    position: absolute;
    left: -10%; bottom: -70%;
    width: 60%; height: 140%;
    background: radial-gradient(ellipse at center, rgba(255,110,30,0.45), transparent 65%);
    filter: blur(12px);
    animation: betaBreathe 3.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes betaBreathe { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

.beta-banner-left { grid-column: 1; grid-row: 1 / 4; position: relative; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }

.beta-banner-live {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(61,220,132,0.5);
    background: rgba(61,220,132,0.14);
    color: #a5f6c6;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.beta-banner-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 10px rgba(61,220,132,0.95);
    animation: betaDot 1.5s ease-in-out infinite;
}

@keyframes betaDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.beta-banner-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.85rem; }

.beta-banner-fire {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg, #fff3c4 0%, #ffd25e 25%, #ff8a1f 55%, #e2261b 85%);
    background-size: 100% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(255,100,30,0.55));
    animation: betaFlame 3s ease-in-out infinite;
}

@keyframes betaFlame { 0%, 100% { background-position: 50% 0%; } 50% { background-position: 50% 100%; } }

.beta-banner-sub {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff1d6;
}

/* Friday the 13th line, over the stats and the button */
.beta-banner-omen {
    grid-column: 2 / 4;
    grid-row: 1;
    align-self: end;
    /* Takes the room the stats and the button leave; never widens those columns */
    width: 0;
    min-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.beta-banner-omen i {
    font-size: 1.6rem;
    color: #e2261b;
    filter: drop-shadow(0 0 10px rgba(226,38,27,0.9));
    animation: betaOmen 2.4s ease-in-out infinite;
}

.beta-banner-omen-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #ff6b5a;
    text-shadow: 0 0 18px rgba(226,38,27,0.75), 0 2px 4px rgba(0,0,0,0.8);
}

.beta-banner-omen-ask {
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffb3a6;
    text-shadow: 0 0 10px rgba(226,38,27,0.5);
}

@keyframes betaOmen { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

.beta-banner-stats { grid-column: 2; grid-row: 2; }
.beta-banner-action { grid-column: 3; grid-row: 2; }

.beta-banner-text { font-size: 0.86rem; line-height: 1.5; color: #dcc6a3; max-width: 420px; }

.beta-banner-stats { position: relative; display: flex; gap: 0.6rem; }

.beta-banner-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 76px;
    padding: 0.7rem 0.6rem 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(255,200,110,0.35);
    background: rgba(12,5,2,0.72);
}

.beta-banner-stat b {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    color: #ffd76a;
    text-shadow: 0 0 14px rgba(255,180,60,0.55);
}

.beta-banner-stat small {
    margin-top: 0.3rem;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #b9a27f;
    white-space: nowrap;
}

.beta-banner-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255,220,140,0.9);
    background: linear-gradient(100deg, #b87c12 0%, #e9b43c 40%, #f7d36f 58%, #d99a22 100%);
    color: #241303;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(0,0,0,0.5), 0 0 24px rgba(242,180,60,0.4);
    transition: gap 0.25s;
}

.beta-banner:hover .beta-banner-action { gap: 0.95rem; }

.beta-banner [hidden] { display: none !important; }

.beta-banner-soon {
    border-color: rgba(255,170,80,0.6);
    background: rgba(255,110,30,0.16);
    color: #ffcf8a;
}

.beta-banner-prize {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.3rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,214,120,0.8);
    background: linear-gradient(100deg, rgba(184,124,18,0.55), rgba(247,211,111,0.35));
    color: #fff1c8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 0 16px rgba(242,180,60,0.35);
}

.beta-banner-prize i { color: #ffd76a; }

/* Launch countdown (shared/beta-countdown.js) */
.beta-cd { display: inline-flex; align-items: flex-start; gap: 0.35rem; margin-top: 0.35rem; }

.beta-cd-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    padding: 0.5rem 0.4rem 0.4rem;
    border-radius: 10px;
    border: 1px solid rgba(255,190,90,0.5);
    background: linear-gradient(180deg, rgba(60,24,8,0.85), rgba(14,6,2,0.92));
    box-shadow: inset 0 -14px 18px -12px rgba(255,90,30,0.55);
}

.beta-cd-cell b {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #ffd76a;
    text-shadow: 0 0 12px rgba(255,150,40,0.6);
}

.beta-cd-cell small {
    margin-top: 0.25rem;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #b9a27f;
}

.beta-cd-sep { align-self: center; margin-top: -0.7rem; font-size: 1.2rem; font-weight: 900; color: rgba(255,170,80,0.75); }

@media (max-width: 720px) {
    .beta-cd { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; width: 100%; }
    .beta-cd-cell { min-width: 0; }
}

@media (max-width: 900px) {
    .beta-banner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 1.1rem; }
    .beta-banner-left, .beta-banner-omen, .beta-banner-stats, .beta-banner-action { grid-column: auto; grid-row: auto; }
    .beta-banner-omen-title { font-size: 1.3rem; }
    .beta-banner-stats { justify-content: flex-start; }
    .beta-banner-action { justify-content: center; }
}

@media (max-width: 720px) {
    .beta-banner { width: calc(100% - 2rem); padding: 1.25rem 1.1rem; }
    .beta-banner-fire { font-size: 2.7rem; }
    .beta-banner-sub { font-size: 1rem; }
    .beta-banner-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .beta-banner-stat { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .beta-banner, .beta-banner::after, .beta-banner-glow, .beta-banner-dot, .beta-banner-fire, .beta-banner-omen i { animation: none; }
}

/* ══════════════════════════════
   SERVER INFO CALL TO ACTION
   A gold band across the whole column, right under the rates: the
   way into /about, where everything about the server is explained.
   Its glow breathes and a shine sweeps across so it is never missed.
══════════════════════════════ */
.info-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: calc(100% - 4rem);
    max-width: 936px;
    margin: 1.5rem auto 0;
    padding: 1.15rem 1.5rem 1.15rem 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255,214,120,0.75);
    border-radius: 14px;
    background:
        radial-gradient(ellipse 45% 160% at 8% 50%, rgba(255,236,170,0.35) 0%, transparent 70%),
        linear-gradient(100deg, #b87c12 0%, #e9b43c 38%, #f7d36f 55%, #d99a22 78%, #9d620b 100%);
    color: #2a1703;
    text-decoration: none;
    box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(80,40,0,0.45), 0 0 34px rgba(242,180,60,0.35);
    animation: infoCtaGlow 2.8s ease-in-out infinite;
    transition: transform 0.25s;
}

@keyframes infoCtaGlow {
    0%, 100% { box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(80,40,0,0.45), 0 0 26px rgba(242,180,60,0.30); }
    50%      { box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(80,40,0,0.45), 0 0 52px rgba(255,200,80,0.65); }
}

/* The shine of the download card, brighter on gold */
.info-cta::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 35%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    animation: shimmer 4.5s infinite;
    pointer-events: none;
}

.info-cta:hover { transform: translateY(-2px) scale(1.005); }

.info-cta-emblem {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #5a3510 0%, #241303 80%);
    border: 2px solid rgba(255,236,170,0.9);
    box-shadow: 0 6px 18px rgba(60,30,0,0.55), inset 0 0 14px rgba(255,190,80,0.35);
    color: #ffd76a;
    font-size: 1.5rem;
    text-shadow: 0 0 12px rgba(255,200,80,0.8);
}

.info-cta-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }

.info-cta-badge {
    align-self: flex-start;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--red);
    color: #fff4e0;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(187,24,24,0.6);
}

.info-cta-text strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #241303;
    text-shadow: 0 1px 0 rgba(255,240,200,0.55);
}

.info-cta-text small { font-size: 0.86rem; font-weight: 600; color: #3d2507; }

.info-cta-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.3rem;
    border-radius: 10px;
    background: #1c0f04;
    color: #ffd76a;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(40,20,0,0.5);
    transition: gap 0.25s, background 0.25s;
}

.info-cta:hover .info-cta-action { gap: 0.95rem; background: #2c1806; }

/* ══════════════════════════════
   CONTENT ROWS
   Shared width for the card rows and every section below them.
══════════════════════════════ */
.home-row,
.home-section,
.join-band {
    width: calc(100% - 4rem);
    max-width: 936px;
    margin-left: auto;
    margin-right: auto;
}

.home-row {
    display: grid;
    gap: 20px;
    margin-top: 3rem;
}

.home-row-cards { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); }
.home-row-news  { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; margin-top: 1.5rem; }

/* Gold corner mark shared by the framed panels */
.dl-card::before,
.srv-card::before,
.slider::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 18px; height: 18px;
    border-top: 2px solid var(--gold-bright);
    border-left: 2px solid var(--gold-bright);
    opacity: 0.6;
    pointer-events: none;
    z-index: 3;
}

/* ── Download card ── */
.dl-card {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    min-height: 122px;
    padding: 1.25rem 1.75rem;
    position: relative;
    text-decoration: none;
    background:
        radial-gradient(ellipse 60% 120% at 0% 50%, rgba(160,24,20,0.45) 0%, transparent 70%),
        linear-gradient(90deg, rgba(48,14,16,0.96) 0%, rgba(18,12,18,0.96) 100%);
    border: 1px solid rgba(184,134,11,0.22);
    box-shadow: var(--panel-shadow);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

/* A slow shine sweeping across, so the main call to action never sleeps */
.dl-card::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,210,120,0.07), transparent);
    transform: skewX(-20deg);
    animation: shimmer 6s infinite;
    pointer-events: none;
}

@keyframes shimmer { 0% { left: -60%; } 60%, 100% { left: 160%; } }

.dl-card:hover {
    border-color: rgba(224,178,62,0.5);
    transform: translateY(-2px);
    box-shadow: var(--panel-shadow), 0 0 40px rgba(187,24,24,0.3);
}

/* Diamond emblem — echoes the ◆ ornaments around the hero */
.dl-emblem {
    position: relative;
    flex-shrink: 0;
    width: 70px; height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-emblem::before,
.dl-emblem::after {
    content: '';
    position: absolute;
    inset: 12px;
    transform: rotate(45deg);
    border: 2px solid rgba(232,60,40,0.9);
    background: radial-gradient(circle, rgba(212,32,32,0.35) 0%, rgba(60,6,6,0.9) 75%);
    box-shadow: 0 0 22px rgba(212,32,32,0.55), inset 0 0 14px rgba(255,80,50,0.35);
}

.dl-emblem::after {
    inset: 3px;
    background: none;
    border: 1px solid rgba(224,178,62,0.45);
    box-shadow: none;
}

.dl-emblem i {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    color: #ffd9b0;
    text-shadow: 0 0 12px rgba(255,90,60,0.9);
    transition: transform 0.3s;
}

.dl-card:hover .dl-emblem i { transform: translateY(2px); }

.dl-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }

.dl-text strong {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.1;
    background: linear-gradient(180deg, #f3cf6c 0%, #d9a334 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(224,178,62,0.3));
}

.dl-text small { font-size: 0.82rem; color: #b6ab9d; }

.dl-arrow {
    color: var(--gold);
    font-size: 0.8rem;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}

.dl-card:hover .dl-arrow { opacity: 1; transform: translateX(4px); }

/* ── Server card ── */
.srv-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 122px;
    padding: 1rem 1.75rem 1rem 1.25rem;
    position: relative;
    background: var(--panel-bg);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: var(--panel-shadow);
}

.srv-logo {
    width: 140px; height: 78px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.7)) drop-shadow(0 0 10px rgba(187,24,24,0.3));
}

.srv-body { flex: 1; min-width: 0; }

.srv-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    position: relative;
}

/* Dim rule that warms to gold at its far end */
.srv-head::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.07) 70%, rgba(224,178,62,0.75) 100%);
}

.srv-name {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-bright);
    white-space: nowrap;
}

.stat-block-val {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    white-space: nowrap;
}

.stat-block-val.online  { color: var(--online); }
.stat-block-val.offline { color: var(--offline); }

.sdot {
    width: 7px; height: 7px;
    border-radius: 50%; flex-shrink: 0;
    background: var(--text-muted);
}
.sdot.online  { background: var(--online);  box-shadow: 0 0 10px rgba(34,197,94,0.9);  animation: pulse 2.5s infinite; }
.sdot.offline { background: var(--offline); box-shadow: 0 0 10px rgba(197,34,34,0.8); }

.srv-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.srv-meta { font-size: 0.8rem; color: #a99f92; }

.srv-players { display: flex; align-items: center; gap: 10px; }

.srv-players-label {
    font-family: var(--font-display);
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #9a8f83;
}

.players-val {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-bright);
    text-shadow: 0 0 14px rgba(224,178,62,0.4);
    min-width: 1ch;
}

/* ══════════════════════════════
   SLIDER
══════════════════════════════ */
.slider {
    position: relative;
    min-height: 362px;
    border: 1px solid rgba(255,255,255,0.07);
    border-right: none;
    background: #0b080d;
    box-shadow: var(--panel-shadow);
    overflow: hidden;
}

.slides { position: absolute; inset: 0; }

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.9rem 1.9rem 2.6rem;
    isolation: isolate;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0s 0.7s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0s;
}

/* Each slide can zoom the artwork towards its own focal point, so one
   image reads as several scenes. Scaling a covering image (zoom >= 1)
   never uncovers an edge. The slight extra scale settles on entry. */
.slide-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('/images/hero-bg.png') center / cover no-repeat;
    transform-origin: var(--focus, center);
    transform: scale(calc(var(--zoom, 1) * 1.06));
    transition: transform 7s ease-out;
}

.slide.active .slide-bg { transform: scale(var(--zoom, 1)); }

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(8,6,10,0.6) 0%,
        rgba(8,6,10,0.08) 32%,
        rgba(8,6,10,0.4) 62%,
        rgba(8,6,10,0.93) 100%);
}

.slide-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-bright);
    text-align: left;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0,0,0,0.9);
}

.slide-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.slide-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ece4d8;
    max-width: 330px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.95);
}

.slide-cta {
    flex-shrink: 0;
    padding: 11px 18px;
    border: 1px solid rgba(224,178,62,0.75);
    background: rgba(8,6,10,0.55);
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.slide-cta:hover {
    background: rgba(224,178,62,0.14);
    color: #f6d888;
    box-shadow: 0 0 22px rgba(224,178,62,0.25);
}

/* Arrows reuse <button>, so the shared red sweep has to be cancelled */
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 46px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    background: rgba(8,6,10,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    color: var(--gold-bright);
    font-size: 0.8rem;
}

.slider-arrow::before { content: none; }

.slider-arrow:hover {
    color: #f6d888;
    background: rgba(20,14,22,0.9);
    border-color: rgba(224,178,62,0.5);
    box-shadow: none;
}

.slider-prev { left: 0; border-left: none; }

/* <button> is display:flex site-wide, which would beat the hidden attribute */
.slider-arrow[hidden],
.slider-dots[hidden] { display: none; }
.slider-next { right: 0; border-right: none; }

.slider-dots {
    position: absolute;
    left: 1.9rem;
    bottom: 1.1rem;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.28);
    transition: background 0.25s, box-shadow 0.25s;
}

.slider-dots button::before { content: none; }
.slider-dots button:hover { background: rgba(255,255,255,0.55); box-shadow: none; }

.slider-dots button.active {
    background: var(--gold-bright);
    box-shadow: 0 0 8px rgba(224,178,62,0.6);
}

/* ══════════════════════════════
   NEWS
══════════════════════════════ */
.news-panel {
    position: relative;
    background: var(--panel-bg);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: var(--panel-shadow);
    display: flex;
    flex-direction: column;
}

.news-panel::after {
    content: '';
    position: absolute;
    bottom: -1px; right: -1px;
    width: 18px; height: 18px;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    opacity: 0.55;
    pointer-events: none;
}

.news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.55rem 1.5rem 1.45rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.015);
}

.news-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-bright);
    text-shadow: 0 0 18px rgba(224,178,62,0.25);
}

.news-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s, gap 0.2s;
}

.news-all:hover { color: var(--gold-bright); gap: 10px; }
.news-all i { font-size: 0.55rem; }

.news-list { list-style: none; display: flex; flex-direction: column; flex: 1; justify-content: space-evenly; padding: 0.3rem 0; }

.news-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-left: 2px solid transparent;
    color: #ddd4c7;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.news-tag { color: #8f8578; flex-shrink: 0; }

.news-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    flex-shrink: 0;
    margin-left: 0.6rem;
    font-size: 0.74rem;
    color: #968c80;
    font-variant-numeric: tabular-nums;
}

a.news-item:hover {
    background: rgba(224,178,62,0.05);
    border-left-color: rgba(224,178,62,0.5);
    color: var(--text-bright);
}

/* The newest headline burns gold */
.news-list li:first-child .news-item {
    background: linear-gradient(90deg, rgba(224,178,62,0.12) 0%, rgba(224,178,62,0.04) 100%);
    border-left-color: var(--gold-bright);
    color: var(--gold-bright);
}

.news-list li:first-child .news-tag { color: rgba(224,178,62,0.75); }

/* ══════════════════════════════
   HOME SECTIONS
   Shared shell for everything below the fold.
══════════════════════════════ */
.home-section {
    margin-top: 3rem;
    padding: 2.25rem 2.5rem 2rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-dim);
    border-top: 1px solid rgba(184,134,11,0.16);
    box-shadow: var(--panel-shadow);
    position: relative;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-dim);
}

.section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e85c4a;
    text-shadow: 0 0 18px rgba(212,32,32,0.5);
}

/* Reset the centred global h2 — these headings sit left, with the eyebrow */
.home-section .section-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-bright);
    text-align: left;
    margin: 0;
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold);
    transition: color 0.25s, gap 0.25s;
}

.section-more:hover { color: var(--gold-bright); gap: 14px; }
.section-more i { font-size: 0.6rem; }

/* ── Top hunters rows ── */
.top-list { display: flex; flex-direction: column; gap: 1px; }

.top-row {
    display: grid;
    grid-template-columns: 44px 1fr auto auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(4,3,7,0.55);
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}

.top-row:hover {
    background: rgba(184,134,11,0.05);
    border-color: var(--border-gold);
}

.top-rank {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.top-name  { font-weight: 500; color: var(--text-bright); text-decoration: none; }
.top-name:hover { color: var(--gold-bright); }
.top-class { font-size: 0.75rem; font-style: italic; color: var(--text-muted); }

.top-level { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.top-level-val { color: var(--text-bright); font-weight: 600; }

/* First place burns gold */
.top-row-first {
    background: linear-gradient(90deg, rgba(184,134,11,0.10) 0%, rgba(4,3,7,0.55) 70%);
    border-color: rgba(184,134,11,0.22);
    box-shadow: inset 2px 0 0 var(--gold);
}
.top-row-first .top-rank { color: var(--gold-bright); }
.top-row-first .top-name {
    color: var(--gold-bright);
    text-shadow: 0 0 20px rgba(184,134,11,0.45);
}
.top-row-first .reset-badge {
    background: var(--gold-dim);
    color: var(--gold-bright);
    border-color: rgba(184,134,11,0.4);
}

/* ══════════════════════════════
   COMMUNITY BAND
══════════════════════════════ */
.join-band {
    margin-top: 1.5rem;
    margin-bottom: 3.5rem;
    padding: 1.75rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    background: linear-gradient(120deg, rgba(28,20,34,0.95) 0%, rgba(6,5,10,0.95) 65%);
    border: 1px solid var(--border-dim);
    border-left: 2px solid var(--red);
    box-shadow: var(--panel-shadow);
}

.join-icon {
    font-size: 2.1rem;
    color: var(--red-bright);
    filter: drop-shadow(0 0 16px rgba(187,24,24,0.5));
    flex-shrink: 0;
}

.join-text { flex: 1; min-width: 0; }

.join-text h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.join-text p { font-size: 0.82rem; color: var(--text-muted); }

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 13px 22px;
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red-bright);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s, background 0.25s, box-shadow 0.25s, gap 0.25s;
}

.join-btn:hover {
    background: linear-gradient(90deg, #8a0a0a, var(--red-bright));
    color: #f0e0c0;
    gap: 16px;
    box-shadow: 0 0 28px var(--red-glow);
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
    /* The chips stop fitting in one line — rows of four (two on phones),
       and an odd chip out at the end takes the rest of its row. */
    .rates-strip {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    .rate-chip:last-child:nth-child(odd) { grid-column: span 2; }
}

@media (max-width: 900px) {
    /* minmax(0, …): a plain 1fr would grow to fit the unwrapped headlines */
    .home-row-cards,
    .home-row-news { grid-template-columns: minmax(0, 1fr); }

    .home-row-news { gap: 0; }
    .slider { border-right: 1px solid rgba(255,255,255,0.07); border-bottom: none; }
}

@media (max-width: 720px) {
    .hero { padding: 3.5rem 1rem 2.75rem; }
    .hero-ornament::before,
    .hero-ornament::after { width: 40px; }
    .hero-bottom-ornament::before,
    .hero-bottom-ornament::after { width: 60px; }

    .rates-strip { grid-template-columns: 1fr 1fr; }
    .rate-chip { padding: 0.9rem 0.75rem; }
    .rate-chip:hover { transform: none; }

    /* Narrower gutters all round */
    .rates-strip,
    .info-cta,
    .home-row,
    .home-section,
    .join-band { width: calc(100% - 2rem); }

    /* On a phone the button goes under the text, across the band */
    .info-cta { flex-wrap: wrap; gap: 0.9rem 1rem; padding: 1rem; }
    .info-cta-emblem { width: 52px; height: 52px; font-size: 1.2rem; }
    .info-cta-text strong { font-size: 1.2rem; letter-spacing: 1px; }
    .info-cta-text small { font-size: 0.8rem; }
    .info-cta-action { flex-basis: 100%; justify-content: center; }

    .home-row { margin-top: 2rem; gap: 14px; }
    .home-row-news { margin-top: 14px; }

    .dl-card  { padding: 1.1rem 1.25rem; gap: 1.1rem; min-height: 0; }
    .dl-text strong { font-size: 1.35rem; }
    .srv-card { padding: 1rem 1.1rem; gap: 1rem; min-height: 0; }
    .srv-logo { width: 100px; height: 56px; }

    .slider { min-height: 340px; }
    .slide  { padding: 1.4rem 1.4rem 2.6rem; }
    .slide-foot { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .slider-dots { left: 1.4rem; }
    /* Arrows would sit on top of the text on a phone — swipe-free, dots do the job */
    .slider-arrow { top: 1.2rem; transform: none; height: 34px; }
    .slider-prev { left: auto; right: 34px; border-left: 1px solid rgba(255,255,255,0.1); }
    .slider-next { right: 0; }
    .slide-title { padding-right: 76px; }

    .news-item { padding: 0.8rem 1.1rem; }
    .news-head { padding: 1.2rem 1.1rem; }

    .home-section { margin-top: 2rem; padding: 1.5rem 1.25rem; }

    .top-row {
        grid-template-columns: 30px 1fr auto;
        gap: 0.6rem;
        padding: 0.75rem 0.6rem;
    }
    /* The class name is the first thing to go when space runs out */
    .top-class { display: none; }

    .join-band {
        margin: 1.25rem auto 2.5rem;
        padding: 1.5rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 420px) {
    .srv-head { flex-wrap: wrap; gap: 0.4rem; }
    .news-date { display: none; }
}
