.page-home {
  --home-grid-line: rgba(30, 144, 255, 0.08);
  --home-grid-strong: rgba(30, 144, 255, 0.18);
  --home-panel: #0F2027;
  --home-panel-soft: rgba(15, 32, 39, 0.88);
  --home-glow-blue: 0 14px 44px rgba(30, 144, 255, 0.22);
  --home-glow-green: 0 0 18px rgba(57, 255, 20, 0.35);
  --home-gradient: linear-gradient(135deg, #1E90FF 0%, #9B59B6 78%, #4B0082 100%);
  --primary: #1E90FF;
  --pct: 0;
  overflow-x: hidden;
  background: var(--c-bg);
  color: var(--c-text);
}

.page-home .home-crumb {
  position: absolute;
  top: calc(var(--header-h) + 18px);
  left: 24px;
  z-index: 12;
  color: var(--c-text-dim);
  font-size: 13px;
}

.page-home .home-crumb a {
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-crumb a:hover,
.page-home .home-crumb a:focus-visible {
  color: var(--c-blue);
  border-color: var(--c-blue);
}

.page-home .home-crumb [aria-current="page"] {
  color: var(--c-text-dim);
}

/* ========== HERO ========== */
.page-home .home-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 96px 0 104px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 88px), 0 100%);
  background: var(--c-bg-deep);
  isolation: isolate;
  overflow: hidden;
}

.page-home .home-hero__visual {
  position: absolute;
  inset: 0;
  z-index: -3;
}

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

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.7;
}

.page-home .home-hero__glare {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(5, 6, 10, 0.92) 18%, rgba(5, 6, 10, 0.55) 55%, rgba(30, 144, 255, 0.16) 100%);
}

.page-home .home-hero__inner {
  width: min(var(--container-w), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-home .home-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-text-faint);
  border-bottom: 1px solid rgba(30, 144, 255, 0.16);
  padding-bottom: 14px;
}

.page-home .home-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-green);
}

.page-home .home-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: var(--home-glow-green);
  animation: home-pulse 2.4s ease-in-out infinite;
}

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

.page-home .home-hero__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-hero__brand .imc-eyebrow {
  margin-bottom: 14px;
}

.page-home .home-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: var(--c-text);
  text-transform: uppercase;
}

.page-home .home-hero__mark {
  display: block;
  background: var(--home-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.16em;
}

.page-home .home-hero__lead {
  max-width: 48rem;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text-dim);
  margin: 0 0 26px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.page-home .home-hero__link {
  font-size: 14px;
  color: var(--c-text-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 144, 255, 0.35);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-hero__link:hover,
.page-home .home-hero__link:focus-visible {
  color: var(--c-blue);
  border-color: var(--c-blue);
}

/* LIVE FEED */
.page-home .home-feed {
  position: relative;
  background: var(--home-panel-soft);
  border: 1px solid var(--c-line);
  box-shadow: var(--home-glow-blue);
  backdrop-filter: blur(6px);
}

.page-home .home-feed::before,
.page-home .home-feed::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--c-green);
  border-style: solid;
  pointer-events: none;
}

.page-home .home-feed::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.page-home .home-feed::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.page-home .home-feed__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(30, 144, 255, 0.14);
}

.page-home .home-feed__label {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--c-text);
  text-transform: uppercase;
}

.page-home .home-feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-feed__row {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(30, 144, 255, 0.08);
  transition: background 0.2s ease;
  position: relative;
}

.page-home .home-feed__row:hover,
.page-home .home-feed__row:focus-within {
  background: linear-gradient(90deg, rgba(30, 144, 255, 0.1), rgba(30, 144, 255, 0.02));
}

.page-home .home-feed__time {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--c-text-faint);
}

.page-home .home-feed__match {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
}

.page-home .home-feed__match b {
  font-weight: 400;
  color: var(--c-text-faint);
  margin: 0 4px;
}

.page-home .home-feed__game {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-blue);
  border: 1px solid rgba(30, 144, 255, 0.3);
  padding: 2px 7px;
  white-space: nowrap;
}

.page-home .home-feed__bp {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-text-dim);
  white-space: nowrap;
}

