.page-home {
  --home-gold-glow: rgba(217, 164, 65, 0.18);
  --home-red-pulse: rgba(214, 69, 65, 0.7);
  --home-card-bg: rgba(11, 46, 36, 0.92);
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .hero-section {
  position: relative;
  padding: 56px 0 68px;
  background:
    radial-gradient(ellipse at 78% 18%, var(--home-gold-glow), transparent 46%),
    radial-gradient(ellipse at 12% 86%, rgba(46, 125, 91, 0.3), transparent 44%),
    var(--green-900);
  border-bottom: 1px solid rgba(217, 164, 65, 0.22);
}

.page-home .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent calc(100% - 1px), rgba(217, 164, 65, 0.16) calc(100% - 1px));
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.page-home .hero-copy {
  max-width: 640px;
}

.page-home .hero-copy .breadcrumbs {
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--sand);
}

.page-home .breadcrumbs .crumb-sep {
  margin: 0 8px;
  color: var(--gold);
}

.page-home .hero-topline {
  margin: 0 0 10px;
  letter-spacing: 0.16em;
}

.page-home .hero-title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--bone);
}

.page-home .hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 118px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.page-home .hero-title-en {
  display: block;
  margin-top: 6px;
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .hero-lead {
  max-width: 520px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.84);
}

.page-home .hero-filter-wrap {
  margin-top: 26px;
}

.page-home .filter-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sand);
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .filter-btn {
  border: 1px solid rgba(217, 164, 65, 0.5);
  background: transparent;
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.page-home .filter-btn.is-active,
.page-home .filter-btn[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-950);
  font-weight: 700;
}

.page-home .hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 22px;
  max-width: 520px;
}

.page-home .hero-point {
  background: rgba(7, 27, 22, 0.55);
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: var(--radius);
  padding: 14px 12px;
}

.page-home .point-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--bone);
}

.page-home .point-num.gold {
  color: var(--gold);
}

.page-home .point-num .unit {
  font-size: 15px;
  margin-left: 2px;
}

.page-home .point-text {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--sand);
}

.page-home .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-visual {
  position: relative;
  border-radius: 16px;
}

.page-home .hero-visual .hero-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-radius: 16px;
}

.page-home .hero-visual .arena-svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
}

.page-home .arena-svg text {
  font-family: var(--font-mono);
}

.page-home .section {
  position: relative;
  padding: 64px 0;
}

.page-home .section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-home .kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-home .section-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(27px, 3.8vw, 44px);
  line-height: 1.12;
  color: var(--bone);
}

.page-home .section-intro {
  max-width: 660px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.8);
}

.page-home .keyword-seo {
  display: inline-block;
  white-space: nowrap;
}

.page-home .tag {
  background: rgba(46, 125, 91, 0.22);
  color: var(--sand);
}

.page-home .schedule-section {
  background:
    radial-gradient(ellipse at 8% 32%, rgba(46, 125, 91, 0.22), transparent 42%),
    var(--green-900);
  border-bottom: 1px solid rgba(31, 94, 69, 0.9);
}

.page-home .schedule-head-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 8px;
}

.page-home .schedule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.page-home .schedule-poster {
  max-width: 480px;
  overflow: hidden;
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: var(--radius);
}

.page-home .schedule-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .schedule-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 28px;
}

.page-home .schedule-track::-webkit-scrollbar {
  height: 6px;
}

.page-home .schedule-track::-webkit-scrollbar-thumb {
  background: var(--green-800);
  border-radius: 99px;
}

.page-home .schedule-track::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.page-home .match-card {
  flex: 0 0 min(280px, 84vw);
  scroll-snap-align: start;
  background: var(--bone);
  color: var(--ink);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease);
}

.page-home .match-card:hover {
  transform: translateY(-4px);
}

.page-home .match-expand summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .match-expand summary::-webkit-details-marker {
  display: none;
}

.page-home .match-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green-600);
}

.page-home .match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
}

.page-home .match-vs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green-600);
  border: 1px solid rgba(31, 94, 69, 0.4);
  border-radius: 999px;
  padding: 2px 8px;
}

.page-home .match-state {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  color: var(--green-600);
  border: 1px solid rgba(46, 125, 91, 0.5);
  border-radius: 999px;
  padding: 3px 10px;
}

.page-home .match-state.is-live {
  color: var(--red);
  border-color: rgba(214, 69, 65, 0.5);
}

.page-home .match-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px 16px;
  background: var(--sand);
  border-top: 1px dashed var(--green-800);
  font-size: 13px;
  color: var(--ink);
}

.page-home .match-detail p {
  margin: 0;
}

.page-home .match-detail a {
  color: var(--green-800);
  font-weight: 700;
}

.page-home .match-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 27, 22, 0.72);
  border: 1px dashed rgba(217, 164, 65, 0.45);
}

.page-home .match-more-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 18px;
  text-align: center;
}

.page-home .match-more-body p {
  margin: 0;
  font-size: 14px;
  color: var(--sand);
}

