.page-home {
  --home-max-w: 1480px;
  --home-gutter: clamp(16px, 3vw, 40px);
  --home-ball-lg: clamp(42px, 5.4vw, 74px);
  --home-num-lg: clamp(19px, 2.4vw, 32px);
  --home-ball-sm: clamp(28px, 2vw, 36px);
  --home-num-sm: clamp(13px, 1.1vw, 16px);
  background: var(--c-bg-dark);
  color: var(--c-text);
}
.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}
.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}
.page-home a {
  color: inherit;
  text-decoration: none;
}
.page-home a:focus-visible,
.page-home select:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}
.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-gold);
}
.page-home .home-kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--c-primary);
  flex: none;
}
.page-home .home-section-inner {
  width: min(var(--home-max-w), 100%);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}
.page-home .home-section-head {
  margin-bottom: 26px;
}
.page-home .home-section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  margin: 8px 0 10px;
  color: var(--c-text);
}
.page-home .home-section-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-secondary);
  max-width: 840px;
  margin: 0;
}

.page-home .page-home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  padding: 40px 0 56px;
  overflow: clip;
  isolation: isolate;
}
.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-home .home-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
}
.page-home .home-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26,26,29,.98) 20%, rgba(26,26,29,.86) 48%, rgba(26,26,29,.24) 100%);
  z-index: -1;
}
.page-home .home-hero-angle {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 48%;
  height: 62%;
  background: linear-gradient(130deg, rgba(142,29,29,.58), rgba(198,40,40,.1));
  transform: skewX(-16deg);
  z-index: 0;
  pointer-events: none;
}
.page-home .home-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--home-max-w), 100%);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}
.page-home .home-hero-copy {
  max-width: 1080px;
}
.page-home .home-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--c-text-secondary);
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.page-home .home-breadcrumbs a:hover {
  color: var(--c-gold);
}
.page-home .home-crumb-sep {
  color: rgba(245,197,24,.44);
}
.page-home .home-breadcrumbs [aria-current="page"] {
  color: var(--c-gold);
  font-weight: 700;
}
.page-home .home-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.02;
  margin: 0 0 16px;
  color: var(--c-text);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}
.page-home .home-title-sub {
  color: var(--c-gold);
}
.page-home .home-title-pipe {
  color: rgba(245,197,24,.5);
  font-weight: 400;
  font-size: .78em;
  padding-inline: 4px;
}
.page-home .home-lead {
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.9;
  color: var(--c-text-secondary);
  max-width: 900px;
  margin: 0 0 30px;
}
.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 1080px) {
  .page-home .home-hero-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.page-home .home-live-card {
  background:
    linear-gradient(150deg, rgba(142,29,29,.24), transparent 38%),
    linear-gradient(150deg, rgba(45,45,48,.96), rgba(28,28,31,.98));
  border: 1px solid rgba(245,197,24,.2);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.page-home .home-live-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.page-home .home-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-gold);
  background: rgba(245,197,24,.1);
  border: 1px solid rgba(245,197,24,.3);
  border-radius: 999px;
  padding: 6px 12px;
}
.page-home .home-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  animation: homePulse 2s ease-out infinite;
}
@keyframes homePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,.55); }
  50% { box-shadow: 0 0 0 8px rgba(245,197,24,0); }
}
.page-home .home-live-body {
  display: grid;
  gap: 18px;
}
.page-home .home-live-lottery {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .home-live-name {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
}
.page-home .home-live-phase {
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--c-text-secondary);
  letter-spacing: .08em;
}
.page-home .home-ball-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.2vw, 14px);
  align-items: center;
}
.page-home .home-ball {
  width: var(--home-ball-lg);
  height: var(--home-ball-lg);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: var(--home-num-lg);
  font-weight: 700;
  color: #fff;
  background: radial-gradient(circle at 30% 24%, #f5f5f7 0%, var(--c-primary) 46%, #5e0e0e 100%);
  box-shadow: inset -2px -4px 10px rgba(0,0,0,.35), 0 8px 18px rgba(198,40,40,.28), 0 0 0 1px rgba(255,255,255,.05);
}
.page-home .home-ball--gold {
  background: radial-gradient(circle at 30% 24%, #fff 0%, var(--c-gold) 50%, #a67c00 100%);
  color: #1a1a1d;
  box-shadow: inset -2px -4px 8px rgba(0,0,0,.16), 0 8px 18px rgba(245,197,24,.28);
}
.page-home .home-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--c-text-secondary);
  border-top: 1px solid rgba(245,197,24,.14);
  padding-top: 16px;
}
.page-home .home-live-meta strong {
  color: var(--c-gold);
}

