:root {
  --pitch: #0a3d2e;
  --pitch-light: #126b4f;
  --grass: #1a7a52;
  --gold: #f5c518;
  --gold-dark: #d4a010;
  --white: #f8faf9;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.14);
  --text-muted: rgba(255, 255, 255, 0.65);
  --live: #ff3b3b;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--pitch);
  overflow-x: hidden;
}

.pitch-bg {
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255, 255, 255, 0.02) 80px,
      rgba(255, 255, 255, 0.02) 160px
    ),
    radial-gradient(ellipse at 50% 0%, var(--grass) 0%, var(--pitch) 55%);
  z-index: -1;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-align: left;
  border-radius: 10px;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.85;
}

.logo-ball {
  font-size: 2rem;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.logo strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  display: block;
  line-height: 1;
}

.logo small {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}

.nav-btn:hover,
.nav-btn.active {
  color: var(--white);
  background: var(--card);
  border-color: var(--card-border);
}

.nav-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-share {
  background: var(--gold);
  color: var(--pitch);
  border: none;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-share:hover {
  background: var(--gold-dark);
}

.btn-menu-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--white);
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1;
}

.btn-menu-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold);
}

/* Main */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5.5rem;
}

.section {
  display: none;
  animation: fadeIn 0.35s ease;
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--pitch);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  line-height: 0.95;
  margin: 1rem 0 0.75rem;
  letter-spacing: 2px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-text {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.97);
}

.btn.primary {
  background: var(--gold);
  color: var(--pitch);
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.35);
}

.btn.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--card-border);
}

.btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn.ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 0.85rem;
}

.btn.sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.btn.full {
  width: 100%;
}

.countdown {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  max-width: 480px;
  margin: 0 auto;
}

.countdown-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.countdown-units {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-units div {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  min-width: 64px;
}

.countdown-units strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

.countdown-units small {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Cards */
.quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: 0.2s;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 2rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin: 0.5rem 0 0.25rem;
}

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

/* Section head */
.section-head h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1px;
  margin: 0 0 0.35rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* Billboard */
.billboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.filter-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.filter {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}

.filter.active {
  background: var(--gold);
  color: var(--pitch);
  border-color: var(--gold);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  outline: none;
  width: 140px;
}

.billboard-grid {
  display: grid;
  gap: 0.75rem;
}

.match-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: 0.2s;
}

.match-card.live {
  border-color: var(--live);
  box-shadow: 0 0 20px rgba(255, 59, 59, 0.2);
}

.match-card .team {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
}

.match-card .team.away {
  flex-direction: row-reverse;
  text-align: right;
}

.match-card .flag {
  font-size: 1.6rem;
}

.match-card .team-badge {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.match-center {
  text-align: center;
  min-width: 90px;
}

.match-score {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--gold);
}

.match-score.pending {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.match-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.badge-live {
  background: var(--live);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  animation: pulse 1.5s infinite;
}

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

/* Arena */
.game-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.game-tab {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.game-tab.active {
  background: var(--pitch-light);
  border-color: var(--gold);
  color: var(--gold);
}

.game-panel {
  display: none;
}

.game-panel.active {
  display: block;
}

.penalty-wrap,
.keeper-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

canvas {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
  cursor: crosshair;
}

.penalty-ui,
.keeper-ui {
  padding: 1rem 1.25rem;
  text-align: center;
}

.penalty-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 0.75rem 0;
}

.trivia-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}

.trivia-progress {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.trivia-options {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.trivia-opt {
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid var(--card-border);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: 0.15s;
}

.trivia-opt:hover:not(:disabled) {
  border-color: var(--gold);
}

.trivia-opt.correct {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.15);
}

.trivia-opt.wrong {
  border-color: var(--live);
  background: rgba(255, 59, 59, 0.15);
}

.trivia-score {
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

.arena-leaderboard {
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.arena-leaderboard h3 {
  font-family: var(--font-display);
  letter-spacing: 1px;
  margin: 0 0 0.75rem;
}

.arena-leaderboard ol {
  margin: 0;
  padding-left: 1.25rem;
}

.arena-leaderboard li {
  padding: 0.35rem 0;
}

/* Squad */
.room-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.room-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  line-height: 1.55;
  text-align: left;
}

.how-to-start {
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.how-to-start h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 1px;
  margin: 0 0 0.75rem;
}

.how-to-start ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.how-to-start li {
  margin-bottom: 0.4rem;
}

.how-to-start strong {
  color: var(--gold);
}

.room-server-status {
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  margin: 0 0 1rem;
  background: rgba(255, 180, 0, 0.12);
  border: 1px solid rgba(255, 180, 0, 0.35);
  color: #ffd966;
}

.room-server-status.online {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.35);
  color: #86efac;
}

.room-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.room-card input,
.squad-main input,
.squad-main select,
.predict-row input,
.predict-row select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.room-row {
  display: flex;
  gap: 0.5rem;
}

.room-row input {
  flex: 1;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  font-weight: 800;
}

.room-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, var(--pitch-light), var(--grass));
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.room-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

