/* =============================================
   Y1 Game — Landing Page Sections
   Domain: https://y1game.tech/
   ============================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 84px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 18% 6%, rgba(118, 15, 28, .26), transparent 66%),
    radial-gradient(600px 400px at 92% 46%, rgba(98, 12, 22, .18), transparent 64%),
    radial-gradient(520px 320px at 55% 96%, rgba(106, 14, 25, .11), transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-soft), transparent);
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.05rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
}
.hero-title span {
  background: linear-gradient(96deg, var(--brand-lt) 10%, var(--go-lt) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 540px;
  margin-top: 20px;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}
.hero-logo img {
  width: 55%;
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(198, 18, 32, .38));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-logo + .hero-actions { margin-top: 0; }
.hero-actions + .eyebrow { margin-top: 36px; }

.hero-chips { margin-top: 26px; }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stars { display: flex; gap: 3px; color: var(--gold); }
.hero-stars svg { width: 16px; height: 16px; }
.hero-rating-text {
  font-size: .86rem;
  color: var(--text-mid);
}
.hero-rating-text strong {
  color: var(--white);
  font-family: var(--head);
}

/* ---------- Hero device showcase ---------- */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  padding: 10px 0;
}
.hero-stage::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 16, 30, .34), rgba(112, 14, 26, .14) 46%, transparent 70%);
  filter: blur(14px);
}

.device {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(255, 143, 148, .85), rgba(244, 19, 31, .55) 55%, rgba(190, 26, 44, .5));
  box-shadow: var(--sh-lg);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.device img {
  width: 100%;
  border-radius: 24px;
  background: var(--surface-0);
}
.device-main { width: 226px; }
.device-side { width: 158px; margin-bottom: 34px; opacity: .92; }
.device-side:first-child { transform: rotate(-4deg); }
.device-side:last-child  { transform: rotate(4deg); }
.device:hover { transform: translateY(-8px) rotate(0deg); }

