:root {
  --bg-body: #090d16;
  --bg-card: #111827;
  --bg-card-alt: #0f1624;
  --bg-input: #0b111e;
  --bg-hover: #172033;
  --border-color: #1e293b;
  --border-subtle: #162032;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-green: #22c55e;
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.45;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* Navbar */
.navbar {
  background-color: #0b101b;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  font-size: 1.15rem;
}

.brand-rvl {
  color: var(--accent-green);
}

.brand-tracker {
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--accent-green);
  background: rgba(34, 197, 94, 0.1);
}

.db-badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Main Container */
.main-container {
  max-width: 1240px;
  margin: 22px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Hero Banner */
.hero-card {
  background: linear-gradient(135deg, #111b2e 0%, #0d1424 100%);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px 24px;
}

.hero-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Filter Panel */
.filter-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-top-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 32px 8px 35px;
  border-radius: 7px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s;
}

.search-box input:focus {
  border-color: var(--accent-blue);
}

.clear-input-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px 5px;
}

.clear-input-btn:hover {
  color: var(--text-main);
}

.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 11px;
  border-radius: 7px;
  font-size: 0.84rem;
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--accent-blue);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.btn-outline:hover,
.btn-outline.active {
  color: #fff;
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.12);
}

/* Detailed Filter */
.adv-filter-panel {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  align-items: end;
}

.adv-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adv-item label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.adv-item input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 0.83rem;
  width: 100%;
}

.btn-reset {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-reset:hover {
  background: rgba(239, 68, 68, 0.22);
}

/* Pills Row */
.filter-pills-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.filter-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}

.pill-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(12, 19, 34, 0.72);
  border: 1px solid rgba(51, 65, 85, 0.45);
  border-radius: 8px;
  padding: 8px 12px;
}

.pill-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
  min-width: 48px;
}

.pill-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.pill {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #1e293b;
  color: #94a3b8;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.pill:hover {
  color: #fff;
  border-color: #334155;
}

/* Role pill active colors */
.pill-fw.active {
  background: #dc2626;
  border-color: #ef4444;
  color: #fff;
}

.pill-mf.active {
  background: #16a34a;
  border-color: #22c55e;
  color: #fff;
}

.pill-df.active {
  background: #2563eb;
  border-color: #3b82f6;
  color: #fff;
}

.pill-gk.active {
  background: #d97706;
  border-color: #f59e0b;
  color: #fff;
}

/* Card Grade pill active colors */
.pill-gold.active {
  background: linear-gradient(135deg, #f59e0b, #eab308);
  border-color: #fde047;
  color: #090d16;
}

.pill-master.active {
  background: linear-gradient(135deg, #b9c6d8 0%, #1E293B 100%);
  border-color: #b9c6d8;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.pill-elite.active {
  background: #7e22ce;
  border-color: #a855f7;
  color: #fff;
}

.pill-rare.active {
  background: #dc2626;
  border-color: #ef4444;
  color: #fff;
}

.pill-special.active {
  background: #ea580c;
  border-color: #f97316;
  color: #fff;
}

.pill-normal.active {
  background: #475569;
  border-color: #94a3b8;
  color: #fff;
}

.pill-region.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #fff;
}

/* Filter Bottom Row */
.filter-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.spirit-level-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.bottom-right-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-spirit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #131c2e;
  border: 1px solid #263552;
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-spirit:hover {
  border-color: var(--accent-amber);
  color: #fff;
}

.spirit-badge {
  background: var(--accent-amber);
  color: #090d16;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 99px;
}

.level-control {
  display: flex;
  align-items: center;
  gap: 9px;
}

.level-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

#levelSlider {
  width: 120px;
  accent-color: var(--accent-green);
  cursor: pointer;
}

.level-badge {
  background: #1e293b;
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  min-width: 28px;
  text-align: center;
}

.results-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Table Card */
.table-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.players-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

.players-table thead tr {
  background-color: #0c1220;
  border-bottom: 1px solid var(--border-color);
}

.players-table th {
  padding: 11px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  user-select: none;
  white-space: nowrap;
}

.players-table th[data-sort] {
  cursor: pointer;
  text-align: center;
}

.players-table th[data-sort]:hover {
  color: var(--text-main);
}

.col-pos {
  width: 64px;
  text-align: center !important;
}

.col-name {
  min-width: 170px;
}

.col-team {
  min-width: 165px;
}

.col-year {
  width: 64px;
  text-align: center !important;
}

.col-grade {
  width: 82px;
  text-align: center !important;
}

.col-stat {
  width: 56px;
  text-align: center !important;
}

.col-pwr {
  width: 66px;
  text-align: center !important;
  color: var(--accent-amber) !important;
}

.col-cmp {
  width: 50px;
  text-align: center !important;
}

