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

:root {
  --bg: #0d0d0d;
  --panel: #191612;
  --panel-2: #211c15;
  --line: rgba(255, 149, 0, 0.16);
  --orange: #FF9500;
  --orange-hover: #FFA733;
  --crimson: #E5484D;
  --crimson-hover: #EC6A6E;
  --text: #F5F0E8;
  --dim: rgba(245, 240, 232, 0.62);
  --faint: rgba(245, 240, 232, 0.38);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  background:
    radial-gradient(1100px 480px at 20% -10%, rgba(255, 149, 0, 0.07), transparent 60%),
    radial-gradient(900px 420px at 85% -5%, rgba(229, 72, 77, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.display { font-family: "Cinzel", Georgia, "Times New Roman", serif; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- language bar ---------- */
.langbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  padding: 9px 20px;
  font-size: 0.88rem;
  color: var(--dim);
}
.langbar[hidden] { display: none; }
.langbar a { color: var(--orange); font-weight: 600; }
.langbar button {
  background: none;
  border: none;
  color: var(--faint);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}
.langbar button:hover { color: var(--text); }

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.topbar img { height: 44px; width: auto; }
.topbar .links { display: flex; gap: 22px; font-size: 0.92rem; color: var(--dim); }
.topbar .links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 44px 0 10px; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
}
.hero h1 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 4.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
.hero p.sub {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--dim);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
}

/* ---------- server cards ---------- */
.servers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  padding: 40px 0 26px;
}

.server {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 16px;
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.server:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px var(--glow);
}
.server.medium { --accent: var(--orange); --accent-hover: var(--orange-hover); --glow: rgba(255, 149, 0, 0.45); }
.server.pvp    { --accent: var(--crimson); --accent-hover: var(--crimson-hover); --glow: rgba(229, 72, 77, 0.45); }

.server .head { display: flex; align-items: center; gap: 16px; }
.server .head img { height: 58px; width: auto; }
.server .name {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent);
}
.server .tagline { color: var(--dim); font-size: 0.95rem; margin-top: 2px; }

.server .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.rates { display: flex; flex-wrap: wrap; gap: 8px; }
.rate {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.85rem;
  color: var(--dim);
}
.rate b { color: var(--text); font-weight: 600; }

.liverow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.9rem;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  min-height: 1.4em;
}
.liverow .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3DD68C;
  margin-right: 7px;
  vertical-align: 1px;
}
.liverow [hidden] { display: none; }
.liverow b { color: var(--text); font-weight: 600; }

.server .cta {
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}
.btn {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: scale(1.03); }
.btn-fill { background: var(--accent); color: #000; }
.btn-fill:hover { background: var(--accent-hover); }
.btn-line {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}
.btn-line:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- sections ---------- */
section { padding: 56px 0; }

h2.section-title {
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 8px;
  text-wrap: balance;
}
h2.section-title span { color: var(--orange); }
.section-sub {
  text-align: center;
  color: var(--dim);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ---------- news ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.news-col {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 22px 22px 18px;
}
.news-col .col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.news-col .col-head .col-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.news-col.medium .col-name { color: var(--orange); }
.news-col.pvp .col-name { color: var(--crimson); }
.news-col .col-head a { font-size: 0.85rem; color: var(--dim); }
.news-col .col-head a:hover { color: var(--text); }

.news-col ul { list-style: none; }
.news-col li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.news-col li:last-child { border-bottom: none; }
.news-col li a {
  display: block;
  padding: 12px 2px;
  transition: color 0.12s;
}
.news-col li a:hover .news-title { color: var(--orange); }
.news-col.pvp li a:hover .news-title { color: var(--crimson); }
.news-title { font-size: 0.96rem; font-weight: 600; line-height: 1.4; }
.news-date { font-size: 0.8rem; color: var(--faint); margin-top: 2px; }
.news-empty { padding: 14px 2px; color: var(--faint); font-size: 0.9rem; }

.listing-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  margin-top: 3px;
  color: var(--faint);
}
.listing-meta .chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 1px 9px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.listing-meta .price { color: var(--orange); font-weight: 600; font-variant-numeric: tabular-nums; }
.news-col.pvp .listing-meta .price { color: var(--crimson); }

/* ---------- community ---------- */
.community {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 44px 28px;
  text-align: center;
}
.community p { color: var(--dim); max-width: 520px; margin: 0 auto; }
.chat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.btn-chat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  transition: transform 0.15s, filter 0.15s;
}
.btn-chat:hover { transform: scale(1.04); filter: brightness(1.1); }
.btn-chat svg { width: 20px; height: 20px; fill: currentColor; }
.btn-whatsapp { background: #1DA851; }
.btn-discord { background: #5865F2; }
.btn-youtube { background: #E62117; }
.btn-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.btn-tiktok { background: #FE2C55; }

/* ---------- about / faq ---------- */
.about-box {
  max-width: 720px;
  margin: 0 auto;
  color: var(--dim);
  text-align: center;
}
.about-box p + p { margin-top: 14px; }
.about-box b { color: var(--text); }

.faq { max-width: 720px; margin: 36px auto 0; }
.faq details {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--dim); font-size: 0.95rem; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 34px 0 44px;
  margin-top: 20px;
}
footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}
footer .foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; color: var(--dim); }
footer .foot-links a:hover { color: var(--text); }
footer .copy { color: var(--faint); font-size: 0.82rem; }
