/* =====================================================================
   57th INFANTRY REGIMENT — ana tema
   Koyu grafit + dövülmüş altın. Logodaki dokuya göre ayarlandı.
   ===================================================================== */

:root {
  --gold: #c8a55b;
  --gold-bright: #e6c988;
  --gold-deep: #8f6f2e;
  --gold-dim: rgba(200, 165, 91, .18);

  --bg: #0a0a0b;
  --bg-2: #101012;
  --bg-3: #141417;
  --panel: rgba(22, 22, 25, .78);
  --panel-solid: #17171a;
  --line: rgba(200, 165, 91, .16);
  --line-soft: rgba(255, 255, 255, .06);

  --text: #e8e6e1;
  --muted: #9a968e;
  --dim: #6b6862;

  --ok: #4ea172;
  --warn: #d3a03c;
  --danger: #c0392b;
  --info: #4a90d9;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 45px rgba(0, 0, 0, .55);
  --shadow-gold: 0 0 0 1px rgba(200, 165, 91, .2), 0 20px 50px rgba(0, 0, 0, .6);

  --font-display: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Zemin dokusu — hafif grain + vinyet */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(200, 165, 91, .07), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(200, 165, 91, .05), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: auto, auto, 140px 140px;
  opacity: .55;
  mix-blend-mode: soft-light;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-bright); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  margin: 0 0 .5em;
  line-height: 1.15;
}

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

::selection { background: rgba(200, 165, 91, .3); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 6px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

.container { width: min(1240px, 92vw); margin-inline: auto; position: relative; z-index: 1; }
.container-narrow { width: min(880px, 92vw); margin-inline: auto; position: relative; z-index: 1; }

/* =====================================================================
   NAVIGASYON
   ===================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, .88);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .container { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .6)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .1em;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text span { font-size: 9.5px; letter-spacing: .34em; color: var(--dim); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 7px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-switch { display: flex; gap: 1px; background: rgba(255, 255, 255, .05); border-radius: 7px; padding: 3px; }
/* menu icindeki kopya yalnizca telefonda gorunur */
.lang-switch-mobile { display: none; }
.lang-switch a {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 5px;
  color: var(--dim);
  text-transform: uppercase;
}
.lang-switch a.active { background: var(--gold-dim); color: var(--gold-bright); }

.nav-user { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-soft); border-radius: 30px; }
.nav-user img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); }
.nav-user span { font-size: 13px; font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.burger { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; padding: 4px 8px; }

/* =====================================================================
   BUTONLAR
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s cubic-bezier(.2, .8, .3, 1);
  position: relative;
  overflow: hidden;
  background: none;
  color: var(--text);
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18), transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s;
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  background: linear-gradient(160deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  color: #1a1509;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(200, 165, 91, .22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(200, 165, 91, .34); color: #1a1509; }

.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(200, 165, 91, .08); }

.btn-dark { background: #1c1c20; border-color: var(--line-soft); color: var(--text); }
.btn-dark:hover { background: #24242a; border-color: var(--line); }

.btn-danger { background: rgba(192, 57, 43, .15); border-color: rgba(192, 57, 43, .45); color: #e08d84; }
.btn-danger:hover { background: rgba(192, 57, 43, .28); color: #fff; }

.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 15px 34px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .45; pointer-events: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: grayscale(.4) contrast(1.1) brightness(.42);
  transform: scale(1.06);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, .82) 0%, rgba(10, 10, 11, .5) 40%, var(--bg) 100%),
    radial-gradient(ellipse at center, transparent 25%, rgba(10, 10, 11, .85) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 165, 91, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 165, 91, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 72%);
}
/* <canvas> "replaced element" oldugu icin inset:0 onu germez —
   varsayilan 300x150 olcusunde sol ustte kalir. Acik olcu sart. */
#embers {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.hero-inner { position: relative; z-index: 2; text-align: center; padding: 60px 0 100px; width: 100%; }

.hero-emblem {
  width: clamp(120px, 17vw, 190px);
  margin: 0 auto 26px;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .8)) drop-shadow(0 0 24px rgba(200, 165, 91, .14));
  animation: emblem-in 1.3s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes emblem-in { from { opacity: 0; transform: translateY(26px) scale(.9); } to { opacity: 1; transform: none; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(200, 165, 91, .07);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(38px, 6.6vw, 82px);
  letter-spacing: .015em;
  margin-bottom: 18px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 8%, var(--gold-bright) 48%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 40px rgba(200, 165, 91, .18);
}
.hero p.lead {
  max-width: 640px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* =====================================================================
   BÖLÜM BAŞLIKLARI
   ===================================================================== */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-2) 15%, var(--bg-2) 85%, transparent); }