.page-home .home-feed__win {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-green);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-home .home-feed__row:hover .home-feed__win,
.page-home .home-feed__row:focus-within .home-feed__win {
  opacity: 1;
  transform: translateX(0);
}

.page-home .home-feed__more {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  color: var(--c-blue);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
}

.page-home .home-feed__more:hover,
.page-home .home-feed__more:focus-visible {
  background: rgba(30, 144, 255, 0.07);
  color: var(--c-green);
}

/* ========== DATA DECK ========== */
.page-home .home-deck {
  padding: 76px 0 84px;
  background: var(--c-bg);
}

.page-home .home-deck__head {
  margin-bottom: 40px;
}

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

.page-home .home-deck__preview {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home .home-deck__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.page-home .home-deck__visual::after {
  content: "DATA-02";
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-green);
  background: rgba(5, 6, 10, 0.72);
  padding: 4px 9px;
}

.page-home .home-deck__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

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

.page-home .home-gauge__item {
  position: relative;
  text-align: center;
  background: var(--home-panel);
  border: 1px solid rgba(30, 144, 255, 0.16);
  padding: 14px 10px 12px;
}

.page-home .home-gauge__item svg {
  width: 96px;
  height: 96px;
  display: block;
  margin: 0 auto 6px;
}

.page-home .home-gauge__bg {
  fill: none;
  stroke: rgba(30, 144, 255, 0.1);
  stroke-width: 12;
}

.page-home .home-gauge__bar {
  fill: none;
  stroke: var(--c-blue);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: calc(314.16 * (1 - var(--pct)));
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.6s ease;
}

.page-home .home-gauge__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-green);
}

.page-home .home-gauge__label {
  display: block;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
  text-transform: uppercase;
}

/* BP TABS */
.page-home .home-bp {
  display: flex;
  flex-direction: column;
  background: var(--home-panel);
  border: 1px solid var(--c-line);
  width: 100%;
}

.page-home .home-bp__tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(30, 144, 255, 0.14);
}

.page-home .home-bp .imc-tabs__btn {
  flex: 1 1 auto;
  min-width: 90px;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(30, 144, 255, 0.1);
  padding: 14px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-dim);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-bp .imc-tabs__btn[aria-selected="true"] {
  color: var(--c-text);
  background: rgba(30, 144, 255, 0.12);
  box-shadow: inset 0 -2px 0 var(--c-blue);
}

.page-home .home-bp .imc-tabs__btn:hover,
.page-home .home-bp .imc-tabs__btn:focus-visible {
  color: var(--c-blue);
  background: rgba(30, 144, 255, 0.08);
}

.page-home .home-bp__panel {
  padding: 20px;
}

.page-home .home-bp__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.page-home .home-bp__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-bp__row {
  display: grid;
  grid-template-columns: 72px 1fr 48px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.page-home .home-bp__name {
  color: var(--c-text);
  font-weight: 600;
}

.page-home .home-bp__bar {
  height: 8px;
  background: rgba(30, 144, 255, 0.1);
  overflow: hidden;
}

.page-home .home-bp__bar span {
  display: block;
  height: 100%;
  width: calc(var(--v) * 1%);
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
  transition: width 0.5s ease;
}

.page-home .home-bp__value {
  text-align: right;
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--c-green);
}

.page-home .home-bp__foot {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-text-faint);
  border-top: 1px solid rgba(30, 144, 255, 0.1);
  padding-top: 12px;
}

/* ========== DEVICES ========== */
.page-home .home-devices {
  padding: 70px 0 84px;
  background: var(--c-bg-deep);
  position: relative;
}

.page-home .home-devices::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(30, 144, 255, 0.5), transparent);
}

.page-home .home-devices__head {
  margin-bottom: 44px;
}

.page-home .home-devices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.page-home .home-device {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 28px 26px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.08), rgba(15, 32, 39, 0.8) 50%, rgba(155, 89, 182, 0.06));
  border-left: 3px solid var(--c-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-device:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.page-home .home-device__index {
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-green);
  line-height: 1.2;
}

.page-home .home-device__body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.page-home .home-device__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-dim);
  margin: 0 0 14px;
}

.page-home .home-device__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-home .home-device__body li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--c-text-dim);
}

