/* slotdeneme2026.com — mobile-first directory UI */

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

:root {
  --bg: #07090d;
  --bg-elevated: #0c1017;
  --bg-card: #121821;
  --bg-banner: #05070b;
  --bg-soft: #181f2a;
  --border: #243041;
  --border-strong: #3a4a60;
  --text: #f3f6fa;
  --text-muted: #8f9aab;
  --accent: #e4b44a;
  --accent-hover: #f2c86a;
  --accent-ink: #141008;
  --accent-dim: rgba(228, 180, 74, 0.14);
  --link: #7eb6ff;
  --link-hover: #b3d4ff;
  --success: #3dd68c;
  --danger-muted: #8b93a3;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 14px 32px rgba(0, 0, 0, 0.52);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1480px;
  --header-h: 56px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --focus: 0 0 0 3px rgba(228, 180, 74, 0.45);
  --banner-h: 80px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(228, 180, 74, 0.08), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(80, 140, 220, 0.06), transparent 50%);
}

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

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

code {
  font-size: 0.85em;
  background: var(--bg-soft);
  padding: 0.12em 0.4em;
  border-radius: 4px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 1rem;
  z-index: 250;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* Header — z-index 200 so the drawer/toggle stay above .nav-backdrop (150).
   backdrop-filter creates a stacking context; children cannot escape it. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  overflow: visible;
  background: rgba(7, 9, 13, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

body.nav-open .site-header {
  z-index: 200;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1rem;
  min-height: var(--header-h);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  overflow: visible;
  position: relative;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.logo:hover {
  text-decoration: none;
  color: var(--text);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 220;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 150;
  pointer-events: auto;
}

.nav-backdrop.is-open {
  display: block;
}

body.nav-open {
  overflow: hidden;
}

.site-nav {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: #0c1017;
  border-left: 1px solid var(--border);
  transform: translateX(110%);
  transition: transform 0.22s ease;
  z-index: 210;
  padding: 4.75rem 1rem 1.5rem;
  overflow-y: auto;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.site-nav.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.nav-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.site-nav.is-open .nav-close {
  display: inline-flex;
}

.nav-close::before,
.nav-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--text);
}

.nav-close::before {
  transform: rotate(45deg);
}

.nav-close::after {
  transform: rotate(-45deg);
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
}

.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-dim);
  text-decoration: none;
}

@media (min-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-toggle,
  .nav-close,
  .site-nav.is-open .nav-close,
  .nav-backdrop,
  .nav-backdrop.is-open {
    display: none !important;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    transform: none;
    width: auto;
    height: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
    pointer-events: auto;
    z-index: auto;
  }

  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.05rem;
  }

  .nav-menu a {
    min-height: 0;
    padding: 0.4rem 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0.9rem;
}

main {
  flex: 1;
  padding: 0.85rem 0 2.75rem;
}

/* Hero */
.hero {
  padding: 0.2rem 0 0.1rem;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(228, 180, 74, 0.1), rgba(12, 16, 23, 0.55) 46%, transparent),
    var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.05rem 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.45rem, 3.6vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 0.55rem;
  font-weight: 800;
}

.hero .lead {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 46rem;
  margin-bottom: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.hero-stat {
  background: rgba(8, 12, 18, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.75rem;
}

.hero-stat strong {
  display: block;
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hero-stat span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.hero--compact .hero-panel {
  padding: 0.75rem 0.9rem 0.8rem;
}

.hero--compact h1 {
  font-size: clamp(1.28rem, 2.8vw, 1.7rem);
  margin-bottom: 0.35rem;
}

.hero--compact .lead {
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (min-width: 720px) {
  .hero-panel {
    padding: 1.45rem 1.7rem 1.5rem;
  }

  .hero--compact .hero-panel {
    padding: 0.85rem 1.15rem 0.9rem;
  }
}

/* Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.3rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cta:hover {
  text-decoration: none;
}

.cta-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}

.cta-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.cta-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Ad inventory */
.ad-band {
  background: var(--bg-elevated);
  border-block: 1px dashed var(--border-strong);
  padding: 0.4rem 0;
}

.ad-band--inset {
  margin: 1.1rem 0;
  padding: 0.55rem 0.75rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(16, 22, 31, 0.7);
}

.ad-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.ad-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--danger-muted);
}

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0.015) 8px,
    transparent 8px,
    transparent 16px
  );
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.ad-slot--leaderboard,
.ad-slot.leaderboard {
  width: min(728px, 100%);
  min-height: 72px;
}

