/* ==========================================================================
   metin2-bot.com — global stylesheet
   Static, framework-free. Dark gaming theme, gold accent.
   v3 (2026-07-18): server landing pages, video proof blocks, responsive facts.
   ========================================================================== */

:root {
  --bg:          #0a0b10;
  --bg-2:        #10121a;
  --surface:     #171923;
  --surface-2:   #1e2130;
  --border:      #272a38;
  --text:        #e9eaf0;
  --text-muted:  #9a9daf;
  --gold:        #e8b04b;
  --gold-light:  #ffd980;
  --gold-dark:   #c8902f;
  --green:       #54c98a;
  --red:         #e2664f;
  --radius:      12px;
  --maxw:        1140px;
  --glass:       linear-gradient(180deg, rgba(31,34,48,.55), rgba(24,26,34,.4));
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(232,176,75,.35); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px;
}

h1, h2, h3, h4 { line-height: 1.22; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 2.6rem); margin-bottom: .5rem; }
h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
p  { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1rem 1.3rem; }
li { margin-bottom: .4rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.muted { color: var(--text-muted); }
.center { text-align: center; }

/* subtle custom scrollbar (WebKit) */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2f3e; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3e52; }

/* --- header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,11,16,.85);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.logo { font-weight: 800; font-size: 1.28rem; color: var(--text); letter-spacing: -.02em; }
.logo span {
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo:hover { text-decoration: none; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--text); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover { color: var(--gold); background: rgba(232,176,75,.08); text-decoration: none; }

/* features dropdown (CSS only) */
.has-dropdown { position: relative; }
.dropdown-toggle::after { content: " ▾"; color: var(--gold); font-size: .8em; }
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: rgba(24,26,36,.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(232,176,75,.18);
  border-radius: var(--radius); padding: 8px; min-width: 240px;
  display: none;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset;
  margin-top: 10px;
}
/* invisible bridge so the cursor can travel from the toggle to the menu without it closing */
.has-dropdown::after {
  content: ""; position: absolute; left: 0; top: 100%;
  width: 100%; height: 12px; display: none;
}
.has-dropdown:hover::after, .has-dropdown:focus-within::after { display: block; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block; padding: 9px 13px; border-radius: 8px; font-size: .92rem;
}
.dropdown a:hover { background: rgba(232,176,75,.1); color: var(--gold); text-decoration: none; }

/* language switcher */
.lang { position: relative; }
.lang-current {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09);
  color: var(--text); padding: 6px 13px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
  display: inline-block;
}
.lang:hover .lang-current, .lang:focus-within .lang-current {
  border-color: rgba(232,176,75,.4); color: var(--gold);
}
.lang-menu {
  position: absolute; right: 0; top: 100%;
  background: rgba(24,26,36,.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(232,176,75,.18);
  border-radius: var(--radius); padding: 6px; display: none; min-width: 160px;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.7);
  margin-top: 10px;
}
/* invisible bridge over the gap (same fix as the features dropdown) */
.lang::after {
  content: ""; position: absolute; right: 0; top: 100%;
  width: 100%; height: 12px; display: none;
}
.lang:hover::after, .lang:focus-within::after { display: block; }
.lang:hover .lang-menu, .lang:focus-within .lang-menu { display: block; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: .9rem; }
.lang-menu a:hover { background: rgba(232,176,75,.1); color: var(--gold); text-decoration: none; }

/* mobile menu (checkbox hack, no JS) */
.menu-toggle, .menu-btn { display: none; }
.menu-btn {
  margin-left: auto; cursor: pointer; padding: 8px;
  font-size: 1.5rem; color: var(--gold); line-height: 1;
}

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-block; font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease,
              border-color .16s ease, color .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #1a1407;
  box-shadow: 0 6px 22px -8px rgba(232,176,75,.55),
              0 1px 0 rgba(255,255,255,.35) inset;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ffe19a, var(--gold));
  box-shadow: 0 10px 30px -8px rgba(232,176,75,.75),
              0 1px 0 rgba(255,255,255,.4) inset;
}
.btn-ghost {
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.14); color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(232,176,75,.55); color: var(--gold);
  background: rgba(232,176,75,.06);
  box-shadow: 0 8px 24px -12px rgba(232,176,75,.4);
}
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.header-cta { margin-left: 4px; }

