.page-home {
  --home-grid-line: rgba(198, 255, 61, 0.24);
  --home-grid-deep: rgba(198, 255, 61, 0.1);
  --home-scan-line: rgba(255, 90, 54, 0.14);
  --home-speed-line: rgba(198, 255, 61, 0.1);
  --home-card-tint: rgba(198, 255, 61, 0.06);
  overflow-x: hidden;
  background: var(--space-blue);
  color: var(--white);
}

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

.page-home .section-head {
  max-width: 860px;
}

.page-home .lead {
  color: var(--rock-gray);
  line-height: 1.85;
}

.page-home .btn-solid {
  background: linear-gradient(135deg, var(--orange-red), var(--terracotta));
  border: 1px solid rgba(255, 90, 54, 0.55);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255, 90, 54, 0.24);
}

.page-home .btn-ghost {
  border-color: rgba(198, 255, 61, 0.5);
  color: var(--neon-green);
}

.page-home .hero-cta {
  animation: home-cta-pulse 2.6s ease-in-out infinite;
}

@keyframes home-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 54, 0.48); }
  50% { box-shadow: 0 0 22px 4px rgba(255, 90, 54, 0.28); }
}

.page-home .home-hero {
  position: relative;
  padding: 120px 0 64px;
  background: radial-gradient(1000px 460px at 88% 4%, rgba(198, 255, 61, 0.12), transparent 62%), var(--space-blue);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 26px, rgba(198, 255, 61, 0.06) 26px 54px, transparent 54px 80px);
}

.page-home .hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
}

.page-home .hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  color: var(--orange-red);
  text-transform: uppercase;
}

.page-home .hero-tagline::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange-red);
  transform: skewX(-24deg);
}

.page-home .hero-title {
  margin: 18px 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8.5vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-home .hero-title-accent {
  color: var(--neon-green);
  text-shadow: 0 0 38px rgba(198, 255, 61, 0.32);
}

.page-home .hero-desc {
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--rock-gray);
  margin-bottom: 28px;
}

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

.page-home .hero-actions .btn {
  padding: 14px 26px;
}

.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  list-style: none;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--card-border);
}

.page-home .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero-stats strong {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--neon-green);
  letter-spacing: 0.02em;
}

.page-home .hero-stats span {
  font-size: 0.8rem;
  color: var(--cold-gray);
}

.page-home .hero-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--ocean-depth);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-home .hero-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  mix-blend-mode: screen;
  z-index: 1;
}

.page-home .hero-grid {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 16%;
  height: 120%;
  z-index: 2;
  pointer-events: none;
  transform: perspective(520px) rotateX(62deg) scale(1.15);
  transform-origin: 50% 16%;
  background:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.68;
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 220%;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 6px, var(--home-scan-line) 6px 8px);
  animation: home-scan-move 7s linear infinite;
}

@keyframes home-scan-move {
  to { transform: translateY(56px); }
}

.page-home .hero-side-note {
  position: absolute;
  right: 12px;
  bottom: 14px;
  z-index: 4;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--cold-gray);
  text-transform: uppercase;
}

.page-home .home-categories {
  position: relative;
  padding: 72px 0 64px;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--space-blue);
}

.page-home .category-lead {
  max-width: 680px;
}

.page-home .category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.page-home .category-card {
  position: relative;
  display: block;
  padding: 16px 15px 14px;
  color: var(--white);
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 2px solid var(--neon-green);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: transform var(--transition-base), background var(--transition-base);
}

.page-home .category-card:hover {
  background: var(--home-card-tint);
  transform: translate(-2px, -2px);
}

.page-home .category-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--orange-red);
  margin-bottom: 8px;
}

.page-home .category-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.page-home .category-desc {
  display: block;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--rock-gray);
}

.page-home .category-count {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-green);
  background: rgba(198, 255, 61, 0.08);
  border: 1px solid rgba(198, 255, 61, 0.22);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.page-home .category-total {
  margin-top: 22px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--cold-gray);
}

.page-home .category-total strong {
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.page-home .category-visual {
  margin-top: 26px;
}

.page-home .category-visual .image-frame {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-home .category-visual img,
.page-home .live-frame img,
.page-home .register-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .category-visual-note {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--rock-gray);
  border-left: 3px solid var(--terracotta);
  padding-left: 12px;
}

.page-home .home-live {
  padding: 72px 0;
  background: linear-gradient(180deg, rgba(18, 52, 86, 0.6), var(--space-blue) 78%);
}

.page-home .live-layout {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.page-home .live-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-home .live-tab {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--white);
  text-decoration: none;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.page-home .live-tab:hover {
  background: rgba(198, 255, 61, 0.12);
  color: var(--neon-green);
}

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

.page-home .panel-label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-red);
  margin: 2px 0 0;
}

.page-home .match-card {
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--neon-green);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: border-color var(--transition-base), background var(--transition-base);
}

