/* ==========================================================================
   metin2-bot.com — global stylesheet
   Static, framework-free. Dark gaming theme, gold accent.
   ========================================================================== */

:root {
  --bg:          #0b0c10;
  --bg-2:        #121319;
  --surface:     #181a22;
  --surface-2:   #1f2230;
  --border:      #2a2d3a;
  --text:        #e7e8ee;
  --text-muted:  #9a9caa;
  --gold:        #e8b04b;
  --gold-dark:   #c8902f;
  --green:       #54c98a;
  --red:         #e2664f;
  --radius:      10px;
  --maxw:        1140px;
  --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;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.5rem; margin-bottom: .5rem; }
h2 { font-size: 1.8rem; 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; }

/* --- header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,12,16,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 66px;
}
.logo { font-weight: 800; font-size: 1.25rem; color: var(--text); }
.logo span { color: var(--gold); }
.logo:hover { text-decoration: none; }

.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--text); font-weight: 600; font-size: .96rem; }
.main-nav a:hover { color: var(--gold); text-decoration: none; }

/* features dropdown (CSS only) */
.has-dropdown { position: relative; }
.dropdown-toggle::after { content: " ▾"; color: var(--gold); }
.dropdown {
  position: absolute; top: 130%; left: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px; min-width: 230px;
  display: none; box-shadow: 0 14px 36px rgba(0,0,0,.5);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block; padding: 8px 12px; border-radius: 6px; font-size: .92rem;
}
.dropdown a:hover { background: var(--surface); color: var(--gold); text-decoration: none; }

/* language switcher */
.lang { position: relative; }
.lang-current {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: 6px 12px; border-radius: 6px;
  font-size: .85rem; font-weight: 600; cursor: pointer;
}
.lang-menu {
  position: absolute; right: 0; top: 130%;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 6px; display: none; min-width: 150px;
  box-shadow: 0 14px 36px rgba(0,0,0,.5);
}
.lang:hover .lang-menu, .lang:focus-within .lang-menu { display: block; }
.lang-menu a { display: block; padding: 7px 12px; border-radius: 6px; color: var(--text); font-size: .9rem; }
.lang-menu a:hover { background: var(--surface); 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: 12px 24px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #1a1407; }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.header-cta { margin-left: 4px; }

/* --- hero ---------------------------------------------------------------- */
.hero {
  text-align: center; padding: 80px 0 64px;
  background:
    radial-gradient(620px 320px at 50% -40px, rgba(232,176,75,.14), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 3rem; max-width: 760px; margin: 0 auto .8rem; }
.hero .lede { font-size: 1.2rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 1.6rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: .85rem; color: var(--text-muted); }

/* --- direct answer box (GEO) -------------------------------------------- */
.answer-box {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0;
}
.answer-box p { margin: 0; font-size: 1.05rem; }

/* --- sections ------------------------------------------------------------ */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section h2 { margin-top: 0; }
.section-intro { max-width: 680px; color: var(--text-muted); margin-bottom: 1.5rem; }

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

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: .15s;
}
.card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--gold); }
.card .icon { font-size: 1.7rem; margin-bottom: 6px; }
.card p { color: var(--text-muted); font-size: .95rem; margin-bottom: .5rem; }
.card .more { font-size: .88rem; font-weight: 600; }

/* --- badges -------------------------------------------------------------- */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: 2px 9px; border-radius: 20px; vertical-align: middle;
  text-transform: uppercase; letter-spacing: .03em;
}
.badge-live { background: rgba(84,201,138,.16); color: var(--green); }
.badge-soon { background: rgba(232,176,75,.16); color: var(--gold); }

/* --- media placeholder (screenshots / videos to add later) -------------- */
.media-placeholder {
  border: 2px dashed var(--border); border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px,
      rgba(255,255,255,.015) 12px, rgba(255,255,255,.015) 24px),
    var(--bg-2);
  padding: 48px 24px; text-align: center; color: var(--text-muted);
  margin: 24px 0;
}
.media-placeholder .ph-icon { font-size: 2.4rem; }
.media-placeholder strong { color: var(--text); display: block; margin-top: 6px; }
.media-placeholder em { font-size: .85rem; }

/* --- steps --------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  position: relative; padding-left: 52px; margin-bottom: 18px;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #1a1407;
  font-weight: 800; display: grid; place-items: center;
}

/* --- check list ---------------------------------------------------------- */
.checks { list-style: none; margin-left: 0; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800;
}

/* --- tables (pricing / servers) ----------------------------------------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--surface); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
tr:hover td { background: var(--surface); }

/* --- pricing cards ------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.price-card.featured { border-color: var(--gold); }
.price-card .plan { font-size: 1.1rem; font-weight: 700; }
.price-card .price { font-size: 2.2rem; font-weight: 800; color: var(--gold); margin: 10px 0; }
.price-card ul { list-style: none; margin: 16px 0; text-align: left; }
.price-card li { padding-left: 24px; position: relative; font-size: .92rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }

/* --- FAQ (native details) ----------------------------------------------- */
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 4px 18px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--gold); font-weight: 800; }
.faq details[open] summary::before { content: "− "; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq details p { padding: 12px 0; margin: 0; color: var(--text-muted); }

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

/* --- CTA strip ----------------------------------------------------------- */
.cta-strip {
  text-align: center; padding: 56px 20px;
  background: radial-gradient(560px 220px at 50% 0, rgba(232,176,75,.12), transparent), var(--bg-2);
  border-block: 1px solid var(--border);
}
.cta-strip h2 { margin-top: 0; }

/* --- page intro (subpages) ---------------------------------------------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 2.4rem; }

/* --- footer -------------------------------------------------------------- */
.site-footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 48px 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: .9rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--text-muted); padding: 3px 0; }
.footer-grid a:hover { color: var(--gold); text-decoration: none; }
.footer-about p { color: var(--text-muted); }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: .82rem; text-align: center;
}
.disclaimer { max-width: 760px; margin: 0 auto 10px; }

/* --- placeholder token (price/links to fill later) ---------------------- */
.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; }
  h1, .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }

  .menu-btn { display: block; }
  .main-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-2); border-bottom: 1px solid var(--border);
    padding: 8px;
  }
  .menu-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: 12px; border-radius: 6px; }
  .has-dropdown .dropdown { position: static; display: block; border: none; box-shadow: none; background: transparent; padding-left: 14px; }
  .dropdown-toggle::after { content: ""; }
  .header-cta { display: none; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
}
