:root {
  --bg: #050b14;
  --ink: #f4f7fb;
  --muted: #8fa0b8;
  --line: rgba(148, 176, 214, 0.16);
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --ok: #34d399;
  --skip: #94a3b8;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --display: 'Onest', system-ui, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 18% -8%, rgba(37, 99, 235, 0.28), transparent 58%),
    radial-gradient(900px 520px at 92% 8%, rgba(14, 165, 233, 0.12), transparent 52%),
    radial-gradient(700px 480px at 70% 88%, rgba(29, 78, 216, 0.1), transparent 55%),
    linear-gradient(180deg, #07101d 0%, var(--bg) 42%, #040912 100%);
}

.page-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

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

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(180deg, #4b91ff, #1d4ed8);
  color: #fff;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  background: rgba(8, 18, 34, 0.55);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.top-nav a:hover { color: #fff; }

.nav-cta {
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.18);
}

/* —— Hero: one full-bleed composition —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(5, 11, 20, 0.2) 35%, rgba(5, 11, 20, 0.55) 78%, rgba(5, 11, 20, 0.85) 100%),
    radial-gradient(ellipse 70% 55% at 72% 48%, rgba(59, 130, 246, 0.22), transparent 70%);
}

.hero-inner {
  max-width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 24px 64px;
  width: 100%;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.brand-hero {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.6rem, 9vw, 6.2rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: #fff;
  animation: brand-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-line {
  margin: 18px 0 0;
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #dbeafe;
  animation: rise 0.7s 0.12s ease both;
}

.hero-lead {
  margin: 14px 0 0;
  max-width: 38ch;
  font-size: 1.05rem;
  color: var(--muted);
  animation: rise 0.7s 0.22s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 0.7s 0.32s ease both;
}

.hero-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  animation: rise 0.85s 0.18s ease both;
}

.hero-stage::before {
  content: '';
  position: absolute;
  width: 115%;
  height: 115%;
  background: radial-gradient(circle at 50% 48%, rgba(59, 130, 246, 0.32), transparent 64%);
  filter: blur(22px);
  animation: glow 5s ease-in-out infinite;
}

.panel-shot {
  position: relative;
  width: min(100%, 760px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 176, 214, 0.28);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(59, 130, 246, 0.12);
  animation: float-shot 6.5s ease-in-out infinite;
  transform-origin: center;
}

.panel-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: shine 5.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}

.panel-shot-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* —— Sections —— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 32px;
}

.section-head .display {
  font-size: clamp(1.95rem, 4vw, 2.75rem);
}

.section-head .muted {
  margin: 14px 0 0;
  font-size: 1.05rem;
  max-width: 48ch;
}

.section-pricing .section-head {
  margin-bottom: 36px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.8);
}

.price-card.is-featured {
  border-color: rgba(96, 165, 250, 0.55);
  background:
    linear-gradient(165deg, rgba(59, 130, 246, 0.14), transparent 50%),
    rgba(12, 28, 52, 0.95);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.18);
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-tier {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.price-amount {
  margin: 8px 0 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.35rem;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.price-delay {
  margin: 4px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: #dbeafe;
}

.price-term {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.price-marks {
  list-style: none;
  margin: 0 0 18px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  flex: 1;
}

.price-marks li {
  position: relative;
  padding-left: 1.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #d7e2f0;
}

.price-marks li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.price-marks li.yes::before {
  content: '✓';
  color: var(--ok);
}

.price-marks li.no {
  color: #6b7c93;
}

.price-marks li.no::before {
  content: '–';
  color: #6b7c93;
}

.price-cta {
  width: 100%;
  text-decoration: none;
}

.section-servers {
  position: relative;
}

.section-servers::before {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 35, 68, 0.35), transparent 70%);
  border-block: 1px solid rgba(148, 176, 214, 0.1);
}

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

.guild-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.75);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.guild-tile:hover {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(16, 36, 64, 0.9);
  transform: translateY(-2px);
}

.guild-icon,
.guild-icon-fallback {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
  background: #12254a;
}

.guild-icon-fallback {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  color: #93c5fd;
  border: 1px solid var(--line);
}

.guild-icon[hidden],
.guild-icon-fallback[hidden] {
  display: none !important;
}

.guild-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.guild-name {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guild-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.guild-stats .stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guild-stats .stat b {
  color: #fff;
  font-weight: 700;
}

.guild-stats .stat i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.guild-stats .stat.online i {
  background: #23a559;
  box-shadow: 0 0 0 2px rgba(35, 165, 89, 0.25);
}

.guild-stats .stat.members i { background: #80848e; }

.guild-tile.is-loading .guild-name {
  color: var(--muted);
  font-weight: 500;
}

.section-contact {
  padding-bottom: 96px;
}

.seller-wrap {
  display: flex;
  justify-content: center;
}

.seller-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px 28px;
  width: min(100%, 640px);
  padding: 32px 36px;
  border-radius: 22px;
  border: 1px solid rgba(148, 176, 214, 0.28);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.05), transparent 45%),
    rgba(10, 22, 40, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.seller-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  grid-row: 1 / span 2;
  flex-shrink: 0;
}

.seller-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #12254a;
}

.seller-deco {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  max-width: none;
  pointer-events: none;
  object-fit: contain;
}

.seller-meta { min-width: 0; }

.seller-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.seller-handle {
  margin-top: 4px;
  color: var(--accent-2);
  font-size: 1.02rem;
  font-weight: 600;
}

.seller-role {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 34ch;
  line-height: 1.45;
}

.seller-cta {
  grid-column: 2;
  justify-self: start;
  min-height: 52px;
  padding: 0 26px;
  font-size: 1rem;
  text-decoration: none;
}

.foot {
  margin-top: 24px;
  border-top: 1px solid rgba(148, 176, 214, 0.12);
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.35), transparent);
}

.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.foot-brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.foot-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes brand-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes float-shot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

@keyframes glow {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 28px;
    min-height: auto;
  }
  .hero-stage { order: -1; min-height: 280px; }
  .panel-shot { width: 100%; max-width: 640px; }
  .guild-grid,
  .price-grid { grid-template-columns: 1fr; }
  .hero-line { max-width: 22ch; }
}

@media (max-width: 700px) {
  .seller-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 28px 22px;
  }
  .seller-avatar-wrap {
    grid-row: auto;
  }
  .seller-role {
    max-width: none;
  }
  .seller-cta {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .foot-copy { text-align: left; }
}