/* --- hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  text-align: center; padding: 96px 0 76px;
  background:
    radial-gradient(760px 380px at 50% -60px, rgba(232,176,75,.16), transparent 70%),
    radial-gradient(500px 300px at 12% 110%, rgba(232,176,75,.05), transparent 70%),
    var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
/* faint grid overlay for a "tech" feel — pure CSS, no assets */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(640px 360px at 50% 0, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(640px 360px at 50% 0, #000 30%, transparent 75%);
}
.hero > .container { position: relative; }
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  max-width: 800px; margin: 0 auto .9rem;
  background: linear-gradient(180deg, #ffffff 55%, #cfd2e0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--text-muted); max-width: 640px; margin: 0 auto 1.8rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-primary { padding: 15px 34px; font-size: 1.02rem; }
.hero-meta {
  display: inline-block; margin-top: 26px;
  font-size: .84rem; color: var(--text-muted);
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero-cta, .hero-meta {
    animation: heroUp .7s cubic-bezier(.2,.7,.3,1) both;
  }
  .hero .lede { animation-delay: .08s; }
  .hero-cta   { animation-delay: .16s; }
  .hero-meta  { animation-delay: .24s; }
  @keyframes heroUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* --- pre-release notice bar ---------------------------------------------- */
.dev-banner {
  background: linear-gradient(180deg, rgba(232,176,75,.13), rgba(232,176,75,.05));
  border-bottom: 1px solid rgba(232,176,75,.3);
  color: var(--gold-light);
}
.dev-banner .container {
  display: flex; align-items: flex-start; gap: 12px;
  padding-top: 12px; padding-bottom: 12px;
  font-size: .95rem; line-height: 1.5;
}
.dev-banner .ico { flex: none; font-size: 1.1rem; line-height: 1.45; }
.dev-banner p { margin: 0; }
.dev-banner strong { color: #fff; }
@media (max-width: 560px) { .dev-banner .container { font-size: .875rem; } }

/* buttons switched off while sales are closed */
.btn.is-disabled, .btn[aria-disabled="true"] {
  opacity: .45; pointer-events: none; cursor: not-allowed;
}

/* --- direct answer box (GEO) -------------------------------------------- */
.answer-box {
  position: relative;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 20px 24px; margin: 26px 0;
  box-shadow: 0 10px 34px -22px rgba(0,0,0,.8);
}
.answer-box p { margin: 0; font-size: 1.05rem; }

/* --- sections ------------------------------------------------------------ */
.section { padding: 64px 0; }
.section-alt {
  background:
    radial-gradient(700px 260px at 85% 0, rgba(232,176,75,.05), transparent 70%),
    var(--bg-2);
  border-block: 1px solid rgba(255,255,255,.05);
}
.section h2 { margin-top: 0; }
.section-intro { max-width: 680px; color: var(--text-muted); margin-bottom: 1.8rem; }

/* --- feature grid -------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 24px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 90% at 50% -30%, rgba(232,176,75,.14), transparent 60%);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover {
  border-color: rgba(232,176,75,.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px -20px rgba(232,176,75,.35),
              0 0 0 1px rgba(232,176,75,.1);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; position: relative; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--gold); text-decoration: none; }
.card .icon {
  position: relative;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1;
  border-radius: 13px;
  background: rgba(232,176,75,.1);
  border: 1px solid rgba(232,176,75,.22);
  margin-bottom: 14px;
}
.card p { color: var(--text-muted); font-size: .95rem; margin-bottom: .5rem; position: relative; }
.card .more { font-size: .88rem; font-weight: 700; position: relative; }

/* --- badges -------------------------------------------------------------- */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; vertical-align: middle;
  text-transform: uppercase; letter-spacing: .04em;
}
.badge-live { background: rgba(84,201,138,.14); color: #6ee2a3; border: 1px solid rgba(84,201,138,.35); }
.badge-soon { background: rgba(232,176,75,.14); color: var(--gold); border: 1px solid rgba(232,176,75,.35); }

/* --- media placeholder --------------------------------------------------- */
/* Dev-facing "add a video later" boxes: hidden on the live site until real
   media exists. Re-enable by removing this rule when screenshots are ready. */
.media-placeholder { display: none; }

/* --- server-specific SEO landing pages ---------------------------------- */
.server-hero-section {
  position: relative;
  padding: 46px 0 58px;
  background:
    radial-gradient(720px 360px at 16% 0, rgba(232,176,75,.12), transparent 70%),
    radial-gradient(520px 300px at 90% 70%, rgba(84,201,138,.05), transparent 70%),
    var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
.server-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 48px;
  align-items: center;
}
.server-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.server-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 12px;
  color: #6ee2a3;
  background: rgba(84,201,138,.1);
  border: 1px solid rgba(84,201,138,.3);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.server-status span {
  width: 7px;
  height: 7px;
  background: #6ee2a3;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(84,201,138,.8);
}
.server-hero-section h1 {
  max-width: 780px;
  font-size: clamp(2.15rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}
.server-lede {
  max-width: 760px;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 2vw, 1.16rem);
}
.server-lede strong { color: var(--text); }
.server-aliases { margin: -4px 0 18px; color: var(--text-muted); font-size: .9rem; }
.server-hero-cta { justify-content: flex-start; margin-top: 24px; }
.server-quick-facts {
  background:
    radial-gradient(120% 130% at 100% 0, rgba(232,176,75,.12), transparent 58%),
    var(--glass);
  border: 1px solid rgba(232,176,75,.24);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 50px -28px rgba(232,176,75,.45);
}
.server-quick-facts h2 { margin: 0 0 16px; font-size: 1.15rem; }
.server-quick-facts dl { margin: 0; }
.server-quick-facts dl > div {
  display: grid;
  grid-template-columns: minmax(100px, .8fr) 1.2fr;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.server-quick-facts dt { color: var(--text-muted); font-size: .82rem; }
.server-quick-facts dd { margin: 0; font-weight: 700; text-align: right; }
.server-proof-section {
  padding: 58px 0 64px;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.server-proof-section h2 { margin: 0 0 22px; }
.server-video-placeholder,
.server-video-frame {
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.9);
}
.server-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  color: var(--text-muted);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(420px 230px at 50% 50%, rgba(232,176,75,.13), transparent 72%),
    #11131b;
  background-size: 36px 36px, 36px 36px, auto, auto;
  border: 1px dashed rgba(232,176,75,.45);
}
.server-video-placeholder strong { color: var(--text); font-size: clamp(1.1rem, 2.5vw, 1.45rem); }
.server-video-placeholder > span:last-child { max-width: 580px; }
.server-video-play {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  color: #1a1407;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  font-size: 1.45rem;
  box-shadow: 0 10px 32px -10px rgba(232,176,75,.75);
}
.server-video-frame { background: #000; border: 1px solid rgba(232,176,75,.3); }
.server-video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.server-content-narrow { max-width: 900px; }
.server-detail-grid { align-items: start; gap: 48px; }
.server-detail-grid h2:first-child { margin-top: 0; }
.server-related-card h3 { margin-bottom: 10px; }
.server-all-link { margin: 24px 0 0; font-weight: 700; }

/* --- steps --------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  position: relative; padding-left: 56px; margin-bottom: 20px;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -3px;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #1a1407;
  font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(232,176,75,.55);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 18px; top: 40px; bottom: -16px;
  width: 2px;
  background: linear-gradient(180deg, rgba(232,176,75,.35), rgba(232,176,75,.05));
}

/* --- check list ---------------------------------------------------------- */
.checks { list-style: none; margin-left: 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: .7rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .7rem; font-weight: 800;
  color: #6ee2a3;
  background: rgba(84,201,138,.13);
  border: 1px solid rgba(84,201,138,.4);
}

/* --- tables (pricing / servers) ----------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: var(--glass);
  margin: 1rem 0;
}
.table-wrap table { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); }
tr:last-child td { border-bottom: 0; }
th {
  background: rgba(255,255,255,.03);
  color: var(--text-muted);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
}
tr:hover td { background: rgba(255,255,255,.02); }

/* --- pricing cards ------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.price-card {
  position: relative;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 30px 26px; text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,176,75,.35);
  box-shadow: 0 16px 44px -20px rgba(232,176,75,.35);
}
.price-card.featured {
  border-color: rgba(232,176,75,.5);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(232,176,75,.15), transparent 55%),
    var(--glass);
  box-shadow: 0 0 0 1px rgba(232,176,75,.08), 0 16px 50px -20px rgba(232,176,75,.45);
}
.price-card .plan { font-size: 1.1rem; font-weight: 800; }
.price-card .price {
  font-size: 2.4rem; font-weight: 800; margin: 10px 0;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card ul { list-style: none; margin: 18px 0; text-align: left; }
.price-card li { padding-left: 26px; position: relative; font-size: .92rem; margin-bottom: .5rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #6ee2a3; font-weight: 800; }

/* --- FAQ (native details) ----------------------------------------------- */
.faq details {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 4px 20px; margin-bottom: 12px;
  transition: border-color .18s ease;
}
.faq details:hover { border-color: rgba(232,176,75,.3); }
.faq details[open] { border-color: rgba(232,176,75,.35); }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; color: var(--gold); font-weight: 800;
  display: inline-block; width: 22px;
  transition: transform .2s ease;
}
.faq details[open] summary::before { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid rgba(255,255,255,.07); }
.faq details p { padding: 13px 0; margin: 0; color: var(--text-muted); }

/* --- breadcrumb ---------------------------------------------------------- */
.breadcrumb { font-size: .85rem; color: var(--text-muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }

/* --- CTA strip ----------------------------------------------------------- */
.cta-strip {
  position: relative;
  text-align: center; padding: 72px 20px;
  background:
    radial-gradient(640px 280px at 50% 0, rgba(232,176,75,.16), transparent 70%),
    var(--bg-2);
  border-block: 1px solid rgba(232,176,75,.14);
  overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(560px 260px at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(560px 260px at 50% 30%, #000 30%, transparent 75%);
}
.cta-strip .container { position: relative; }
.cta-strip h2 { margin-top: 0; font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.cta-strip .btn-primary { margin-top: 6px; padding: 15px 36px; font-size: 1.02rem; }

/* --- page intro (subpages) ---------------------------------------------- */
.page-head { padding: 26px 0 8px; }
.page-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.4rem); }

/* --- render-perf: skip layout/paint of off-screen blocks until scrolled near.
   Applied only to blocks that are reliably below the fold on every page, with an
   intrinsic-size hint so the scrollbar doesn't jump. Content stays in the DOM
   (crawlable, Ctrl+F-able) — this is purely a first-paint / scroll cost saver. */
.cta-strip { content-visibility: auto; contain-intrinsic-size: auto 280px; }
.site-footer { content-visibility: auto; contain-intrinsic-size: auto 420px; }

/* --- footer -------------------------------------------------------------- */
.site-footer {
  background:
    radial-gradient(600px 240px at 12% 0, rgba(232,176,75,.04), transparent 70%),
    var(--bg-2);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 0 24px; margin-top: 0; font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--text); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--text-muted); padding: 4px 0; transition: color .12s ease, transform .12s ease; }
.footer-grid a:hover { color: var(--gold); text-decoration: none; transform: translateX(2px); }
.footer-about p { color: var(--text-muted); margin-top: 10px; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06);
  color: var(--text-muted); font-size: .82rem; text-align: center;
}
.disclaimer { max-width: 760px; margin: 0 auto 10px; opacity: .8; }

/* --- placeholder token (kept for safety; no longer used in HTML) --------- */
.tk {
  background: rgba(226,102,79,.16); color: var(--red);
  font-weight: 700; padding: 1px 7px; border-radius: 4px; font-size: .9em;
}

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .server-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .server-quick-facts { max-width: 620px; }

  .menu-btn { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(16,18,26,.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232,176,75,.15);
    box-shadow: 0 24px 50px -12px rgba(0,0,0,.8);
    padding: 10px;
  }
  .menu-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: 13px 14px; border-radius: 10px; font-size: 1rem; }
  .has-dropdown .dropdown {
    position: static; display: block; border: none; box-shadow: none;
    background: rgba(255,255,255,.02); border-radius: 10px;
    margin: 2px 0 4px; padding: 4px 4px 4px 16px;
  }
  .dropdown-toggle::after { content: ""; }
  .header-cta { display: none; }
  .hero { padding: 72px 0 56px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 48px 0; }
  .server-hero-section { padding: 34px 0 44px; }
  .server-hero-cta .btn { width: 100%; text-align: center; }
  .server-quick-facts { padding: 20px; }
  .server-quick-facts dl > div { grid-template-columns: 1fr; gap: 4px; }
  .server-quick-facts dd { text-align: left; }
  .server-proof-section { padding: 44px 0 48px; }
  .server-video-placeholder { min-height: 260px; aspect-ratio: auto; }
}

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

/* ----- server-check widget (pricing + servers pages) ---------------------- */
.sc-host { display: block; margin: 18px 0; }
.sc-box {
  padding: 24px 26px;
  border-radius: 16px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(232,176,75,.1), transparent 55%),
    var(--glass);
  border: 1px solid rgba(232,176,75,.28);
  box-shadow: 0 12px 44px -24px rgba(232,176,75,.4);
}
.sc-label { display: block; font-weight: 700; margin-bottom: 10px; color: var(--text); font-size: 1.05rem; }
.sc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-input {
  flex: 1; min-width: 200px;
  padding: 12px 15px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(10,11,16,.6);
  color: var(--text); font-size: 1rem; box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sc-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232,176,75,.14); }
.sc-btn { white-space: nowrap; }
.sc-examples { margin: 10px 0 0; font-size: .85rem; color: var(--text-muted); }
.sc-examples a { color: var(--gold); margin: 0 2px; }
.sc-result { margin-top: 16px; }
.sc-card {
  padding: 16px 18px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(10,11,16,.4);
}
.sc-card h4 { margin: 0 0 6px; font-size: 1rem; line-height: 1.4; }
.sc-card .sc-name { color: var(--gold); }
.sc-card-ac      { border-color: rgba(232,176,75,.4); background: rgba(232,176,75,.06); }
.sc-card-nonac   { border-color: rgba(84,201,138,.35); background: rgba(84,201,138,.05); }
.sc-card-unknown { border-color: rgba(154,156,170,.3); }
.sc-price { margin: 4px 0; font-size: .92rem; color: var(--text); }
.sc-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.sc-card .btn { margin-top: 8px; }
