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

:root {
  --bg:        #080c14;
  --bg2:       #0d1120;
  --bg3:       #121828;
  --bg4:       #192030;
  --gold:      #e8b820;
  --gold-lt:   #f5cc50;
  --gold-dim:  #a07a18;
  --text:      #f0f2f8;
  --muted:     #6a7490;
  --border:    #1e2640;
  --border-g:  #2a3558;
  --danger:    #c0392b;
  --radius:    12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }

/* ── Header ────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8,12,20,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-gold-line { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim) 30%, var(--gold) 50%, var(--gold-dim) 70%, transparent); opacity: .6; }

.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-img { height: 38px; width: auto; object-fit: contain; filter: invert(1); }
.logo-text { font-size: 1.3rem; font-weight: 900; color: var(--text); letter-spacing: .06em; }

.nav { display: flex; gap: 2px; }
.nav-link {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.05); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 32px 64px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(232,184,32,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 20%, rgba(100,140,255,.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}
.hero-left { flex: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232,184,32,.08);
  border: 1px solid rgba(232,184,32,.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: '●'; font-size: .5rem; color: #4cdd8a; }

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.hero-title .gold { color: var(--gold); }

.hero-sub {
  font-size: .98rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
}

.hero-right { flex-shrink: 0; }
.hero-logo {
  width: 240px; height: 240px;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 4px 24px rgba(255,255,255,.08));
  opacity: .92;
  transition: opacity .3s;
}

/* ── Server Select ─────────────────────────────────────────────────────── */
.server-select-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
}
.server-select-inner { max-width: 1200px; margin: 0 auto; }
.server-select-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.server-tabs { display: flex; gap: 10px; flex-wrap: wrap; }

.server-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 18px;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  text-align: left;
  min-width: 190px;
}
.server-tab:hover { border-color: var(--border-g); background: var(--bg4); }
.server-tab.active {
  border-color: var(--gold-dim);
  background: var(--bg4);
  box-shadow: 0 0 0 1px rgba(232,184,32,.15), inset 0 0 20px rgba(232,184,32,.03);
}
.server-tab-icon { font-size: 1.5rem; flex-shrink: 0; }
.server-tab-info { display: flex; flex-direction: column; gap: 3px; }
.server-tab-name { font-size: .9rem; font-weight: 700; color: var(--text); }
.server-tab-status { font-size: .72rem; font-weight: 600; }
.status-open  { color: #4cdd8a; }
.status-soon  { color: var(--muted); }

/* ── Products ──────────────────────────────────────────────────────────── */
.products-section {
  padding: 48px 32px 64px;
}
.free-whitelist-note {
  max-width: 1200px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(232,184,32,.08);
  border: 1px solid rgba(232,184,32,.3);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: .95rem;
  color: var(--text);
  flex-wrap: wrap;
}
.free-note-icon { font-size: 1.3rem; flex-shrink: 0; }
.free-whitelist-note strong { color: var(--gold); }
.free-note-btn {
  margin-left: auto;
  background: var(--gold);
  color: #080c14;
  font-weight: 700;
  font-size: .85rem;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.free-note-btn:hover { opacity: .85; }
.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Product Card — tier style ─────────────────────────────────────────── */
.product-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .2s, box-shadow .25s;
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-accent, var(--gold-dim));
  opacity: 0;
  transition: opacity .25s;
}
.product-card:hover { border-color: var(--border-g); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.5); }
.product-card:hover::before { opacity: 1; }

