:root {
  color-scheme: dark;
  --bg: #050b16;
  --bg-soft: #091426;
  --panel: rgba(14, 29, 51, .82);
  --panel-strong: #0d1b30;
  --line: rgba(112, 171, 220, .19);
  --cyan: #48dcff;
  --blue: #2f86ff;
  --text: #eff8ff;
  --muted: #9ab0c8;
  --muted-2: #6e87a4;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .28);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(ellipse at 85% -10%, rgba(27, 108, 188, .18), transparent 38%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 11, 22, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(118, 178, 224, .12);
}
.navbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .12em; font-size: .92rem; white-space: nowrap; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 0 22px rgba(55, 194, 255, .18); }
.brand span { display: block; }
.brand small { display: block; color: var(--muted-2); letter-spacing: .2em; font-size: .55rem; font-weight: 700; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-links a { color: var(--muted); font-size: .88rem; font-weight: 650; padding: 10px 13px; border-radius: 12px; transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(66, 188, 255, .1); }
.nav-links a.nav-cta { color: #03101d; background: linear-gradient(135deg, #7be7ff, #399bff); padding-inline: 17px; margin-left: 8px; }
.menu-toggle { display: none; border: 1px solid var(--line); color: white; background: var(--panel-strong); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.hero { padding: 76px 0 62px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 550px; height: 550px; top: -260px; right: -150px; border-radius: 50%; background: rgba(31, 146, 255, .16); filter: blur(80px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 54px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); text-transform: uppercase; letter-spacing: .2em; font-weight: 800; font-size: .72rem; }
.eyebrow::before { content: ""; width: 25px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.75rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.055em; margin: 20px 0; max-width: 700px; }
.gradient-text { background: linear-gradient(100deg, #fff 8%, #73dcff 55%, #3f91ff 100%); color: transparent; background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 19px; border-radius: 13px; font-size: .9rem; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-primary { color: #03101d; background: linear-gradient(135deg, #83eaff, #3b9fff); box-shadow: 0 9px 28px rgba(45, 155, 255, .22); }
.btn-secondary { color: var(--text); background: rgba(17, 35, 59, .7); border-color: var(--line); }
.btn-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.hero-art { min-height: 410px; position: relative; border: 1px solid rgba(94, 185, 255, .28); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow), 0 0 45px rgba(28, 142, 230, .1); background: linear-gradient(145deg, #142e4a, #06101d); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .78; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 11, 22, .62), transparent 70%), linear-gradient(0deg, rgba(5, 11, 22, .82), transparent 62%); }
.hero-art-label { position: absolute; z-index: 1; left: 26px; bottom: 25px; }
.hero-art-label strong { display: block; font-size: 1.18rem; letter-spacing: .04em; }
.hero-art-label span { color: #a9c4df; font-size: .8rem; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 46px; }
.stat { border-left: 2px solid rgba(72, 220, 255, .62); padding: 2px 0 2px 14px; }
.stat strong { display: block; font-size: 1.2rem; letter-spacing: -.02em; }
.stat span { display: block; color: var(--muted-2); text-transform: uppercase; font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.045em; line-height: 1.05; margin: 8px 0 0; }
.section-head p { color: var(--muted); max-width: 520px; margin: 0; font-size: .92rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: linear-gradient(155deg, rgba(17, 37, 63, .92), rgba(9, 20, 37, .96)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: #0a1627; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 22px; }
.card-kicker { color: var(--cyan); text-transform: uppercase; font-size: .66rem; font-weight: 850; letter-spacing: .17em; }
.card h3 { font-size: 1.25rem; letter-spacing: -.025em; margin: 7px 0 8px; }
.card p { color: var(--muted); font-size: .88rem; margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--cyan); font-size: .82rem; font-weight: 800; }
.feature-band { padding: 32px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; border: 1px solid rgba(72, 220, 255, .22); border-radius: 24px; background: radial-gradient(circle at 90% 20%, rgba(39, 137, 255, .18), transparent 30%), linear-gradient(120deg, #0d2037, #081426); }
.feature-band h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin: 7px 0; letter-spacing: -.04em; }
.feature-band p { color: var(--muted); margin-bottom: 0; max-width: 700px; }
.page-hero { padding: 64px 0 34px; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); max-width: 900px; }
.page-hero p { color: var(--muted); font-size: 1rem; max-width: 700px; }
.mine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mine-card .card-media { aspect-ratio: 16 / 10; }
.pvp-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(72, 220, 255, .23); color: #a9eaff; background: rgba(72, 220, 255, .08); font-size: .68rem; font-weight: 850; letter-spacing: .04em; margin-top: 14px; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.feature-panel { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.feature-panel img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.feature-panel-content { padding: clamp(24px, 4vw, 42px); }
.feature-panel-content h2 { font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; margin: 12px 0; }
.feature-panel-content p { color: var(--muted); }
.bullet-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.bullet-list li { display: flex; gap: 10px; color: #d7e8f7; font-size: .9rem; }
.bullet-list li::before { content: "✦"; color: var(--cyan); font-size: .8rem; }
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.vip-card { --vip: var(--cyan); border-color: color-mix(in srgb, var(--vip) 42%, transparent); }
.vip-card .card-media { aspect-ratio: 4 / 4.1; background: radial-gradient(circle at 50% 15%, color-mix(in srgb, var(--vip) 27%, transparent), #07101e 70%); }
.vip-card .card-media img { object-fit: cover; object-position: center 18%; }
.vip-card .card-kicker { color: var(--vip); }
.vip-price { display: flex; align-items: baseline; gap: 7px; margin-top: 16px; }
.vip-price strong { font-size: 1.7rem; letter-spacing: -.04em; }
.vip-price span { color: var(--muted); font-size: .76rem; font-weight: 750; }
.vip-note { color: var(--muted-2); font-size: .78rem; margin-top: 16px; }
.cash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cash-card { padding: 20px; background: linear-gradient(145deg, rgba(16, 34, 58, .96), rgba(8, 19, 34, .98)); border: 1px solid var(--line); border-radius: 17px; }
.cash-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 15px; color: #f3d779; background: rgba(234, 193, 85, .12); border: 1px solid rgba(234, 193, 85, .2); font-size: 1rem; }
.cash-card h3 { margin: 0 0 6px; font-size: 1.03rem; }
.cash-card p { margin: 0; font-size: .82rem; color: var(--muted); }
.cash-status { margin-top: 14px; color: #d1dfed; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.notice { border: 1px solid rgba(72, 220, 255, .2); border-radius: 18px; padding: 22px; background: rgba(37, 130, 195, .07); color: #c7dcee; }
.notice strong { color: white; }
.notice code { color: var(--cyan); background: rgba(72, 220, 255, .1); padding: 3px 7px; border-radius: 7px; }
.empty-state { color: var(--muted); border: 1px dashed rgba(125, 166, 204, .25); padding: 20px; border-radius: 15px; }
.site-footer { margin-top: 55px; border-top: 1px solid rgba(118, 178, 224, .12); background: rgba(3, 8, 16, .48); }
.footer-inner { padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-copy { color: var(--muted-2); font-size: .78rem; }
.footer-copy strong { color: var(--text); letter-spacing: .1em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; color: var(--muted); font-size: .8rem; }
.footer-links a:hover { color: var(--cyan); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 50; padding: 11px 16px; border-radius: 12px; background: #eaf9ff; color: #071321; font-size: .82rem; font-weight: 800; box-shadow: var(--shadow); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 920px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 9px 9px; font-size: .8rem; }
  .hero-grid { gap: 30px; }
  .hero-art { min-height: 350px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .navbar { min-height: 70px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 14px; background: rgba(5, 11, 22, .98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: .9rem; }
  .nav-links a.nav-cta { margin: 5px 0 0; text-align: center; }
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 310px; }
  .stat-strip { margin-top: 30px; }
  .section { padding: 45px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .cards, .mine-grid, .vip-grid { grid-template-columns: 1fr; }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature .feature-panel:first-child { order: 2; }
  .feature-panel img { min-height: 230px; max-height: 330px; }
  .cash-grid { grid-template-columns: 1fr; }
  .feature-band { grid-template-columns: 1fr; padding: 24px; }
  .feature-band .btn { width: 100%; }
  .page-hero { padding: 48px 0 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
/* Arena Nether and Submundo: official screenshots supplied by the server owner. */
.arena-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.arena-section { scroll-margin-top: 92px; }
.arena-eyebrow-nether { color: #ff997e; }
.arena-feature { margin-bottom: 24px; }
.arena-photo { margin: 0; min-width: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: #0b182a; }
.photo-link { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: zoom-in; }
.photo-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo-link:hover img { transform: scale(1.025); }
.photo-link:focus-visible, .gallery-dialog button:focus-visible { outline: 3px solid var(--cyan); outline-offset: -4px; }
.photo-expand { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 7px; color: #e8f7ff; background: rgba(3, 9, 18, .78); border: 1px solid rgba(185, 222, 255, .22); font-size: .7rem; font-weight: 750; }
.arena-photo figcaption { color: #b5cbdf; padding: 12px 16px; font-size: .78rem; line-height: 1.45; }
.arena-feature > .arena-photo { display: flex; flex-direction: column; }
.arena-feature > .arena-photo .photo-link { flex: 1; aspect-ratio: auto; min-height: 330px; }
.arena-feature > .arena-photo img { position: absolute; inset: 0; }
.arena-gallery { display: grid; gap: 18px; }
.gallery-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layer-list { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.layer-row { display: grid; grid-template-columns: 1fr 1.15fr .95fr; align-items: center; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.layer-row strong { color: #edf6ff; }
.layer-row > span:last-child { text-align: right; color: #b4e8f8; }
.layer-safe { color: #90c7b1; }
.layer-danger { color: #ff8b90; }
.arena-souls { margin-top: 26px; scroll-margin-top: 100px; }
.arena-note { color: var(--cyan); border: 1px solid var(--line); border-radius: 999px; padding: 10px 17px; white-space: nowrap; font-size: .8rem; font-weight: 750; }
.submundo-section { background: linear-gradient(180deg, rgba(25, 112, 137, .055), transparent); }
.arena-key-note { margin-top: 22px; font-size: .88rem; }
.gallery-dialog { padding: 0; width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); border: 1px solid rgba(120, 192, 239, .35); border-radius: 16px; background: #081221; color: var(--text); box-shadow: 0 30px 100px #000a; overflow: auto; }
.gallery-dialog::backdrop { background: rgba(1, 5, 12, .9); }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.gallery-toolbar h2 { font-size: 1rem; margin: 0; line-height: 1.4; }
.gallery-dialog button { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #142943; color: white; cursor: pointer; font-size: 1.25rem; }
.gallery-dialog button:disabled { opacity: .4; cursor: default; }
.gallery-image { display: block; width: 100%; max-height: calc(100dvh - 180px); object-fit: contain; background: #030810; }
.gallery-controls { padding: 12px 18px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.gallery-count { font-size: .85rem; color: var(--muted); }
body.gallery-open { overflow: hidden; }
@media (max-width: 760px) {
  .arena-jump .btn { flex: 1 1 auto; }
  .arena-feature > .arena-photo .photo-link { min-height: 0; aspect-ratio: 16 / 9; flex: auto; }
  .gallery-three { grid-template-columns: 1fr; }
  .gallery-two { grid-template-columns: 1fr; }
  .arena-gallery { gap: 16px; }
  .layer-row { font-size: .74rem; gap: 5px; }
  .arena-souls { padding: 24px; }
  .arena-note { white-space: normal; justify-self: start; }
  .gallery-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .gallery-toolbar { padding: 12px; }
  .gallery-toolbar h2 { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) { .photo-link img { transition: none; } }
