*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

a { text-decoration: none; }
a:not([class]) { color: var(--yellow); }
a:not([class]):visited { color: var(--yellow); }
a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
a:focus:not(:focus-visible) { outline: none; }

:root {
  --yellow:   #f5c518;
  --yellow-d: #d4a90e;
  --green:    #22c55e;
  --blue:     #3b82f6;
  --purple:   #a855f7;
  --orange:   #f97316;
  --red:      #ef4444;

  --bg:       #0b0e15;
  --bg-2:     #111623;
  --bg-card:  #161c2d;
  --border:   rgba(255,255,255,0.08);
  --text:     #e2e8f0;
  --muted:    #8892a4;
  --radius:   14px;
  --radius-sm:8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.gradient-text {
  background: linear-gradient(135deg, var(--yellow), #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: filter .15s, box-shadow .1s;
  white-space: nowrap;
  border: none;
}
.btn-lg   { padding: 14px 32px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--yellow);
  color: #0b0e15;
  box-shadow: inset -3px -3px 0 0 rgba(0,0,0,0.30), inset 3px 3px 0 0 rgba(255,255,255,0.30);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.30), inset -1px -1px 0 0 rgba(255,255,255,0.10); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: inset -3px -3px 0 0 rgba(0,0,0,0.25), inset 3px 3px 0 0 rgba(255,255,255,0.08);
}
.btn-ghost:hover { background: rgba(255,255,255,.10); }

.btn-danger {
  background: rgba(239,68,68,.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,.35);
  box-shadow: inset -3px -3px 0 0 rgba(0,0,0,0.25), inset 3px 3px 0 0 rgba(255,255,255,0.05);
}
.btn-danger:hover { background: rgba(239,68,68,.25); border-color: rgba(239,68,68,.5); }
.btn-ghost:active { box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.25); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,.2);
  box-shadow: inset -3px -3px 0 0 rgba(0,0,0,0.25), inset 3px 3px 0 0 rgba(255,255,255,0.06);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-outline:active { box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.25); }

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(11,14,21,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-img { height: 80px; width: auto; display: block; margin-top: 10px; }

.nav .logo-img,
.mobile-menu .logo-img {
  height: 32px;
  margin-top: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11,14,21,.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.mobile-menu a { color: var(--muted); text-decoration: none; font-weight: 500; }
.mobile-menu.open { display: flex; }

.profile-menu-wrap { position: relative; }
.profile-menu-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s;
}
.profile-menu-btn:hover { background: rgba(255,255,255,.10); }
.profile-menu-btn.open { border-color: rgba(245,197,24,.4); }
.profile-menu-caret { transition: transform .2s; flex-shrink: 0; }
.profile-menu-btn.open .profile-menu-caret { transform: rotate(180deg); }

.profile-menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  padding: 16px;
  z-index: 400;
}
.profile-menu-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.profile-menu-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.profile-menu-server-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  transition: background .15s;
}
.profile-menu-server-row:hover { background: rgba(255,255,255,.04); }
.profile-menu-server-icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
  transition: box-shadow .15s;
}
.profile-menu-server-icon-btn:hover { box-shadow: 0 0 0 2px rgba(245,197,24,.4); }
.profile-menu-server-row .icon-modal-server-info { flex: 1; min-width: 0; }
.profile-menu-server-actions { display: flex; gap: 4px; flex-shrink: 0; }
.profile-menu-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.profile-menu-action-btn:hover { color: var(--yellow); border-color: rgba(245,197,24,.4); }
.profile-menu-manage-link {
  display: block;
  text-align: center;
  margin-top: 4px;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
}
.profile-menu-manage-link:hover { color: var(--yellow-d); }

@media (max-width: 900px) {
  .profile-menu-wrap { display: none; }
}

.announcement-banner {
  position: sticky;
  top: 64px;
  z-index: 200;
  background: linear-gradient(90deg, rgba(245,197,24,.12), rgba(249,115,22,.10));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245,197,24,.25);
  padding: 12px 0;
}
.announcement-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.announcement-badge {
  flex-shrink: 0;
  background: rgba(245,197,24,.18);
  color: var(--yellow);
  border: 1px solid rgba(245,197,24,.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.announcement-banner p {
  font-size: 14px;
  color: var(--text);
  opacity: .9;
  margin: 0;
}
@media (max-width: 600px) {
  .announcement-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}


.hero {
  display: flex;
  flex-direction: row;
  height: 580px;
  overflow: hidden;
  contain: layout;
}

.hero-panel {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 72px 56px 48px;
  overflow: hidden;
  min-width: 0;
  cursor: pointer;
  flex-basis: 50%;
  will-change: flex-basis;
  transition: flex-basis 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}


@media (min-width: 769px) {
  .hero:has(.hero-panel-host:hover) .hero-panel-host     { flex-basis: 65%; }
  .hero:has(.hero-panel-host:hover) .hero-panel-manage   { flex-basis: 35%; }
  .hero:has(.hero-panel-manage:hover) .hero-panel-manage { flex-basis: 65%; }
  .hero:has(.hero-panel-manage:hover) .hero-panel-host   { flex-basis: 35%; }
}


.hero-panel-content  { transition: opacity 0.4s ease; }
.hero-panel-host-img,
.hero-panel-manage-img { transition: opacity 0.4s ease; }

@media (min-width: 769px) {
  .hero:has(.hero-panel-host:hover) .hero-panel-manage .hero-panel-content   { opacity: 0.25; }
  .hero:has(.hero-panel-host:hover) .hero-panel-manage .hero-panel-manage-img { opacity: 0.15; }
  .hero:has(.hero-panel-manage:hover) .hero-panel-host .hero-panel-content   { opacity: 0.25; }
  .hero:has(.hero-panel-manage:hover) .hero-panel-host .hero-panel-host-img   { opacity: 0.15; }
}


.hero-panel-manage {
  border-left: 1px solid rgba(255,255,255,0.06);
}

.hero-panel-bg,
.hero-panel-host-bg,
.hero-panel-manage-bg { position: absolute; inset: 0; z-index: 0; }

.hero-panel-manage-img {
  position: absolute; inset: 0;
  background: url('/images/panel.webp') center center / cover no-repeat;
  opacity: .35;
}
.hero-panel-host-img {
  position: absolute; inset: 0;
  background: url('/images/host.webp') center center / cover no-repeat;
  opacity: .30;
}

.hero-panel-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,14,21,.55) 0%, rgba(11,14,21,.15) 50%, rgba(11,14,21,.75) 100%),
    linear-gradient(to right, rgba(11,14,21,.65) 0%, transparent 70%);
}

