/* =============================================================
   WardenMRP — Ortak Tasarım Sistemi
   Palet: derin gece yeşili zemin + canlı yeşil vurgu
   Tipografi: Sora (başlık) + Manrope (gövde)
   ============================================================= */

:root {
  --bg: #0b0f0d;
  --bg-soft: #101512;
  --panel: #141a17;
  --panel-2: #191f1c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e7ece9;
  --text-dim: #93a19a;
  --text-faint: #5f6b65;

  --green: #22c55e;
  --green-bright: #4ade80;
  --green-dim: rgba(34, 197, 94, 0.16);
  --green-line: rgba(34, 197, 94, 0.35);

  --wvip: #eab308;
  --wvip-plus: #f97316;
  --wvip-plus2: #d946ef;
  --wvip-plus3: #ec4899;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Sora", "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(34, 197, 94, 0.08), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(34, 197, 94, 0.05), transparent 40%);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Tüm sayfalarda tutarlı, hafif arka plan görseli (backimg.png) — içeriğin arkasında, sabit ve düşük opasiteli */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background: url('backimg.png') center top / cover no-repeat fixed;
  opacity: 0.08;
  filter: saturate(0.7) brightness(0.55);
  pointer-events: none;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 28px;
  background: rgba(11, 15, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-menu { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 40px; height: 40px; border-radius: 9px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; }
.brand-name .accent { color: var(--green-bright); }

.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav a {
  position: relative; padding: 12px 18px; border-radius: 999px;
  font-size: 1.05rem; font-weight: 600; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.site-nav a.is-active { color: var(--bg); background: var(--green); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.status-pill {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--panel);
  font-size: 1rem; font-weight: 700; color: var(--text-dim);
  white-space: nowrap;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 var(--green-dim);
  animation: pulseDot 2.4s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.discord-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: #5865f2; color: #fff; font-weight: 700; font-size: 1rem;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}
.discord-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* ---------- Outline icon button (istenen davranış) ---------- */
.icon-button {
  --icon-color: #9ba6a0;
  --icon-color-active: var(--green-bright);
  position: relative;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: var(--icon-color);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.16s var(--ease);
}
.icon-button::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), background-color 0.28s var(--ease);
  z-index: -1;
}
.icon-button:hover::before,
.icon-button:focus-visible::before { opacity: 1; transform: scale(1); }
.icon-button:hover { border-color: rgba(255,255,255,0.32); }
.icon-button:active,
.icon-button.is-pressed {
  transform: scale(0.9);
  color: var(--icon-color-active);
  border-color: var(--green-line);
}
.icon-button:active::before,
.icon-button.is-pressed::before {
  background: rgba(34, 197, 94, 0.22);
  opacity: 1; transform: scale(1);
}
.icon-button i, .icon-button svg { position: relative; font-size: 1.35rem; }

.avatar { width: 49px; height: 49px; border-radius: 50%; border: 2px solid var(--green); cursor: pointer; flex-shrink: 0; }
.avatar.hidden, .hidden { display: none !important; }

/* ---------- Buttons ---------- */
.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.primary-button {
  background: var(--green); color: #06170c;
}
.primary-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.secondary-button {
  background: rgba(255,255,255,0.04); color: var(--text);
  border-color: var(--line-strong);
}
.secondary-button:hover { border-color: var(--green-line); color: var(--green-bright); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-media { width: 100%; height: 78vh; min-height: 460px; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,13,0.15) 0%, rgba(11,15,13,0.55) 55%, var(--bg) 100%);
}
.hero-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 20px; }
.hero-wordmark { display: flex; align-items: center; gap: 12px; }
.hero-wordmark-icon { width: 52px; height: 52px; border-radius: 12px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
.hero-title .accent { color: var(--green-bright); }
.hero-tagline { color: var(--text-dim); font-size: 1.05rem; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- News ---------- */
.news-strip { padding: 70px 28px; max-width: 1160px; margin: 0 auto; scroll-margin-top: 90px; }
.news-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; overflow: hidden;
}
.news-art { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.news-art img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-copy h2 { font-size: 1.9rem; margin-bottom: 12px; }
.news-subtitle { color: var(--text-dim); margin-bottom: 20px; line-height: 1.6; }
.news-copy a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-bright); font-weight: 700;
  transition: gap 0.2s var(--ease);
}
.news-copy a:hover { gap: 12px; }

/* ---------- Support grid ---------- */
.support-stage { padding: 40px 28px 90px; max-width: 1160px; margin: 0 auto; }
.support-head { text-align: center; margin-bottom: 30px; }
.support-head span { color: var(--green-bright); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.support-head h2 { font-size: 1.8rem; margin-top: 8px; }
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.support-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 20px; border-radius: var(--radius-md);
  background: var(--panel); border: 1px solid var(--line);
  font-weight: 700;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.support-card:hover { border-color: var(--green-line); transform: translateY(-2px); background: var(--panel-2); }
.support-card i:first-child { color: var(--green-bright); margin-right: 10px; }
.support-card .chevron, .support-card i[data-lucide="chevron-right"] { color: var(--text-faint); }

/* ---------- VIP karşılaştırma tablosu ---------- */
.vip-section { padding: 60px 28px 100px; max-width: 1200px; margin: 0 auto; }
.vip-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 46px; }
.vip-card {
  border-radius: var(--radius-lg); padding: 26px 22px; text-align: center;
  background: var(--panel); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.vip-card:hover { transform: translateY(-4px); }
.vip-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--rank-color, var(--green));
}
.vip-card .vip-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--rank-color, var(--text)); }
.vip-card .vip-price { font-size: 1.7rem; font-weight: 800; margin: 10px 0 4px; }
.vip-card .vip-price small { font-size: 0.85rem; color: var(--text-dim); font-weight: 600; }
.vip-card .vip-buy {
  margin-top: 16px; width: 100%; padding: 11px; border-radius: 999px;
  background: var(--rank-color, var(--green)); color: #06170c; font-weight: 800; border: none; cursor: pointer;
  transition: filter 0.2s var(--ease);
}
.vip-card .vip-buy:hover { filter: brightness(1.1); }