.page-home .home-device__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--c-blue);
  transform: rotate(45deg);
}

.page-home .home-devices__shot {
  position: relative;
  margin: 0;
  border: 1px solid rgba(30, 144, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.page-home .home-devices__shot img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-home .home-devices__note {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-text);
  background: rgba(5, 6, 10, 0.74);
  padding: 5px 10px;
  border-left: 2px solid var(--c-green);
}

/* ========== SUBSCRIPTION ========== */
.page-home .home-sub {
  position: relative;
  padding: 76px 0 84px;
  background:
    linear-gradient(120deg, rgba(30, 144, 255, 0.1), transparent 40%),
    radial-gradient(circle at 86% 24%, rgba(155, 89, 182, 0.14), transparent 46%),
    var(--c-bg);
  overflow: hidden;
}

.page-home .home-sub::after {
  content: "SUBSCRIBE";
  position: absolute;
  right: -24px;
  bottom: 10px;
  font-family: var(--font-data);
  font-size: 92px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(30, 144, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

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

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

.page-home .home-sub__lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-text-dim);
  margin: 0 0 20px;
  max-width: 560px;
}

.page-home .home-sub__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-sub__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--c-text);
}

.page-home .home-sub__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-data);
  color: var(--c-green);
}

.page-home .home-sub__visual {
  position: relative;
  margin: 0;
  border: 1px solid rgba(30, 144, 255, 0.16);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.page-home .home-sub__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-home .home-sub__tag {
  position: absolute;
  top: -12px;
  left: 18px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-bg);
  background: var(--c-green);
  padding: 4px 10px;
  font-weight: 700;
}

/* ========== NEWS ========== */
.page-home .home-news {
  padding: 70px 0 60px;
  background: var(--c-bg-deep);
}

.page-home .home-news__head {
  margin-bottom: 40px;
}

.page-home .home-news__grid {
  row-gap: 26px;
  column-gap: 24px;
}

.page-home .home-news__card {
  position: relative;
  background: var(--home-panel);
  border: 1px solid rgba(30, 144, 255, 0.1);
  padding: 24px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .home-news__card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.page-home .home-news__card:hover,
.page-home .home-news__card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border-color: rgba(30, 144, 255, 0.28);
}

.page-home .home-news__card:hover::after,
.page-home .home-news__card:focus-within::after {
  transform: scaleX(1);
}

.page-home .home-news__card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-text);
  margin: 14px 0 8px;
}

.page-home .home-news__card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-dim);
  margin: 0 0 14px;
}

.page-home .home-news__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 144, 255, 0.32);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-news__link:hover,
.page-home .home-news__link:focus-visible {
  color: var(--c-green);
  border-color: var(--c-green);
}

/* ========== TRUST ========== */
.page-home .home-trust {
  background: var(--c-bg-deep);
  border-top: 1px solid rgba(30, 144, 255, 0.06);
  padding: 22px 0 90px;
}

.page-home .home-trust__text {
  max-width: 720px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-faint);
  letter-spacing: 0.02em;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
  .page-home .home-hero__inner {
    gap: 40px;
  }

  .page-home .home-gauge__item svg {
    width: 118px;
    height: 118px;
  }

  .page-home .home-gauge__value {
    font-size: 26px;
    padding-top: 40px;
  }

  .page-home .home-devices__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .page-home .home-sub__inner {
    gap: 48px;
  }
}

@media (min-width: 920px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }

  .page-home .home-hero__top {
    grid-column: 1 / -1;
  }

  .page-home .home-hero h1 {
    font-size: clamp(3rem, 5vw, 5.2rem);
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }

  .page-home .home-deck__wrap {
    grid-template-columns: 1fr 1.05fr;
    gap: 36px;
  }

  .page-home .home-deck__preview {
    gap: 28px;
  }

  .page-home .home-sub__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-home .home-gauge {
    gap: 18px;
  }

  .page-home .home-gauge__item svg {
    width: 132px;
    height: 132px;
  }

  .page-home .home-gauge__value {
    font-size: 30px;
    padding-top: 46px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-bp__panel {
    padding: 28px;
  }

  .page-home .home-bp__row {
    grid-template-columns: 90px 1fr 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.page-home {
  --v: 1rem;
}
