/* Google Fonts artık @import ile değil, HTML <head>'de <link rel="preconnect">
   ve <link rel="stylesheet"> ile yükleniyor (render-blocking süresini azaltmak
   için — @import, tarayıcının sayfayı göstermeden önce harici bir CSS
   dosyasını daha indirmesini gerektiriyordu). */

:root {
  --bg: #101113;
  --surface: #17181b;
  --surface-2: #1e2023;
  --border: #2a2c30;
  --text: #ececee;
  --text-muted: #86888d;
  --accent: #ffc94a;
  --accent-dim: #4a3f22;

  --tier-unplayable: #ff5c5c;
  --tier-playable: #ffb84d;
  --tier-smooth: #63d67a;
  --tier-high: #4fc3f7;
  --tier-competitive: #b18cff;
  --tier-spectrum: linear-gradient(90deg, var(--tier-unplayable), var(--tier-playable), var(--tier-smooth), var(--tier-high), var(--tier-competitive));

  --font-display: 'JetBrains Mono', ui-monospace, monospace;
  --font-body: 'Manrope', system-ui, sans-serif;

  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(255, 201, 74, 0.06), transparent 40%),
    radial-gradient(circle at 85% 100%, rgba(177, 140, 255, 0.06), transparent 45%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

/* ---------- Hero section w/ marquee poster background ---------- */

.hero-section {
  position: relative;
  overflow: hidden;
  background: #08090b;
  padding-bottom: 30px;
}

.marquee-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  transform: rotate(-4deg) scale(1.15);
  opacity: 0.35;
}

.marquee-row {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-track {
  display: inline-flex;
  gap: 14px;
  width: max-content;
  animation: scrollLeft 180s linear infinite;
}

.marquee-row-1 .marquee-track {
  animation-name: scrollRight;
  animation-duration: 220s;
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.marquee-pill {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(231, 233, 236, 0.5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 20px;
  flex: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.55) 0%, rgba(8, 9, 11, 0.88) 55%, var(--bg) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 201, 74, 0.10), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(177, 140, 255, 0.10), transparent 45%);
}

.hero-section .site-header {
  position: relative;
  z-index: 1000;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--text-muted);
  flex: none;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-mark .needle-line {
  transform-origin: 12px 15.5px;
  transition: transform 0.4s ease;
  color: var(--accent);
}

.brand:hover .needle-line {
  animation: brand-needle-move 1.6s ease-in-out infinite;
}

@keyframes brand-needle-move {
  0%, 100% { transform: rotate(-11deg); }
  50% { transform: rotate(11deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-name em {
  color: var(--accent);
  font-style: normal;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-nav a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.top-nav a:hover {
  color: var(--accent);
}

/* ---------- Hero content ---------- */

.hero-content {
  padding-top: 60px;
  padding-bottom: 10px;
}

.hero-content h1 {
  font-family: var(--font-body);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 14px;
  max-width: 820px;
}

.hero-content h1 .hl {
  color: var(--accent);
}

.hero-content p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 26px;
  font-size: 15.5px;
}

.hero-cta {
  display: inline-block;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.hero-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 201, 74, 0.15);
}

/* ---------- Hero: yumuşak ışıma + gerçek sonuç kartı imzası ---------- */

.hero-content {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 620px 420px at 8% 10%, rgba(255, 201, 74, 0.07), transparent 70%);
}

.hero-grid { position: relative; z-index: 1; }

/* ---------- Spektrum çubuğu + örnek sonuç kartı ---------- */

.spectrum-bar {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--tier-spectrum);
  margin-bottom: 20px;
}

.result-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 18px;
}

.result-preview-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-preview-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.result-config {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.7;
}

.result-config b {
  color: var(--text);
  font-weight: 600;
}

.result-fps-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 4px;
}

.result-fps-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.result-fps-unit {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-muted);
}

.result-secondary-metric {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.result-secondary-metric b {
  color: var(--text);
  font-weight: 600;
}

.result-tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tier-smooth);
  background: rgba(99, 214, 122, 0.1);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.result-tier::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tier-smooth);
}