.page-home .match-more-body .match-no {
  color: var(--gold);
}

.page-home .datapanel-section {
  background: var(--green-950);
  border-bottom: 1px solid rgba(217, 164, 65, 0.16);
}

.page-home .datapanel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .team-panel {
  background: var(--home-card-bg);
  border: 1px solid rgba(46, 125, 91, 0.55);
  border-radius: var(--radius);
  padding: 22px;
}

.page-home .team-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .team-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}

.page-home .team-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--bone);
}

.page-home .form-tag {
  margin-left: auto;
  font-size: 12px;
  color: var(--sand);
}

.page-home .form-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.page-home .form-bar-row {
  display: grid;
  grid-template-columns: 44px 1fr 40px;
  align-items: center;
  gap: 10px;
}

.page-home .bar-label {
  font-size: 12px;
  color: var(--sand);
}

.page-home .bar-track {
  height: 8px;
  overflow: hidden;
  background: rgba(245, 241, 232, 0.12);
  border-radius: 99px;
}

.page-home .bar-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
}

.page-home .bar-fill.gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.page-home .bar-fill.green {
  background: var(--green-600);
}

.page-home .bar-fill.red {
  background: var(--red);
}

.page-home .bar-num {
  font-family: var(--font-mono);
  font-size: 15px;
  text-align: right;
  color: var(--bone);
}

.page-home .team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 241, 232, 0.14);
}

.page-home .team-stats .stat-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--sand);
}

.page-home .team-stats strong {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--gold);
}

.page-home .h2h-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 22px;
  background: var(--bone);
  color: var(--ink);
  border-radius: var(--radius);
}

.page-home .h2h-copy h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 25px;
  color: var(--green-900);
}

.page-home .h2h-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.page-home .h2h-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(11, 46, 36, 0.25);
  font-size: 14px;
}

.page-home .h2h-list strong {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--green-800);
}

.page-home .login-hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(22, 21, 20, 0.7);
}

.page-home .h2h-panel img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-home .watchlist-section {
  background:
    radial-gradient(ellipse at 88% 14%, rgba(217, 164, 65, 0.14), transparent 38%),
    var(--green-900);
  border-bottom: 1px solid rgba(31, 94, 69, 0.9);
}

.page-home .watch-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .watch-poster {
  max-width: 400px;
  overflow: hidden;
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: var(--radius);
}

.page-home .watch-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .watch-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 20px;
}

.page-home .watch-track::-webkit-scrollbar {
  height: 6px;
}

.page-home .watch-track::-webkit-scrollbar-thumb {
  background: var(--green-800);
  border-radius: 99px;
}

.page-home .watch-card {
  flex: 0 0 min(300px, 84vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bone);
  color: var(--ink);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.page-home .watch-team {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--green-900);
}

.page-home .watch-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-600);
}

.page-home .watch-meta::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--home-red-pulse);
}

.page-home .watch-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(22, 21, 20, 0.85);
}

.page-home .watch-card a {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-800);
  text-decoration: none;
}

.page-home .watch-sync-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(7, 27, 22, 0.6);
  border: 1px solid rgba(217, 164, 65, 0.2);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.6;
  color: var(--sand);
}

.page-home .watch-sync-note::before {
  content: "⟳";
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
}

.page-home .quick-section {
  background: var(--green-950);
  padding-top: 64px;
  padding-bottom: 72px;
}

.page-home .quick-section .field-legend {
  margin-top: 14px;
}

.page-home .quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: rgba(11, 46, 36, 0.72);
  border: 1px solid rgba(46, 125, 91, 0.65);
  border-radius: var(--radius);
  color: var(--bone);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .quick-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.page-home .quick-card:hover {
  transform: translateY(-4px);
  background: rgba(31, 94, 69, 0.6);
  border-color: var(--gold);
}

.page-home .quick-card:hover::after {
  transform: scaleX(1);
}

.page-home .quick-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .quick-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--bone);
}

.page-home .quick-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245, 241, 232, 0.72);
}

.page-home .trust-note {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.page-home .note-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: var(--sand);
  color: var(--ink);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .note-panel p {
  max-width: 760px;
  margin: 0;
}

.page-home .note-panel a {
  color: var(--green-800);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .sitemap-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.page-home .sitemap-notes a {
  padding-bottom: 2px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 164, 65, 0.4);
}

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
  }

  .page-home .section {
    padding: 80px 0;
  }

  .page-home .schedule-head-wrap {
    grid-template-columns: 7fr 4fr;
    align-items: end;
    gap: 40px;
  }

  .page-home .datapanel-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "home away"
      "h2h h2h";
  }

  .page-home .team-panel:first-child {
    grid-area: home;
  }

  .page-home .team-panel:nth-child(2) {
    grid-area: away;
  }

  .page-home .h2h-panel {
    grid-area: h2h;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-home .watch-layout {
    grid-template-columns: 340px 1fr;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-home .hero-grid {
    gap: 64px;
  }

  .page-home .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .section-head {
    margin-bottom: 36px;
  }
}
