.page-home {
  --home-accent: #FF6B35;
  --home-gold: #D4AF37;
  --home-bg: #0A1A2F;
  --home-deep: #0B0F19;
  --home-light: #F5F7FA;
  --home-muted: #B0B8C8;
  --home-green: #00E5A0;
  --home-purple: #A855F7;
  --home-red: #FF3D3D;
  --home-border: rgba(212, 175, 55, 0.22);
  --home-radius: 4px;
  --home-transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);

  background:
    radial-gradient(ellipse at 80% 5%, rgba(168, 85, 247, 0.08), transparent 60%),
    linear-gradient(180deg, #0A1A2F 0%, #0B0F19 100%);
  color: var(--home-light);
  overflow-x: clip;
}

.page-home .container {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.page-home .section {
  padding-block: clamp(56px, 9vw, 104px);
  position: relative;
}

.page-home .section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--home-border);
  padding-bottom: 18px;
}

.page-home .section-kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--home-gold);
  margin-bottom: 8px;
}

.page-home .section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.18;
  margin: 0;
  color: var(--home-light);
  letter-spacing: 0.01em;
}

.page-home .section-note {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  max-width: 320px;
  text-align: right;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--home-radius);
  text-decoration: none;
  transition: box-shadow var(--home-transition), transform var(--home-transition), background var(--home-transition), border-color var(--home-transition);
  cursor: pointer;
}

.page-home .btn-primary {
  background: var(--home-accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.3), 0 0 24px rgba(255, 107, 53, 0.16);
}

.page-home .btn-primary:hover {
  background: #ff7a4d;
  box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.4), 0 0 36px rgba(255, 107, 53, 0.32);
  transform: translateY(-2px);
}

.page-home .btn-ghost {
  background: transparent;
  color: var(--home-light);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: inset 0 0 0 1px transparent;
}

.page-home .btn-ghost:hover {
  border-color: var(--home-gold);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.2), inset 0 0 12px rgba(212, 175, 55, 0.06);
  transform: translateY(-2px);
}

.page-home .btn-small {
  padding: 10px 18px;
  font-size: 14px;
}

.page-home .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home .badge-live {
  background: rgba(255, 61, 61, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 61, 61, 0.3);
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--home-muted);
  margin-bottom: 20px;
}

.page-home .breadcrumb a {
  color: var(--home-gold);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  text-decoration: underline;
}

.page-home .home-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  padding: clamp(80px, 12vw, 140px) 0 60px;
  isolation: isolate;
  overflow: hidden;
}

.page-home .hero-image-layer {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.page-home .hero-image-layer img,
.page-home .live-visual img,
.page-home .replay-media img,
.page-home .device-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hero-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(0.72) contrast(1.1);
}

.page-home .hero-image-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 47, 0.92) 0%, rgba(10, 26, 47, 0.55) 55%, rgba(11, 15, 25, 0.35) 100%);
  backdrop-filter: blur(0.5px);
}

.page-home .hero-angle-block {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(168, 85, 247, 0.08) 70%);
  clip-path: polygon(100% 0, 100% 100%, 34% 100%, 100% 0);
  z-index: -2;
}

.page-home .hero-angle-accent {
  position: absolute;
  top: 18%;
  left: -4%;
  width: 22%;
  height: 12%;
  background: var(--home-purple);
  opacity: 0.6;
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  filter: blur(1px);
  z-index: -1;
}

.page-home .hero-container {
  position: relative;
  z-index: 2;
}

.page-home .hero-content {
  max-width: 820px;
}

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--home-gold);
  margin-bottom: 16px;
}

.page-home .hero-eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--home-gold), transparent);
}

.page-home .hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 6.6vw, 72px);
  line-height: 1.04;
  margin: 0 0 20px;
  color: var(--home-light);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.page-home .hero-title::after {
  content: "·";
  color: var(--home-gold);
  margin-left: 6px;
}

.page-home .hero-lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  color: rgba(245, 247, 250, 0.85);
  max-width: 640px;
  margin: 0 0 32px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 72px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 28px;
}

.page-home .hero-stat {
  position: relative;
}

.page-home .hero-stat .stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--home-light);
}

.page-home .hero-stat .stat-label {
  font-size: 14px;
  color: var(--home-muted);
  margin-top: 4px;
}