.vip-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.vip-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--panel); }
.vip-table th, .vip-table td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.vip-table thead th {
  font-family: var(--font-display); font-weight: 800; padding-top: 20px; padding-bottom: 20px;
  color: var(--rank-color, var(--text)); background: color-mix(in srgb, var(--rank-color, var(--panel)) 12%, var(--panel));
}
.vip-table td:first-child, .vip-table th:first-child {
  text-align: left; color: var(--text-dim); font-weight: 700; min-width: 210px;
}
.vip-table tbody tr:last-child td { border-bottom: none; }
.vip-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.vip-check { color: var(--green-bright); font-size: 1.05rem; }
.vip-cross { color: #6b7280; font-size: 1.05rem; opacity: 0.55; }
.vip-value { color: var(--text); font-weight: 700; }

/* ---------- Profil paneli (Ayarlar yerine) ---------- */
.settings-modal {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 8, 6, 0.72); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.settings-modal:not(.hidden) { opacity: 1; pointer-events: auto; }
.settings-panel {
  width: 100%; max-width: 420px; background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 26px; transform: translateY(10px) scale(0.98);
  transition: transform 0.25s var(--ease);
}
.settings-modal:not(.hidden) .settings-panel { transform: translateY(0) scale(1); }
.settings-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.settings-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }

.profile-id { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-md); background: var(--panel-2); margin-bottom: 18px; }
.profile-id img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--green); }
.profile-id .name { font-weight: 800; }
.profile-id .mail { color: var(--text-dim); font-size: 0.82rem; }

.settings-body { display: flex; flex-direction: column; gap: 8px; }
.settings-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px; font-weight: 600; font-size: 0.92rem;
}
.settings-row i { color: var(--text-dim); margin-right: 10px; }
.settings-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px; font-weight: 600; font-size: 0.92rem; color: var(--text);
  border-radius: var(--radius-sm); transition: background-color 0.2s var(--ease);
}
.settings-link:hover { background: rgba(255,255,255,0.04); }
.settings-body hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }

.settings-action {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 4px; background: none; border: none; text-align: left;
  color: var(--text); font-weight: 700; font-size: 0.92rem; cursor: pointer;
  border-radius: var(--radius-sm); transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.settings-action:hover { background: rgba(255,255,255,0.04); color: var(--green-bright); }
.settings-danger { color: #f87171; }
.settings-danger:hover { background: rgba(248,113,113,0.1); color: #f87171; }

.theme-toggle {
  width: 44px; height: 24px; border-radius: 999px; background: var(--line-strong);
  border: none; position: relative; cursor: pointer; transition: background-color 0.2s var(--ease);
}
.theme-toggle-dot {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform 0.25s var(--ease);
}
.theme-toggle.is-on { background: var(--green); }
.theme-toggle.is-on .theme-toggle-dot { transform: translateX(20px); }

.settings-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.settings-field label { font-size: 0.8rem; color: var(--text-dim); font-weight: 700; }
.settings-field input {
  padding: 11px 13px; border-radius: var(--radius-sm); background: var(--bg-soft);
  border: 1px solid var(--line-strong); color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s var(--ease);
}
.settings-field input:focus { outline: none; border-color: var(--green-line); }
.settings-panel-view { display: none; }
.settings-panel-view.is-active { display: block; }
.panel-back { display: flex; align-items: center; gap: 6px; color: var(--text-dim); font-weight: 700; font-size: 0.85rem; margin-bottom: 14px; cursor: pointer; }
.panel-back:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 46px 28px 30px; }
.footer-main { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.footer-main nav a { color: var(--text-dim); font-size: 0.85rem; font-weight: 600; transition: color 0.2s var(--ease); }
.footer-main nav a:hover { color: var(--green-bright); }
.footer-legal { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-disclaimer, .footer-copy { color: var(--text-faint); font-size: 0.78rem; }
.footer-policy-links { display: flex; gap: 16px; }
.footer-policy-links a { color: var(--text-dim); font-size: 0.8rem; font-weight: 600; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); color: var(--text-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social-link:hover { color: var(--green-bright); border-color: var(--green-line); transform: translateY(-2px); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 22px; right: 22px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line-strong); border-left: 3px solid var(--green);
  transform: translateY(16px); opacity: 0; pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  font-size: 0.86rem; font-weight: 600;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-header { padding: 12px 14px; flex-wrap: wrap; gap: 10px; }
  .header-menu { width: 100%; gap: 10px; }
  .brand-name { font-size: 1.05rem; }
  .site-nav {
    flex: 1; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; justify-content: flex-start;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 10px 12px; font-size: 0; gap: 0; }
  .site-nav a i { font-size: 1.2rem; }
  .header-actions { gap: 8px; }
  .status-pill { padding: 8px 12px; }
  .status-pill .status-label { display: none; }
  .icon-button { width: 44px; height: 44px; }
  .icon-button i { font-size: 1.1rem; }
  .avatar { width: 40px; height: 40px; }
  .support-grid, .vip-cards { grid-template-columns: repeat(2, 1fr); }
  .news-feature { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .status-pill span:not(.status-dot) { display: none; }
}