.page-home .match-card:hover {
  border-left-color: var(--orange-red);
  background: rgba(255, 255, 255, 0.06);
}

.page-home .match-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--cold-gray);
  margin-bottom: 10px;
}

.page-home .match-league {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.page-home .match-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.page-home .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange-red);
  box-shadow: 0 0 8px rgba(255, 90, 54, 0.85);
  animation: home-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes home-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-home .score-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.page-home .team-name {
  font-size: 0.96rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
  line-height: 1.4;
}

.page-home .score-num {
  font-family: var(--font-mono);
  font-size: 1.42rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--neon-green);
}

.page-home .match-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.page-home .match-clock {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cold-gray);
}

.page-home .replay-link {
  font-size: 0.84rem;
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px dashed rgba(198, 255, 61, 0.5);
  padding-bottom: 2px;
}

.page-home .replay-link:hover {
  color: var(--orange-red);
  border-color: var(--orange-red);
}

.page-home .live-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .live-visual {
  display: grid;
  gap: 12px;
}

.page-home .live-frame {
  position: relative;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-home .live-frame-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--neon-green);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.page-home .live-note {
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--rock-gray);
  border-left: 3px solid var(--neon-green);
  padding-left: 12px;
}

.page-home .live-note strong {
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.page-home .live-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--cold-gray);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-home .home-register {
  padding: 72px 0;
  background: var(--space-blue);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.page-home .register-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

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

.page-home .register-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--white);
}

.page-home .register-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--orange-red);
  font-size: 1.15rem;
}

.page-home .register-cta {
  position: relative;
  overflow: hidden;
  padding: 14px 26px;
}

.page-home .register-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  transform: skewX(-24deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: home-shimmer 3.2s ease-in-out infinite;
}

@keyframes home-shimmer {
  0%, 55% { left: -80%; }
  100% { left: 140%; }
}

.page-home .register-visual {
  position: relative;
}

.page-home .register-visual .image-frame {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transform: skewX(-2deg);
}

.page-home .register-visual img {
  transform: skewX(2deg) scale(1.06);
}

.page-home .register-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--neon-green);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
}

.page-home .home-updates {
  padding: 72px 0 60px;
  background: linear-gradient(180deg, var(--space-blue), rgba(10, 28, 51, 0.98));
}

.page-home .update-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin-top: 36px;
}

.page-home .update-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: start;
}

.page-home .update-time {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--cold-gray);
  padding-top: 8px;
}

.page-home .update-card {
  padding: 16px 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--terracotta);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.page-home .update-card:hover {
  background: rgba(198, 255, 61, 0.05);
  border-left-color: var(--neon-green);
}

.page-home .chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--neon-green);
  background: rgba(198, 255, 61, 0.12);
  border: 1px solid rgba(198, 255, 61, 0.28);
  border-radius: 999px;
  padding: 3px 10px;
}

.page-home .update-card h3 {
  margin: 9px 0 6px;
  font-family: var(--font-heading);
  font-size: 1.04rem;
  line-height: 1.5;
}

.page-home .update-card h3 a {
  color: var(--white);
  text-decoration: none;
}

.page-home .update-card h3 a:hover {
  color: var(--neon-green);
}

.page-home .update-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--rock-gray);
}

.page-home .update-more {
  margin-top: 36px;
}

.page-home .update-more .btn {
  padding: 12px 26px;
}

.page-home .home-support {
  padding: 36px 0 72px;
  border-top: 1px solid var(--card-border);
  background: rgba(10, 28, 51, 0.9);
}

.page-home .home-trust {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--cold-gray);
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
}

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

.page-home .home-support-card {
  display: block;
  text-align: center;
  padding: 22px 14px;
  color: var(--white);
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.page-home .home-support-card:hover {
  border-color: rgba(198, 255, 61, 0.4);
  background: var(--home-card-tint);
  transform: translateY(-2px);
}

.page-home .home-support-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.page-home .home-support-card span {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--rock-gray);
}

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

  .page-home .update-item {
    grid-template-columns: 88px 1fr;
    gap: 18px;
  }
}

@media (min-width: 720px) {
  .page-home .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .page-home .home-support-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 140px 0 84px;
  }

  .page-home .hero-layout {
    grid-template-columns: 55% 45%;
    gap: 56px;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
  }

  .page-home .hero-visual {
    min-height: 520px;
  }

  .page-home .hero-title {
    font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  }

  .page-home .hero-desc {
    font-size: 1.06rem;
  }

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

  .page-home .category-visual {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 36px;
  }

  .page-home .category-visual-note {
    margin-top: 0;
    font-size: 0.92rem;
  }

  .page-home .home-live {
    padding: 88px 0;
  }

  .page-home .live-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
  }

  .page-home .home-register {
    padding: 88px 0;
  }

  .page-home .register-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }

  .page-home .home-updates {
    padding: 88px 0 72px;
  }

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