:root {
  --bg: #0d0b0a;
  --panel: #17110d;
  --panel-2: #22150d;
  --text: #f4efe9;
  --muted: #c9bdb3;
  --line: #51301c;
  --accent: #c81f1f;
  --accent-2: #e57822;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 50% 20%, #29160b 0%, #0d0b0a 45%, #080706 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 9, 8, .94);
  border-bottom: 1px solid rgba(229, 120, 34, .45);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 410px);
  align-items: center;
  gap: 28px;
}
.brand img { width: 76px; height: 76px; object-fit: contain; }
.main-nav { display: flex; gap: 8px; align-items: center; }
.main-nav a {
  text-decoration: none;
  color: #eee5de;
  font-weight: 650;
  padding: 12px 14px;
  border-radius: 8px;
  transition: .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(200, 31, 31, .16); }
.server-status img { width: 100%; height: auto; }

.hero {
  min-height: min(760px, 76vh);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,4,3,.86) 0%, rgba(5,4,3,.55) 42%, rgba(5,4,3,.15) 72%), linear-gradient(0deg, rgba(8,7,6,.82) 0%, transparent 36%);
}
.hero-copy {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}
.eyebrow {
  margin: 0 0 10px;
  color: #f29b46;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 4px 28px rgba(0,0,0,.65);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: #e3d8ce;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.hero-actions, .support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #8e1010); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-secondary { background: rgba(18,14,12,.78); border-color: #6f4428; color: #f5ede6; }
.btn-secondary:hover { border-color: #d67a32; background: rgba(45,27,17,.88); }

.section { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 84px 0; }
.section-heading { max-width: 740px; margin-bottom: 34px; }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.025em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(41,24,14,.9), rgba(17,13,11,.96));
  border: 1px solid rgba(126,75,38,.55);
  border-radius: 14px;
}
.card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.card p, .support-card p { margin: 0; color: var(--muted); }

.gallery-section { padding-top: 26px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: 10px;
  border: 1px solid #40291b;
  background: #18110d;
}
.gallery img:nth-child(1), .gallery img:nth-child(4) { grid-column: span 7; }
.gallery img:nth-child(2), .gallery img:nth-child(3), .gallery img:nth-child(5), .gallery img:nth-child(6) { grid-column: span 5; }

.support { padding-top: 30px; }
.support-card {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 40px;
  align-items: center;
  padding: 42px;
  border: 1px solid #7a3b20;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(67,27,13,.94), rgba(15,12,10,.98));
}
.support-card h2 { margin-bottom: 14px; }
.support-actions { justify-content: flex-end; margin-top: 0; }

footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid #3d291d;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  color: #c6b8ad;
}
footer img { width: 48px; height: 48px; object-fit: contain; }
footer p { margin: 2px 0 0; font-size: .9rem; }
footer a { color: #f0d6c2; text-decoration: none; font-weight: 700; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr; gap: 16px; padding: 8px 0; }
  .server-status { grid-column: 1 / -1; max-width: 500px; width: 100%; justify-self: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-card { grid-template-columns: 1fr; }
  .support-actions { justify-content: flex-start; }
  .gallery img, .gallery img:nth-child(n) { grid-column: span 6; height: 220px; }
}

@media (max-width: 600px) {
  .header-inner { grid-template-columns: auto 1fr; width: min(100% - 20px, var(--max)); }
  .brand img { width: 62px; height: 62px; }
  .main-nav { justify-content: flex-end; gap: 2px; }
  .main-nav a { padding: 9px 8px; font-size: .9rem; }
  .hero { min-height: 620px; }
  .hero-copy { padding: 72px 0; }
  .section { padding: 62px 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery img:nth-child(n) { grid-column: auto; height: auto; aspect-ratio: 16/9; }
  .support-card { padding: 28px; }
  footer { grid-template-columns: auto 1fr; }
  footer > a { grid-column: 1 / -1; }
}


/* Server info modal */
button.btn { font: inherit; cursor: pointer; }
.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
}
.modal-backdrop[hidden] { display: none; }
.server-modal {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid #7a3b20;
  border-radius: 16px;
  background: linear-gradient(145deg, #24140d, #100c0a 72%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}
.server-modal h2 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.05;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e8ddd5;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,.08); }
.connect-block {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid #51301c;
  border-radius: 12px;
  background: rgba(7, 6, 5, .72);
}
.connect-label {
  display: block;
  margin-bottom: 8px;
  color: #c9bdb3;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.connect-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.connect-row code {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: #0d0b0a;
  color: #fff;
  font: 700 1rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.copy-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #6f4428;
  border-radius: 8px;
  background: #17110d;
  color: #f5ede6;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.copy-btn:hover { border-color: #d67a32; }
.modal-dzsa { width: 100%; }
.copy-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: #c9bdb3;
  font-size: .9rem;
  text-align: center;
}
@media (max-width: 520px) {
  .server-modal { padding: 28px 20px 22px; }
  .connect-row { align-items: stretch; flex-direction: column; }
  .copy-btn { width: 100%; }
}


/* Support page */
.support-page {
  min-height: 70vh;
}
.support-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 12%, rgba(200, 31, 31, .16), transparent 34%),
    linear-gradient(135deg, rgba(46, 22, 11, .96), rgba(10, 8, 7, .99) 58%);
}
.support-hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 86px;
}
.support-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .96;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.support-lead {
  max-width: 800px;
  margin: 24px 0 0;
  color: #ded2c8;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}
.section-copy {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 820px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  position: relative;
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(126, 75, 38, .55);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(41, 24, 14, .9), rgba(17, 13, 11, .96));
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid #8c4c27;
  border-radius: 50%;
  color: #fff;
  background: rgba(200, 31, 31, .18);
  font-weight: 900;
}
.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.step-card p {
  margin: 0;
  color: var(--muted);
}
.privacy-note {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent-2);
  border-radius: 6px;
  background: rgba(229, 120, 34, .08);
  color: #e8ddd4;
}
.base-package {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid #8b4827;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(82, 31, 14, .92), rgba(16, 12, 10, .98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}
.package-price {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffad61;
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}
.base-package h3 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}
.base-package p {
  margin: 0;
  color: var(--muted);
}
.perk-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}
.perk-list li {
  position: relative;
  padding-left: 26px;
  color: #eee4dc;
}
.perk-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f29b46;
  font-weight: 900;
}
.perk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.perk-card {
  padding: 28px;
  border: 1px solid rgba(126, 75, 38, .55);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(41, 24, 14, .9), rgba(17, 13, 11, .96));
}
.perk-card.available {
  border-color: rgba(200, 31, 31, .72);
}
.perk-card.coming-soon {
  opacity: .82;
  background: linear-gradient(145deg, rgba(34, 28, 24, .9), rgba(15, 13, 12, .96));
}
.perk-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.perk-price {
  color: #ffad61;
  font-size: 1.7rem;
  font-weight: 900;
}
.perk-status {
  padding: 6px 10px;
  border: 1px solid #74462b;
  border-radius: 999px;
  color: #ead7c9;
  background: rgba(255,255,255,.035);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.available .perk-status {
  border-color: #8f2f28;
  color: #ffd8d2;
  background: rgba(200, 31, 31, .12);
}
.perk-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.perk-card p {
  margin: 0;
  color: var(--muted);
}
.perk-note {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(126,75,38,.32);
  font-size: .9rem;
}
.perk-example {
  margin-top: 18px;
  padding: 24px 26px;
  border: 1px dashed #704227;
  border-radius: 12px;
  background: rgba(27, 18, 13, .66);
}
.perk-example h3 {
  margin: 0 0 6px;
}
.perk-example p {
  margin: 0;
  color: var(--muted);
}
.guideline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.support-cta {
  padding-top: 24px;
}
@media (max-width: 900px) {
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .base-package { grid-template-columns: 1fr; }
  .perk-grid { grid-template-columns: 1fr; }
  .guideline-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .support-hero-inner { padding: 70px 0 64px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .base-package { padding: 26px; }
  .perk-card { padding: 24px; }
}
