/* SatechFirewall portal — Warthen Online görsel diliyle (koyu fantezi + altın, Philosopher/Nunito).
   Fontlar siteyle aynı, kendi sunucumuzdan sunulur (ziyaretçi IP'si Google'a gitmez). */

/* ---------------- Fontlar (warthenonline.com'dan) ---------------- */
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/web/fonts/nunito-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/web/fonts/nunito-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122,U+2212;
}
@font-face {
  font-family: "Philosopher"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/web/fonts/philosopher-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+1E00-1E9F,U+1EF2-1EFF,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Philosopher"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/web/fonts/philosopher-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122;
}

/* ---------------- Tokenlar ---------------- */
:root {
  --bg: #0A0D14; --bg-2: #111725; --surface: #171F30; --surface-2: #1C2538; --surface-3: #232D43;
  --gold: #D6AD61; --gold-bright: #F1D89A; --gold-deep: #9C7A3C; --gold-soft: rgba(214,173,97,.14); --gold-line: rgba(214,173,97,.28);
  --text: #F4F5F8; --muted: #A6AFBF; --subtle: #7D8799; --on-gold: #1A1408;
  --success: #45C98A; --danger: #F16B74;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.14);
  --font-display: "Philosopher","Trebuchet MS","Segoe UI",sans-serif;
  --font-body: "Nunito",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --r: 10px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.85);
  --glow-gold: 0 0 0 1px rgba(214,173,97,.35), 0 18px 50px -14px rgba(214,173,97,.30);
  --ease: cubic-bezier(0.16,1,0.3,1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text);
  background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh; position: relative; overflow-x: hidden;
}

/* Arka plan atmosferi */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(214,173,97,.10), transparent 60%),
    radial-gradient(900px 600px at 85% 110%, rgba(127,168,240,.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.bg-shape { position: fixed; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; pointer-events: none; }
.shape-1 { width: 420px; height: 420px; top: -120px; left: -100px; background: radial-gradient(circle, rgba(214,173,97,.30), transparent 70%); }
.shape-2 { width: 360px; height: 360px; bottom: -120px; right: -80px; background: radial-gradient(circle, rgba(156,122,60,.30), transparent 70%); }
.shape-3 { width: 300px; height: 300px; top: 40%; right: 20%; background: radial-gradient(circle, rgba(127,168,240,.14), transparent 70%); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-26px); } }

/* ---------------- Üst çubuk ---------------- */
.navbar { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: rgba(10,13,20,.55); backdrop-filter: blur(8px); }
.nav-container { max-width: 1120px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.logo-img { display: block; height: 34px; width: auto; }
.crest { display: block; width: 76px; height: 76px; margin: 0 auto 10px; filter: drop-shadow(0 8px 18px rgba(214,173,97,.35)); }
.nav-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.nav-note svg { width: 18px; height: 18px; color: var(--gold); }

.gradient-text {
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold);
}

/* ---------------- Sahne + kart ---------------- */
.stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 20px; position: relative; z-index: 1; }
.card {
  width: 100%; max-width: 480px; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--gold-line); border-radius: var(--r-xl); padding: 40px 34px;
  box-shadow: var(--shadow-lg); position: relative; text-align: center;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(214,173,97,.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

.badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 18px;
  background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-bright);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
}
.card h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.1rem); line-height: 1.2; margin: 0 0 12px; }
.subtitle { color: var(--muted); font-size: 1rem; margin: 0 auto 22px; max-width: 42ch; }

.ip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; margin-bottom: 22px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .9rem; color: var(--muted);
}
.ip strong { color: var(--text); font-weight: 700; }
.ip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(69,201,138,.55); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(69,201,138,.5); } 70%{ box-shadow: 0 0 0 9px rgba(69,201,138,0); } 100%{ box-shadow: 0 0 0 0 rgba(69,201,138,0); } }

/* Turnstile kutusu */
.box { display: flex; justify-content: center; min-height: 66px; margin: 6px 0 16px; }

/* Mesajlar */
#msg { margin: 14px 0 4px; font-size: .95rem; font-weight: 600; min-height: 1.2em; }
#msg.bad, .bad { color: var(--danger); }
#msg.ok, .ok { color: var(--success); }

/* Düğme */
.btn {
  display: none; width: 100%; margin-top: 14px; padding: 13px 22px; border: 0; border-radius: var(--r);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--on-gold);
  font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: .01em; cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .2s, filter .2s; box-shadow: var(--glow-gold);
}
.btn.show, .btn:focus-visible { display: block; }
.btn:hover { filter: brightness(1.05); box-shadow: 0 0 0 1px rgba(214,173,97,.5), 0 20px 46px -14px rgba(214,173,97,.5); }
.btn:active { transform: scale(.98); }

/* Discord */
.discord {
  display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; text-align: left;
  background: rgba(88,101,242,.12); border: 1px solid rgba(88,101,242,.4); border-radius: var(--r);
  color: #c7ccf7; text-decoration: none; font-size: .9rem; transition: background .2s, border-color .2s;
}
.discord:hover { background: rgba(88,101,242,.2); border-color: rgba(88,101,242,.65); }
.discord svg { width: 26px; height: 26px; color: #8b95f2; flex: 0 0 auto; }
.discord strong { color: #fff; }

.note { margin: 20px 0 0; color: var(--subtle); font-size: .8rem; }

/* ---------------- Alt bilgi ---------------- */
.footer { position: relative; z-index: 1; text-align: center; padding: 22px; color: var(--subtle); font-size: .8rem; border-top: 1px solid var(--line); }

@media (max-width: 520px) {
  .card { padding: 30px 22px; }
  .nav-note span { display: none; }
}