.result-spectrum-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--tier-spectrum);
  margin-top: 8px;
}

.result-spectrum-marker {
  position: absolute;
  top: -4px;
  left: 62%;
  width: 2px;
  height: 14px;
  background: var(--text);
  transform: translateX(-1px);
}

.result-spectrum-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  margin-top: 44px;
  border-top: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  min-width: 104px;
  padding: 16px 18px 0;
  border-left: 1px solid var(--border);
}

.stat-item:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

/* ---------- Main wrap / sections ---------- */

.main-wrap {
  padding-top: 10px;
}

.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 20px;
}

.section:last-of-type {
  border-bottom: none;
}

.section-head {
  margin-bottom: 30px;
}

.section-kicker {
  display: none;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 27px);
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.badge-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--tier-smooth);
  box-shadow: 0 0 10px var(--tier-smooth);
  flex: none;
  animation: pulse 1.6s ease-in-out infinite;
}

.section-head h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}



/* ---------- Layout grid ---------- */

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

@media (max-width: 880px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.panel-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* ---------- Form ---------- */

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.field-hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 11.5px;
  text-transform: none;
}

.info-tip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
  padding: 0;
}
.info-tip-trigger:hover,
.info-tip-trigger.active {
  border-color: var(--accent);
  color: var(--accent);
}
.info-tip-card {
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.6;
}
.info-tip-card[hidden] { display: none; }
.info-tip-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 12.5px;
}
.info-tip-body { color: var(--text-muted); }

.field select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 34px 11px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  appearance: none;
}

.field select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.searchable-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 34px 11px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
}
.combo-wrap {
  position: relative;
}
.combo-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 11px;
  pointer-events: none;
}
.searchable-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.searchable-input.searchable-invalid {
  border-color: #ff5c5c;
}
.searchable-hidden-select { display: none; }

.combo-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 60;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.combo-dropdown.open { display: block; }

.combo-option-group {
  padding: 9px 14px 5px;
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.combo-option {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text);
}

.combo-option:hover,
.combo-option.active {
  background: var(--surface);
  color: var(--accent);
}

.combo-empty {
  padding: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-group label {
  font-family: var(--font-display);
  font-size: 12.5px;
  padding: 9px 14px;
  border-radius: 7px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.chip-group input:checked + label {
  border-color: var(--accent);
  color: var(--bg);
  background: var(--accent);
  font-weight: 600;
}

.chip-group input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.submit-btn {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #201a08;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.submit-btn:hover {
  box-shadow: 0 6px 22px rgba(255, 201, 74, 0.25);
}

.submit-btn:active {
  transform: translateY(1px);
}

/* ---------- Result: HUD counter ---------- */

.hud {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%),
    var(--surface-2);
  position: relative;
  overflow: hidden;
}

.hud::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hud-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hud-rec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--tier-unplayable);
  letter-spacing: 0.1em;
}

.hud-rec .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tier-unplayable);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hud-number-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.hud-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 84px);
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(255, 201, 74, 0.25);
  font-variant-numeric: tabular-nums;
}

.hud-unit {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-badge .swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.hud-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.hud-meta b {
  color: var(--text);
  font-weight: 600;
}

.warning-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.35);
  color: #ffb3b3;
  font-size: 13px;
}

/* ---------- Bar chart ---------- */

.chart {
  margin-top: 20px;
}