.hero-panel-overlay-manage {
  background:
    linear-gradient(to bottom, rgba(11,14,21,.65) 0%, rgba(11,14,21,.25) 50%, rgba(11,14,21,.80) 100%),
    linear-gradient(to left, rgba(11,14,21,.75) 0%, transparent 70%);
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 40px;
}

.hero-panel-top { flex: 1; }


.hero-panel-host .hero-panel-content { padding-bottom: 88px; }
.hero-panel-host .hero-panel-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}


.hero-panel-manage .hero-panel-top { text-align: right; }
.hero-panel-manage .hero-cta { justify-content: flex-end; }
.hero-panel-manage .hero-panel-stats { justify-content: flex-end; }

.cubes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cube {
  position: absolute;
  border: 1.5px solid rgba(245, 197, 24, 0.12);
  border-radius: 4px;
  animation: cubeDrift linear infinite;
}
.cube::after {
  content: '';
  position: absolute;
  inset: 25%;
  border: 1px solid rgba(245, 197, 24, 0.07);
  border-radius: 2px;
}
.hero-panel-manage .cube {
  border-color: rgba(59, 130, 246, 0.12);
}
.hero-panel-manage .cube::after {
  border-color: rgba(59, 130, 246, 0.07);
}
.cube-1 { width: 56px;  height: 56px;  left: 7%;  bottom: -80px;  animation-duration: 26s; animation-delay: 0s; }
.cube-2 { width: 32px;  height: 32px;  left: 22%; bottom: -50px;  animation-duration: 20s; animation-delay: -7s; }
.cube-3 { width: 72px;  height: 72px;  left: 60%; bottom: -100px; animation-duration: 32s; animation-delay: -12s; }
.cube-4 { width: 24px;  height: 24px;  left: 20%; bottom: -40px;  animation-duration: 18s; animation-delay: -4s; }
.cube-5 { width: 44px;  height: 44px;  left: 44%; bottom: -70px;  animation-duration: 24s; animation-delay: -18s; }
.cube-6 { width: 20px;  height: 20px;  left: 75%; bottom: -35px;  animation-duration: 22s; animation-delay: -9s; }

@keyframes cubeDrift {
  0%   { transform: translateY(0)   rotate(0deg);   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateY(-720px) rotate(200deg); opacity: 0; }
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  opacity: .8;
}
.hero-eyebrow-blue { color: var(--blue); }

.hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.04em;
  margin-bottom: 20px;
  max-width: 560px;
}
.hero-title-manage { color: var(--text); }

.hero-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-manage {
  background: rgba(59,130,246,.15);
  color: #93c5fd;
  border: 1.5px solid rgba(59,130,246,.35);
  box-shadow: inset -3px -3px 0 0 rgba(0,0,0,0.25), inset 3px 3px 0 0 rgba(255,255,255,0.06);
}
.btn-manage:hover { background: rgba(59,130,246,.22); border-color: rgba(59,130,246,.55); color: #bfdbfe; }
.btn-manage:active { box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.25); }


.hero-panel-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding-right: 24px;
}
.hero-stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 2px;
  white-space: nowrap;
}
.hero-stat-num { white-space: nowrap; }
.hero-stat-sep {
  width: 1px;
  height: 36px;
  align-self: center;
  background: rgba(255,255,255,0.10);
  margin-right: 24px;
  flex-shrink: 0;
}


@media (max-width: 768px) {
  .hero { flex-direction: column; height: auto; contain: none; }
  .hero-panel { padding: 48px 28px 36px; min-height: 320px; flex-basis: auto !important; }
  .hero-panel-manage { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
}


.shop-page-header {
  position: relative;
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border);
  background: url('/images/shop.webp') center center / cover no-repeat;
}
.shop-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,14,21,.92) 0%, rgba(11,14,21,.65) 60%, rgba(11,14,21,.80) 100%);
}
.shop-page-header .container {
  position: relative;
  z-index: 1;
}
.shop-page-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text);
  margin: 8px 0 16px;
  line-height: 1.1;
}
.plans-hero-stats {
  margin-top: 32px;
  max-width: 640px;
}

.shop-page-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
}


.nav-links a.nav-active { color: var(--text); }


