.page-faq {
  position: relative;
  overflow-x: hidden;
}

.page-faq .faq-hero {
  padding: 4rem 0 3rem;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--plasma-white);
  margin: 0.5rem 0 1.25rem;
}

.page-faq .faq-hero .section-kicker,
.page-faq .section-head .section-kicker {
  color: var(--cosmic-orange-red);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.page-faq .faq-hero-desc {
  color: var(--muted-blue);
  font-size: 1.125rem;
  max-width: 46rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.page-faq .faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-faq .section-head {
  margin-bottom: 2.5rem;
}

.page-faq .section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  color: var(--plasma-white);
  line-height: 1.15;
}

.page-faq .section-head .section-sub {
  color: var(--muted-blue);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 40rem;
}

.page-faq .offside-section {
  position: relative;
}

.page-faq .offside-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(30, 58, 138, 0.4), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255, 77, 0, 0.18), transparent 35%);
  pointer-events: none;
}

.page-faq .offside-media {
  margin-bottom: 2rem;
  overflow: hidden;
}

.page-faq .offside-media img,
.page-faq .guide-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.page-faq .offside-interactive {
  background: linear-gradient(145deg, var(--nebula-glow), rgba(10, 17, 40, 0.9));
  border: 2px solid rgba(192, 192, 192, 0.25);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}

.page-faq .scene-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-faq .scene-tab {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border: 2px solid rgba(192, 192, 192, 0.4);
  background: rgba(10, 17, 40, 0.6);
  color: var(--plasma-white);
  border-radius: 999rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.page-faq .scene-tab:hover {
  border-color: var(--cosmic-orange-red);
}

.page-faq .scene-radio:focus-visible + .scene-tab {
  outline: 3px solid var(--cosmic-orange-red);
  outline-offset: 2px;
}

.page-faq .scene-radio:checked + .scene-tab {
  background: var(--gradient-sport);
  border-color: transparent;
  color: #ffffff;
}

.page-faq .offside-scene-panels {
  flex: 1 1 100%;
  background: rgba(10, 17, 40, 0.5);
  border: 1px solid rgba(192, 192, 192, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-faq .scene-panel {
  display: none;
  padding: 1rem;
}

.page-faq .scene-svg {
  width: 100%;
  height: auto;
}

.page-faq #scene-position:checked ~ .offside-scene-panels #panel-position,
.page-faq #scene-involve:checked ~ .offside-scene-panels #panel-involve,
.page-faq #scene-return:checked ~ .offside-scene-panels #panel-return {
  display: block;
}

.page-faq .offside-rule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.page-faq .offside-rule-card {
  position: relative;
  padding: 1.5rem;
  border-color: rgba(192, 192, 192, 0.35);
  background: linear-gradient(145deg, rgba(43, 58, 103, 0.4), rgba(10, 17, 40, 0.8));
  overflow: hidden;
}

.page-faq .offside-rule-card .rule-num {
  font-family: var(--font-data);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--cosmic-orange-red);
  line-height: 1;
  display: block;
  opacity: 0.5;
}

.page-faq .offside-rule-card h3 {
  color: var(--plasma-white);
  font-size: 1.3rem;
  margin: 0.75rem 0 0.5rem;
}

.page-faq .offside-rule-card p {
  color: var(--muted-blue);
  line-height: 1.7;
  font-size: 0.95rem;
}

.page-faq .faq-section {
  background: linear-gradient(160deg, #0a1128 0%, #0d1730 50%, #0a1128 100%);
  border-top: 1px solid rgba(192, 192, 192, 0.15);
  border-bottom: 1px solid rgba(192, 192, 192, 0.15);
}

.page-faq .faq-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.page-faq .category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999rem;
  border: 2px solid rgba(192, 192, 192, 0.35);
  color: var(--plasma-white);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.page-faq .category-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.page-faq .category-chip-schedule {
  border-color: rgba(74, 144, 217, 0.7);
  color: #79a7e0;
}

.page-faq .category-chip-football {
  border-color: rgba(255, 77, 0, 0.7);
  color: #ff8c66;
}

.page-faq .category-chip-basketball {
  border-color: rgba(255, 215, 90, 0.7);
  color: #ffd75a;
}

.page-faq .category-chip-app {
  border-color: rgba(155, 190, 255, 0.7);
  color: #9bbeff;
}

.page-faq .category-chip:hover,
.page-faq .category-chip:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--cosmic-orange-red);
  color: #ffffff;
}

.page-faq .faq-groups {
  display: grid;
  gap: 2.5rem;
}