.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 16px auto 0; max-width: 220px;
}
.divider::before, .divider::after {
  content: ''; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold-deep));
}
.divider::after { background: linear-gradient(90deg, var(--gold-deep), transparent); }
.divider i { color: var(--gold); font-size: 11px; transform: rotate(45deg); display: block; width: 7px; height: 7px; border: 1px solid var(--gold); }

/* =====================================================================
   İSTATİSTİK ŞERİDİ
   ===================================================================== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -60px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow);
}
.stat-strip .stat {
  background: linear-gradient(180deg, var(--panel-solid), #131316);
  padding: 26px 18px;
  text-align: center;
  transition: background .3s;
}
.stat-strip .stat:hover { background: linear-gradient(180deg, #1d1d21, #161619); }
.stat-strip .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 7px;
  text-shadow: 0 3px 18px rgba(200, 165, 91, .25);
}
.stat-strip .stat span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* =====================================================================
   KARTLAR
   ===================================================================== */
.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), border-color .35s, box-shadow .35s;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.card:hover { border-color: var(--line); box-shadow: var(--shadow); }
.card-body { padding: 24px; }
.card-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-head h3 { margin: 0; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* =====================================================================
   SUNUCU KARTI
   ===================================================================== */
.server-card {
  background: linear-gradient(155deg, rgba(28, 28, 32, .92), rgba(16, 16, 19, .96));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), border-color .35s, box-shadow .35s;
}
.server-card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--shadow-gold); }
.server-card .banner {
  height: 132px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #1a1a1e;
}
.server-card .banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, .25), rgba(16, 16, 19, .98));
}
.server-card .game-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 11px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(10, 10, 11, .82);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--gold);
  backdrop-filter: blur(6px);
}
.server-card .server-body { padding: 18px 20px 20px; margin-top: -34px; position: relative; z-index: 2; }
.server-card h3 { font-size: 19px; margin-bottom: 6px; letter-spacing: .04em; }
.server-card .meta { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 12.5px; margin-bottom: 14px; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; position: relative; }
.status-dot.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(78, 161, 114, .18); }
.status-dot.on::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid var(--ok);
  animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}
.status-dot.off { background: #4a4a4e; }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }

.player-bar { height: 6px; background: rgba(255, 255, 255, .07); border-radius: 3px; overflow: hidden; margin: 12px 0 8px; }
.player-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  border-radius: 3px;
  transition: width 1s cubic-bezier(.2, .8, .3, 1);
  box-shadow: 0 0 12px rgba(200, 165, 91, .5);
}
.server-card .counts { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.server-card .counts b { color: var(--text); font-family: var(--font-display); font-size: 15px; }
.server-actions { display: flex; gap: 9px; }

/* =====================================================================
   ÖZELLİK KARTLARI
   ===================================================================== */
.feature {
  padding: 30px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(24, 24, 28, .7), rgba(14, 14, 17, .7));
  transition: transform .35s, border-color .35s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line); }
.feature .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--gold);
  margin-bottom: 16px;
  background: rgba(200, 165, 91, .07);
}
.feature h4 { font-size: 16px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* =====================================================================
   MAĞAZA
   ===================================================================== */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 24px; align-items: start; }
