.page-home {
  --home-charcoal: #14100c;
  --home-line-soft: rgba(90, 74, 58, 0.22);
  --home-cream-light: rgba(253, 246, 227, 0.96);
  background: var(--bg-cream);
  color: var(--ink);
}

.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 104px 0 56px;
  overflow: hidden;
  background: var(--home-charcoal);
}

.page-home .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
}

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, 0.62) 0%, rgba(20, 16, 12, 0.08) 45%, rgba(20, 16, 12, 0.72) 100%),
    radial-gradient(120% 90% at 82% 12%, rgba(232, 74, 47, 0.2) 0%, rgba(20, 16, 12, 0) 60%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--bg-cream);
}

.page-home .hero-round {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid rgba(253, 246, 227, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--bg-cream);
}

.page-home .hero-kicker {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.page-home .hero-title {
  max-width: 920px;
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 8.5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--white);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-home .hero-lead {
  max-width: 700px;
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(253, 246, 227, 0.92);
}

.page-home .hero-match {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 780px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--home-cream-light);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(20, 16, 12, 0.38);
  margin-bottom: 18px;
}

.page-home .hero-match-center { order: -1; text-align: center; }
.page-home .hero-match-club { display: flex; flex-direction: column; gap: 4px; }
.page-home .hero-match-club--home { align-items: center; text-align: center; }
.page-home .hero-match-club--away { align-items: center; text-align: center; }
.page-home .club-name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; letter-spacing: 0.02em; }
.page-home .club-meta { font-size: 0.78rem; color: var(--line); }
.page-home .score-line { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.page-home .score-num { font-family: var(--font-mono); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--orange); }
.page-home .score-colon { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 700; color: var(--line); }
.page-home .match-caption { margin-top: 6px; font-size: 0.74rem; letter-spacing: 0.1em; color: var(--line); }

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 780px;
  margin-bottom: 26px;
}

.page-home .hero-stat {
  padding: 14px 10px;
  border: 1px solid rgba(253, 246, 227, 0.24);
  border-radius: 12px;
  background: rgba(30, 58, 95, 0.72);
  text-align: center;
  backdrop-filter: blur(6px);
}

.page-home .hero-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--yellow);
}

.page-home .hero-stat-tag {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(253, 246, 227, 0.88);
}

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

.page-home .btn-outline--light {
  border: 1px solid rgba(253, 246, 227, 0.7);
  color: var(--bg-cream);
  background: transparent;
}

.page-home .btn-outline--light:hover { background: rgba(253, 246, 227, 0.12); }

.page-home .home-form {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--soft-orange) 0%, var(--bg-cream) 100%);
}

.page-home .form-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  pointer-events: none;
}

.page-home .home-form .container { position: relative; z-index: 1; }
.page-home .form-intro { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.page-home .form-description { max-width: 580px; margin: 0; line-height: 1.85; color: var(--line); }
.page-home .section-title--large { font-size: clamp(1.6rem, 4vw, 2.6rem); }

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

.page-home .form-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(90, 74, 58, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .form-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(46, 30, 15, 0.12); }

.page-home .form-card--feature {
  background: linear-gradient(135deg, rgba(255, 224, 214, 0.92) 0%, rgba(255, 255, 255, 0.82) 62%);
}

.page-home .form-card-head { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.page-home .form-team { margin: 0; font-family: var(--font-head); font-size: 1.75rem; font-weight: 900; line-height: 1.15; }
.page-home .form-record { display: flex; flex-wrap: wrap; gap: 8px; }

.page-home .record-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--white);
}

.page-home .record-dot--win { background: var(--green); }
.page-home .record-dot--draw { background: var(--yellow); color: var(--ink); }
.page-home .record-dot--loss { background: var(--orange); }
.page-home .form-record-text { margin: 0; font-family: var(--font-mono); font-size: 0.85rem; color: var(--line); }

.page-home .possession-block { margin-top: auto; }
.page-home .possession-label { display: block; margin-bottom: 6px; font-size: 0.76rem; letter-spacing: 0.1em; color: var(--line); }
.page-home .chart-line { display: block; width: 100%; height: 44px; overflow: visible; }
.page-home .chart-line polyline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-home .chart-line circle { fill: var(--orange); }
.page-home .possession-values { display: flex; justify-content: space-between; margin-top: 6px; }
.page-home .possession-values span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--line); }
.page-home .form-note { margin: 0; padding-top: 12px; border-top: 1px dashed rgba(90, 74, 58, 0.3); font-size: 0.78rem; line-height: 1.65; color: var(--line); }