.page-home .hero-track-motion {
  position: absolute;
  right: 4%;
  bottom: 10%;
  opacity: 0.75;
  z-index: -1;
  animation: homeTrackDrift 12s ease-in-out infinite alternate;
}

@keyframes homeTrackDrift {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-18px) rotate(4deg); }
}

.page-home .home-calendar-section {
  scroll-margin-top: 24px;
}

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

.page-home .calendar-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--home-border);
  padding-bottom: 0;
}

.page-home .calendar-tab {
  appearance: none;
  background: transparent;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--home-muted);
  cursor: pointer;
  border-radius: var(--home-radius) var(--home-radius) 0 0;
  transition: color 0.3s var(--home-transition), background 0.3s var(--home-transition), box-shadow 0.3s var(--home-transition);
}

.page-home .calendar-tab:hover {
  color: var(--home-light);
}

.page-home .calendar-tab.is-active {
  background: rgba(212, 175, 55, 0.08);
  color: var(--home-gold);
  box-shadow: inset 0 -2px 0 var(--home-gold);
}

.page-home .calendar-board {
  background: rgba(11, 15, 25, 0.66);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 28px);
  min-height: 260px;
}

.page-home .calendar-list {
  display: grid;
  gap: 14px;
}

.page-home .match-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "league badge"
    "teams teams"
    "meta meta";
  gap: 6px 16px;
  align-items: center;
  background: rgba(245, 247, 250, 0.03);
  border-left: 3px solid var(--home-gold);
  padding: 14px 18px;
  border-radius: var(--home-radius);
  transition: background 0.3s var(--home-transition), transform 0.3s var(--home-transition), border-left-color 0.3s var(--home-transition);
}

.page-home .match-card:hover {
  background: rgba(245, 247, 250, 0.06);
  transform: translateX(4px);
  border-left-color: var(--home-accent);
}

.page-home .match-league {
  grid-area: league;
  font-size: 13px;
  color: var(--home-gold);
  font-weight: 600;
}

.page-home .match-teams {
  grid-area: teams;
  font-family: var(--font-head);
  font-size: clamp(18px, 2.6vw, 26px);
  color: var(--home-light);
}

.page-home .match-vs {
  color: var(--home-muted);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7em;
  margin: 0 10px;
}

.page-home .match-meta {
  grid-area: meta;
  font-size: 14px;
  color: var(--home-muted);
}

.page-home .calendar-login-cta {
  position: relative;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(168, 85, 247, 0.04));
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 24px;
  border-radius: var(--home-radius);
  overflow: hidden;
}

.page-home .calendar-login-cta .cta-line {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--home-accent);
  margin-bottom: 16px;
}

.page-home .calendar-login-cta h3 {
  font-family: var(--font-head);
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--home-light);
}

.page-home .calendar-login-cta p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-muted);
  margin-bottom: 18px;
}

.page-home .home-live-section {
  background: rgba(245, 247, 250, 0.02);
  border-block: 1px solid rgba(212, 175, 55, 0.06);
}

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

.page-home .live-copy {
  max-width: 600px;
}

.page-home .live-copy P {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 247, 250, 0.78);
}

.page-home .content-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

.page-home .content-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--home-light);
}

.page-home .content-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--home-green);
  font-size: 18px;
}

.page-home .live-visual {
  position: relative;
  max-width: 600px;
  margin-inline: auto;
}

.page-home .live-visual img {
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.page-home .live-refresh-indicator {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 15, 25, 0.88);
  border: 1px solid rgba(0, 229, 160, 0.4);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--home-green);
  box-shadow: 0 0 18px rgba(0, 229, 160, 0.12);
}

.page-home .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.6);
  animation: homePulse 2s infinite;
}

@keyframes homePulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 229, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0); }
}

.page-home .home-replay-section {
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.05) 70%, transparent);
}

.page-home .replay-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .replay-media {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.page-home .replay-media img {
  border-radius: 8px;
}

.page-home .replay-svg-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

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

.page-home .replay-copy > p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 247, 250, 0.8);
  margin-bottom: 20px;
}

.page-home .feature-points {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.page-home .feature-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: flex-start;
}

