.page-home {
  background: var(--bg-space);
  color: var(--text-body);
  overflow-x: clip;
  scroll-behavior: smooth;
}

/* ============ HERO ============ */
.page-home .home-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 96px 0 56px;
  isolation: isolate;
}

.page-home .hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.36;
}

.page-home .hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 16, 38, 0.97) 0%, rgba(11, 16, 38, 0.86) 45%, rgba(11, 16, 38, 0.6) 100%);
}

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

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

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin: 0 0 20px;
  padding: 6px 12px;
  border: 1px solid rgba(53, 224, 208, 0.28);
  border-radius: 999px;
  background: rgba(53, 224, 208, 0.06);
}

.page-home .hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(53, 224, 208, 0.8);
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.page-home .hero-subtitle {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 44ch;
  margin: 0 0 28px;
}

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

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--accent-cyan);
  color: var(--bg-space);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .btn:hover {
  background: #8BF0E8;
  transform: translateY(-1px);
}

.page-home .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  background: transparent;
  color: var(--text-body);
  border: 1px solid rgba(231, 234, 243, 0.35);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(53, 224, 208, 0.08);
}

.page-home .hero-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(231, 234, 243, 0.14);
  border: 1px solid rgba(231, 234, 243, 0.14);
  border-radius: 8px;
  overflow: hidden;
  max-width: 720px;
}

.page-home .hero-index-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  background: var(--bg-space);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .hero-index-item:hover {
  background: rgba(53, 224, 208, 0.08);
  color: var(--accent-cyan);
}

.page-home .hero-index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.page-home .hero-orbit-panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
  padding: 16px 0;
}

.page-home .hero-watermark {
  position: absolute;
  right: -6px;
  bottom: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 20vw, 200px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(53, 224, 208, 0.18);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.page-home .hero-orbit-svg {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(53, 224, 208, 0.1));
}

.page-home .hero-orbit-svg text {
  font-family: var(--font-mono);
  font-size: 15px;
}

/* ============ SECTION HEAD (shared subset) ============ */
.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 38px;
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-cyan);
  white-space: nowrap;
  padding-top: 8px;
  border: 1px solid rgba(53, 224, 208, 0.35);
  border-radius: 4px;
  padding: 5px 9px;
  line-height: 1.2;
  background: rgba(53, 224, 208, 0.06);
}

.page-home .section-head-text {
  flex: 1;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

.page-home .section-title-tail {
  display: inline;
  color: var(--accent-cyan);
  font-weight: 600;
}

.page-home .section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 8px 0 0;
  max-width: 60ch;
}

/* ============ ROUND / R18 ============ */
.page-home .round-section {
  position: relative;
  background: linear-gradient(120deg, #7A102D 0%, var(--jewel-wine) 58%, #5F0B22 100%);
  padding: 76px 0 0;
  overflow: hidden;
}

.page-home .round-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(53, 224, 208, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

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

.page-home .round-lead {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.page-home .round-copy {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(231, 234, 243, 0.85);
  max-width: 56ch;
}

.page-home .round-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 28px;
}

.page-home .stat {
  min-width: 84px;
}

.page-home .stat-value {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-cyan);
}

.page-home .stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(231, 234, 243, 0.72);
  margin-top: 8px;
}

.page-home .round-focus {
  background: rgba(11, 16, 38, 0.42);
  border: 1px solid rgba(231, 234, 243, 0.12);
  border-radius: 14px;
  padding: 28px 24px;
}

.page-home .round-focus-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
}

.page-home .match-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.page-home .match-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(231, 234, 243, 0.1);
}

.page-home .match-item:last-child {
  border-bottom: 0;
}

.page-home .match-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  white-space: nowrap;
}

.page-home .match-label {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(231, 234, 243, 0.9);
}

.page-home .match-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-home .match-status--live {
  color: var(--accent-cyan);
  background: rgba(53, 224, 208, 0.1);
}

.page-home .match-status--warm {
  color: var(--warning-gold);
  background: rgba(245, 158, 11, 0.12);
}

.page-home .match-status--muted {
  color: var(--text-muted);
  background: rgba(154, 166, 200, 0.12);
}

.page-home .round-banner {
  width: 100%;
  margin-top: 60px;
}

.page-home .round-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

/* ============ PC LAYOUT ============ */
.page-home .pc-section {
  position: relative;
  background: var(--bg-space);
  padding: 88px 0;
  overflow: hidden;
}