#displayRoomCode {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 6px;
  color: var(--gold);
}

.room-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.squad-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
}

/* Bottom nav — gjithmonë i dukshëm */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  background: rgba(5, 30, 22, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--card-border);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}

.bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.4rem 0.2rem;
  cursor: pointer;
  border-radius: 10px;
  max-width: 96px;
  transition: 0.2s;
}

.bottom-nav-btn .bottom-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.bottom-nav-btn:hover,
.bottom-nav-btn.active {
  color: var(--gold);
  background: rgba(245, 197, 24, 0.1);
}

.bottom-nav-btn.active .bottom-icon {
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .btn-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 30, 22, 0.98);
    border-bottom: 1px solid var(--card-border);
    padding: 0.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .nav-btn {
    width: 100%;
    text-align: left;
    border-radius: 10px;
    padding: 0.75rem 1rem;
  }

  .site-header {
    flex-wrap: wrap;
    position: relative;
  }
}

@media (min-width: 901px) {
  main {
    padding-bottom: 3rem;
  }

  .bottom-nav {
    display: none;
  }
}

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

.squad-sidebar,
.squad-main {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.squad-sidebar h4,
.squad-main h4 {
  font-family: var(--font-display);
  letter-spacing: 1px;
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

#memberList {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

#memberList li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--card-border);
  font-weight: 700;
}

#memberList li.me {
  color: var(--gold);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-badge {
  background: var(--live);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  animation: pulse 1.5s infinite;
}

.chat-badge.hidden {
  display: none;
}

.chat-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: -0.35rem 0 0.5rem;
  line-height: 1.4;
}

.chat-box {
  height: 220px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.chat-box.empty::before {
  content: "Asnjë mesazh ende. Shkruaj diçka për të nisur bisedën në dhomë.";
  color: var(--text-muted);
  font-style: italic;
}

.chat-msg {
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-msg:last-child {
  border-bottom: none;
}

.chat-msg strong {
  color: var(--gold);
}

.chat-msg .chat-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.chat-msg.me strong {
  color: #86efac;
}

#billboardSource.live-active {
  color: #86efac;
}

.chat-form {
  display: flex;
  gap: 0.4rem;
}

.chat-form input {
  flex: 1;
  margin-bottom: 0;
}

.chat-form button {
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 0 1rem;
  cursor: pointer;
  font-weight: 800;
}

.predict-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.predict-row input[type="number"] {
  width: 64px;
  text-align: center;
  margin-bottom: 0;
}

.leader-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.leader-table th,
.leader-table td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.leader-table th {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.leader-table tr:first-child td {
  color: var(--gold);
  font-weight: 800;
}

.admin-box {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--card-border);
}

.admin-box summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-muted);
}

.admin-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.points-rules-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.points-rules-box summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 400;
  list-style: none;
}

.points-rules-box summary::-webkit-details-marker {
  display: none;
}

.points-rules-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.75rem 0 1rem;
  line-height: 1.5;
}

.points-rules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.points-rules-table th,
.points-rules-table td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  vertical-align: top;
}

.points-rules-table th {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.points-rules-table td:first-child {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

.points-rules-notes {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.points-rules-notes li {
  margin-bottom: 0.35rem;
}

@media (max-width: 520px) {
  .points-rules-table {
    font-size: 0.78rem;
  }

  .points-rules-table th:nth-child(3),
  .points-rules-table td:nth-child(3) {
    display: none;
  }
}

/* Parents info */
.parents-info {
  margin-top: 2.5rem;
  background: linear-gradient(160deg, rgba(18, 107, 79, 0.35), rgba(10, 61, 46, 0.9));
  border: 1px solid rgba(134, 239, 172, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.parents-info-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.parents-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.parents-info h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 1px;
  margin: 0 0 0.35rem;
  color: #bbf7d0;
}

.parents-tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.parents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.parents-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.parents-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-weight: 800;
}

.parents-card p,
.parents-card li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin: 0 0 0.5rem;
}

.parents-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.parents-card li {
  margin-bottom: 0.4rem;
}

.parents-muted {
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
}

.parents-card a {
  color: #86efac;
}

.parents-card code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.8em;
}

.parents-disclaimer {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}

.parents-disclaimer a {
  color: #86efac;
  font-weight: 700;
  text-decoration: none;
}

.parents-disclaimer a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-parents a {
  color: #86efac;
  font-weight: 700;
  text-decoration: none;
}

.footer-parents a:hover {
  color: var(--gold);
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.2);
}

.site-footer p {
  margin: 0.35rem 0;
  line-height: 1.5;
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

.footer-main {
  color: var(--white);
  font-weight: 700;
}

.footer-copy {
  font-size: 0.75rem;
  max-width: 32rem;
}

@media (min-width: 901px) {
  .site-footer {
    padding-bottom: 1.5rem;
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gold);
  color: var(--pitch);
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  opacity: 0;
  transition: 0.35s;
  z-index: 200;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