.page-home .home-archive { position: relative; background: var(--bg-cream); }
.page-home .archive-layout { display: grid; grid-template-columns: 1fr; gap: 36px; }
.page-home .archive-visual { position: relative; }
.page-home .archive-image-frame { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.page-home .archive-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-home .archive-visual-note { margin: 14px 0 0; padding-left: 16px; border-left: 3px solid var(--orange); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--line); }

.page-home .archive-content .section-kicker { margin-top: 0; }
.page-home .archive-lead { max-width: 600px; margin: 0 0 24px; line-height: 1.85; color: var(--line); }

.page-home .archive-list { border-top: 1px solid var(--home-line-soft); }

.page-home .archive-list-head,
.page-home .archive-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .archive-list-head {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--line);
}

.page-home .archive-row-team { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; }
.page-home .archive-row-stage { font-size: 0.86rem; line-height: 1.55; color: var(--line); }

.page-home .archive-dropdown { position: relative; font-size: 0.86rem; }
.page-home .archive-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(232, 74, 47, 0.5);
  border-radius: 999px;
  font-weight: 600;
  color: var(--orange);
  cursor: pointer;
  list-style: none;
}
.page-home .archive-dropdown summary::-webkit-details-marker { display: none; }
.page-home .archive-dropdown[open] summary { background: var(--orange); color: var(--white); }
.page-home .archive-month-list {
  position: absolute;
  z-index: 5;
  left: 0;
  top: calc(100% + 8px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 190px;
  padding: 8px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(46, 30, 15, 0.18);
}
.page-home .archive-month-link { padding: 8px 12px; border-radius: 8px; font-size: 0.84rem; color: var(--ink); text-decoration: none; }
.page-home .archive-month-link:hover { background: var(--soft-orange); }
.page-home .archive-more { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--orange); text-decoration: none; border-bottom: 2px solid var(--orange); }

@media (max-width: 767px) {
  .page-home .archive-list-head { display: none; }
  .page-home .archive-month-list { position: static; box-shadow: none; padding: 4px 8px; }
}

.page-home .home-speed {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, #12283e 100%);
  color: var(--bg-cream);
}

.page-home .home-speed::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 74, 47, 0.24), transparent 65%);
  pointer-events: none;
}

.page-home .speed-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.page-home .section-title--light { color: var(--bg-cream); }
.page-home .speed-lead { max-width: 600px; line-height: 1.85; color: rgba(253, 246, 227, 0.86); }

.page-home .speed-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .speed-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(253, 246, 227, 0.92);
}

.page-home .speed-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 3px;
  background: var(--orange);
}

.page-home .speed-panel .image-frame { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28); }
.page-home .speed-image-wrap img { display: block; width: 100%; height: auto; }

.page-home .speed-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.page-home .speed-card {
  padding: 18px 12px;
  border: 1px solid rgba(253, 246, 227, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.page-home .speed-big {
  display: inline;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1;
  color: var(--yellow);
}

.page-home .speed-unit { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; color: var(--orange); }
.page-home .speed-label { display: block; margin-top: 6px; font-size: 0.76rem; letter-spacing: 0.06em; color: rgba(253, 246, 227, 0.78); }

.page-home .speed-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.page-home .speed-contact-link { margin-left: 4px; font-size: 0.88rem; color: rgba(253, 246, 227, 0.74); text-decoration: underline; }
.page-home .speed-contact-link:hover { color: var(--yellow); }

@media (min-width: 768px) {
  .page-home .hero-match { grid-template-columns: 1fr 1.2fr 1fr; gap: 18px; }
  .page-home .hero-match-center { order: 0; }
  .page-home .hero-match-club--home { align-items: flex-start; text-align: left; }
  .page-home .hero-match-club--away { align-items: flex-end; text-align: right; }
  .page-home .hero-stat-num { font-size: 1.8rem; }
  .page-home .form-intro { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .page-home .archive-layout { grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; }
  .page-home .archive-list-head,
  .page-home .archive-row { grid-template-columns: 1fr 1.6fr 1fr; align-items: center; gap: 20px; }
  .page-home .speed-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
  .page-home .speed-points { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  .page-home .home-hero { min-height: 92vh; padding: 112px 0 72px; }
  .page-home .hero-title { font-size: clamp(3rem, 5.2vw, 4.8rem); }
  .page-home .form-grid { grid-template-columns: 1.5fr 1fr 1fr; align-items: stretch; }
  .page-home .archive-layout { gap: 72px; }
  .page-home .speed-grid { gap: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
  }
  .page-home .form-card:hover { transform: none; box-shadow: var(--shadow); }
}
