.page-home {
  --home-hero-min: min(100vh, 840px);
  --home-card-bg: #1a1a24;
  --home-border: rgba(255, 45, 120, 0.4);
  --home-cyan-line: rgba(0, 229, 255, 0.45);
  background: #0a0a0f;
  color: #f5f5fa;
  overflow-x: hidden;
}

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

.page-home .hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .hero-grid-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.25) 0%, rgba(10, 10, 15, 0.88) 82%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(255, 255, 255, 0.02) 3px, rgba(255, 255, 255, 0.02) 4px);
}

.page-home .hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 24px;
}

.page-home .hero-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #b0b0c0;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.page-home .hero-crumb a {
  color: #b0b0c0;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.page-home .hero-crumb a:hover {
  color: #00e5ff;
}

.page-home .crumb-sep {
  color: rgba(255, 45, 120, 0.8);
}

.page-home .crumb-current {
  color: #ffd700;
}

.page-home .hero-title {
  margin: 12px 0 10px;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-family: "Orbitron", "Noto Sans SC", var(--font-body);
  text-shadow:
    0 0 18px rgba(255, 45, 120, 0.65),
    0 0 60px rgba(0, 229, 255, 0.28);
}

.page-home .hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: #f5f5fa;
  line-height: 1.5;
  margin: 0 0 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #b0b0c0;
  margin-bottom: 28px;
}

.page-home .hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .hero-meta-item .gold-text {
  font-size: 1.1rem;
}

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

/* ========== TICKER ========== */
.page-home .home-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 16px clamp(16px, 4vw, 48px);
  background: linear-gradient(90deg, rgba(255, 45, 120, 0.12), rgba(0, 229, 255, 0.08), rgba(255, 45, 120, 0.12));
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #b0b0c0;
  letter-spacing: 0.04em;
}

.page-home .ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .ticker-item::before {
  content: "◆";
  font-size: 0.5rem;
  color: #ff2d78;
}

/* ========== SECTION HEAD ========== */
.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 34px;
}

.page-home .section-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.page-home .section-desc {
  max-width: 60ch;
  color: #b0b0c0;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

/* ========== TONIGHT ========== */
.page-home .home-tonight {
  padding: 80px 0 70px;
}

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

.page-home .tonight-card {
  position: relative;
  background: var(--home-card-bg);
  border: 1px solid var(--home-border);
  border-radius: 10px;
  padding: 28px 24px 24px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
  overflow: hidden;
}

.page-home .tonight-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ff2d78, #00e5ff);
}

.page-home .tonight-card:nth-child(2) {
  border-color: rgba(0, 229, 255, 0.35);
}

.page-home .tonight-card:nth-child(2)::after {
  background: linear-gradient(90deg, transparent, #00e5ff, #ffd700);
}

.page-home .tonight-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow:
    0 0 26px rgba(255, 45, 120, 0.22),
    0 0 60px rgba(0, 229, 255, 0.12);
}

.page-home .tonight-card .card-index {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffd700;
  opacity: 0.92;
  letter-spacing: 0.04em;
}

.page-home .tonight-card h3 {
  margin: 0 0 8px;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.3;
  padding-right: 56px;
}

.page-home .tonight-card .card-meta {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #b0b0c0;
  line-height: 1.6;
}

.page-home .card-tags {
  display: flex;
  gap: 8px;
}

.page-home .card-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  font-size: 0.75rem;
  color: #f5f5fa;
  background: rgba(255, 45, 120, 0.08);
  letter-spacing: 0.04em;
}

.page-home .card-tags .card-tag:nth-child(2) {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.07);
}

/* ========== CONSOLE ========== */
.page-home .home-console {
  padding: 80px 0 80px;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.95), rgba(26, 26, 36, 0.6)),
    radial-gradient(circle at 80% 10%, rgba(0, 229, 255, 0.08), transparent 42%);
}

.page-home .console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.page-home .console-panel {
  background: #0d0d15;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  padding: 22px 20px 18px;
  box-shadow:
    inset 0 0 26px rgba(0, 229, 255, 0.05),
    0 6px 34px rgba(0, 0, 0, 0.5);
}

.page-home .console-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.22);
}

.page-home .console-panel-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: #00e5ff;
  text-transform: uppercase;
}

.page-home .console-panel-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ffd700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 4px;
}

.page-home .console-field {
  margin-bottom: 18px;
}

.page-home .console-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #b0b0c0;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.page-home .console-field input {
  width: 100%;
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(0, 229, 255, 0.6);
  border-radius: 6px;
  color: #f5f5fa;
  font-size: 1rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.page-home .console-field input:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.page-home .console-field input::placeholder {
  color: rgba(176, 176, 192, 0.55);
}

