:root {
  --bg: #07111c;
  --bg-soft: #0f2032;
  --panel: rgba(10, 21, 35, 0.78);
  --panel-strong: rgba(15, 27, 43, 0.95);
  --panel-soft: rgba(18, 37, 60, 0.72);
  --text: #ecf3f8;
  --muted: #9db0c0;
  --accent: #f6c667;
  --accent-strong: #f19a41;
  --mint: #77e0b5;
  --rose: #ff8f7a;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(246, 198, 103, 0.18), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(119, 224, 181, 0.16), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255, 143, 122, 0.12), transparent 28%),
    linear-gradient(180deg, #050b13 0%, #0a1523 38%, #0d1c2f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.page-shell {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.hero,
.featured-grid,
.summary-grid,
.toolbar,
.deals-grid {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-copy-block,
.hero-panel,
.summary-card,
.featured-card,
.spotlight-card,
.toolbar,
.deal-card,
.platform-pill,
.control-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy-block {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(246, 198, 103, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--panel);
}

.hero-copy-block::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 224, 181, 0.2), transparent 70%);
}

.eyebrow,
.panel-label,
.control-label {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--accent);
}

h1,
.section-head h2,
.featured-content h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 10ch;
  margin-top: 12px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-button:hover {
  transform: translateY(-2px);
}

.hero-button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #201408;
}

.hero-button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  border-radius: 34px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(119, 224, 181, 0.18), transparent 34%),
    var(--panel-strong);
}

.hero-panel-head strong,
.summary-card strong,
.spotlight-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.65rem;
  font-weight: 800;
}

.hero-panel-head span,
.summary-card p,
.spotlight-metric span,
.section-copy,
.status-row p,
.platform-pill p,
.deal-body p {
  color: var(--muted);
}

.hero-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
}

.orbit-ring,
.orbit-core {
  border-radius: 50%;
  position: absolute;
}

.orbit-ring {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-ring-a {
  width: 210px;
  height: 210px;
  animation: spin 18s linear infinite;
}

.orbit-ring-b {
  width: 145px;
  height: 145px;
  border-style: dashed;
  animation: spinReverse 14s linear infinite;
}

.orbit-core {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(145deg, rgba(246, 198, 103, 0.25), rgba(119, 224, 181, 0.16)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-core span,
.orbit-core small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.orbit-core strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.summary-card {
  padding: 20px 20px 22px;
  border-radius: 24px;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 18px;
  margin-bottom: 18px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 30px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(6, 11, 17, 0.08), rgba(6, 11, 17, 0.82)),
    center / cover no-repeat,
    var(--panel-soft);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 17, 28, 0.1) 0%, rgba(7, 17, 28, 0.82) 70%),
    linear-gradient(180deg, transparent 12%, rgba(7, 17, 28, 0.95) 100%);
}

.featured-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  max-width: 480px;
}

.featured-content h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.featured-content p {
  margin: 14px 0 0;
}

.featured-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.featured-stats span,
.platform-badge,
.discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-stats span {
  background: rgba(255, 255, 255, 0.08);
}

.spotlight-card {
  border-radius: 30px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(119, 224, 181, 0.08), transparent 24%),
    var(--panel);
}

.spotlight-metric {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-metric:last-child {
  border-bottom: 0;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.platform-pill {
  min-width: 180px;
  border-radius: 20px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 65%),
    var(--panel);
}

.platform-pill strong {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
}

.toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border-radius: 28px;
  margin-bottom: 12px;
}

.control-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 110px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

select,
input[type="range"] {
  width: 100%;
}

select {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(9, 18, 29, 0.92);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
}

input[type="range"] {
  accent-color: var(--accent);
}

.status-row {
  margin-bottom: 28px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-copy {
  max-width: 42ch;
  margin: 0;
  line-height: 1.7;
}

#page-title {
  font-size: clamp(1.5rem, 6vw, 2rem);
  color: red;
}

#page-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: aliceblue;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.deal-card {
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.deal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 198, 103, 0.28);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

.deal-image-wrap {
  position: relative;
  overflow: hidden;
}

.deal-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-soft);
  transform: scale(1.01);
}

.deal-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 24, 0.12), rgba(8, 15, 24, 0.82));
}

.deal-image-topline {
  position: absolute;
  inset: 16px 16px auto 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.platform-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.discount-pill {
  background: rgba(119, 224, 181, 0.16);
  color: var(--mint);
}

.deal-body {
  padding: 18px 18px 20px;
}

.deal-body h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
  line-height: 1.05;
}

.prices,
.sale-end {
  margin: 0 0 10px;
  line-height: 1.65;
}

.deal-body a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  margin-top: 8px;
  border-radius: 999px;
  color: #231406;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  font-weight: 800;
  text-decoration: none;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 1040px) {
  .hero,
  .featured-grid,
  .summary-grid,
  .toolbar,
  .deals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 18px;
  }

  .hero,
  .featured-grid,
  .summary-grid,
  .toolbar,
  .deals-grid,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 4.1rem);
  }

  .hero-copy-block,
  .hero-panel,
  .featured-card,
  .spotlight-card {
    padding: 22px;
    border-radius: 24px;
  }

  .toolbar {
    padding: 10px;
  }
}