.chart-row {
  display: grid;
  grid-template-columns: 70px 1fr 56px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.chart-row .row-label {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.chart-track {
  height: 10px;
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chart-bar {
  height: 100%;
  border-radius: 6px;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-row .row-fps {
  font-family: var(--font-display);
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.placeholder {
  color: var(--text-muted);
  font-size: 14px;
  padding: 30px 6px;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- Nasıl Çalışır ---------- */

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.how-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.how-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- Tier blocks (GPU / CPU database) ---------- */

.tier-block {
  margin-bottom: 26px;
}

.tier-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tier-block-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.tier-block-name:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.tier-block-count {
  font-size: 12.5px;
  color: var(--text-muted);
}

.hw-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hw-chip {
  font-family: var(--font-display);
  font-size: 12.5px;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ---------- RAM guide ---------- */

.ram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.ram-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.ram-amount {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 12px;
}

.ram-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.ram-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- Game library ---------- */

.game-filter-input {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 24px;
}

.game-filter-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.game-card-top {
  margin-bottom: 12px;
}

.game-card-top h4 {
  margin: 0 0 6px;
  font-size: 14.5px;
  line-height: 1.3;
}

.game-genre {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 5px;
}

.game-card-fps {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}

.game-fps-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--accent);
}

.game-fps-unit {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.game-weight-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weight-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.weight-track {
  height: 6px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.weight-fill {
  height: 100%;
  border-radius: 4px;
}

.weight-gpu {
  background: var(--tier-high);
}

.weight-cpu {
  background: var(--tier-competitive);
}

.game-grid-empty {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .top-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu-panel {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

.mobile-menu-panel.open {
  display: flex;
}

.mobile-menu-panel a {
  padding: 12px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
}

.mobile-menu-panel a:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.mobile-menu-panel .mobile-menu-divider {
  border-top: 1px solid var(--border);
  margin: 6px 4px;
}

.mobile-menu-panel select {
  margin: 6px 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px;
  border-radius: 6px;
}

.mobile-menu-panel .mobile-upcoming-tag {
  display: inline-block;
  background: linear-gradient(135deg, #b18cff, #7c5cff);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Side rails (genre icons, full page height) ---------- */

.side-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 64px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.side-rail-left {
  left: 0;
}

.side-rail-right {
  right: 0;
}

.side-rail-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
  padding-top: 20px;
  animation: railScrollDown 50s linear infinite;
}

.side-rail-track-reverse {
  animation-name: railScrollUp;
  animation-duration: 62s;
}

@keyframes railScrollDown {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

@keyframes railScrollUp {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.rail-icon {
  color: var(--text-muted);
  width: 22px;
  height: 22px;
  flex: none;
}

.rail-icon svg {
  width: 100%;
  height: 100%;
}

.rail-icon:nth-child(3n) {
  color: var(--accent);
}

.rail-icon:nth-child(3n+1) {
  color: var(--tier-competitive);
}

@media (max-width: 1300px) {
  .side-rail {
    display: none;
  }
}

/* ---------- Game library (isim-only, yoğun liste) ---------- */

.game-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-chip {
  font-family: var(--font-display);
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.game-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Sonuç bildirme butonu ---------- */

.report-btn {
  width: 100%;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.report-btn:hover {
  border-color: var(--tier-playable);
  color: var(--tier-playable);
}

.report-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(99, 214, 122, 0.08);
  border: 1px solid rgba(99, 214, 122, 0.3);
  color: var(--tier-smooth);
  font-size: 13px;
  text-align: center;
}

/* ---------- Nav CTA butonu ---------- */

.top-nav a.nav-cta {
  background: var(--accent);
  color: #201a08;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.top-nav a.nav-cta:hover {
  color: #201a08;
  opacity: 0.85;
}

/* ---------- İletişim ---------- */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  max-width: 560px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ---------- Dil seçici ---------- */

.lang-switch select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 7px;
  cursor: pointer;
}

.lang-switch select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ---------- Düz (afişsiz) sayfa başlığı — örn. iletişim sayfası ---------- */

.plain-header {
  padding-top: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.back-home-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
}

.back-home-link:hover {
  color: var(--accent);
}

/* ---------- RTL (Arapça) temel düzeltmeler ---------- */

html[dir="rtl"] .chart-row .row-fps {
  text-align: left;
}

html[dir="rtl"] .tagline,
html[dir="rtl"] .contact-card {
  text-align: right;
}

html[dir="rtl"] .field-hint {
  margin-right: 4px;
}

/* ---------- Yasal sayfalar (gizlilik politikası vb.) ---------- */

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 720px;
}

.legal-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.legal-card h3 {
  font-size: 15.5px;
  margin: 26px 0 10px;
  color: var(--text);
}

.legal-card h3:first-child {
  margin-top: 0;
}

/* ---------- Footer linkleri ---------- */

.footer-links {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ---------- Çerez izni bannerı ---------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 50;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cookie-banner p a {
  color: var(--accent);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 9px 16px;
  border-radius: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  border: 1px solid var(--border);
}

.cookie-btn-accept {
  background: var(--accent);
  color: #201a08;
  border-color: var(--accent);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
}

/* ---------- İletişim formu ---------- */

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
}

.field input[type="text"]:focus-visible,
.field input[type="email"]:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.6;
}

.contact-form-feedback.success {
  background: rgba(99, 214, 122, 0.08);
  border: 1px solid rgba(99, 214, 122, 0.3);
  color: var(--tier-smooth);
}

.contact-form-feedback.error {
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.35);
  color: #ffb3b3;
}

.contact-alt {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Hero iki sütun (mevcut içerik + uygulama tanıtımı) ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.app-promo-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(2px);
  width: 100%;
}

.app-promo-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 201, 74, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.app-promo-card h2 {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--text);
}

.app-promo-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 22px;
}

.app-promo-card .hero-cta {
  font-size: 13px;
}

/* ---------- Tüm Oyunlar / Oyun Detay sayfaları ---------- */

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.game-card-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.game-card-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.game-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.game-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.game-card-thumb-placeholder {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.game-card-body {
  padding: 12px 14px 16px;
}

.game-card-name {
  font-weight: 700;
  font-size: 14.5px;
  margin: 0 0 4px;
}

.game-card-genre {
  color: var(--text-muted);
  font-size: 12px;
}

.popular-badge {
  display: inline-block;
  background: var(--accent);
  color: #0e1512;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.games-section-heading {
  font-size: 18px;
  font-weight: 800;
  margin: 36px 0 16px;
  color: var(--text);
}

.games-section-heading:first-of-type {
  margin-top: 0;
}

/* Oyun detay sayfası */

.game-detail-hero {
  width: 100%;
  aspect-ratio: 972 / 420;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.game-detail-hero-placeholder {
  width: 100%;
  height: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-display);
  margin-bottom: 24px;
}

.game-detail-genre-tag {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.game-detail-desc {
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
  margin: 18px 0 30px;
  white-space: pre-line;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 700px) {
  .req-grid { grid-template-columns: 1fr; }
}

.req-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.req-card h3 {
  font-size: 14px;
  margin: 0 0 14px;
  color: var(--accent);
}

.req-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.req-row:last-child { border-bottom: none; }

.req-label {
  color: var(--text-muted);
  flex-shrink: 0;
}

.req-value {
  text-align: right;
  color: var(--text);
}

.purchase-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.purchase-link-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.15s ease;
}

.purchase-link-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.game-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.game-gallery-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.no-content-note {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 18px;
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 24px;
}

/* ---------- Nav "Oyunlar" açılır menüsü (dropdown) ---------- */

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

.nav-chevron {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.85em;
}

.top-nav a:hover .nav-chevron,
.nav-dropdown-trigger:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.nav-dropdown-panel.open {
  display: block;
}

.nav-dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 13.5px;
  text-decoration: none;
}

.nav-dropdown-panel a:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.nav-dropdown-panel .nav-dropdown-all {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-weight: 700;
  font-size: 12.5px;
}

/* ---------- Yakında çıkacak oyunlar ---------- */

.upcoming-badge {
  display: inline-block;
  background: linear-gradient(135deg, #b18cff, #7c5cff);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.game-card-item.upcoming-card {
  border-color: rgba(177, 140, 255, 0.4);
}

.upcoming-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .upcoming-info-grid { grid-template-columns: 1fr; }
}

.upcoming-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.upcoming-info-card .label {
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-display);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.upcoming-info-card .value {
  font-size: 14.5px;
  font-weight: 700;
}

.pc-status-confirmed { color: var(--tier-smooth); }
.pc-status-unconfirmed { color: #ffb84d; }

.nav-dropdown-panel .upcoming-tag {
  display: inline-block;
  background: linear-gradient(135deg, #b18cff, #7c5cff);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Oyunlar sayfası — soyut HUD arka planı (Seçenek B v2) ---------- */

.games-hero-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 10px;
}

.hud-bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
}

.hud-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,201,74,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,201,74,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, black 30%, transparent 78%);
}

.hud-ring { position: absolute; border-radius: 50%; }
.hud-ring.r1 { width: 620px; height: 620px; top: -180px; right: -160px; border: 1px solid rgba(255,201,74,0.22); }
.hud-ring.r2 { width: 420px; height: 420px; top: -80px; right: -60px; border: 1px solid rgba(177,140,255,0.2); }
.hud-ring.r3 { width: 900px; height: 900px; bottom: -460px; left: -260px; border: 1px dashed rgba(255,201,74,0.14); }
.hud-ring.r4 { width: 260px; height: 260px; bottom: 10%; left: 6%; border: 1px solid rgba(99,214,122,0.18); }
.hud-ring.r5 { width: 140px; height: 140px; top: 12%; left: 30%; border: 1px solid rgba(255,201,74,0.15); }
.hud-ring.spin-slow { animation: spinSlow 90s linear infinite; }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hud-line { position: absolute; height: 1px; }
.hud-line.l1 { width: 340px; top: 20%; right: 4%; transform: rotate(8deg); background: linear-gradient(90deg, transparent, rgba(255,201,74,0.35), transparent); }
.hud-line.l2 { width: 220px; bottom: 16%; left: 8%; transform: rotate(-6deg); background: linear-gradient(90deg, transparent, rgba(177,140,255,0.3), transparent); }
.hud-line.l3 { width: 180px; top: 55%; left: 4%; transform: rotate(3deg); background: linear-gradient(90deg, transparent, rgba(99,214,122,0.28), transparent); }
.hud-line.l4 { width: 260px; bottom: 30%; right: 18%; transform: rotate(-10deg); background: linear-gradient(90deg, transparent, rgba(255,201,74,0.22), transparent); }

.hud-hex { position: absolute; width: 26px; height: 26px; opacity: 0.5; }
.hud-hex svg { width: 100%; height: 100%; }

.hud-cross { position: absolute; width: 16px; height: 16px; opacity: 0.45; }
.hud-cross svg { width: 100%; height: 100%; }

.hud-dot {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #ffc94a;
  box-shadow: 0 0 10px 2px rgba(255,201,74,0.6);
  animation: hudPulse 3.5s ease-in-out infinite;
}
.hud-dot.d2 { background: #b18cff; box-shadow: 0 0 10px 2px rgba(177,140,255,0.6); animation-delay: 1.1s; }
.hud-dot.d3 { background: #63d67a; box-shadow: 0 0 10px 2px rgba(99,214,122,0.55); animation-delay: 2.1s; }
.hud-dot.d4 { animation-delay: 0.6s; }

@keyframes hudPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.35); }
}

.hud-scan {
  position: absolute; inset: 0; height: 200%;
  background: linear-gradient(180deg, transparent 0%, rgba(255,201,74,0.045) 50%, transparent 100%);
  animation: hudScan 9s linear infinite;
}
@keyframes hudScan { from { transform: translateY(-50%); } to { transform: translateY(0%); } }

.games-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 40px;
}

/* ---------- Ana sayfa duyuru/haber şeridi ---------- */

.news-ticker-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.news-ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #201a08;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 9px 16px;
  white-space: nowrap;
  z-index: 2;
}

.news-ticker-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #201a08;
  animation: newsTickerBlink 1.4s ease-in-out infinite;
}

@keyframes newsTickerBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.news-ticker-scroll {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
}

.news-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: newsTickerScroll 45s linear infinite;
}

.news-ticker-bar:hover .news-ticker-track {
  animation-play-state: paused;
}

@keyframes newsTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.news-ticker-item {
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-ticker-item-badge {
  flex-shrink: 0;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(255, 201, 74, 0.35);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.6;
}

.news-ticker-item::after {
  content: "•";
  color: var(--border);
  margin-left: 40px;
}

a.news-ticker-item:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .news-ticker-label span.label-text { display: none; }
  .news-ticker-label { padding: 9px 12px; }
}

/* ---------- Öne çıkan haberler karuseli (büyük görselli) ---------- */

.spotlight-section {
  margin-bottom: 36px;
}

.spotlight-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 970 / 378;
  background: var(--surface);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.spotlight-carousel:active {
  cursor: grabbing;
}

.spotlight-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.spotlight-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.spotlight-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.spotlight-slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  background: var(--surface-2);
}