.page-home .feature-num {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--home-gold);
  opacity: 0.7;
}

.page-home .feature-point h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--home-light);
}

.page-home .feature-point p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--home-muted);
  margin: 0;
}

.page-home .home-device-section {
  position: relative;
}

.page-home .home-device-section::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 40%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 229, 160, 0.05), transparent 70%);
  pointer-events: none;
}

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

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

.page-home .device-copy > p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 247, 250, 0.78);
}

.page-home .device-steps {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.page-home .step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--home-light);
  background: rgba(245, 247, 250, 0.03);
  padding: 14px 16px;
  border-radius: var(--home-radius);
  border-left: 2px solid rgba(212, 175, 55, 0.3);
}

.page-home .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--home-gold);
  color: var(--home-deep);
  font-family: var(--font-head);
  font-size: 13px;
  margin-top: 2px;
}

.page-home .device-support {
  font-size: 14px;
  color: var(--home-muted);
  margin-top: 20px;
}

.page-home .device-visual {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
}

.page-home .device-visual img {
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.page-home .device-bound-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 15, 25, 0.92);
  border: 1px solid rgba(0, 229, 160, 0.45);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--home-green);
  box-shadow: 0 0 18px rgba(0, 229, 160, 0.16);
}

.page-home .device-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.16);
  font-weight: 700;
}

.page-home .home-services-section {
  background: rgba(245, 247, 250, 0.02);
  border-top: 1px solid rgba(212, 175, 55, 0.07);
  border-bottom: 1px solid rgba(212, 175, 55, 0.07);
}

.page-home .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 28px);
}

.page-home .service-card {
  display: block;
  position: relative;
  background: rgba(11, 15, 25, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  padding: 28px 24px;
  min-height: 200px;
  text-decoration: none;
  transition: border-color 0.3s var(--home-transition), transform 0.3s var(--home-transition), box-shadow 0.3s var(--home-transition), background 0.3s var(--home-transition);
  overflow: hidden;
}

.page-home .service-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% -30%;
  height: 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--home-transition);
}

.page-home .service-card:hover {
  border-color: rgba(212, 175, 55, 0.42);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32), 0 0 24px rgba(212, 175, 55, 0.1);
  background: rgba(11, 15, 25, 0.9);
}

.page-home .service-card:hover::after {
  opacity: 1;
}

.page-home .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: var(--home-accent);
  margin-bottom: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: var(--home-radius);
  background: rgba(255, 107, 53, 0.06);
}

.page-home .service-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--home-light);
}

.page-home .service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-muted);
  margin: 0;
  max-width: 320px;
}

.page-home .home-trust-section {
  padding-block: 32px;
  background: var(--home-deep);
}

.page-home .trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.page-home .trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.page-home .trust-mark {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--home-gold);
  white-space: nowrap;
}

.page-home .trust-item p {
  margin: 0;
  font-size: 14px;
  color: var(--home-muted);
}

@media (max-width: 560px) {
  .page-home .hero-stats {
    gap: 24px;
  }

  .page-home .hero-stat .stat-num {
    font-size: 24px;
  }

  .page-home .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-home .section-note {
    text-align: left;
  }

  .page-home .match-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "league"
      "teams"
      "meta"
      "badge";
  }

  .page-home .calendar-tab {
    padding: 10px 14px;
    font-size: 14px;
  }

  .page-home .feature-point {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .page-home .feature-num {
    font-size: 18px;
  }

  .page-home .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) {
  .page-home .calendar-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }

  .page-home .calendar-login-cta {
    padding: 28px;
  }
}

@media (min-width: 900px) {
  .page-home .live-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .page-home .replay-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
  }

  .page-home .device-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

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

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

@media (min-width: 1100px) {
  .page-home .calendar-board {
    padding: 36px;
  }

  .page-home .calendar-list {
    gap: 20px;
  }

  .page-home .home-hero {
    min-height: 88vh;
  }

  .page-home .hero-content {
    margin-right: auto;
    margin-left: clamp(0px, 4vw, 80px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-track-motion,
  .page-home .pulse-dot {
    animation: none;
  }

  .page-home .btn-primary:hover,
  .page-home .btn-ghost:hover,
  .page-home .service-card:hover {
    transform: none;
  }
}