.player-row {
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.player-row:hover {
  background-color: var(--bg-hover);
}

.player-row.expanded {
  background-color: #162136;
}

.player-row td {
  padding: 9px 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.cell-center {
  text-align: center;
}

/* Position Badges in Table */
.pos-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  min-width: 40px;
  text-align: center;
}

.pos-fw {
  background: rgba(220, 38, 38, 0.10);
  border: 1.5px solid rgba(239, 68, 68, 0.78);
  color: #f87171;
}

.pos-mf {
  background: rgba(22, 163, 74, 0.10);
  border: 1.5px solid rgba(34, 197, 94, 0.78);
  color: #4ade80;
}

.pos-df {
  background: rgba(37, 99, 235, 0.10);
  border: 1.5px solid rgba(59, 130, 246, 0.78);
  color: #60a5fa;
}

.pos-gk {
  background: rgba(217, 119, 6, 0.10);
  border: 1.5px solid rgba(245, 158, 11, 0.78);
  color: #fbbf24;
}

/* Player Name Cell */
.player-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-name-text {
  font-weight: 700;
  color: #f8fafc;
}

.player-num {
  font-size: 0.73rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Team Cell */
.team-main {
  font-weight: 600;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.team-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-left: 4px;
}

/* Year Cell */
.year-text {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
}

/* Grade Badges in Table */
.grade-badge {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  min-width: 56px;
  text-align: center;
}

.grade-Gold {
  background: rgba(250, 204, 21, 0.22);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.55);
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.2);
}

