/* ==========================================================================
   PLAYVIBE — Smart Party, Family & Indoor Game Finder Engine
   Modern, High-Contrast, Zero-Overflow Responsive Design (PC, Tablet, Mobile)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0b0d17;
  --bg-surface: #131728;
  --bg-card: #181d33;
  --bg-card-hover: #1f2642;
  --bg-glass: rgba(19, 23, 40, 0.88);

  --coral: #ff4d6d;
  --orange: #ff7b00;
  --gold: #ffb703;
  --violet: #7c3aed;
  --cyan: #00d2ff;
  --emerald: #10b981;

  --grad-party: linear-gradient(135deg, #ff4d6d 0%, #ff7b00 50%, #ffb703 100%);
  --grad-vibe: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --grad-cyber: linear-gradient(135deg, #00d2ff 0%, #6366f1 100%);
  --grad-hero: radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.28) 0%, rgba(255, 77, 109, 0.15) 45%, rgba(11, 13, 23, 0) 75%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 183, 3, 0.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --shadow-lg: 0 18px 40px -12px rgba(0, 0, 0, 0.65);
  --ease-out: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ================= 1. Sticky Top Header (Zero Overflow) ================= */
.top-header {
  position: sticky;
  top: 0;
  z-index: 250;
  height: 70px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 1.5rem;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-party);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(255, 77, 109, 0.4);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-text span {
  background: var(--grad-party);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-search {
  flex: 1;
  max-width: 460px;
  position: relative;
  min-width: 0;
}

.header-search input {
  width: 100%;
  height: 42px;
  padding: 0 1rem 0 2.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.88rem;
  transition: var(--ease-out);
}

.header-search input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.2);
}

.header-search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-pill {
  height: 40px;
  padding: 0 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #e2e8f0;
  transition: var(--ease-out);
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.nav-pill.pill-install {
  background: var(--grad-party);
  border: none;
  color: #0b0d17;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(255, 123, 0, 0.4);
}

.nav-pill.pill-tools {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.45);
  color: #ddd6fe;
}

.pill-badge {
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.08rem 0.42rem;
  border-radius: var(--radius-full);
}

/* ================= 2. PWA Top Floating Banner ================= */
.pwa-float-bar {
  max-width: 920px;
  margin: 1rem auto 0;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(24, 29, 51, 0.96), rgba(59, 20, 100, 0.95));
  border: 1px solid rgba(255, 183, 3, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.pwa-float-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pwa-float-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--grad-party);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pwa-float-text h4 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
}

.pwa-float-text p {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.pwa-float-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ================= 3. Main Container & Hero Finder Engine ================= */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 4rem;
}

.hero-finder-card {
  position: relative;
  background: var(--bg-surface);
  background-image: var(--grad-hero);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.65rem;
  flex-wrap: wrap;
}

.hero-headline {
  max-width: 720px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 183, 3, 0.14);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.65rem;
}

.hero-headline h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-headline h1 span {
  background: var(--grad-party);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline p {
  color: #cbd5e1;
  font-size: 0.96rem;
}

.hero-roulette-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.btn-roulette {
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--grad-vibe);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.45);
  transition: var(--ease-out);
}

.btn-roulette:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.5);
}

/* 3-Step Interactive Filter Rows */
.finder-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  background: rgba(11, 13, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.finder-step-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.step-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-party);
  color: #0b0d17;
  font-size: 0.75rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.filter-chip {
  padding: 0.48rem 0.82rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.81rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--ease-out);
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.filter-chip.active {
  background: var(--grad-party);
  border-color: transparent;
  color: #0b0d17;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 77, 109, 0.35);
}

/* Finder Status & Sort Bar */
.finder-results-bar {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-count-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.results-count-badge {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}

.results-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.sort-select {
  height: 36px;
  padding: 0 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.sort-select option {
  background: var(--bg-surface);
  color: #fff;
}

.btn-reset-filters {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 77, 109, 0.14);
  border: 1px solid rgba(255, 77, 109, 0.35);
  color: #fda4af;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ================= 4. Built-In Party Toolkit Bar (Timer, Scoreboard, Prompt Gen) ================= */
.toolkit-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

.tool-widget-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tool-widget-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tool-widget-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.timer-display-pill {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 183, 3, 0.3);
  min-width: 82px;
  text-align: center;
}

.tool-mini-btn {
  padding: 0.48rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--grad-party);
  color: #0b0d17;
  font-size: 0.8rem;
  font-weight: 800;
  transition: var(--ease-out);
}

.tool-mini-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* ================= 5. Rich Illustrated Game Cards Grid ================= */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.party-game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ease-out);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  position: relative;
}

.party-game-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 38px -8px rgba(255, 123, 0, 0.35);
}