.ad-slot--rectangle,
.ad-slot.rectangle {
  width: min(300px, 100%);
  min-height: 250px;
}

.ad-slot--mobile,
.ad-slot.mobile {
  width: min(320px, 100%);
  min-height: 72px;
}

.ad-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.ad-block.ad-block--band {
  background: var(--bg-elevated);
  border-block: 1px dashed var(--border-strong);
  padding: 0.4rem 0;
}

.ad-block:not(.ad-block--band) {
  margin: 1.1rem 0;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(16, 22, 31, 0.7);
  padding: 0.55rem 0.75rem;
}

.ad-block.ad-block--band::before,
.ad-block:not(.ad-block--band)::before {
  content: "Reklam";
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--danger-muted);
}

.ad-block:has(.ad-band) {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.ad-block:has(.ad-band)::before {
  content: none;
}

@media (min-width: 768px) {
  .ad-slot--mobile,
  .ad-slot.mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  .ad-slot--leaderboard,
  .ad-slot.leaderboard {
    display: none;
  }
}

/* Sections / cards */
.section {
  margin: 1.25rem 0;
}

.section--tight {
  margin: 0.85rem 0 1.15rem;
}

.section--tight > h2 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.section h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.section-head h2 {
  margin-bottom: 0;
}

.section h3 {
  font-size: 1.08rem;
  margin: 1.35rem 0 0.5rem;
  color: var(--text);
}

.section p,
.section li {
  color: var(--text-muted);
}

.section p + p {
  margin-top: 0.85rem;
}

.section ul,
.section ol {
  margin: 0.75rem 0 0.75rem 1.25rem;
}

.section li {
  margin-bottom: 0.4rem;
}

.section li strong {
  color: var(--text);
}

.text-link {
  font-weight: 700;
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.card p {
  font-size: 0.95rem;
  margin: 0;
}

.card a.card-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-elevated);
}

th,
td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

td {
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  th,
  td {
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
  }
}

.callout {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.callout p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  margin-top: 1rem;
}

.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  padding: 0.95rem 1.15rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