.product-card-head {
  padding: 24px 20px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.product-tier-badge {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(232,184,32,.1);
  border: 1px solid rgba(232,184,32,.25);
  color: var(--gold);
  white-space: nowrap;
}
.product-icon { font-size: 2rem; line-height: 1; }

.product-body { padding: 0 20px 16px; flex: 1; }
.product-name { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.product-duration {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-duration::before { content: '⏱'; font-size: .75rem; }

.product-perks {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.perk {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.perk::before { content: '✓'; color: #4cdd8a; font-weight: 800; font-size: .7rem; flex-shrink: 0; }

.product-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.product-price { font-size: 1.5rem; font-weight: 900; color: var(--gold); letter-spacing: -.02em; }
.product-price span { font-size: .85rem; font-weight: 600; color: var(--muted); margin-left: 1px; }

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--bg4);
  border: 1px solid var(--border-g);
  color: var(--text);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .1s;
  white-space: nowrap;
}
.btn-buy:hover { background: var(--gold); border-color: var(--gold); color: #080c14; transform: scale(1.03); }
.btn-buy:active { transform: scale(.97); }

/* Coming soon panel */
.coming-soon-panel {
  text-align: center;
  padding: 80px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.coming-soon-icon { font-size: 3.5rem; margin-bottom: 20px; }
.coming-soon-panel h3 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.coming-soon-panel p { color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* ── S.S.S. ────────────────────────────────────────────────────────────── */
.sss-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 32px;
}
.sss-inner { max-width: 760px; margin: 0 auto; }
.sss-title { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 24px; text-align: center; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--border-g); }
.faq-item summary {
  padding: 15px 18px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.1rem; color: var(--gold); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-lt); }
.faq-item p {
  padding: 12px 18px 16px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.footer-logo-img { height: 28px; width: auto; filter: invert(1); opacity: .5; }
.footer-copy { font-size: .78rem; color: var(--muted); }
.footer-pay { font-size: .78rem; color: var(--muted); }
.footer-pay a { color: var(--muted); }
.footer-pay a:hover { color: var(--gold); }

/* ── Ön Bilgilendirme Modal ────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border-g);
  border-top: 2px solid var(--gold-dim);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  padding: 28px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  animation: modalIn .2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 30px; height: 30px;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, border-color .2s;
}
.modal-close:hover { color: var(--text); border-color: var(--muted); }

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.modal-coin {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg4);
  border: 1px solid var(--border-g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.modal-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.modal-price { font-size: 1.4rem; font-weight: 900; color: var(--gold); }
.modal-duration { font-size: .78rem; color: var(--muted); margin-top: 2px; }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.req { color: var(--gold); }
.form-group input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .93rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 3px rgba(232,184,32,.08); }
.form-group input::placeholder { color: var(--muted); opacity: .6; }
.form-group small { display: block; margin-top: 4px; font-size: .73rem; color: var(--muted); }

.btn-buy-modal {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 10px;
  background: var(--gold);
  border: none;
  color: #080c14;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, opacity .2s;
}
.btn-buy-modal:hover { background: var(--gold-lt); }
.btn-buy-modal:disabled { opacity: .55; cursor: not-allowed; }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--muted);
  font-size: .74rem;
  margin-top: 10px;
}
.secure-note svg { color: var(--gold-dim); flex-shrink: 0; }

/* ── Ön Bilgilendirme Modal ────────────────────────────────────────────── */
.modal-onbilgi {
  max-width: 540px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.modal-onbilgi-title {
  font-size: 1rem;
  font-weight: 800;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-onbilgi-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  font-size: .86rem;
  line-height: 1.75;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.modal-onbilgi-body p { margin: 0; }
.modal-onbilgi-body a { color: var(--gold-dim); }
.modal-onbilgi-body a:hover { color: var(--gold); }
.modal-onbilgi-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg3);
}
.btn-onbilgi-cancel {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.btn-onbilgi-cancel:hover { color: var(--text); border-color: var(--muted); }
.btn-onbilgi-accept {
  padding: 8px 20px;
  background: var(--gold);
  border: none;
  color: #080c14;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.btn-onbilgi-accept:hover { background: var(--gold-lt); }

/* ── Spinner ───────────────────────────────────────────────────────────── */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(8,12,20,.3);
  border-top-color: #080c14;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg3);
  border: 1px solid var(--border-g);
  color: var(--text);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  white-space: nowrap;
  z-index: 600;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-inner { flex-direction: column; }
  .hero-right { display: none; }
  .products-section { padding: 36px 20px 48px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .header-inner, .server-select-section, .sss-section, .footer { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 48px 20px 40px; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
}