.page-home .home-query-card {
  background: linear-gradient(160deg, rgba(45,45,48,.96), rgba(30,30,33,.98));
  border: 1px solid rgba(198,40,40,.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.page-home .home-query-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.page-home .home-query-note {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--c-text-secondary);
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.16);
  border-radius: 2px;
  padding: 5px 9px;
  white-space: nowrap;
}
.page-home .home-query-media {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.page-home .home-query-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 42%, rgba(245,197,24,.08) 50%, transparent 58%);
}
.page-home .home-query-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.page-home .home-query-picker {
  display: grid;
  gap: 12px;
}
.page-home .home-query-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
}
.page-home .home-step-no {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-gold);
  background: rgba(245,197,24,.08);
  border-radius: 2px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}
.page-home .home-step-field {
  display: grid;
  gap: 4px;
}
.page-home .home-step-field label {
  font-size: 12px;
  color: var(--c-text-secondary);
}
.page-home .home-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background-color: var(--c-bg-card);
  border: 1px solid rgba(245,197,24,.2);
  color: var(--c-text);
  font-family: var(--font-num);
  font-size: 14px;
  padding: 10px 34px 10px 12px;
  border-radius: var(--radius);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-gold) 50%),
    linear-gradient(135deg, var(--c-gold) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.page-home .home-select option {
  background: var(--c-bg-card);
  color: var(--c-text);
}
.page-home .home-select:hover {
  border-color: rgba(245,197,24,.45);
}
.page-home .home-query-cta {
  display: block;
  text-align: center;
  background: linear-gradient(120deg, var(--c-primary), var(--c-deep-red));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(198,40,40,.24);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.page-home .home-query-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(198,40,40,.34);
  filter: brightness(1.08);
}
.page-home .home-query-tip {
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-text-secondary);
  margin: 0;
}
.page-home .home-query-tip a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245,197,24,.4);
}

.page-home .home-compare {
  position: relative;
  padding: 64px 0;
  background: linear-gradient(180deg, #141416 0%, var(--c-bg-dark) 100%);
  border-top: 1px solid rgba(245,197,24,.1);
}
.page-home .home-compare-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 20px;
}
@media (min-width: 860px) {
  .page-home .home-compare-board {
    grid-template-columns: 1fr auto 1fr;
  }
}
.page-home .home-compare-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  min-height: 250px;
  display: flex;
  align-items: flex-end;
}
.page-home .home-compare-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}
.page-home .home-compare-panel--prev .home-compare-bg {
  opacity: .3;
}
.page-home .home-compare-panel--next .home-compare-bg {
  opacity: .46;
}
.page-home .home-compare-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,29,.2) 0%, rgba(26,26,29,.94) 100%);
}
.page-home .home-compare-panel--prev .home-compare-overlay {
  background: linear-gradient(180deg, rgba(142,29,29,.12) 0%, rgba(26,26,29,.96) 100%);
}
.page-home .home-compare-panel--next .home-compare-overlay {
  background: linear-gradient(180deg, rgba(26,26,29,.12) 0%, rgba(26,26,29,.9) 100%);
}
.page-home .home-compare-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
}
.page-home .home-compare-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-gold);
  background: rgba(26,26,29,.72);
  border: 1px solid rgba(245,197,24,.3);
  border-radius: 2px;
  padding: 5px 9px;
  margin-bottom: 12px;
}
.page-home .home-compare-name {
  font-family: var(--font-head);
  font-size: 20px;
  margin-bottom: 10px;
}
.page-home .home-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.page-home .home-mini-ball {
  width: var(--home-ball-sm);
  height: var(--home-ball-sm);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: var(--home-num-sm);
  font-weight: 700;
  color: #fff;
  background: radial-gradient(circle at 30% 24%, #f5f5f7 0%, var(--c-primary) 48%, #5e0e0e 100%);
  box-shadow: inset -1px -2px 6px rgba(0,0,0,.3), 0 4px 10px rgba(198,40,40,.2);
}
.page-home .home-mini-ball--gold {
  background: radial-gradient(circle at 30% 24%, #fff 0%, var(--c-gold) 52%, #a67c00 100%);
  color: #1a1a1d;
  box-shadow: inset -1px -2px 6px rgba(0,0,0,.14), 0 4px 10px rgba(245,197,24,.22);
}
.page-home .home-compare-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--c-text-secondary);
}
.page-home .home-compare-stats strong {
  color: var(--c-gold);
}
.page-home .home-compare-vs {
  place-self: center;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1d;
  background: linear-gradient(135deg, var(--c-gold-grad-1), var(--c-gold-grad-2));
  box-shadow: 0 0 24px rgba(245,197,24,.3);
}
.page-home .home-compare-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(245,197,24,.1);
}
.page-home .home-compare-foot p {
  margin: 0;
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.7;
}
.page-home .home-compare-foot strong {
  color: var(--c-gold);
  font-family: var(--font-num);
}
.page-home .home-outline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border: 1px solid rgba(245,197,24,.4);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.page-home .home-outline-link::after {
  content: '→';
  font-family: var(--font-num);
}
.page-home .home-outline-link:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #1a1a1d;
}