/* Related */
.related {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .related {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .related.related--all {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related a {
  display: block;
  padding: 1.05rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.related a span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 2.25rem 1.15rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 1.1rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-right: 0;
}

.footer-brand p {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.2rem;
  list-style: none;
  margin-bottom: 1.2rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.footer-copy strong {
  color: var(--text);
  font-weight: 700;
}

.footer-note {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.check-list {
  list-style: none;
  margin-left: 0 !important;
}

.check-list li {
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.two-col {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }

  .two-col .sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.sidebar .ad-band--inset {
  margin-top: 0;
}

/* Directory toolbar */
.directory-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.7rem 0 0.15rem;
  padding: 0.6rem 0.7rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

#brand-search {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

#brand-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.36rem 0.8rem;
  font-size: 0.82rem;
  cursor: pointer;
}

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

.chip.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.directory-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.directory-empty {
  margin-top: 1rem;
  color: var(--text-muted);
  text-align: center;
}

/* Brand directory — dense BahisFlix-style cards */
.brand-grid {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

@media (min-width: 560px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1400px) {
  .brand-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.brand-card[hidden] {
  display: none !important;
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

/* Skip first two cards — they are LCP / above-fold. Never apply to homepage VIP. */
.brand-grid:not(#featured-vip) > .brand-card:nth-child(n + 3) {
  content-visibility: auto;
  contain-intrinsic-size: auto 230px;
}

.card-grid > .card:nth-child(n + 3) {
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
}

.html-map-block {
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.brand-card:hover {
  border-color: rgba(228, 180, 74, 0.55);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.brand-card--sponsor {
  border-color: rgba(228, 180, 74, 0.42);
}

.brand-card--hot {
  border-color: rgba(226, 92, 74, 0.38);
}

.brand-chip {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.22rem 0.38rem;
  border-radius: 3px;
  pointer-events: none;
}

.brand-chip--sponsor {
  background: var(--accent);
  color: var(--accent-ink);
}

.brand-chip--hot {
  background: #c4452e;
  color: #fff8f6;
}

.brand-soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0.65rem 0 0.15rem;
  padding: 0.65rem 0.8rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

.brand-soon-label {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.22rem 0.42rem;
  border-radius: 4px;
}

.brand-soon p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.brand-soon-sub {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 599px) {
  .brand-soon {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Full-bleed banner well — contain so GIF/PNG names stay readable */
.brand-media,
.brand-banner {
  position: relative;
  width: 100%;
  height: var(--banner-h);
  flex: 0 0 var(--banner-h);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(228, 180, 74, 0.07), transparent 58%),
    var(--bg-banner);
  border-bottom: 1px solid var(--border);
}

.brand-media img,
.brand-banner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 5px 8px;
}

.brand-media--empty,
.brand-banner--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.025) 8px,
      transparent 8px,
      transparent 16px
    ),
    var(--bg-banner);
}

.brand-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.55rem 0.6rem 0.62rem;
  min-width: 0;
  gap: 0.18rem;
}

.brand-body h3 {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-body h3 a {
  color: inherit;
  text-decoration: none;
}

.brand-body h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.brand-bonus {
  margin: 0;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-sub {
  margin: 0 0 0.2rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.brand-tags {
  display: none;
}

.tag {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.38rem;
}

.brand-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.32rem;
  margin-top: auto;
}

.brand-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.brand-cta--ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text) !important;
}

.brand-cta--ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.brand-cta--solid {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--accent-ink) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.brand-cta--solid:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink) !important;
}

.brand-cta--disabled {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  cursor: default;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
}

.brand-cta--disabled:hover {
  background: transparent;
}

.brand-teaser-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.brand-teaser-head h2 {
  margin-bottom: 0;
}

.brand-teaser-head a {
  font-weight: 700;
  font-size: 0.9rem;
}

.stack-gap {
  margin-top: 1.25rem;
}

.toc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.1rem 0 0.25rem;
}

.toc > p {
  color: var(--text);
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.toc ol {
  margin: 0 0 0 1.15rem;
}

.toc a {
  font-weight: 600;
}

.guide-index {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.guide-index a {
  display: block;
  padding: 0.95rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.guide-index a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.guide-index a em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.28rem;
}

@media (min-width: 720px) {
  .guide-index {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .guide-index.guide-index--wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* HTML sitemap */
.html-map {
  display: grid;
  gap: 1.35rem;
}

.html-map-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
}

.html-map-block h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.html-map-block ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.html-map-block a {
  font-weight: 700;
  text-decoration: none;
}

.html-map-block a:hover {
  color: var(--accent);
}

.html-map-block a em,
.html-map-block span {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

@media (min-width: 900px) {
  .html-map {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-card,
  .cta,
  .nav-toggle span {
    transition: none;
  }

  .brand-card:hover {
    transform: none;
  }
}

.brand-landing-banner {
  margin: 0 0 1.1rem;
  background: var(--bg-banner);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--banner-h);
}

.brand-landing-banner img {
  width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
}

.brand-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}

@media (min-width: 720px) {
  .brand-facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.brand-fact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
}

.brand-fact dt {
  margin: 0;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-fact dd {
  margin: 0.18rem 0 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-fact dd.accent {
  color: var(--accent);
}

.brand-landing-cta {
  margin: 0 0 1.25rem;
}


/* VIP owner brands */
.brand-chip--vip {
  background: linear-gradient(135deg, #f5c542, #e89b0d);
  color: #1a1200;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-card--vip {
  outline: 2px solid rgba(245, 197, 66, .55);
  box-shadow: 0 0 0 1px rgba(245,197,66,.15), 0 12px 40px rgba(0,0,0,.35);
}
.brand-soon--vip {
  border-color: rgba(245,197,66,.4);
}
.brand-soon--vip a { color: #f5c542; font-weight: 700; }
.vip-funnel {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(245,197,66,.35);
  border-radius: 12px;
  background: rgba(245,197,66,.06);
}
.vip-funnel h2 { margin-top: 0; font-size: 1.15rem; }
.vip-funnel ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.vip-funnel-list { list-style: none; margin: .75rem 0 0; padding: 0; }
.vip-funnel-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  margin: .65rem 0;
}
.vip-funnel-list strong { min-width: 7.5rem; }

/* 3rd CTA (Promosyon) full width under the 2-col action grid — does not touch card columns */
.brand-actions .brand-cta:nth-child(3) {
  grid-column: 1 / -1;
}

/*
  Homepage VIP only.
  Desktop-first: default is 3 columns so a missed min-width query cannot
  lock cards into full-bleed single rows (previous 1fr !important default).
*/
#featured-vip.brand-grid--vip3,
#featured-vip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch;
  justify-content: stretch;
}

@media (max-width: 767.98px) {
  #featured-vip.brand-grid--vip3,
  #featured-vip {
    grid-template-columns: 1fr !important;
  }
}

#featured-vip > .brand-card {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  content-visibility: visible !important;
  contain: none !important;
}

#featured-vip .brand-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

#featured-vip .brand-media img {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/* Directory grids (siteler): 2 / 3 / 4 columns — never full-bleed singles */
.brand-grid:not(#featured-vip) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.85rem !important;
}

@media (min-width: 768px) {
  .brand-grid:not(#featured-vip) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1100px) {
  .brand-grid:not(#featured-vip) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Landing / review pages */
.landing {
  max-width: 52rem;
}

.landing > img,
article.landing > img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  background: var(--bg-banner);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  margin: 0 0 1.1rem;
}

.landing > h1,
article.landing h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
}

.landing .lead,
article.landing .lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
}

.landing h2,
article.landing h2 {
  font-size: 1.2rem;
  margin: 1.6rem 0 0.6rem;
  letter-spacing: -0.02em;
}

.landing p,
article.landing p {
  margin: 0 0 0.85rem;
}

.landing details,
article.landing details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  padding: 0.95rem 1.15rem;
}

.landing summary,
article.landing summary {
  cursor: pointer;
  font-weight: 700;
}

.landing details p,
article.landing details p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
}

.cta-row,
.hero-actions.brand-landing-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
}

.cta-row .brand-cta:nth-child(3),
.hero-actions.brand-landing-cta .brand-cta:nth-child(3),
.cta-row a:nth-child(3) {
  grid-column: 1 / -1;
}

.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none !important;
}

.btn-primary,
a.btn-primary {
  background: var(--accent);
  color: var(--accent-ink) !important;
  border: 1px solid var(--accent);
}

.btn-secondary,
a.btn-secondary {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border-strong);
}

.peers {
  margin: 1.1rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 419px) {
  .brand-grid:not(#featured-vip) {
    gap: 0.55rem !important;
  }

  .brand-body {
    padding: 0.5rem 0.5rem 0.55rem;
  }

  .brand-body h3 {
    font-size: 0.8rem;
  }

  .brand-bonus {
    font-size: 0.88rem;
  }

  .brand-cta {
    font-size: 0.64rem;
    letter-spacing: 0.02em;
  }

  .hero-stats {
    gap: 0.35rem;
  }

  .hero-stat {
    padding: 0.55rem 0.45rem;
  }
}

/* fullclone VIP tiles + network mesh */
#featured-vip .brand-media,
#featured-vip .brand-media img,
.brand-card--vip .brand-media,
.brand-card--vip .brand-media img,
.brand-landing-banner img {
  background: transparent !important;
}
.network-mesh {
  margin: 1.25rem auto 0;
  max-width: var(--max, 1480px);
  text-align: center;
}
.network-mesh h2,
.network-mesh .network-mesh-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--text, #f3f6fa);
}
.network-mesh ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.network-mesh a {
  color: var(--link, #7eb6ff);
  font-size: 0.82rem;
  font-weight: 600;
}
