/* =============================================
   IV7 Game — Landing Page Sections
   Domain: https://www.iv7game.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 + .eyebrow { margin-top: 0; }
.eyebrow + .hero-title { margin-top: 18px; }

.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);
}

/* ---------- 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; }
  .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; filter: none; opacity: .55; }
  .device-main { width: 190px; }
  .device-side { display: none; }
  .float-badge {
    font-size: .74rem;
    padding: 9px 13px;
    animation: none;
    backdrop-filter: none;
  }
  .float-badge-tl { left: 0; }
  .float-badge-br { display: none; }

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

  .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; }
}