.page-home .home-guide {
  padding: 64px 0;
}
.page-home .home-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 920px) {
  .page-home .home-guide-grid {
    grid-template-columns: 5fr 7fr;
  }
}
.page-home .home-bookmark-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: linear-gradient(150deg, rgba(142,29,29,.24), rgba(45,45,48,.94) 42%);
  border: 1px solid rgba(198,40,40,.28);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
}
@media (min-width: 1080px) {
  .page-home .home-bookmark-card {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
  }
}
.page-home .home-bookmark-img-wrap {
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}
.page-home .home-bookmark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.page-home .home-bookmark-content {
  display: grid;
  gap: 14px;
}
.page-home .home-bookmark-content .home-section-title {
  margin: 0;
}
.page-home .home-guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .home-guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
}
.page-home .home-guide-steps li span {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}
.page-home .home-guide-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-secondary);
  background: rgba(245,197,24,.06);
  border-left: 3px solid var(--c-gold);
  padding: 10px 14px;
}
.page-home .home-function-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 920px) {
  .page-home .home-function-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.page-home .home-function-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--c-bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.page-home .home-function-card--wide {
  grid-column: 1 / -1;
}
.page-home .home-function-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,197,24,.5);
  box-shadow: 0 12px 26px rgba(0,0,0,.35);
}
.page-home .home-function-no {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-gold);
}
.page-home .home-function-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  margin: 0;
}
.page-home .home-function-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-secondary);
  margin: 0;
}

.page-home .home-category {
  padding: 64px 0 76px;
  background: linear-gradient(180deg, var(--c-bg-dark), #141416);
  border-top: 1px solid rgba(245,197,24,.1);
}
.page-home .home-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) {
  .page-home .home-category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .page-home .home-cat-card--apps { grid-column: span 4; }
  .page-home .home-cat-card--articles { grid-column: span 2; }
  .page-home .home-cat-card--support { grid-column: span 2; }
  .page-home .home-cat-card--about { grid-column: span 2; }
  .page-home .home-cat-card--contact { grid-column: span 2; }
}
.page-home .home-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(150deg, #2d2d30, #222226);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 26px;
  overflow: hidden;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.page-home .home-cat-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--c-gold);
  transition: width .18s ease;
}
.page-home .home-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,197,24,.4);
  box-shadow: 0 16px 34px rgba(0,0,0,.4);
}
.page-home .home-cat-card:hover::after {
  width: 64px;
}
.page-home .home-cat-card--apps {
  background:
    linear-gradient(130deg, rgba(198,40,40,.2), transparent 42%),
    linear-gradient(150deg, #2d2d30, #222226);
  border-left: 4px solid var(--c-primary);
}
.page-home .home-cat-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-gold);
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.18);
  border-radius: 2px;
  padding: 5px 10px;
}
.page-home .home-cat-card h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.28;
  margin: 0;
}
.page-home .home-cat-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-secondary);
  margin: 0;
  max-width: 620px;
}
.page-home .home-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.page-home .home-cat-link::after {
  content: '→';
  transition: transform .16s ease;
}
.page-home .home-cat-card:hover .home-cat-link::after {
  transform: translateX(4px);
}

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