.cta-strip {
  position: relative;
  overflow: hidden;
  background: url('/images/host.webp') center 55% / cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,14,21,.95) 0%, rgba(11,14,21,.75) 55%, rgba(11,14,21,.92) 100%);
}
.cta-strip-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 72px 24px;
}
.cta-strip-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: .8;
  margin-bottom: 12px;
}
.cta-strip-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.cta-strip-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cta-strip-inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
}

.section-header { margin-bottom: 56px; }
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.section-sub { color: var(--muted); max-width: 560px; margin: 14px 0 0; font-size: 16px; line-height: 1.7; }

.howto { background: var(--bg); border-bottom: 1px solid var(--border); }
.howto .section-title { margin-bottom: 48px; }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  overflow: hidden;
}
.step-num {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,.04);
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
}
.step-icon {
  width: 44px; height: 44px;
  background: rgba(245,197,24,.1);
  border: 1px solid rgba(245,197,24,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--yellow);
}
.step-icon svg { width: 20px; height: 20px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: 14px; line-height: 1.7; }
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px;
  margin-top: 56px;
  color: rgba(245,197,24,.4);
}
.step-arrow svg { width: 20px; height: 20px; }


.showcase { background: var(--bg-2); }
.showcase .section-header { margin-bottom: 40px; }