.spotlight-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,9,11,0.92) 0%, rgba(8,9,11,0.55) 45%, transparent 80%);
}

.spotlight-slide-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px 32px;
  max-width: 720px;
}

.spotlight-slide-content h3 {
  color: #fff;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.25;
}

.spotlight-slide-content p {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  margin: 0 0 12px;
  max-width: 560px;
}

.spotlight-slide-link {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.spotlight-slide-link:hover {
  text-decoration: underline;
}

.spotlight-slide[data-url]:not([data-url=""]) {
  cursor: pointer;
}

.spotlight-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.spotlight-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
}

.spotlight-progress-fill.animating {
  transition: width linear;
}

.spotlight-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(8,9,11,0.5);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.spotlight-nav:hover {
  background: var(--accent);
  color: #201a08;
  border-color: var(--accent);
}

.spotlight-prev { left: 16px; }
.spotlight-next { right: 16px; }

.spotlight-dots {
  position: absolute;
  bottom: 16px;
  right: 24px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.spotlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.spotlight-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ---------- Birleşik Admin Paneli — sol menü ---------- */

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-brand {
  padding: 0 20px 20px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.admin-sidebar a {
  display: block;
  padding: 10px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  border-left: 3px solid transparent;
}

.admin-sidebar a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.admin-sidebar a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-dim);
  font-weight: 600;
}