.grade-Master {
  background: linear-gradient(135deg, #b9c6d8 0%, #1E293B 100%);
  color: #ffffff;
  border: 1px solid #94a3b8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.grade-Elite {
  background: rgba(147, 51, 234, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.grade-Rare {
  background: rgba(220, 38, 38, 0.22);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.grade-Special {
  background: rgba(234, 88, 12, 0.22);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.45);
}

.grade-Normal {
  background: rgba(100, 116, 139, 0.25);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Stat Value Coloring */
.stat-cell {
  text-align: center;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.stat-s {
  color: #b45cff;
  font-weight: 400;
}

/* 90+ mor */
.stat-a {
  color: #ff1f3d;
  font-weight: 400;
}

/* 80-89 parlak canlÄ± kÄ±rmÄ±zÄ± */
.stat-b {
  color: #ea580c;
}

/* 70-79 koyu turuncu */
.stat-c {
  color: #fdba74;
}

/* 60-69 aÃ§Ä±k turuncu */
.stat-d {
  color: #9ca3af;
}

/* <60 gri */

/* PWR Pill */
.pwr-pill {
  display: inline-block;
  font-weight: 400;
  font-size: 0.82rem;
  padding: 2px 8px;
  border-radius: 5px;
  min-width: 36px;
  text-align: center;
}

.pwr-high {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.pwr-mid {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.pwr-low {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Compare Button in Row */
.btn-cmp-row {
  background: #0c1322;
  border: 1px solid #263552;
  color: #94a3b8;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s;
}

.btn-cmp-row:hover {
  border-color: var(--accent-green);
  color: #fff;
}

.btn-cmp-row.selected {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #090d16;
}

/* Expanded Detail Row (In-Game Goley/Rebound Popup Style) */
.detail-row td {
  background-color: #0b111e;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
}

.detail-popup-wrap {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.goley-card-popup {
  width: 320px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #2b2d30;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-family: 'Inter', Tahoma, sans-serif;
  user-select: none;
}

/* Header Gradients by Card Grade */
.goley-card-header {
  position: relative;
  color: #ffffff;
}

.goley-header-Rare {
  background: linear-gradient(180deg, #d94844 0%, #b11f1b 66%, #820c09 100%);
}

.goley-header-Master {
  background: linear-gradient(180deg, #b9c6d8 0%, #4b5c73 64%, #1E293B 100%);
}

.goley-header-Elite {
  background: linear-gradient(180deg, #9333ea 0%, #6b21a8 66%, #4a1278 100%);
}

.goley-header-Special {
  background: linear-gradient(180deg, #f97316 0%, #c2410c 66%, #8c2706 100%);
}

.goley-header-Normal {
  background: linear-gradient(180deg, #64748b 0%, #3b4758 66%, #242c38 100%);
}

.goley-header-Gold {
  background: linear-gradient(180deg, #facc15 0%, #ca8a04 66%, #784505 100%);
}

.goley-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 14px 8px 14px;
  gap: 10px;
}

.goley-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.goley-yr-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
}

.goley-club-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.goley-icons-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Jersey Shirt with Squad Number */
.goley-jersey-icon {
  position: relative;
  width: 34px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goley-jersey-icon svg {
  width: 34px;
  height: 30px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.goley-jersey-num {
  position: absolute;
  top: 7px;
  font-size: 0.74rem;
  font-weight: 900;
  color: #18181b;
  letter-spacing: -0.03em;
}

/* Left / Right Foot Icons */
.goley-feet-icon {
  display: flex;
  align-items: center;
  gap: 2px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.goley-foot-svg {
  width: 12px;
  height: 26px;
}

.goley-foot-active {
  fill: #ffffff;
}

.goley-foot-dim {
  fill: rgba(255, 255, 255, 0.32);
}

.goley-header-sub {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #d1d5db;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

/* 2-Column 18/21 Sub-Stats Table inside Card */
.goley-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #2b2d30;
  position: relative;
  padding: 6px 0;
  border-top: 1px solid #18191c;
  border-bottom: 1px solid #18191c;
}

.goley-stats-grid::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 2px;
  background: #1d1f22;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
}

.goley-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.5px 16px;
  font-size: 0.84rem;
}

.goley-stat-item:nth-child(4n + 1),
.goley-stat-item:nth-child(4n + 2) {
  background: rgba(255, 255, 255, 0.025);
}

.goley-stat-label {
  color: #f1f5f9;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.goley-stat-num {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

/* Sub-stat number colors (in-game popup) */
.gstat-gray {
  color: #9ca3af;
}

/* < 60 */
.gstat-lorange {
  color: #fde68a;
}

/* 60 - 69 aÃ§Ä±k turuncu / sarÄ±-turuncu */
.gstat-dorange {
  color: #fb923c;
}

/* 70 - 79 daha aÃ§Ä±k turuncu */
.gstat-red {
  color: #c81e1e;
}

/* 80 - 89 koyu kÄ±rmÄ±zÄ± */
.gstat-purple {
  color: #b45cff;
}

/* 90+ mor */

.goley-stat-plus {
  font-size: 0.66rem;
  font-weight: 700;
  color: #4ade80;
  margin-right: 5px;
  vertical-align: 1px;
}

.goley-stat-diff-pos {
  font-size: 0.68rem;
  font-weight: 800;
  color: #4ade80;
  margin-right: 5px;
  vertical-align: 1px;
}

.goley-stat-diff-neg {
  font-size: 0.68rem;
  font-weight: 800;
  color: #ff4d4f;
  margin-right: 5px;
  vertical-align: 1px;
}

/* ===== SÃ¼per (Master) holografik gÃ¶kkuÅŸaÄŸÄ± baÅŸlÄ±k ===== */
.goley-header-Master {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg,
      #ff9ad5 0%,
      #ffe27a 14%,
      #b8f58a 28%,
      #7ef0d8 42%,
      #8fc8ff 56%,
      #c9a4ff 70%,
      #ff9ad5 84%,
      #ffe27a 100%);
  background-size: 300% 300%;
  animation: holoShift 6s ease-in-out infinite;
}

.goley-header-Master>* {
  position: relative;
  z-index: 2;
}

.goley-header-Master .holo-hex,
.goley-header-Master .holo-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* AltÄ±gen (petek) doku */
.goley-header-Master .holo-hex {
  z-index: 1;
  opacity: 0.45;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='41.57' viewBox='0 0 24 41.57'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.6'%3E%3Cpath d='M12 0 L24 6.93 L24 20.78 L12 27.71 L0 20.78 L0 6.93 Z'/%3E%3Cpath d='M0 34.64 L12 27.71 L24 34.64 L24 48.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 18px 31px;
  animation: holoHexPulse 3.5s ease-in-out infinite;
}

/* SÃ¼rekli akan parlama dalgasÄ± */
.goley-header-Master .holo-shine {
  z-index: 1;
  background: linear-gradient(100deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 255, 255, 0.65) 48%,
      rgba(255, 255, 255, 0.15) 55%,
      transparent 65%,
      transparent 100%);
  background-size: 250% 100%;
  animation: holoSweep 2.8s linear infinite;
  mix-blend-mode: overlay;
}

.goley-header-Master .goley-yr-name,
.goley-header-Master .goley-club-name {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 6px rgba(0, 0, 0, 0.45);
}

.goley-header-Master .goley-header-sub {
  background: rgba(15, 23, 42, 0.42);
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

@keyframes holoShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes holoSweep {
  0% {
    background-position: 150% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

@keyframes holoHexPulse {

  0%,
  100% {
    opacity: 0.30;
  }

  50% {
    opacity: 0.60;
  }
}

/* ===== Amblem modal ===== */
.spirit-item select.filter-select {
  width: 100%;
}

.emblem-preview {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.emb-eff-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.emb-eff-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #0b111e;
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.emb-eff-row.active {
  color: #f8fafc;
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

.emb-eff-star {
  min-width: 70px;
  color: #475569;
  letter-spacing: 1px;
}

.emb-eff-row.active .emb-eff-star {
  color: #fbbf24;
}

.emb-total-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.emb-total-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 6px;
  background: #0b111e;
  border: 1px solid var(--border-color);
}

.emb-total-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-dim);
}

.emb-total-full {
  font-size: 0.95rem;
  font-weight: 800;
  color: #4ade80;
}

.emb-total-half {
  font-size: 0.68rem;
  font-weight: 600;
  color: #fbbf24;
}

.emb-rules {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: #0b111e;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 10px 12px;
}

.emb-rules strong {
  color: #e2e8f0;
}

.emb-mode-full {
  color: #4ade80 !important;
}

.emb-mode-half {
  color: #fbbf24 !important;
}

.emb-mode-none {
  color: #94a3b8 !important;
}

.modal-box {
  max-width: 600px;
}

/* Card Footer: LvL Bar & 4 Skill Slots */
.goley-card-footer {
  background: linear-gradient(180deg, #4b4e54 0%, #3e4147 100%);
  border-top: 1px solid #63676e;
  padding: 10px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goley-lvl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 2px;
}

.goley-lvl-text {
  font-style: italic;
  font-weight: 800;
  color: #e2e8f0;
  font-size: 0.88rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  min-width: 44px;
}

.goley-lvl-text strong {
  font-size: 1.25rem;
  color: #ffffff;
  margin-left: 2px;
}

.goley-lvl-bar-track {
  flex: 1;
  height: 11px;
  background: #33363b;
  border: 1px solid #222428;
  border-radius: 99px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.goley-lvl-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #eab308);
  border-radius: 99px;
}

.goley-skill-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.goley-skill-box {
  position: relative;
  height: 30px;
  background: #3a3d42;
  border: 1px solid #232529;
  border-radius: 5px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e5e7eb;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.goley-skill-box.has-skill {
  justify-content: flex-start;
  padding-left: 26px;
}

.goley-s-shield {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 21px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  border: 1.5px solid #0284c7;
  border-radius: 3px 3px 9px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-weight: 900;
  font-size: 0.72rem;
  color: #0284c7;
  text-shadow: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Side Metadata Box next to Goley Card */
.detail-side-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0f1624;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.81rem;
  color: var(--text-muted);
  min-width: 240px;
}

.detail-side-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}

.detail-side-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-side-row strong {
  color: #f8fafc;
}

.substat-bar-bg {
  height: 7px;
  background: #162032;
  border-radius: 99px;
  overflow: hidden;
}

.substat-bar-fill {
  height: 100%;
  border-radius: 99px;
}

/* Pagination */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: #0c1220;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 10px;
}

.page-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.page-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-btn {
  background: #131c2e;
  border: 1px solid #1e293b;
  color: #cbd5e1;
  padding: 5px 11px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--accent-blue);
  color: #fff;
}

.page-btn.active {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #090d16;
  font-weight: 800;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Floating Comparison Bar */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  border-top: 1px solid #334155;
  padding: 10px 20px;
  z-index: 200;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}

.compare-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-slots {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cmp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.79rem;
  font-weight: 600;
}

.cmp-chip button {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.8rem;
}

.compare-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-compare-go {
  background: var(--accent-green);
  border: none;
  color: #090d16;
  padding: 7px 15px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-compare-clear {
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.modal-box {
  background: #111827;
  border: 1px solid #263552;
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-box.modal-lg {
  max-width: 920px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #0c1220;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 0.98rem;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.05rem;
  cursor: pointer;
}

.modal-body {
  padding: 18px;
  overflow-y: auto;
}

.modal-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.spirit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spirit-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spirit-item label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.spirit-item input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 7px 10px;
  border-radius: 6px;
}

.modal-footer {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Compare Table inside Modal */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.cmp-table th,
.cmp-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.cmp-table th:first-child,
.cmp-table td:first-child {
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
}

.cmp-best {
  color: #facc15;
  font-weight: 800;
}

.loading-cell {
  text-align: center;
  padding: 40px !important;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .filter-top-row {
    grid-template-columns: 1fr 1fr;
  }

  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .substats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== YENÄ° NAV BAR & SAYFALAR ==================== */
.nav-link {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 15px 12px;
  cursor: pointer;
  font-family: inherit;
}

.nav-link.active {
  background: none;
  color: #ffffff;
  border-bottom-color: #3b82f6;
}

.nav-link:hover:not(.active) {
  background: none;
  color: #e2e8f0;
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.breadcrumb span {
  color: var(--text-muted);
  font-weight: 600;
}

.page-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==================== AMBLEMLER SAYFASI ==================== */
.emb-filter-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot-red {
  background: #ef4444;
}

.dot-blue {
  background: #3b82f6;
}

.dot-amber {
  background: #f59e0b;
}

.dot-green {
  background: #22c55e;
}

.emb-region-section {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.emb-region-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #f8fafc;
}

.emb-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.emb-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.emb-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emb-crest {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #0b111e;
  border: 1px solid #263552;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #60a5fa;
  flex-shrink: 0;
}

.emb-card-title {
  font-weight: 700;
  font-size: 0.96rem;
  color: #f8fafc;
}

.emb-card-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.emb-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0b111e;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}

.emb-mode-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.emb-mode-btn.active {
  background: #4f6ef7;
  color: #ffffff;
}

.emb-year-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.emb-year-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: #f8fafc;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
}

.emb-staff-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.emb-staff-pill {
  background: #172033;
  border: 1px solid #263552;
  color: #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.71rem;
  font-weight: 700;
}

.emb-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emb-bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
}

.emb-bar-label {
  color: var(--text-muted);
  font-weight: 700;
}

.emb-bar-track {
  height: 6px;
  background: #0b111e;
  border-radius: 99px;
  overflow: hidden;
}

.emb-bar-fill {
  height: 100%;
  background: #4f6ef7;
  border-radius: 99px;
}

.emb-bar-val {
  text-align: right;
  font-weight: 700;
  color: #e2e8f0;
}

.emb-card-stars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.emb-star-btn {
  background: #0b111e;
  border: 1px solid var(--border-color);
  color: #64748b;
  padding: 5px 2px;
  border-radius: 5px;
  font-size: 0.65rem;
  cursor: pointer;
}

.emb-star-btn.s2 {
  color: #f59e0b;
}

.emb-star-btn.s3 {
  color: #ef4444;
}

.emb-star-btn.s4 {
  color: #a855f7;
}

.emb-star-btn.s5 {
  color: #ffffff;
}

.emb-star-btn.active {
  background: #e2e8f0;
  color: #090d16;
  border-color: #ffffff;
  font-weight: 800;
}

/* ==================== EKÄ°PMANLAR SAYFASI ==================== */
.eq-count-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.eq-subtabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 9px;
  padding: 4px;
  gap: 4px;
}

.eq-subtab {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.eq-subtab.active {
  background: #4f6ef7;
  color: #ffffff;
}

.eq-subfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.eq-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.eq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eq-icon-box {
  height: 92px;
  background: #0b111e;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eq-card-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #f8fafc;
}

.eq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.eq-tag {
  background: #0b111e;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.69rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

.eq-buff-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #60a5fa;
}

.eq-skill-pill {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.eq-skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==================== KADRO KURUCU ==================== */
.squad-layout {
  display: grid;
  grid-template-columns: 215px minmax(360px, 1fr) 420px;
  gap: 14px;
  align-items: start;
}

.squad-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.squad-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.squad-box-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f8fafc;
}

.sq-emblem-pick {
  background: #0b111e;
  border: 1px dashed #334155;
  color: #cbd5e1;
  padding: 18px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.sq-emblem-pick:hover {
  border-color: #4f6ef7;
  color: #fff;
}

.sq-emblem-hint {
  font-size: 0.73rem;
  color: var(--text-dim);
}

.sq-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sq-field label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-dim);
}

.sq-slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.sq-slider-head strong {
  color: #e2e8f0;
}

.sq-stat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dim);
}

.sq-big-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
}

.sq-amber {
  color: #fbbf24;
}

.sq-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* YeÅŸil Futbol SahasÄ± */
.squad-pitch-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px;
}

.squad-pitch {
  position: relative;
  width: 100%;
  height: 590px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: repeating-linear-gradient(90deg,
      #194d2b 0px,
      #194d2b 48px,
      #1d5932 48px,
      #1d5932 96px);
}

.pitch-markings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pitch-half-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.pitch-center-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-box-top,
.pitch-box-bottom {
  position: absolute;
  left: 50%;
  width: 220px;
  height: 82px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
}

.pitch-box-top {
  top: 0;
  border-top: none;
}

.pitch-box-bottom {
  bottom: 0;
  border-bottom: none;
}

.sq-slots-layer {
  position: absolute;
  inset: 0;
}

.sq-slot {
  position: absolute;
  width: 78px;
  height: 92px;
  transform: translate(-50%, -50%);
  background: rgba(9, 13, 22, 0.65);
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px;
  text-align: center;
  transition: all 0.15s;
}

.sq-slot:hover,
.sq-slot.selected {
  border-color: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.45);
}

.sq-slot.filled {
  border-style: solid;
  background: rgba(15, 23, 42, 0.92);
}

.sq-slot-role {
  font-size: 0.66rem;
  font-weight: 800;
  color: #cbd5e1;
}

.sq-slot-name {
  font-size: 0.69rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sq-slot-pwr {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fbbf24;
}

/* SaÄŸ Oyuncu Havuzu */
.squad-pool {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sq-search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.sq-pool-toggles {
  display: flex;
  gap: 6px;
}

.sq-pool-toggles .pill.active {
  background: #4f6ef7;
  border-color: #60a5fa;
  color: #fff;
}

.sq-pool-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sq-pool-selects label {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.sq-pool-selects select {
  width: 100%;
}

.sq-pool-level {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sq-pool-level input {
  flex: 1;
  accent-color: #4f6ef7;
}

.sq-pool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 490px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}

.sq-pool-card {
  background: #0b111e;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 7px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  text-align: center;
  min-width: 0;
}

.sq-pool-name,
.sq-pool-meta {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sq-pool-card:hover {
  border-color: #4ade80;
}

.sq-pool-card.g-Gold {
  border-top: 3px solid #facc15;
}

.sq-pool-card.g-Master {
  border-top: 3px solid #b9c6d8;
}

.sq-pool-card.g-Elite {
  border-top: 3px solid #a855f7;
}

.sq-pool-card.g-Rare {
  border-top: 3px solid #ef4444;
}

.sq-pool-card.g-Special {
  border-top: 3px solid #f97316;
}

.sq-pool-name {
  font-size: 0.66rem;
  font-weight: 800;
  color: #f8fafc;
  max-width: 82px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sq-pool-meta {
  font-size: 0.62rem;
  color: var(--text-dim);
}

.sq-pool-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.64rem;
  font-weight: 800;
  color: #fbbf24;
  padding: 0 2px;
}

/* ==================== KARÅILAÅTIRMA SAYFASI & KARTLAR ==================== */
.modal-box.modal-xl {
  max-width: 1120px;
}

.compare-page-head {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.compare-page-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.compare-picker-row {
  position: relative;
}

.cmp-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  margin-top: 4px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 90;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
}

.cmp-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.cmp-search-item:hover {
  background: var(--bg-hover);
}

.compare-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  align-items: flex-start;
}

.compare-card-slot {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cmp-remove-btn {
  align-self: flex-end;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  cursor: pointer;
}

.cmp-empty-msg {
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  width: 100%;
}

@media (max-width: 1050px) {
  .emb-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .squad-layout {
    grid-template-columns: 1fr;
  }
}

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


/* =========================================================================

/* =========================================================================
   COMPARISON SEQUENCE (Card 1 | Detaylar | Card 2 | ...) - Dark Theme
   ========================================================================= */
.compare-sequence {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 14px;
}

.compare-card-slot {
  position: relative;
  flex: 0 0 auto;
  border-radius: 10px;
  padding: 4px;
  background: #0f172a;
  border: 2px solid #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.cmp-card-frame-0 { border-color: #ef4444; }
.cmp-card-frame-1 { border-color: #3b82f6; }
.cmp-card-frame-2 { border-color: #22c55e; }
.cmp-card-frame-3 { border-color: #f59e0b; }

.cmp-details-panel {
  flex: 0 0 218px;
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 10px 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cmp-details-title {
  text-align: center;
  font-size: 0.96rem;
  font-weight: 800;
  color: #f8fafc;
  padding-bottom: 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid #1e293b;
}

.cmp-det-row {
  display: grid;
  grid-template-columns: 34px 26px 1fr 26px 34px;
  align-items: center;
  gap: 3px;
  padding: 3.5px 2px;
  font-size: 0.78rem;
  border-bottom: 1px solid #1e293b;
  font-variant-numeric: tabular-nums;
}

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

.cmp-det-diff-l {
  text-align: left;
  font-weight: 800;
  color: #f87171;
  font-size: 0.72rem;
}

.cmp-det-diff-r {
  text-align: right;
  font-weight: 800;
  color: #f87171;
  font-size: 0.72rem;
}

.cmp-det-val {
  text-align: center;
  color: #94a3b8;
  font-weight: 600;
}

.cmp-det-val.win {
  color: #f8fafc;
  font-weight: 800;
}

.cmp-det-label {
  text-align: center;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.76rem;
  white-space: nowrap;
}


/* =========================================================================
   ASCII ANIMALS ANIMATED BACKGROUND CANVAS
   ========================================================================= */
#asciiBgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.main-container {
  position: relative;
  z-index: 1;
}

.hero-card,
.filter-panel,
.table-card,
.emb-card,
.eq-card,
.eq-skill-card,
.squad-box,
.squad-pitch-wrap,
.squad-pool,
.eq-subtabs,
.cmp-details-panel,
.cmp-empty-msg {
  background-color: rgba(17, 24, 39, 0.86) !important;
  backdrop-filter: blur(6px);
}



/* =========================================================================
   YÜZEN SÜRÜKLENEBİLİR 3D FLIP KART PENCERESİ (BACKDROP YOK, SCROLL YOK)
   ========================================================================= */
.floating-card-window {
  position: fixed;
  top: 90px;
  left: calc(50% - 144px);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  user-select: none;
  filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.78));
}

.floating-card-window.hidden {
  display: none !important;
}

.floating-card-actions {
  width: 288px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-card-flip {
  background: linear-gradient(180deg, #4f9cf9 0%, #2563eb 100%);
  border: 1px solid #93c5fd;
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.btn-card-flip:hover {
  filter: brightness(1.08);
}

.btn-card-close {
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 100%);
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.btn-card-close:hover {
  filter: brightness(1.06);
}

.flip-card-scene {
  width: 288px;
  height: 468px;
  perspective: 1200px;
  cursor: grab;
}

.flip-card-scene:active {
  cursor: grabbing;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.flip-card-inner.is-flipped {
  transform: rotateY(180deg);
}

.flip-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: #23252a;
  border: 2px solid #94a3b8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flip-card-back .goley-card-popup {
  width: 100%;
  height: 100%;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.flip-card-back .goley-card-header {
  padding: 8px 10px 6px;
}

.flip-card-back .goley-stats-grid {
  flex: 1;
  padding: 2px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: space-evenly;
}

.flip-card-back .goley-stat-item {
  padding: 1.5px 12px;
  font-size: 0.78rem;
}

.flip-card-back .goley-card-footer {
  padding: 6px 10px 8px;
}

.flip-card-back .goley-skill-slots {
  gap: 5px;
  margin-top: 5px;
}

.flip-card-back .goley-skill-box {
  padding: 4px 6px;
  font-size: 0.72rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.flip-card-back .goley-skill-box.has-skill {
  padding-left: 26px;
  justify-content: flex-start;
}

/* Ön Yüz (Oyun İçi Kart Tasarımı — 2. Resimdeki Gibi) */
.rebound-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #090b10;
  border: 3px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  font-family: "Inter", sans-serif;
}

.rebound-card.rc-grade-Gold { border-color: #fde047; }
.rebound-card.rc-grade-Master { border-color: #e2e8f0; }
.rebound-card.rc-grade-Elite { border-color: #d8b4fe; }
.rebound-card.rc-grade-Rare { border-color: #fca5a5; }
.rebound-card.rc-grade-Special { border-color: #fdba74; }
.rebound-card.rc-grade-Normal { border-color: #cbd5e1; }

.rc-top-grade {
  position: relative;
  z-index: 4;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 0;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.rc-hero {
  position: relative;
  height: 222px;
  overflow: hidden;
  background: radial-gradient(circle at 58% 44%, #fef08a 0%, #4ade80 35%, #38bdf8 72%, #1e293b 100%);
}

.rc-grade-Gold .rc-hero {
  background: radial-gradient(circle at 55% 42%, #fef08a 0%, #f59e0b 48%, #78350f 100%);
}
.rc-grade-Master .rc-hero {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.14) 0 8px, transparent 8px 16px),
    radial-gradient(circle at 58% 45%, #fef08a 0%, #4ade80 34%, #38bdf8 68%, #334155 100%);
}
.rc-grade-Elite .rc-hero {
  background: radial-gradient(circle at 56% 45%, #f5d0fe 0%, #9333ea 45%, #4c1d95 78%, #1e1b4b 100%);
}
.rc-grade-Rare .rc-hero {
  background: radial-gradient(circle at 55% 42%, #fecaca 0%, #dc2626 50%, #450a0a 100%);
}
.rc-grade-Special .rc-hero {
  background: radial-gradient(circle at 55% 42%, #fed7aa 0%, #ea580c 50%, #431407 100%);
}
.rc-grade-Normal .rc-hero {
  background: radial-gradient(circle at 55% 42%, #e2e8f0 0%, #64748b 55%, #1e293b 100%);
}

.rc-holo-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 58% 45%, rgba(255, 255, 255, 0.25) 0%, transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
  background-size: 100% 100%, 20px 20px;
  pointer-events: none;
}

.rc-pos-block {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rc-pos-code {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 0.95;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.rc-pos-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  margin: 2px 0 8px;
}

.rc-cost-hex {
  width: 34px;
  height: 31px;
  background: linear-gradient(180deg, #94a3b8, #475569);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.rc-grade-Gold .rc-cost-hex { background: linear-gradient(180deg, #facc15, #b45309); }
.rc-grade-Elite .rc-cost-hex { background: linear-gradient(180deg, #a855f7, #581c87); }
.rc-grade-Rare .rc-cost-hex { background: linear-gradient(180deg, #ef4444, #991b1b); }
.rc-grade-Special .rc-cost-hex { background: linear-gradient(180deg, #f97316, #9a3412); }

.rc-weather-box {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.rc-portrait-wrap {
  position: absolute;
  inset: 6px 14px 0 42px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rc-portrait-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
}

.rc-portrait-fallback {
  width: 146px;
  height: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.65));
}

.rc-name-strip {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 100%);
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid #090b10;
  padding: 6px 12px 6px 66px;
  text-align: center;
}

.rc-grade-Elite .rc-name-strip {
  background: linear-gradient(180deg, #4c1d95 0%, #2e1065 100%);
}
.rc-grade-Elite .rc-player-title { color: #ffffff; }
.rc-grade-Elite .rc-player-club { color: #ddd6fe; }

.rc-grade-Rare .rc-name-strip {
  background: linear-gradient(180deg, #7f1d1d 0%, #450a0a 100%);
}
.rc-grade-Rare .rc-player-title { color: #ffffff; }
.rc-grade-Rare .rc-player-club { color: #fecaca; }

.rc-grade-Gold .rc-name-strip {
  background: linear-gradient(180deg, #fef08a 0%, #eab308 100%);
}

.rc-club-crest {
  position: absolute;
  left: 8px;
  top: -22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2.5px solid #facc15;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fde047;
  font-size: 0.62rem;
  font-weight: 900;
}

.rc-player-title {
  font-size: 0.96rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-player-club {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-stats-panel {
  flex: 1;
  background: #07090d;
  padding: 9px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rc-stat-row {
  display: grid;
  grid-template-columns: 36px 1fr 26px;
  align-items: center;
  gap: 8px;
}

.rc-stat-lbl {
  font-size: 0.74rem;
  font-weight: 800;
  color: #f1f5f9;
}

.rc-bar-track {
  height: 7px;
  background: #1a1f29;
  border: 1px solid #374151;
  border-radius: 99px;
  overflow: hidden;
}

.rc-bar-fill {
  height: 100%;
  border-radius: 99px;
}

.rc-stat-val {
  text-align: right;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Sağ Havuz Mini Kart Görünümü */
.sq-pool-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 2px 0;
}

.sq-pool-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Tablo Takım Amblem İkonu */
.tbl-team-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tbl-team-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Detaylı Filtre: Alt Değerler */
.adv-sub-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(51, 65, 85, 0.45);
}

.adv-sub-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.adv-sub-title small {
  font-weight: 500;
  color: #64748b;
}

.adv-sub-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 960px) {
  .adv-sub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .adv-sub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Özel İkonlu Takım Seçici (Amblem Modal) */
.custom-team-select {
  position: relative;
  width: 100%;
}

.custom-team-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: left;
  min-height: 36px;
}

.custom-team-trigger:hover {
  border-color: var(--accent-blue);
}

.custom-team-trigger-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-team-arrow {
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.custom-team-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
  z-index: 60;
  padding: 4px;
}

.custom-team-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
}

.custom-team-option:hover,
.custom-team-option.active {
  background: #2563eb;
  color: #ffffff;
}

.custom-team-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.emb-eff-row[data-pick-star] {
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s, background 0.12s;
}

.emb-eff-row[data-pick-star]:hover {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

/* === Favoriler, Hızlı Kadro, Ekipman Simülatörü, Kadro Özeti & Radar === */
.tbl-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-fav-row,
.btn-sq-row {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  color: #94a3b8;
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-fav-row:hover {
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.45);
}

.btn-fav-row.active {
  color: #facc15;
  background: rgba(250, 204, 21, 0.14);
  border-color: rgba(250, 204, 21, 0.55);
}

.btn-sq-row:hover {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.45);
}

.btn-sq-row.sent {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.16);
  border-color: #22c55e;
}

.fav-filter-btn.active {
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.6);
  background: rgba(250, 204, 21, 0.12);
}

.detail-equip-sim {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-equip-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #93c5fd;
}

.detail-equip-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 8px;
}

.detail-equip-row label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.detail-equip-row .filter-select {
  padding: 5px 8px;
  font-size: 0.76rem;
}

.sq-cost-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sq-cost-sep {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sq-max-cost-input {
  width: 52px;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.sq-big-num.cost-over {
  color: #f87171 !important;
}

.sq-avg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 8px 0 6px;
}

.sq-avg-stats span {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 6px;
  padding: 3px 5px;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.sq-avg-stats b {
  color: #e2e8f0;
}

.sq-weather-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.74rem;
  color: #cbd5e1;
}

.sq-weather-summary span {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  padding: 2px 7px;
}

.sq-slot-eq-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #1e293b;
  border: 1px solid #38bdf8;
  color: #7dd3fc;
  border-radius: 999px;
  padding: 1px 5px;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.squad-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.btn-slot-remove {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-slot-remove:hover {
  background: rgba(239, 68, 68, 0.28);
}

.sq-equip-selects {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sq-equip-set-badge {
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 0.72rem;
  font-weight: 600;
}

.sq-save-row,
.sq-load-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.sq-save-row .sq-search-input,
.sq-load-row .filter-select {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.compare-radar-wrap {
  margin-bottom: 18px;
}

.radar-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.radar-head h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #f8fafc;
}

.radar-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.radar-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.radar-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}

.compare-radar-svg {
  width: 260px;
  height: 240px;
  flex-shrink: 0;
}

.compare-summary-table {
  margin-top: 20px;
}

.cmp-summary-card {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
}

.cmp-summary-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
}

.cmp-summary-title small {
  color: var(--text-muted);
  font-weight: 500;
}

.cmp-summary-scroll {
  overflow-x: auto;
}

.cmp-sum-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.cmp-sum-tbl th,
.cmp-sum-tbl td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
}

.cmp-sum-tbl th:first-child,
.cmp-sum-lbl {
  text-align: left;
  font-weight: 600;
  color: #cbd5e1;
}

.cmp-sum-main-row td {
  font-weight: 700;
  background: rgba(30, 41, 59, 0.35);
}

.cmp-sum-win {
  color: #4ade80 !important;
  font-weight: 800;
}

.diff-pos {
  color: #4ade80;
  font-weight: 600;
}

.diff-neg {
  color: #f87171;
  font-weight: 600;
}

.cmp-sum-spread {
  color: #fbbf24;
  font-weight: 600;
}

/* === Sol Üst Arka Plan Tema Seçici === */
.bg-theme-select {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  margin-right: 6px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bg-theme-select:hover,
.bg-theme-select:focus {
  border-color: #3b82f6;
  background: rgba(30, 41, 59, 0.95);
}

/* === Ana Sayfa (Landing Page) - Sade & Kompakt === */
.home-hero {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  margin-bottom: 12px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.home-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.home-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #f1f5f9;
}

.home-title span {
  color: #4ade80;
}

.home-subtitle {
  max-width: 580px;
  margin: 0 auto 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #94a3b8;
}

.home-cta-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-cta-primary,
.home-cta-secondary {
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.home-cta-primary {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.home-cta-secondary {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
}

.home-cta-primary:hover {
  background: rgba(34, 197, 94, 0.28);
}

.home-cta-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(148, 163, 184, 0.4);
}

.home-theme-banner {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.home-theme-head h2 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1;
}

.home-theme-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.14s ease;
}

.home-theme-btn:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(30, 41, 59, 0.85);
}

.home-theme-btn.active {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.14);
  color: #e0f2fe;
}

.ht-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

.ht-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.home-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.home-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(148, 163, 184, 0.14);
  text-decoration: none;
  color: #cbd5e1;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.home-nav-card:hover {
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(30, 41, 59, 0.78);
}

.hnc-icon {
  font-size: 1.1rem;
}

.hnc-body h3 {
  margin: 0 0 3px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.hnc-body p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #94a3b8;
}

.hnc-arrow {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7dd3fc;
}