.float-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  background: rgba(24, 10, 12, .92);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
  box-shadow: var(--sh-md);
  font-size: .8rem;
  color: var(--text);
  white-space: nowrap;
  animation: floaty 4.2s ease-in-out infinite;
}
.float-badge strong {
  font-family: var(--head);
  font-size: .92rem;
  color: var(--white);
}
.float-badge-ico {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(244, 19, 31, .16);
  color: var(--go-lt);
}
.float-badge-ico svg { width: 14px; height: 14px; }
.float-badge.is-brand .float-badge-ico {
  background: rgba(255, 77, 87, .18);
  color: var(--brand-lt);
}
.float-badge-tl { top: 12%; left: -6px; }
.float-badge-br { bottom: 14%; right: -6px; animation-delay: 1.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(30, 13, 16, .55);
  backdrop-filter: blur(10px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--head);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(96deg, var(--brand-lt), var(--go-lt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-lbl {
  margin-top: 8px;
  font-size: .82rem;
  color: var(--text-mid);
}

/* ---------- Bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento-item {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(38, 17, 20, .92), rgba(30, 13, 16, .92));
  border: 1px solid var(--line);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.bento-item:hover {
  transform: translateY(-5px);
  border-color: var(--line-soft);
  box-shadow: var(--sh-md);
}
.bento-item h3 {
  font-size: 1.02rem;
  margin-bottom: 9px;
}
.bento-item p {
  color: var(--text-mid);
  font-size: .9rem;
  line-height: 1.72;
}
.bento-wide {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
}
.bento-wide::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 87, .18), transparent 66%);
}
.bento-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.bento-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .89rem;
  color: var(--text-mid);
}
.bento-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--go-lt);
}

/* ---------- Game cards ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.game-card {
  padding: 28px 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(38, 17, 20, .94), rgba(30, 13, 16, .94));
  border: 1px solid var(--line);
  text-align: center;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 77, 87, .4);
  box-shadow: var(--sh-md);
}
.game-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(255, 77, 87, .18), rgba(244, 19, 31, .12));
  border: 1px solid var(--line-soft);
  color: var(--brand-lt);
}
.game-ico svg { width: 24px; height: 24px; }
.game-card h3 { font-size: .98rem; margin-bottom: 8px; }
.game-card p { font-size: .86rem; color: var(--text-mid); line-height: 1.65; }

/* ---------- Install timeline ---------- */
.timeline { display: grid; gap: 0; margin-top: 8px; }
.tl-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding-bottom: 26px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--line-soft), transparent);
}
.tl-item:last-child::before { display: none; }
.tl-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, rgba(255, 77, 87, .2), rgba(244, 19, 31, .14));
  border: 1px solid var(--line-soft);
  font-family: var(--head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.tl-body h3 { font-size: 1rem; margin: 10px 0 6px; }
.tl-body p { color: var(--text-mid); font-size: .9rem; line-height: 1.7; }

/* ---------- Download panel ---------- */
.dl-panel {
  padding: 34px 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(38, 17, 20, .96), rgba(24, 10, 12, .96));
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-lg);
  text-align: center;
}
.dl-panel-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(244, 19, 31, .2), rgba(244, 19, 31, .08));
  border: 1px solid rgba(244, 19, 31, .3);
  color: var(--go-lt);
}
.dl-panel-ico svg { width: 28px; height: 28px; }
.dl-panel h3 { font-size: 1.24rem; margin-bottom: 8px; }
.dl-panel > p {
  color: var(--text-mid);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.dl-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
  text-align: left;
}
.dl-spec {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
}
.dl-spec span {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.dl-spec strong {
  display: block;
  margin-top: 4px;
  font-family: var(--head);
  font-size: .9rem;
  color: var(--text);
}

/* ---------- Bonus cards ---------- */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bonus-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(38, 17, 20, .94), rgba(30, 13, 16, .94));
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-lt), var(--go-lt), transparent);
}
.bonus-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-soft);
  box-shadow: var(--sh-md);
}
.bonus-amount {
  font-family: var(--head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(96deg, var(--gold), var(--go-lt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bonus-card h3 { font-size: 1rem; margin-bottom: 10px; }
.bonus-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }
.bonus-card .tag { margin-top: 16px; }

/* ---------- Pros & cons ---------- */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
}
.pc-card {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(38, 17, 20, .92), rgba(30, 13, 16, .92));
  border: 1px solid var(--line);
}
.pc-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pc-card h3 svg { width: 18px; height: 18px; }
.pc-card.is-pros h3 { color: var(--go-lt); }
.pc-card.is-cons h3 { color: var(--text-dim); }
.pc-card ul { display: grid; gap: 12px; }
.pc-card li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.pc-card li::before {
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}
.pc-card.is-pros li::before { content: '✓'; color: var(--go-lt); }
.pc-card.is-cons li::before { content: '✕'; color: var(--text-dim); }

/* ---------- Screenshot gallery ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-1);
  transition: transform var(--ease), border-color var(--ease);
}
.shot:hover { transform: translateY(-5px); border-color: var(--line-soft); }
.shot img { width: 100%; }
.shot figcaption {
  padding: 14px 18px;
  font-size: .84rem;
  color: var(--text-mid);
  border-top: 1px solid var(--line);
}

/* ---------- Long-form article block ---------- */
.long-form {
  padding: 84px 0 40px;
  border-top: 1px solid var(--line);
}
.long-form .prose { margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { padding: 34px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-lead { max-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .stat:nth-child(4) { border-right: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 768px) {
  .hero { padding: 24px 0 50px; }
  .hero-logo { margin-bottom: 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stage::before { width: 300px; height: 300px; }
  .device-main { width: 190px; }
  .device-side { display: none; }
  .float-badge { font-size: .74rem; padding: 9px 13px; }
  .float-badge-tl { left: 0; }
  .float-badge-br { right: 0; }

  .stat { padding: 22px 18px; }
  .stat-num { font-size: 1.55rem; }

  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bento-item { padding: 24px 22px; }

  .game-grid { gap: 12px; }
  .game-card { padding: 22px 16px; }

  .dl-panel { padding: 26px 22px; }
  .pc-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .long-form { padding: 56px 0 24px; }
}

@media (max-width: 480px) {
  .hero-rating { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bonus-amount { font-size: 2rem; }
  .dl-specs { grid-template-columns: 1fr; }
}