.page-faq .faq-group:target {
  outline: 2px solid var(--cosmic-orange-red);
  outline-offset: 0.75rem;
  border-radius: var(--radius);
  padding: 0.5rem;
  transition: outline 0.2s;
}

.page-faq .faq-group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--plasma-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.page-faq .faq-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.page-faq .dot-schedule {
  background: #4a90d9;
  box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.2);
}

.page-faq .dot-football {
  background: #ff4d00;
  box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.2);
}

.page-faq .dot-basketball {
  background: #ffd75a;
  box-shadow: 0 0 0 4px rgba(255, 215, 90, 0.2);
}

.page-faq .dot-app {
  background: #9bbeff;
  box-shadow: 0 0 0 4px rgba(155, 190, 255, 0.2);
}

.page-faq .faq-item {
  border: 2px solid rgba(192, 192, 192, 0.25);
  border-radius: var(--radius);
  background: rgba(13, 23, 48, 0.6);
  margin-bottom: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-faq .faq-item[open] {
  border-color: rgba(255, 77, 0, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 77, 0, 0.2), var(--shadow-md);
}

.page-faq .faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--plasma-white);
  padding: 1.1rem 3.2rem 1.1rem 1.25rem;
  list-style: none;
  position: relative;
  line-height: 1.5;
}

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

.page-faq .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-data);
  font-size: 1.4rem;
  color: var(--cosmic-orange-red);
  border: 2px solid currentColor;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.page-faq .faq-item[open] summary::after {
  content: "\2212";
  background: var(--cosmic-orange-red);
  color: #ffffff;
}

.page-faq .faq-content {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted-blue);
  line-height: 1.75;
}

.page-faq .faq-content p {
  margin: 0;
}

.page-faq .guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.page-faq .guide-card {
  border: 2px solid rgba(192, 192, 192, 0.3);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: linear-gradient(145deg, rgba(43, 58, 103, 0.3), rgba(10, 17, 40, 0.9));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.page-faq .guide-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-sport);
}

.page-faq .guide-card-primary::before {
  background: #4a90d9;
}

.page-faq .guide-card-secondary::before {
  background: #ffd75a;
}

.page-faq .guide-card-accent::before {
  background: var(--gradient-sport);
}

.page-faq .guide-step {
  font-family: var(--font-data);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cosmic-orange-red);
  display: inline-block;
  padding: 0.25rem 0;
}

.page-faq .guide-card-primary .guide-step {
  color: #4a90d9;
}

.page-faq .guide-card-secondary .guide-step {
  color: #ffd75a;
}

.page-faq .guide-card-accent .guide-step {
  color: #ff8c66;
}

.page-faq .guide-card h3 {
  color: var(--plasma-white);
  font-size: 1.35rem;
  margin: 0.75rem 0 0.5rem;
}

.page-faq .guide-list {
  margin: 0;
  padding: 0 0 0 1.2rem;
  color: var(--muted-blue);
  line-height: 1.8;
}

.page-faq .guide-list li::marker {
  color: var(--cosmic-orange-red);
}

.page-faq .guide-media {
  overflow: hidden;
}

.page-faq .contact-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-faq .contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 77, 0, 0.12), transparent 40%),
    linear-gradient(145deg, rgba(13, 23, 48, 0.95), rgba(10, 17, 40, 0.9));
  border: 2px solid rgba(192, 192, 192, 0.25);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.page-faq .contact-card-info h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
  color: var(--plasma-white);
}

.page-faq .contact-card-info p {
  color: var(--muted-blue);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.page-faq .contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-faq .contact-method {
  background: rgba(10, 17, 40, 0.7);
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: var(--radius);
  padding: 1rem;
}

.page-faq .contact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.page-faq .contact-value {
  color: var(--plasma-white);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--cosmic-orange-red);
  padding-bottom: 0.15rem;
}

.page-faq .contact-note {
  font-size: 0.9rem;
  color: var(--muted-blue);
  line-height: 1.6;
}

.page-faq .contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 6rem 0 4rem;
  }

  .page-faq .offside-media {
    margin-bottom: 2.5rem;
  }

  .page-faq .offside-interactive {
    padding: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .page-faq .scene-panel {
    padding: 1.5rem;
  }

  .page-faq .offside-rule-grid,
  .page-faq .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-faq .faq-groups {
    grid-template-columns: 1fr;
  }

  .page-faq .contact-card {
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem 3.5rem;
  }

  .page-faq .contact-card-info {
    max-width: 60%;
  }

  .page-faq .contact-card-actions {
    flex-direction: column;
    justify-content: center;
    min-width: 200px;
  }
}