.page-home .console-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 45, 120, 0.18);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #b0b0c0;
}

.page-home .console-accent {
  color: #ff2d78;
  letter-spacing: 0.1em;
  text-shadow: 0 0 12px rgba(255, 45, 120, 0.6);
}

.page-home .console-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.page-home .console-visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 45, 120, 0.28);
  display: block;
  object-fit: cover;
  max-width: 100%;
}

.page-home .visual-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #b0b0c0;
  letter-spacing: 0.08em;
  margin: 0;
  text-align: right;
}

/* ========== LIVE ========== */
.page-home .home-live {
  padding: 80px 0 80px;
  background:
    radial-gradient(circle at 12% 45%, rgba(255, 45, 120, 0.09), transparent 40%),
    linear-gradient(180deg, #0a0a0f, #0d0d15);
}

.page-home .live-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: rgba(26, 26, 36, 0.55);
  border: 1px solid rgba(255, 45, 120, 0.25);
  border-radius: 14px;
  padding: 22px 18px;
}

.page-home .live-visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 229, 255, 0.28);
  display: block;
}

.page-home .live-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .data-card {
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.page-home .data-card:hover {
  border-color: rgba(255, 45, 120, 0.5);
  box-shadow: 0 0 22px rgba(255, 45, 120, 0.18);
  transform: translateY(-2px);
}

.page-home .data-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #b0b0c0;
  letter-spacing: 0.08em;
}

.page-home .data-value {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #f5f5fa;
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.25);
}

.page-home .data-value.gold-text {
  color: #ffd700;
  text-shadow: 0 0 22px rgba(255, 215, 0, 0.35);
}

.page-home .data-note {
  font-size: 0.8rem;
  color: #b0b0c0;
}

/* ========== CHANNELS ========== */
.page-home .home-channels {
  position: relative;
  padding: 100px 0 90px;
  isolation: isolate;
  overflow: hidden;
}

.page-home .channels-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .channels-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.34;
}

.page-home .home-channels::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #0a0a0f 0%, rgba(10, 10, 15, 0.3) 40%, rgba(10, 10, 15, 0.3) 60%, #0a0a0f 100%),
    radial-gradient(circle at 50% 40%, rgba(0, 229, 255, 0.1), transparent 55%);
}

.page-home .channels-content {
  position: relative;
  z-index: 1;
}

.page-home .channel-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 26px 0 34px;
}

.page-home .channel-tag {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(26, 26, 36, 0.82);
  border: 1px solid rgba(255, 45, 120, 0.4);
  border-radius: 999px;
  color: #f5f5fa;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.35s var(--ease-out);
  backdrop-filter: blur(4px);
}

.page-home .channel-tag:hover {
  border-color: #00e5ff;
  box-shadow:
    0 0 16px rgba(0, 229, 255, 0.4),
    0 0 36px rgba(255, 45, 120, 0.2);
  color: #00e5ff;
  transform: translateY(-3px);
}

.page-home .channel-tag:nth-child(3n) {
  border-color: rgba(0, 229, 255, 0.4);
}

.page-home .cta-line {
  text-align: center;
  font-size: 0.95rem;
  color: #b0b0c0;
  margin: 0;
}

.page-home .cta-line a {
  color: #ff2d78;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.page-home .cta-line a:hover {
  color: #00e5ff;
  border-bottom-color: #00e5ff;
}

/* ========== OUTRO ========== */
.page-home .home-outro {
  padding: 70px 0 90px;
  background:
    linear-gradient(180deg, #0a0a0f, #0d0d15);
}

.page-home .outro-inner {
  display: flex;
  justify-content: center;
}

.page-home .outro-inner > div {
  max-width: 760px;
  text-align: center;
}

.page-home .outro-inner h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.25;
  margin: 10px 0 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-home .outro-desc {
  color: #b0b0c0;
  line-height: 1.8;
  margin: 0 0 28px;
  font-size: 1rem;
}

.page-home .outro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
  .page-home .tonight-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .console-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .page-home .live-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    padding: 28px;
  }

  .page-home .live-data-grid {
    gap: 16px;
  }

  .page-home .data-card {
    padding: 22px 18px;
  }

  .page-home .channel-cloud {
    gap: 14px 18px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-tonight {
    padding: 96px 0 88px;
  }

  .page-home .home-console {
    padding: 100px 0;
  }

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

  .page-home .home-channels {
    padding: 120px 0 100px;
  }

  .page-home .tonight-card {
    padding: 34px 28px 28px;
  }

  .page-home .live-panel {
    gap: 36px;
    padding: 36px;
  }
}