.page-home .pc-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background: linear-gradient(155deg, rgba(15, 118, 110, 0.5) 0%, rgba(15, 118, 110, 0) 78%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.page-home .pc-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.page-home .pc-lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 22px;
}

.page-home .pc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.page-home .pc-feature {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(231, 234, 243, 0.08);
  font-size: 15px;
  line-height: 1.6;
}

.page-home .pc-feature-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  border: 1px solid rgba(53, 224, 208, 0.35);
  border-radius: 3px;
  padding: 2px 7px;
  flex-shrink: 0;
}

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

.page-home .pc-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(231, 234, 243, 0.1);
  background: #101736;
}

/* ============ CATEGORY ============ */
.page-home .category-section {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(180deg, var(--jewel-indigo) 0%, #241E56 55%, var(--bg-space) 100%);
  isolation: isolate;
  overflow: hidden;
}

.page-home .category-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-home .category-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(2px);
}

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

.page-home .category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 128px;
  padding: 20px 16px 18px;
  background: rgba(11, 16, 38, 0.52);
  border: 1px solid rgba(231, 234, 243, 0.12);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 224, 208, 0.5);
  background: rgba(11, 16, 38, 0.72);
}

.page-home .category-code {
  position: absolute;
  top: 13px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  opacity: 0.85;
  letter-spacing: 0.05em;
}

.page-home .category-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-body);
}

.page-home .category-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.page-home .category-note {
  text-align: center;
  font-size: 14px;
  color: rgba(231, 234, 243, 0.72);
  margin: 28px 0 0;
}

/* ============ GUIDE ============ */
.page-home .guide-section {
  position: relative;
  background: var(--bg-purple);
  padding: 88px 0;
  overflow: hidden;
}

.page-home .guide-section::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(53, 224, 208, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.page-home .guide-lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 26px;
}

.page-home .guide-steps {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.page-home .guide-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.page-home .guide-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(11, 16, 38, 0.35);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 14px;
}

.page-home .guide-step-text {
  font-size: 15px;
  line-height: 1.65;
  margin: 3px 0 0;
}

.page-home .guide-panel {
  background: rgba(11, 16, 38, 0.3);
  border: 1px solid rgba(231, 234, 243, 0.12);
  border-radius: 16px;
  padding: 30px 26px;
}

.page-home .guide-panel-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-home .guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.page-home .guide-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(231, 234, 243, 0.9);
}

.page-home .guide-list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 9px;
}

.page-home .guide-help-line {
  font-size: 13px;
  color: rgba(231, 234, 243, 0.74);
  line-height: 1.7;
  border-top: 1px solid rgba(231, 234, 243, 0.1);
  padding-top: 16px;
  word-break: break-all;
}

/* ============ ENTER ============ */
.page-home .enter-section {
  padding: 88px 0 80px;
  background: var(--bg-space);
}

.page-home .enter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

.page-home .enter-card {
  display: block;
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(124, 92, 191, 0.18) 0%, rgba(11, 16, 38, 0.62) 60%);
  border: 1px solid rgba(231, 234, 243, 0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .enter-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(53, 224, 208, 0.14) 0%, rgba(11, 16, 38, 0.76) 60%);
  border-color: rgba(53, 224, 208, 0.35);
}

.page-home .enter-card-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
}

.page-home .enter-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-body);
  margin: 10px 0 10px;
  line-height: 1.2;
}

.page-home .enter-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.page-home .enter-footer {
  margin: 32px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}

.page-home .enter-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}

.page-home .enter-link:hover {
  color: #8BF0E8;
}

/* ============ TARGET HIGHLIGHT ============ */
.page-home .round-section:target,
.page-home .pc-section:target,
.page-home .category-section:target,
.page-home .guide-section:target,
.page-home .enter-section:target {
  box-shadow: inset 0 0 0 2px rgba(53, 224, 208, 0.4);
}

/* ============ MEDIUM ≥ 640px ============ */
@media (min-width: 640px) {
  .page-home .hero-index {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .page-home .round-stats {
    gap: 32px 48px;
  }
}

/* ============ DESKTOP ≥ 1024px ============ */
@media (min-width: 1024px) {
  .page-home .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }

  .page-home .hero-copy {
    padding-right: 8px;
  }

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

  .page-home .round-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .page-home .pc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 68px;
  }

  .page-home .guide-grid {
    grid-template-columns: 1fr 1fr;
    gap: 68px;
  }

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

  .page-home .enter-footer {
    text-align: right;
  }
}