.feat-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.feat-cat-chip {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: .01em;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.feat-cat-chip:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.feat-cat-chip.is-active { color: var(--bg); background: var(--yellow); border-color: var(--yellow); }
.feat-cat-chip[data-cat="pvp"].is-active       { background: #f87171; border-color: #f87171; }
.feat-cat-chip[data-cat="smp"].is-active       { background: #4ade80; border-color: #4ade80; }
.feat-cat-chip[data-cat="gen"].is-active       { background: #93c5fd; border-color: #93c5fd; }
.feat-cat-chip[data-cat="box"].is-active       { background: #fb923c; border-color: #fb923c; }
.feat-cat-chip[data-cat="prison"].is-active    { background: #c084fc; border-color: #c084fc; }
.feat-cat-chip[data-cat="farming"].is-active   { background: #a3e635; border-color: #a3e635; }
.feat-cat-chip[data-cat="minigames"].is-active { background: #f472b6; border-color: #f472b6; }
.feat-cat-chip[data-cat="skyblock"].is-active  { background: #38bdf8; border-color: #38bdf8; }

.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.carousel-viewport {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track {
  display: flex;
  gap: 20px;
  padding: 4px 24px;
}


.feat-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  position: relative;
  background:
    radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0/3px 3px,
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: border-color .2s ease;
}
.feat-card:hover { border-color: rgba(245,197,24,.3); }

.feat-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feat-card-icon {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  flex-shrink: 0;
  border-radius: 6px;
}

.feat-info { min-width: 0; flex: 1; }
.feat-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.feat-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.feat-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feat-status-dot.online  { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.7); animation: feat-pulse 2s ease-in-out infinite; }
.feat-status-dot.offline { background: #4b5563; }
.feat-status.online  { color: #4ade80; }
.feat-status.offline { color: var(--muted); }
@keyframes feat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.feat-motd-line {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.5em;
}

.feat-ip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.feat-ip {
  flex: 1;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--text);
  letter-spacing: .01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-copy-ip {
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.2);
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--yellow);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  flex-shrink: 0;
}
.btn-copy-ip:hover { background: rgba(245,197,24,.14); border-color: rgba(245,197,24,.4); }


.carousel-btn {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s;
  font-family: inherit;
}
.carousel-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.carousel-btn:disabled { opacity: .3; cursor: default; }


.how { background: var(--bg); }
.how .section-header { margin-bottom: 48px; }
.how .section-header .section-title { margin-bottom: 0; }
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.how-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.how-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(245,197,24,.10);
  border: 1.5px solid rgba(245,197,24,.25);
  color: var(--yellow);
  font-size: 22px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.how-step h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.how-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.how-connector {
  flex-shrink: 0;
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 26px;
  position: relative;
}
.how-connector::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--border);
  border-top: 1.5px solid var(--border);
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .feat-card { flex-basis: 260px; }
  .carousel-track { gap: 14px; padding: 4px 16px; }
  .how-steps { flex-direction: column; align-items: center; gap: 32px; }
  .how-connector { width: 1px; height: 32px; margin-top: 0; }
  .how-connector::after { right: -3px; top: auto; bottom: -4px; transform: rotate(135deg); }
}

.panel-section { background: var(--bg); }
.panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.panel-text .section-title { text-align: left; }
.panel-desc { color: var(--muted); margin: 20px 0 28px; line-height: 1.75; }
.panel-desc strong { color: var(--text); }
.panel-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.panel-perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.check { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

.panel-mockup {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
}
.pm-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pm-dot { width: 10px; height: 10px; border-radius: 50%; }
.pm-dot.red    { background: #ef4444; }
.pm-dot.yellow { background: #f5c518; }
.pm-dot.green  { background: #22c55e; }
.pm-url {
  margin: 0 auto;
  font-size: 11px;
  color: #6b7280;
  background: #0d1117;
  padding: 2px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.06);
}
.pm-body { display: flex; }
.pm-sidebar {
  width: 120px;
  flex-shrink: 0;
  background: #0d1117;
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pm-nav-item {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: #6b7280;
  cursor: default;
}
.pm-nav-item.active { background: rgba(245,197,24,.12); color: var(--yellow); font-weight: 600; }
.pm-main { flex: 1; padding: 14px; min-width: 0; }
.pm-stats-row { display: flex; gap: 8px; margin-bottom: 12px; }
.pm-stat-box {
  flex: 1;
  background: #161b22;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 8px;
}
.pm-stat-label { display: block; font-size: 9px; color: #6b7280; margin-bottom: 2px; }
.pm-stat-val   { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.green-text  { color: var(--green); }
.yellow-text { color: var(--yellow); }
.blue-text   { color: var(--blue); }
.pm-bar-chart { height: 4px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.pm-bar-fill  { height: 100%; background: var(--green); border-radius: 2px; }
.pm-bar-fill.yellow { background: var(--yellow); }
.pm-bar-fill.blue   { background: var(--blue); }
.pm-console {
  background: #0a0d12;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 10px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pm-console-line { color: #8892a4; }
.pm-ts { color: #4b5563; }
.pm-cursor { animation: blink .8s step-end infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.pricing { background: var(--bg-2); }
.pricing .section-header { margin-bottom: 48px; }

.pricing { background: var(--bg-2); }

.credits-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.credits-header > div:nth-child(2) { flex: 1; min-width: 200px; }

.credit-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px;
  align-self: center;
  flex-shrink: 0;
  margin-left: auto;
}
.ctoggle-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: none;
  letter-spacing: 0;
}
.ctoggle-btn:hover { color: var(--text); }
.ctoggle-active {
  background: rgba(245,197,24,.12);
  color: var(--yellow);
}
.ctoggle-save {
  font-size: 10px;
  font-weight: 700;
  background: rgba(34,197,94,.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 999px;
  padding: 1px 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.credits-icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(245,197,24,.10);
  border: 1px solid rgba(245,197,24,.20);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  margin-top: 4px;
}


.credit-packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.credit-pkg {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  transition: border-color .2s, transform .2s;
}
.credit-pkg:hover { border-color: rgba(245,197,24,.25); transform: translateY(-2px); }
.credit-pkg-best {
  border-color: rgba(245,197,24,.30);
  box-shadow: 0 0 0 1px rgba(245,197,24,.12), 0 16px 40px rgba(245,197,24,.08);
}
.credit-pkg-best:hover { border-color: rgba(245,197,24,.5); }

.pkg-best-badge {
  position: absolute;
  top: -1px; right: -1px;
  background: var(--yellow);
  color: #0b0e15;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 var(--radius) 0 6px;
}
.pkg-icon {
  color: var(--yellow);
  width: 22px; height: 22px;
  margin-bottom: 6px;
}
.pkg-amount {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}
.pkg-unit {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 600;
  margin-bottom: 8px;
}
.pkg-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 14px;
}
.pkg-was {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  margin-left: 4px;
  text-decoration: line-through;
}


.pricing-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pricing-divider::before,
.pricing-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}


.pc-credit-icon {
  width: 14px; height: 14px;
  color: var(--yellow);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.pricing-card:hover { border-color: rgba(255,255,255,.14); transform: translateY(-2px); }


.tier-free      { border-top: 2px solid #b48c50; }
.tier-diamond   { border-top: 2px solid #38bdf8; }
.tier-emerald   { border-top: 2px solid #34d399; }
.tier-netherite { border-top: 2px solid #a78bfa; }

.tier-rank-basic  { border-top: 2px solid #94a3b8; }
.tier-rank-elite  { border-top: 2px solid #f5c518; }
.tier-rank-legend { border-top: 2px solid #f97316; }
.tier-rank-basic  .pc-name, .tier-rank-basic  .pc-amount { color: #94a3b8; }
.tier-rank-elite  .pc-name, .tier-rank-elite  .pc-amount { color: #f5c518; }
.tier-rank-legend .pc-name, .tier-rank-legend .pc-amount { color: #f97316; }

.shop-plans-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 8px;
}
.shop-plans-cta-text h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.shop-plans-cta-text p { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .shop-plans-cta { flex-direction: column; align-items: flex-start; }
}

.tier-gem { width: 28px; height: 28px; flex-shrink: 0; image-rendering: pixelated; }


.pc-header {
  padding: 22px 22px 0;
}
.pc-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pc-name {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}
.tier-free      .pc-name { color: #b48c50; }
.tier-diamond   .pc-name { color: #38bdf8; }
.tier-emerald   .pc-name { color: #34d399; }
.tier-netherite .pc-name { color: #a78bfa; }

.pc-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pc-price {
  padding: 16px 22px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
}
.pc-amount {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}
.tier-free      .pc-amount { color: #b48c50; }
.tier-diamond   .pc-amount { color: #38bdf8; }
.tier-emerald   .pc-amount { color: #34d399; }
.tier-netherite .pc-amount { color: #a78bfa; }

.pc-period { font-size: 13px; color: var(--muted); }

.pc-features {
  list-style: none;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.pc-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.pc-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.pc-footer {
  padding: 0 22px 22px;
}


.pricing-popular {
  border-color: rgba(56,189,248,.35);
  box-shadow: 0 0 0 1px rgba(56,189,248,.2), 0 20px 48px rgba(56,189,248,.12);
}
.pricing-popular:hover { border-color: rgba(56,189,248,.5); }

.popular-badge {
  margin-left: auto;
  background: rgba(56,189,248,.14);
  border: 1px solid rgba(56,189,248,.3);
  color: #38bdf8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.faq { background: var(--bg); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-inner .section-title { margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(245,197,24,.3); }
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 22px 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq-body strong { color: var(--text); }

.TOS { background: var(--bg); }
.TOS-inner { max-width: 760px; margin: 0 auto; }
.TOS-inner .section-title { margin-bottom: 40px; }
.TOS-list { display: flex; flex-direction: column; gap: 12px; }
.TOS-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .4s;
}
.TOS-item[open] { border-color: rgba(245,197,24,.3); }
.TOS-item summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-size: 15px;
}
.TOS-item summary::-webkit-details-marker { display: none; }
.TOS-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform .4s;
}
.TOS-item[open] summary::after { transform: rotate(45deg); }
.TOS-body { padding: 0 22px 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.TOS-body strong { color: var(--text); }

.contact { background: var(--bg-2); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text .section-title { margin-bottom: 16px; }
.contact-desc { color: var(--muted); margin-bottom: 32px; line-height: 1.75; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color .2s;
}
.channel:hover { color: var(--yellow); }
.channel svg { width: 20px; height: 20px; color: var(--yellow); flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--yellow); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; cursor: pointer; }
.form-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 4px; }


.custom-select-wrap {
  width: 100%;
}
.custom-select-wrap select {
  display: none;
}
.custom-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s;
  box-sizing: border-box;
}
.custom-select-btn.placeholder { color: var(--muted); }
.custom-select-btn:focus,
.custom-select-btn.open { border-color: var(--yellow); outline: none; }
.custom-select-btn svg { flex-shrink: 0; transition: transform .15s; }
.custom-select-btn.open svg { transform: rotate(180deg); }
.custom-select-dropdown {
  position: fixed;
  background: #1a1d27;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: auto;
  z-index: 99999;
  display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  max-height: 240px;
}
.custom-select-dropdown::-webkit-scrollbar { width: 8px; }
.custom-select-dropdown::-webkit-scrollbar-track { background: #1a1d27; }
.custom-select-dropdown::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.custom-select-dropdown.open { display: block; }
.custom-select-option {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background .1s;
}
.custom-select-option:hover   { background: rgba(255,255,255,.07); }
.custom-select-option.selected { background: rgba(245,197,24,.12); color: var(--yellow); }
.custom-select-option.placeholder-opt { color: var(--muted); }


.auth-page { min-height: 100vh; display: flex; flex-direction: column; }

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-header { text-align: center; }
.auth-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.auth-sub { font-size: 14px; color: var(--muted); margin: 0; }
.auth-sub a { color: var(--yellow); text-decoration: none; }
.auth-sub a:hover { text-decoration: underline; }

.btn-discord {
  background: #5865f2;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s;
}
.btn-discord:hover { filter: brightness(1.1); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 40px; }
.pw-toggle {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--muted); cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.pw-toggle:hover { color: var(--text); }

.pw-strength { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.pw-strength-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.pw-strength-fill { height: 100%; border-radius: 2px; transition: width .3s, background .3s; }
.pw-strength-label { font-size: 11px; color: var(--muted); white-space: nowrap; }

.auth-tos { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.auth-tos a { color: var(--muted); text-decoration: underline; }

.label-link {
  float: right;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
}
.label-link:hover { color: var(--text); }


.server-creator {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sc-step { padding: 32px; }

.sc-slots-full-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.3);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.sc-slots-full-banner svg { color: var(--yellow); flex-shrink: 0; margin-top: 1px; }
.sc-slots-full-banner a { color: var(--yellow); font-weight: 600; text-decoration: none; }
.sc-slots-full-banner a:hover { text-decoration: underline; }

.sc-tier-card-disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

.sc-step-header { margin-bottom: 24px; }
.sc-step-title { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.sc-step-sub { font-size: 14px; color: var(--muted); margin: 0; }

.sc-tier-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sc-tier-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  position: relative;
  transition: border-color .2s, background .2s, transform .15s;
}
.sc-tier-card:hover { border-color: rgba(245,197,24,.4); background: rgba(245,197,24,.03); transform: translateY(-3px); }

.sc-tier-card-popular { border-color: rgba(245,197,24,.3); }

.sc-tier-card.tier-free      { border-top: 2px solid #b48c50; }
.sc-tier-card.tier-diamond   { border-top: 2px solid #38bdf8; }
.sc-tier-card.tier-emerald   { border-top: 2px solid #34d399; }
.sc-tier-card.tier-netherite { border-top: 2px solid #a78bfa; }

.sc-tier-card-badge {
  position: absolute;
  top: -1px; right: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--yellow);
  color: #0b0e15;
  padding: 3px 8px;
  border-radius: 0 0 6px 6px;
}

.sc-tier-card-gem-wrap {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 10px;
}
.tier-free      .sc-tier-card-gem-wrap { background: radial-gradient(circle, rgba(180,140,80,.18), transparent 72%); }
.tier-diamond   .sc-tier-card-gem-wrap { background: radial-gradient(circle, rgba(56,189,248,.18), transparent 72%); }
.tier-emerald   .sc-tier-card-gem-wrap { background: radial-gradient(circle, rgba(52,211,153,.18), transparent 72%); }
.tier-netherite .sc-tier-card-gem-wrap { background: radial-gradient(circle, rgba(167,139,250,.18), transparent 72%); }

.sc-tier-card-gem { width: 44px; height: 44px; image-rendering: pixelated; }

.sc-tier-card-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.sc-tier-card-price {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  margin-top: 4px;
}

.sc-tier-card-blurb {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 10px 0 4px;
}

.sc-tier-card-specs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 10px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex: 1;
  width: 100%;
}
.sc-tier-card-spec {
  font-size: 12.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-tier-card-spec svg { color: var(--muted); flex-shrink: 0; }

.sc-tier-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-top: 18px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color .15s, color .15s;
}
.sc-tier-card:hover .sc-tier-card-cta { color: var(--yellow); border-color: rgba(245,197,24,.4); }

.sc-step-2-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.sc-step-2-header .sc-step-title { flex: 1; }

.sc-mode-toggle {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.sc-mode-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.sc-mode-btn:hover { color: var(--text); }
.sc-mode-btn.active {
  background: var(--yellow);
  color: #1a1400;
}

.sc-software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.sc-software-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 10px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, transform .15s, background .15s;
}
.sc-software-card:hover { border-color: rgba(245,197,24,.4); transform: translateY(-2px); }
.sc-software-card.active {
  border-color: var(--yellow);
  background: rgba(245,197,24,.08);
  box-shadow: 0 0 0 3px rgba(245,197,24,.1);
}
.sc-software-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  image-rendering: pixelated;
}
.sc-software-name { font-size: 12.5px; font-weight: 700; color: var(--text); }
.sc-software-tag {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--yellow);
}

.sc-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-pill-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.sc-pill-btn:hover { border-color: rgba(245,197,24,.4); }
.sc-pill-btn.active {
  border-color: var(--yellow);
  background: rgba(245,197,24,.1);
  color: var(--yellow);
}

.sc-pvp-field { display: flex; flex-direction: column; gap: 8px; }
.sc-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.sc-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.sc-switch-track {
  position: relative;
  width: 38px;
  height: 22px;
  background: var(--border);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background .2s;
}
.sc-switch-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.sc-switch input:checked + .sc-switch-track { background: var(--yellow); }
.sc-switch input:checked + .sc-switch-track .sc-switch-thumb { transform: translateX(16px); }
.sc-switch-label { font-size: 12.5px; color: var(--muted); }

.sc-wizard-progress {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.sc-wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.sc-wizard-step:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
}
.sc-wizard-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: border-color .2s, background .2s, color .2s;
}
.sc-wizard-step-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.sc-wizard-step.active .sc-wizard-step-dot { border-color: var(--yellow); background: var(--yellow); color: #1a1400; }
.sc-wizard-step.active .sc-wizard-step-label { color: var(--text); }
.sc-wizard-step.completed .sc-wizard-step-dot { border-color: var(--yellow); background: rgba(245,197,24,.15); color: var(--yellow); }
@media (max-width: 640px) {
  .sc-wizard-step-label { display: none; }
}

.sc-wizard-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: sc-adv-in .18s ease;
}
@keyframes sc-adv-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.sc-wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.sc-review-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sc-review-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13px;
}
.sc-review-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.sc-review-key { color: var(--muted); font-weight: 600; }
.sc-review-val { color: var(--text); font-weight: 600; text-align: right; }

.field-note-inline {
  display: inline-block;
  color: var(--yellow);
  font-weight: 700;
  font-size: 11.5px;
  margin-left: 4px;
}

.sc-form-area .form-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  padding: 0;
  border: none;
  margin-top: 10px;
}
.sc-form-area .form-group input[type="range"]:focus { box-shadow: none; }
.sc-form-area .form-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
  border: 2px solid #1a1400;
}
.sc-form-area .form-group input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
  border: 2px solid #1a1400;
}

.sc-version-more-toggle {
  align-self: flex-start;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 0 0;
  transition: color .15s;
}
.sc-version-more-toggle:hover { color: var(--yellow); }
.sc-version-full-select { margin-top: 8px; max-width: 260px; }

.sc-step2-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.sc-summary-col { position: sticky; top: 84px; }
.sc-summary-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sc-summary-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sc-summary-gem-wrap { display: flex; align-items: center; gap: 12px; }
.sc-summary-gem { width: 40px; height: 40px; image-rendering: pixelated; flex-shrink: 0; }
.sc-summary-name { font-size: 17px; font-weight: 800; color: var(--text); }
.sc-summary-price { font-size: 13px; font-weight: 600; color: var(--yellow); margin-top: 2px; }
.sc-summary-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sc-summary-feats li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-summary-feats li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .sc-step2-layout { grid-template-columns: 1fr; }
  .sc-summary-col { position: static; order: -1; }
}

.sc-back-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
  white-space: nowrap;
  margin-top: 4px;
  transition: color .15s;
}
.sc-back-btn:hover { color: var(--text); }

.sc-step-2-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sc-selected-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px 4px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.sc-selected-gem { width: 18px; height: 18px; image-rendering: pixelated; }

.sc-form-area {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sc-form-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.sc-form-section:first-child { padding-top: 0; border-top: none; }
.sc-form-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sc-form-area .form-group input,
.sc-form-area .form-group select {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.sc-form-area .form-group input:focus,
.sc-form-area .form-group select:focus {
  border-color: rgba(245,197,24,.5);
  box-shadow: 0 0 0 3px rgba(245,197,24,.1);
}
.sc-form-area .form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

.sc-login-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 10px 14px;
}
.sc-login-prompt a { color: var(--yellow); text-decoration: none; }
.sc-login-prompt a:hover { text-decoration: underline; }

.sc-panel-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #fbbf24;
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.25);
  border-radius: 8px;
  padding: 10px 14px;
}
.sc-panel-warning svg { flex-shrink: 0; margin-top: 1px; }

.sc-credit-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.sc-credit-balance svg { color: var(--yellow); flex-shrink: 0; }
.sc-credit-balance strong { color: var(--text); }

.sc-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
}
.sc-checkboxes { display: flex; flex-direction: column; gap: 10px; }

.sc-success {
  padding: 12px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sc-success-icon {
  width: 52px; height: 52px;
  background: rgba(52,211,153,.12);
  border: 1px solid rgba(52,211,153,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
}
.sc-success-title { font-size: 20px; font-weight: 800; margin: 0; }
.sc-success-sub { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; max-width: 420px; }

@media (max-width: 900px) {
  .sc-tier-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sc-step { padding: 20px; }
  .sc-tier-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sc-tier-card { padding: 20px 16px 18px; }
  .sc-tier-card-gem-wrap { width: 48px; height: 48px; margin-bottom: 6px; }
  .sc-tier-card-gem { width: 32px; height: 32px; }
  .sc-form-footer { flex-direction: column; align-items: flex-start; }
  .sc-step-2-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sc-mode-toggle { align-self: stretch; }
  .sc-mode-btn { flex: 1; text-align: center; }
}


.promo-section { background: var(--bg-2); }

.promo-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.promo-card-left { flex: 1; min-width: 0; }
.promo-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 180px;
  text-align: center;
}

.promo-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 10px;
}
.promo-card-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.2;
}
.promo-card-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 520px;
}

.promo-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.promo-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.promo-perk svg { color: var(--green); flex-shrink: 0; }

.promo-price-wrap { display: flex; align-items: baseline; gap: 4px; }
.promo-price-amount { font-size: 48px; font-weight: 900; line-height: 1; }
.promo-price-period { font-size: 16px; color: var(--muted); }
.promo-price-note { font-size: 12px; color: var(--muted); margin: 0 0 16px; }

@media (max-width: 700px) {
  .promo-card { flex-direction: column; padding: 24px; gap: 28px; }
  .promo-card-right { align-items: flex-start; text-align: left; width: 100%; }
}

.promo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.promo-modal {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.promo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}
.promo-modal-title { font-size: 17px; font-weight: 700; margin: 0; }
.promo-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 18px;
  padding: 4px 8px;
  line-height: 1;
}
.promo-modal-close:hover { color: var(--text); }
.promo-modal-sub { font-size: 13px; color: var(--muted); margin: 8px 24px 16px; line-height: 1.5; }
.promo-modal-servers {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-server-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  background: var(--bg-2);
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.promo-server-row:hover { border-color: rgba(245,197,24,.4); background: rgba(245,197,24,.03); }
.promo-server-row.is-selected { border-color: var(--yellow); background: rgba(245,197,24,.06); }
.promo-server-name { font-size: 14px; font-weight: 600; display: block; color: var(--text); }
.promo-server-sub { font-size: 12px; color: var(--muted); display: block; }
.promo-modal-empty { font-size: 14px; color: var(--muted); padding: 24px 0; text-align: center; }
.promo-modal-loading { font-size: 14px; color: var(--muted); padding: 24px 0; text-align: center; }
.promo-modal-error { font-size: 13px; color: #fca5a5; padding: 8px 24px 0; margin: 0; }

#promo-modal-campaign {
  overflow-y: auto;
  max-height: 42vh;
  padding: 4px 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}
.promo-field { margin-bottom: 14px; }
.promo-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.promo-field-row .promo-field { margin-bottom: 0; }
.promo-field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.promo-field-hint { font-size: 11px; font-weight: 400; color: var(--muted); text-transform: none; }
.promo-field-input {
  width: 100%;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}
.promo-field-input:focus { outline: none; border-color: var(--yellow); }
.promo-cat-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-cat-pill {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--muted);
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.promo-cat-pill:hover { border-color: rgba(255,255,255,.25); color: var(--text); }
.promo-cat-pill.is-selected { color: var(--bg); background: var(--yellow); border-color: var(--yellow); }
.promo-cat-pill[data-cat="pvp"].is-selected       { background: #f87171; border-color: #f87171; }
.promo-cat-pill[data-cat="smp"].is-selected       { background: #4ade80; border-color: #4ade80; }
.promo-cat-pill[data-cat="gen"].is-selected       { background: #93c5fd; border-color: #93c5fd; }
.promo-cat-pill[data-cat="box"].is-selected       { background: #fb923c; border-color: #fb923c; }
.promo-cat-pill[data-cat="prison"].is-selected    { background: #c084fc; border-color: #c084fc; }
.promo-cat-pill[data-cat="farming"].is-selected   { background: #a3e635; border-color: #a3e635; }
.promo-cat-pill[data-cat="minigames"].is-selected { background: #f472b6; border-color: #f472b6; }
.promo-cat-pill[data-cat="skyblock"].is-selected  { background: #38bdf8; border-color: #38bdf8; }
.promo-total-cost { font-size: 14px; color: var(--text); margin: 4px 0 10px; }
.promo-total-cost strong { color: var(--yellow); font-size: 16px; }
.promo-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}


.icons-section { background: var(--bg); }
.icons-loading { color: var(--muted); font-size: 14px; padding: 40px 0; text-align: center; }

.icons-rotation-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 24px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: fit-content;
}
.icons-rotation-label { font-size: 13px; color: var(--muted); }
.icons-rotation-timer { font-size: 14px; font-weight: 700; color: var(--yellow); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.icons-rotation-clock { image-rendering: pixelated; flex-shrink: 0; }
.icons-empty   { color: var(--muted); font-size: 14px; padding: 40px 0; text-align: center; }

.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.icon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.icon-card:hover { border-color: rgba(245,197,24,.35); transform: translateY(-2px); }
.icon-card.selected { border-color: var(--yellow); box-shadow: 0 0 0 1px rgba(245,197,24,.2); }

.icon-card-img {
  width: 56px; height: 56px;
  image-rendering: pixelated;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  padding: 4px;
}
.icon-card-img-placeholder {
  width: 56px; height: 56px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.icon-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.icon-card-price {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow);
}
.icon-card-price svg { flex-shrink: 0; }
.icon-card-free { color: var(--green); }

.icon-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.icon-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 90vh;
  overflow-y: auto;
}
.icon-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.icon-modal-preview {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-modal-img {
  width: 52px; height: 52px;
  image-rendering: pixelated;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  padding: 4px;
  flex-shrink: 0;
}
.icon-modal-name { font-size: 16px; font-weight: 700; color: var(--text); }
.icon-modal-price {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--yellow); margin-top: 3px;
}
.icon-modal-close {
  background: none; border: none; color: var(--muted);
  font-size: 18px; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; font-family: inherit; line-height: 1;
  transition: color .15s; flex-shrink: 0;
}
.icon-modal-close:hover { color: var(--text); }
.icon-modal-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(251,191,36,.07);
  border: 1px solid rgba(251,191,36,.25);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #fbbf24;
  line-height: 1.5;
}
.icon-modal-warning svg { flex-shrink: 0; margin-top: 1px; }
.icon-modal-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}
.icon-modal-servers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.icon-modal-server-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color .15s, background .15s;
  width: 100%;
}
.icon-modal-server-row:hover { border-color: rgba(245,197,24,.35); background: rgba(245,197,24,.03); }
.icon-modal-server-row.is-selected { border-color: var(--yellow); background: rgba(245,197,24,.06); }
.icon-modal-server-icon {
  width: 32px; height: 32px;
  image-rendering: pixelated;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(255,255,255,.05);
  padding: 2px;
}
.icon-modal-server-icon-none {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(255,255,255,.04);
  border: 1px dashed var(--border);
}
.icon-modal-server-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.icon-modal-server-name { font-size: 14px; font-weight: 600; color: var(--text); }
.icon-modal-server-sub  { font-size: 12px; color: var(--muted); }
.icon-modal-loading, .icon-modal-empty { font-size: 13px; color: var(--muted); padding: 8px 0; }
.icon-modal-empty a { color: var(--yellow); text-decoration: none; }
.icon-modal-error { font-size: 13px; color: #f87171; margin: 0; }
.icon-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

@media (max-width: 600px) {
  .icons-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .icon-modal { padding: 20px; }
}

.footer {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 340px; line-height: 1.7; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom a { color: var(--yellow); }
.footer-bottom a:hover { color: var(--yellow-d); }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .pricing-grid    { grid-template-columns: repeat(2, 1fr); }
  .credit-packages { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-links  { gap: 40px; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .pricing-grid    { grid-template-columns: 1fr; }
  .credit-packages { grid-template-columns: 1fr 1fr; }
  .hero-cta        { flex-direction: column; align-items: flex-start; }
  .features-grid   { grid-template-columns: 1fr; }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-box {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.modal-header h2 { font-size: 20px; font-weight: 800; }
.modal-close-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 4px;
  display: flex; align-items: center;
  transition: color .15s;
}
.modal-close-btn:hover { color: var(--text); }
.modal-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }


.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.form-group input,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s;
}
.form-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--yellow);
}
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.checkbox-field a {
  color: var(--yellow);
  text-decoration: underline;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--yellow);
}
.form-group input::placeholder { color: var(--muted); }
.label-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(245,197,24,0.15);
  color: var(--yellow);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.subdomain-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .15s;
}
.subdomain-wrap:focus-within { border-color: var(--yellow); }
.subdomain-wrap input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 10px 14px;
}
.subdomain-suffix {
  padding: 0 14px 0 0;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.field-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.form-error {
  font-size: 13px;
  color: #fca5a5;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .modal-box { padding: 24px 20px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .hero-panel-manage .hero-panel-top  { text-align: left; }
  .hero-panel-manage .hero-cta        { justify-content: flex-start; }
  .hero-panel-manage .hero-panel-stats { justify-content: flex-start; }

  .hero-panel-host .hero-panel-content { padding-bottom: 0; }
  .hero-panel-host .hero-panel-stats   { position: static; }

  .credits-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .credit-toggle  { margin-left: 0; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }

  .hero-panel { padding: 36px 18px 28px; min-height: unset; }
  .hero-eyebrow { margin-bottom: 12px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-panel-stats { padding-top: 16px; }

  .sc-form-area { padding: 18px; gap: 14px; }
  .sc-plan-info  { padding: 18px; }
  #sc-submit     { width: 100%; justify-content: center; }

  .credit-packages { grid-template-columns: 1fr 1fr; }

  .cta-strip-inner { padding: 44px 24px; }

  .footer-links { flex-direction: column; gap: 24px; }
}