.pkg {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26, 26, 30, .9), rgba(15, 15, 18, .95));
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), border-color .35s, box-shadow .35s;
  display: flex; flex-direction: column;
}
.pkg:hover { transform: translateY(-6px); border-color: var(--gold-dim); box-shadow: var(--shadow-gold); }
.pkg.featured { border-color: var(--gold-dim); box-shadow: 0 0 0 1px rgba(200, 165, 91, .16), var(--shadow); }
.pkg .accent { height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.pkg .badge {
  position: absolute; top: 16px; right: -34px;
  transform: rotate(38deg);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  color: #191400;
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  padding: 5px 42px;
  text-transform: uppercase;
}
.pkg-head { padding: 28px 26px 20px; text-align: center; border-bottom: 1px solid var(--line-soft); }
.pkg-head h3 { font-size: 20px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.pkg-head .dur { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.pkg-price { padding: 22px 26px; text-align: center; }
.pkg-price .amount {
  font-family: var(--font-display);
  font-size: 42px; line-height: 1;
  color: var(--gold-bright);
  text-shadow: 0 4px 22px rgba(200, 165, 91, .3);
}
.pkg-price .old { color: var(--dim); text-decoration: line-through; font-size: 15px; margin-left: 8px; }
.pkg-feats { list-style: none; padding: 0 26px 22px; margin: 0; flex: 1; }
.pkg-feats li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14px; color: var(--muted); }
.pkg-feats li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.pkg-foot { padding: 0 26px 26px; }

.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pay-methods label {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  background: rgba(255, 255, 255, .02);
}
.pay-methods input { display: none; }
.pay-methods input:checked + span { color: var(--gold-bright); }
.pay-methods label:has(input:checked) { border-color: var(--gold); background: rgba(200, 165, 91, .1); }
.pay-methods label:hover { border-color: var(--line); }

/* =====================================================================
   TABLOLAR
   ===================================================================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data thead th {
  text-align: left;
  padding: 13px 16px;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(0, 0, 0, .3);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
table.data tbody td { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .035); vertical-align: middle; }
table.data tbody tr { transition: background .2s; }
table.data tbody tr:hover { background: rgba(200, 165, 91, .045); }
table.data tbody tr:last-child td { border-bottom: 0; }

.rank-badge {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
}
.rank-badge.r1 { background: linear-gradient(145deg, #f0d488, #b48c30); color: #1a1400; }
.rank-badge.r2 { background: linear-gradient(145deg, #dfe2e6, #9099a3); color: #16181a; }
.rank-badge.r3 { background: linear-gradient(145deg, #d9a06b, #8a5a2c); color: #1a1000; }

.player-cell { display: flex; align-items: center; gap: 11px; }
.player-cell img { width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--line-soft); object-fit: cover; }
.player-cell .ph { width: 32px; height: 32px; border-radius: 7px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: var(--dim); font-size: 13px; }

/* =====================================================================
   ROZETLER
   ===================================================================== */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag-gold { background: rgba(200, 165, 91, .13); color: var(--gold-bright); border-color: rgba(200, 165, 91, .3); }
.tag-ok { background: rgba(78, 161, 114, .13); color: #7fd4a4; border-color: rgba(78, 161, 114, .3); }
.tag-warn { background: rgba(211, 160, 60, .13); color: #eac272; border-color: rgba(211, 160, 60, .3); }
.tag-danger { background: rgba(192, 57, 43, .14); color: #e08d84; border-color: rgba(192, 57, 43, .32); }
.tag-info { background: rgba(74, 144, 217, .13); color: #8bbdf0; border-color: rgba(74, 144, 217, .3); }
.tag-muted { background: rgba(255, 255, 255, .05); color: var(--muted); border-color: var(--line-soft); }

/* =====================================================================
   FORMLAR
   ===================================================================== */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field .help { font-size: 12px; color: var(--dim); margin-top: 5px; }

input[type=text], input[type=number], input[type=email], input[type=url], input[type=password],
input[type=date], input[type=datetime-local], select, textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(0, 0, 0, .32);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 165, 91, .12);
  background: rgba(0, 0, 0, .45);
}
textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%239a968e'%3E%3Cpath d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input[type=color] { height: 42px; padding: 4px; cursor: pointer; }

/* Ac/kapa anahtari.
   `.field label { display:block; text-transform:uppercase }` kurali bu etiketi
   de yakaliyordu; asagidaki secici (label.switch) onu geri alir. */
.switch,
label.switch,
.field label.switch {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
}
.switch input { display: none; }
.switch i {
  display: inline-block;      /* <i> varsayilan olarak inline: en/boy islemez */
  width: 40px; height: 22px;
  background: rgba(255, 255, 255, .1);
  border-radius: 20px;
  position: relative;
  transition: background .25s;
  flex: 0 0 40px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.switch i::after {
  content: ''; position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #8a8a90;
  transition: transform .25s, background .25s;
}
.switch input:checked + i { background: rgba(200, 165, 91, .35); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--gold-bright); }
.switch span { font-size: 14px; text-transform: none; letter-spacing: normal; color: var(--text); }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
/* switch'in altindaki yardim yazisi hep anahtarla hizali dursun */
.field .switch + .help { margin-left: 51px; }

/* =====================================================================
   FLASH / UYARI
   ===================================================================== */
.flash-stack { position: fixed; top: calc(var(--nav-h) + 14px); right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.flash {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 17px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(22, 22, 26, .96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: 14px;
  animation: flash-in .4s cubic-bezier(.2, .8, .3, 1);
}
@keyframes flash-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.flash.success { border-left: 3px solid var(--ok); }
.flash.error { border-left: 3px solid var(--danger); }
.flash.info { border-left: 3px solid var(--info); }
.flash button { background: none; border: 0; color: var(--dim); cursor: pointer; margin-left: auto; font-size: 16px; line-height: 1; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .03); font-size: 14px; }
.alert-warn { border-color: rgba(211, 160, 60, .3); background: rgba(211, 160, 60, .08); color: #eac272; }
.alert-danger { border-color: rgba(192, 57, 43, .3); background: rgba(192, 57, 43, .08); color: #e08d84; }
.alert-ok { border-color: rgba(78, 161, 114, .3); background: rgba(78, 161, 114, .08); color: #7fd4a4; }

/* =====================================================================
   SAYFA BAŞLIĞI
   ===================================================================== */
.page-head {
  padding: calc(var(--nav-h) + 62px) 0 42px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse at 50% -20%, rgba(200, 165, 91, .1), transparent 60%),
    linear-gradient(180deg, var(--bg-2), transparent);
  position: relative;
}
.page-head h1 { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; margin-bottom: 8px; }
.page-head p { color: var(--muted); margin: 0; }

/* =====================================================================
   PAGINATION
   ===================================================================== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px;
  display: grid; place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--muted);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-bright); }
.pagination .current { background: rgba(200, 165, 91, .14); border-color: var(--gold-dim); color: var(--gold-bright); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 56px 0 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: var(--muted); font-size: 14px; }
.footer ul a:hover { color: var(--gold); }
.footer .brand-col p { color: var(--dim); font-size: 13.5px; max-width: 320px; }
.socials { display: flex; gap: 9px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  color: var(--muted);
  transition: all .25s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); background: rgba(200, 165, 91, .08); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--dim); font-size: 12.5px;
}

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .3, 1), transform .8s cubic-bezier(.2, .8, .3, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* =====================================================================
   YARDIMCILAR
   ===================================================================== */
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.gold { color: var(--gold); }
.mono { font-family: 'SFMono-Regular', 'JetBrains Mono', Consolas, monospace; font-size: 12.5px; }
.center { text-align: center; }
.right { text-align: right; }
.flex { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 14px; } .gap-3 { gap: 22px; }
.wrap { flex-wrap: wrap; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 26px; } .mb-4 { margin-bottom: 40px; }
.hidden { display: none !important; }
.empty-state { text-align: center; padding: 56px 20px; color: var(--dim); }
.empty-state svg { opacity: .3; margin-bottom: 14px; }

/* =====================================================================
   MOBİL
   ===================================================================== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .burger { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 10, 11, .98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 12px;
    gap: 2px;
    transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.2, .8, .3, 1);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 16px; font-size: 14px; }
  /* ust bar dar ekranda tasiyordu: burger disari itiliyordu */
  .nav .container { gap: 10px; }
  .brand { min-width: 0; flex: 0 1 auto; overflow: hidden; }
  .brand img { height: 38px; }
  .brand-text { min-width: 0; }
  .nav-actions { margin-left: auto; gap: 7px; min-width: 0; }
  .nav-actions .btn { padding: 7px 9px; }
  .nav-user { padding: 4px 6px 4px 4px; }
  .nav-user span { display: none; }
  .burger { flex: 0 0 auto; margin-left: 2px; }
}
@media (max-width: 420px) {
  .brand-text span { display: none; }   /* "INFANTRY REGIMENT" alt yazisi */
  .brand-text b { font-size: 17px; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-strip { margin-top: -30px; }
  /* ust bardaki dil secici sigmiyor; menu icindeki kopyasi devreye giriyor */
  .nav-actions .lang-switch { display: none; }
  .nav-links .lang-switch-mobile { display: flex; justify-content: center; margin-top: 10px; }
  .nav-links .lang-switch-mobile a { padding: 9px 18px; font-size: 13px; }
  .hero-cta .btn { width: 100%; }
  .flash-stack { left: 14px; right: 14px; max-width: none; }
}

/* =====================================================================
   ÇEREZ ONAY BANDI
   ===================================================================== */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 400;
  background: rgba(15, 15, 18, .97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  transform: translateY(20px);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s;
}
.cookie-bar.shown { transform: none; opacity: 1; }
.cookie-bar.closing { transform: translateY(20px); opacity: 0; }
.cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1 1 320px; min-width: 0; }
.cookie-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.cookie-text p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cookie-text a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 9px; flex-shrink: 0; }
@media (max-width: 620px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; }
  .cookie-inner { padding: 14px 15px; gap: 13px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* Canlı tazelemede güncellenen bölüm kısa bir parıltı verir */
@keyframes live-flash-anim {
  from { background-color: rgba(200, 165, 91, .10); }
  to   { background-color: transparent; }
}
.live-flash { animation: live-flash-anim 1.1s ease-out; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
  .live-flash { animation: none; }
  .cookie-bar { transition: none; }
}

/* =====================================================================
   İSTATİSTİK KUTULARI, ÇUBUKLAR VE LİSTELER
   (sunucu detay + oyuncu profili ortak kullanıyor)
   ===================================================================== */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 12px;
}
.tile {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  transition: border-color .25s, transform .25s;
}
.tile:hover { border-color: var(--line); transform: translateY(-2px); }
.tile b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--text);
}
.tile.gold b { color: var(--gold-bright); }
.tile.ok b { color: var(--ok); }
.tile.warn b { color: var(--warn); }
.tile.danger b { color: var(--danger); }
.tile span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.tile small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }

/* Anahtar → değer satırları */
.kv { display: grid; gap: 1px; background: var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.kv > div {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--panel-solid); padding: 11px 14px; font-size: 13.5px;
}
.kv dt, .kv .k { color: var(--muted); }
.kv dd, .kv .v { margin: 0; color: var(--text); font-weight: 600; text-align: right; }

/* Oranlı çubuk listesi (silahlar, en çok oynayanlar) */
.bars { display: grid; gap: 11px; }
.bar-row .bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 5px; }
.bar-row .bar-top b { color: var(--gold-bright); font-weight: 600; }
.bar-track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar-track i {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transition: width .9s cubic-bezier(.2,.8,.3,1);
}

/* Sıralı oyuncu listesi */
.rank-list { display: grid; gap: 1px; background: var(--line-soft); }
.rank-list a, .rank-list > div {
  display: flex; align-items: center; gap: 11px;
  background: var(--panel-solid); padding: 10px 14px;
  color: var(--text); text-decoration: none; font-size: 13.5px;
  transition: background .2s;
}
.rank-list a:hover { background: #1d1d21; }
.rank-list .no {
  width: 22px; flex-shrink: 0; text-align: center;
  font-family: var(--font-display); color: var(--dim); font-size: 13px;
}
.rank-list .no.top { color: var(--gold-bright); }
.rank-list img, .rank-list .ph {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  background: rgba(255,255,255,.05); object-fit: cover;
}
.rank-list .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .vl { color: var(--muted); font-size: 12.5px; flex-shrink: 0; }

/* Olay akışı */
.feed { display: grid; gap: 1px; background: var(--line-soft); }
.feed > div {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel-solid); padding: 9px 14px; font-size: 13px;
}
.feed .ic {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.feed .ic.kill      { background: rgba(78,161,114,.16); color: var(--ok); }
.feed .ic.death     { background: rgba(192,57,43,.16);  color: #e06a5c; }
.feed .ic.teamkill  { background: rgba(211,160,60,.16); color: var(--warn); }
.feed .ic.teamkilled{ background: rgba(211,160,60,.12); color: var(--warn); }
.feed .ic.suicide   { background: rgba(255,255,255,.07); color: var(--muted); }
.feed .tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .tm { color: var(--dim); font-size: 11.5px; flex-shrink: 0; }

/* Manga / takım rozetleri */
.squad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.squad-chip {
  background: var(--panel-solid); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 9px 12px; font-size: 13px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.squad-chip .sz { color: var(--gold); font-weight: 600; font-size: 12.5px; }
.name-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.name-cloud span {
  background: rgba(255,255,255,.045); border: 1px solid var(--line-soft);
  border-radius: 20px; padding: 4px 11px; font-size: 12.5px; color: var(--muted);
}

/* ============================================================
   AYAR SAYFALARI — bölüm gezinme + katlanabilir kart
   ------------------------------------------------------------
   Sunucu Kuralları / SquadJS Ayarları / Tetikleyiciler sayfaları
   uzun formlar. Hepsini üst üste dizmek yerine her bölüm kendi
   kartında ve kapalı başlıyor; üstteki şerit hem içindekiler
   listesi hem de "hangisi açık" göstergesi.
   ========================================================== */
.pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.pagehead h2 { margin: 0; font-size: 21px; letter-spacing: .07em; text-transform: uppercase; }
.pagehead p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; max-width: 62ch; }

.secnav {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 10px 0 12px; margin-bottom: 4px;
  background: linear-gradient(180deg, var(--bg) 70%, transparent);
}
.secnav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 30px; font-size: 12.5px;
  background: rgba(255,255,255,.045); border: 1px solid var(--line-soft);
  color: var(--muted); white-space: nowrap;
}
.secnav a:hover { border-color: var(--gold-deep); color: var(--gold-bright); }
.secnav a .dot { width: 7px; height: 7px; border-radius: 50%; background: #3a3a40; flex-shrink: 0; }
.secnav a.on { color: var(--gold-bright); border-color: rgba(200,165,91,.35); background: rgba(200,165,91,.10); }
.secnav a.on .dot { background: var(--ok); }

/* Katlanabilir ayar bloğu */
.setblock { margin-bottom: 14px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel-solid); overflow: hidden; }
.setblock > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 12px;
  padding: 15px 20px; transition: background .15s;
}
.setblock > summary::-webkit-details-marker { display: none; }
.setblock > summary:hover { background: rgba(255,255,255,.025); }
.setblock > summary .chev { color: var(--dim); transition: transform .2s; flex-shrink: 0; font-size: 11px; }
.setblock[open] > summary { border-bottom: 1px solid var(--line-soft); }
.setblock[open] > summary .chev { transform: rotate(90deg); }
.setblock > summary .ttl { font-family: var(--font-display); font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase; }
.setblock > summary .sub { color: var(--dim); font-size: 12px; margin-top: 2px; display: block; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.setblock > summary .grow { flex: 1; min-width: 0; }
.setblock .sb-body { padding: 20px; }
.setblock .sb-body > .muted:first-child { margin-top: 0; }

/* Blok başlığındaki açık/kapalı rozeti */
.sb-state { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; border: 1px solid var(--line-soft); color: var(--dim); flex-shrink: 0; }
.sb-state.on { background: rgba(78,161,114,.13); color: #7fd4a4; border-color: rgba(78,161,114,.3); }

/* ============================================================
   OYUNCU ETİKETLERİ
   ========================================================== */
.flagchip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 20px; font-size: 11px; line-height: 1.7;
  border: 1px solid currentColor; white-space: nowrap;
}
.flagchip .fc-ic { font-size: 11px; }
.flagchip.sm { font-size: 10px; padding: 1px 7px; }
.flagchip button { background: none; border: 0; color: inherit; cursor: pointer; padding: 0 0 0 3px; opacity: .6; font-size: 12px; }
.flagchip button:hover { opacity: 1; }

.flag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.flag-card { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px; background: rgba(255,255,255,.02); }
.flag-card .fh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.flag-card .fd { color: var(--muted); font-size: 12.5px; min-height: 34px; }
.flag-card .fa { display: flex; gap: 6px; margin-top: 10px; }

/* RCON: takım başlığı satırı */
tr.teamrow td {
  background: rgba(200,165,91,.07); border-top: 1px solid var(--line-soft);
  font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-bright); padding: 7px 12px;
}
tr.teamrow td .cnt { color: var(--dim); letter-spacing: 0; font-family: var(--font-body); text-transform: none; font-size: 11.5px; margin-left: 8px; }
tr.squadrow td {
  background: rgba(255,255,255,.028); font-size: 11.5px; color: var(--muted);
  padding: 5px 12px 5px 26px; letter-spacing: .04em;
}

/* ============================================================
   MAÇ TEKRARI
   ============================================================ */

/* --- maç listesi --- */
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.match-card {
  display: block; border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: var(--panel); padding: 16px 18px; color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.match-card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.match-card .mc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.match-card h3 {
  font-size: 16px; margin: 0 0 2px; text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.match-card .mc-vs {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 12.5px; padding: 7px 0; margin-bottom: 8px;
  border-block: 1px solid var(--line-soft);
}
.match-card .mc-vs b { color: var(--gold-bright); font-weight: 600; }
.match-card .mc-vs span { color: var(--dim); font-size: 11px; }
.match-card .mc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.match-card .mc-stats > div { text-align: center; font-size: 10.5px; color: var(--dim); line-height: 1.4; }
.match-card .mc-stats span { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.match-card .mc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; }

/* --- TAŞMA DÜZELTMESİ ---
   "31st Marine Expeditionary Unit kazandı" gibi uzun taraf adları kartın
   dışına taşıp KOMŞU KARTIN üstünden geçiyordu. Sebep: .mc-foot esnek bir
   kutu ama içindeki etiket ne küçülebiliyor ne kırpılıyordu.
   Tarih sabit kalır, etiket kalan yere sığar, sığmazsa "…" ile kırpılır
   (tam metin title özniteliğinde duruyor). */
.match-card .mc-foot > .dim { flex: 0 0 auto; }
.match-card .mc-foot > .tag {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Kartlar aynı yükseklikte bitsin: bazılarında "vs" satırı var, bazılarında
   yok; alt bilgi tabana yapışınca satırlar hizalanıyor. */
.match-card { display: flex; flex-direction: column; }
.match-card .mc-foot { margin-top: auto; }

/* --- oynatıcı --- */
.replay-card { border-color: var(--line); }
.rp-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-bottom: 14px; }
.rp-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rp-team.t2 { justify-content: flex-end; }
.rp-tname {
  font-family: var(--font-display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rp-team.t1 .rp-tname { color: #7fa8d4; }
.rp-team.t2 .rp-tname { color: #dda06a; }
.rp-score { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.rp-team.t1 .rp-score { color: #7fa8d4; }
.rp-team.t2 .rp-score { color: #dda06a; }
.rp-clock { text-align: center; }
.rp-time {
  font-family: var(--font-display); font-size: 26px; color: var(--gold-bright);
  font-variant-numeric: tabular-nums; line-height: 1;
}

.rp-track {
  position: relative; height: 46px; border-radius: 6px; overflow: hidden; cursor: pointer;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-soft); margin-bottom: 12px;
}
.rp-track canvas { position: absolute; inset: 0; display: block; }
.rp-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(200, 165, 91, .12); pointer-events: none; }
.rp-head {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px;
  background: var(--gold-bright); box-shadow: 0 0 8px rgba(200, 165, 91, .8); pointer-events: none;
}
.rp-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.replay-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }

/* --- killfeed --- */
.killfeed { max-height: 520px; overflow-y: auto; padding: 6px 0; }
.kf {
  display: flex; gap: 10px; align-items: flex-start; padding: 7px 18px;
  font-size: 13px; border-left: 2px solid transparent;
}
.kf + .kf { border-top: 1px solid rgba(255, 255, 255, .035); }
.kf-tk { border-left-color: rgba(192, 57, 43, .8); background: rgba(192, 57, 43, .05); }
.kf-intihar { border-left-color: rgba(255, 255, 255, .2); }
.kf-t { color: var(--dim); font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11.5px; padding-top: 2px; flex: 0 0 42px; }
.kf-body { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; min-width: 0; }
.kf-ok { color: var(--dim); }
.kf-a a, .kf-v a { color: inherit; }
.kf-a { color: var(--gold-bright); }
.kf-v { color: var(--text); }
.kf-w {
  font-size: 10.5px; color: var(--muted); background: rgba(255, 255, 255, .05);
  border-radius: 3px; padding: 2px 6px; white-space: nowrap;
}
.kf-son { font-size: 10.5px; color: var(--dim); }
.kf-son.ok { color: #7fd4a4; }
.kf-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; background: var(--dim); vertical-align: middle; }
.kf-dot.t1 { background: #4a7fb5; }
.kf-dot.t2 { background: #c07a3a; }
@keyframes kfIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.kf-yeni { animation: kfIn .22s ease-out; }

@media (max-width: 900px) {
  .replay-grid { grid-template-columns: 1fr; }
  .rp-teams { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .rp-tname { font-size: 12px; }
  .rp-score { font-size: 22px; }
  .rp-time { font-size: 20px; }
}

/* --- takım karşılaştırma çubukları --- */
.tv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; }
.tv-head b.t1 { color: #7fa8d4; }
.tv-head b.t2 { color: #dda06a; }
.tv-head span { font-size: 11.5px; }
.tv-row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; margin-bottom: 10px; }
.tv-n { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
.tv-n.t1 { color: #7fa8d4; }
.tv-n.t2 { color: #dda06a; text-align: right; }
.tv-lbl { display: block; text-align: center; font-size: 10.5px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.tv-bar { height: 7px; border-radius: 4px; background: #c07a3a; overflow: hidden; }
.tv-bar i { display: block; height: 100%; background: #4a7fb5; }

/* --- maç haritası --- */
.mapwrap { display: flex; justify-content: center; }
.mapwrap canvas {
  display: block; border-radius: var(--radius-sm); border: 1px solid var(--line-soft);
  max-width: 100%; background: #12120f;
}