.admin-sidebar .sidebar-section-label {
  padding: 14px 20px 6px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  opacity: 0.6;
}

.admin-main {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

.admin-main .admin-wrap {
  margin: 0;
  max-width: 900px;
}

@media (max-width: 860px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; display: flex; overflow-x: auto; padding: 10px 0; }
  .admin-sidebar-brand { display: none; }
  .admin-sidebar .sidebar-section-label { display: none; }
  .admin-sidebar a { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .admin-sidebar a.active { border-left: none; border-bottom-color: var(--accent); }
}

/* ---------- Oyuncu Araçları hub sayfası ---------- */

.gamer-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gamer-tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gamer-tool-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.gamer-tool-card-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.gamer-tool-card-icon svg { width: 100%; height: 100%; }

.gamer-tool-card-title {
  font-weight: 700;
  font-size: 15px;
}

.gamer-tool-card-desc {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ---------- Genel test sayfası bileşenleri (tüm oyuncu araçları ortak) ---------- */

.tool-page-wrap {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.tool-big-readout {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 20px 0 4px;
}

.tool-big-readout-unit {
  font-size: 16px;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.tool-status-label {
  color: var(--text-muted);
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 18px;
}

.tool-action-btn {
  background: var(--accent);
  color: #0e1512;
  border: none;
  border-radius: 10px;
  padding: 14px 36px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-transform: uppercase;
  margin: 6px;
}

.tool-action-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.tool-action-btn.secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.tool-test-area {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 40px 20px;
  margin: 20px 0;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  user-select: none;
}

.tool-test-area.active {
  border-color: var(--accent);
  border-style: solid;
}

.tool-click-target {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--accent);
  color: #0e1512;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  border: none;
  transition: transform 0.06s ease;
}

.tool-click-target:active { transform: scale(0.94); }

.tool-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.tool-result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 8px;
}

.tool-result-card .label {
  color: var(--text-muted);
  font-size: 10.5px;
  font-family: var(--font-display);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tool-result-card .value {
  font-size: 20px;
  font-weight: 800;
}

.tool-note {
  color: var(--text-muted);
  font-size: 12px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 20px;
  text-align: left;
  line-height: 1.6;
}

.tool-key-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  margin: 3px;
  transition: all 0.1s ease;
}

.tool-key-display.pressed {
  background: var(--accent);
  color: #0e1512;
  border-color: var(--accent);
}

.tool-keyboard-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