/* Illustrated Visual Cover Header */
.card-visual-header {
  height: 195px;
  position: relative;
  overflow: hidden;
  background: #101426;
  cursor: pointer;
}

.card-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.party-game-card:hover .card-visual-img {
  transform: scale(1.07);
}

.card-scene-badge-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 23, 0.25) 0%, transparent 45%, rgba(24, 29, 51, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
}

.card-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.vibe-badge {
  padding: 0.26rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(11, 13, 23, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Interactive ❤️ Like Counter Button on Every Card */
.like-counter-btn {
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(11, 13, 23, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 77, 109, 0.4);
  color: #fda4af;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  transition: var(--ease-out);
  z-index: 3;
}

.like-counter-btn:hover,
.like-counter-btn.liked {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  transform: scale(1.08);
}

.card-floating-svg-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(19, 23, 40, 0.9);
  border: 2px solid rgba(255, 183, 3, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Card Body */
.card-body {
  padding: 1.1rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.card-title:hover {
  color: var(--gold);
}

.card-summary {
  font-size: 0.87rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.card-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.spec-pill {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.24rem 0.6rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
}

.card-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-open-guide {
  flex: 1;
  padding: 0.68rem 1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.16), rgba(255, 183, 3, 0.16));
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--ease-out);
}

.party-game-card:hover .btn-open-guide {
  background: var(--grad-party);
  color: #0b0d17;
  border-color: transparent;
}

/* ================= 6. Step-by-Step Visual Game Guide Modal ================= */
.guide-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 16, 0.82);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.guide-modal-backdrop.open {
  display: flex;
}

.guide-modal-sheet {
  width: 100%;
  max-width: 960px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85);
  animation: modalPop 0.26s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-hero-banner {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.modal-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 23, 0.3) 0%, rgba(19, 23, 40, 0.98) 100%);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 13, 23, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content-body {
  padding: 1.5rem 2rem 2.25rem;
}

.modal-quick-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.modal-spec-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
}

.modal-spec-box span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.modal-spec-box strong {
  font-size: 0.9rem;
  color: #fff;
}

/* Illustrated 3-Step Visual Walkthrough Cards */
.visual-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.85rem;
}

.visual-step-card {
  background: rgba(11, 13, 23, 0.65);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.visual-step-illustration {
  height: 110px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(255, 77, 109, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.visual-step-card h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--gold);
}

.visual-step-card p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.55;
}

/* Interactive Word / Prompt Generator Box Inside Modal */
.modal-live-helper {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(255, 77, 109, 0.18));
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.prompt-output-box {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(11, 13, 23, 0.75);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 183, 3, 0.5);
}

/* Passive AdSense Slots */
body:not(.adsense-active) .adsense-slot {
  display: none !important;
}

/* Footer (4-Column Authority Layout for AdSense Compliance) */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #070911;
  padding: 3.5rem 1.5rem 2.5rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.25rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.95rem;
  letter-spacing: 0.3px;
}

.footer-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: var(--ease-out);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Breadcrumbs & Standalone Authority Pages */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.breadcrumb-bar a {
  color: #cbd5e1;
  font-weight: 600;
}

.breadcrumb-bar a:hover {
  color: var(--gold);
}

.authority-page-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}

.authority-prose {
  padding: 2.25rem;
  color: #e2e8f0;
  font-size: 0.96rem;
  line-height: 1.78;
}

.authority-prose h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.authority-prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  margin: 2rem 0 0.75rem;
}

.authority-prose h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  margin: 1.4rem 0 0.5rem;
}

.authority-prose p {
  margin-bottom: 1.1rem;
  color: #cbd5e1;
}

.authority-prose ul,
.authority-prose ol {
  padding-left: 1.35rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #cbd5e1;
}

.faq-item-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 0.85rem;
}

.faq-item-box h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.faq-item-box p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin: 0;
}

/* Cookie Consent Banner */
.cookie-consent-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 880px;
  background: rgba(19, 23, 40, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

/* ================= Responsive Mobile Rules (Zero Horizontal Overflow) ================= */
@media (max-width: 992px) {
  .finder-steps-grid,
  .toolkit-ribbon,
  .visual-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-header {
    padding: 0 0.65rem;
  }
  .header-inner {
    gap: 0.45rem;
  }
  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
  .brand-text {
    font-size: 1.05rem;
  }
  .nav-pill {
    height: 36px;
    padding: 0 0.68rem;
    font-size: 0.76rem;
  }
  .hide-mobile {
    display: none !important;
  }
  .main-container {
    padding: 1rem 0.85rem 3rem;
  }
  .hero-finder-card {
    padding: 1.25rem 1rem;
  }
  .hero-headline h1 {
    font-size: 1.55rem;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .modal-content-body,
  .authority-prose {
    padding: 1.15rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cookie-consent-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

