:root {
  --main: #2280e4;
  --main-dark: #0f3e6f;
  --main-light: #76b4f7;
  --secondary: #FCE58B;
  --amber: #ff9100;
  --dark: #02080e;
  --light: #ebf5ff;
  --border: rgba(27, 67, 122, 0.26);
  --shadow: 0 18px 42px rgba(7, 13, 21, 0.2);
  --hero-bg: url("img/bottle-mania-bg.avif");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(228, 248, 232, 0.97), rgba(180, 195, 225, 0.34) 44%, rgba(14, 40, 74, 0.06)),
    repeating-linear-gradient(0deg, rgba(27, 67, 122, 0.055) 0, rgba(27, 74, 122, 0.055) 1px, transparent 1px, transparent 68px),
    repeating-linear-gradient(90deg, rgba(27, 57, 122, 0.055) 0, rgba(27, 68, 122, 0.055) 1px, transparent 1px, transparent 68px),
    rgb(228, 244, 232);
  color: var(--dark);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.25;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
  background: transparent;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  padding-left: 1.2rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  color: var(--dark);
}

h1 {
  font-size: clamp(1.8rem, 3.8vw, 4.9rem);
  line-height: 1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3.1vw, 3rem);
}

h3 {
  font-size: clamp(1.06rem, 1.7vw, 1.35rem);
}

strong {
  color: inherit;
  font-weight: 800;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(67, 120, 181, 0.18);
  background: var(--main-dark);
  color: var(--light);
  backdrop-filter: blur(16px);
}

.header__block {
  width: min(1180px, 100% - 32px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand img {
  width: 120px;
  height: 75px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex: 1;
}

.site-nav .mobile-menu-cta {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.site-nav .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(242, 248, 255, 0.88);
  font-weight: 700;
  cursor: pointer;
}

.site-nav .nav-link:hover {
  background: rgba(142, 165, 244, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  position: relative;
  border-radius: 7px;
  background: rgba(242, 247, 255, 0.196);
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--light);
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.burger span {
  top: 22px;
}

.burger::before {
  top: 15px;
}

.burger::after {
  top: 29px;
}

.burger.is-open span { opacity: 0; }
.burger.is-open::before { top: 22px; transform: rotate(45deg); }
.burger.is-open::after { top: 22px; transform: rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 7px;
  color: var(--light);
  background: var(--main-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: rgba(0, 0, 0, 0.18) 0 -3px 0 inset;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: rgba(14, 36, 74, 0.3) 0 12px 26px, rgba(0, 0, 0, 0.18) 0 -3px 0 inset;
  outline: none;
}

.btn-primary {
  color: var(--dark);
  background: linear-gradient(135deg, #ffe234, var(--secondary) 45%, var(--amber));
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid rgba(242, 247, 255, 0.36);
  background: rgba(242, 248, 255, 0.12);
  text-decoration: none;
}

/* ---------- LAYOUT ---------- */
.page {
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
  flex: 1;
}

section {
  margin: 0 0 34px;
  scroll-margin-top: 100px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  border: 1px solid rgba(27, 74, 122, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(270deg, rgba(7, 15, 21, 0.16), rgba(7, 15, 21, 0.6)),
    var(--hero-bg) center / cover no-repeat,
    linear-gradient(135deg, #0e2a4a, #2d527a 70%, #1a425c);
  box-shadow: var(--shadow);
  isolation: isolate;
  margin-top: 22px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 12, 15, 0.86), rgba(5, 10, 15, 0.34) 56%, rgba(5, 11, 15, 0.78)),
    radial-gradient(circle at 28% 24%, rgba(255, 214, 0, 0.16), transparent 34%);
}

.hero-content {
  width: 100%;
  padding: 28px clamp(28px, 5vw, 18px) clamp(28px, 5vw, 58px);
  color: var(--light);
}

.hero h1,
.hero p {
  color: var(--light);
}

.lead {
  margin-top: 18px;
  margin-bottom: 20px;
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(242, 249, 255, 0.18);
  border-radius: 7px;
  background: rgba(242, 248, 255, 0.1);
  color: var(--light);
  font-weight: 800;
}

.demo-stage {
  display: none;
  flex-direction: column;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(242, 249, 255, 0.28);
  border-radius: 8px;
}

.demo-stage.is-active {
  display: flex;
}

.demo-play-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--dark);
}

.demo-frame-wrap {
  display: flex;
}

.demo-frame {
  aspect-ratio: 16 / 9;
  border: 0;
}

.hero.is-demo-active .hero-start-controls {
  display: none;
}

.hero.is-demo-active .demo-stage {
  margin-top: 0;
  border: 0;
  border-radius: 8px;
  background: #030b04;
}

/* ---------- CONTENT PANELS ---------- */
.content-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(242, 249, 255, 0.78);
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

/* ---------- FACTS TABLE ---------- */
.slot-facts {
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(27, 81, 122, 0.24);
  border-radius: 8px;
  background: rgba(242, 249, 255, 0.96);
  box-shadow: rgba(14, 38, 74, 0.12) 0 12px 28px;
}

.slot-facts table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.slot-facts caption {
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--main-dark), var(--main));
  color: var(--light);
  text-align: left;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- GENERIC TABLES ---------- */
.table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(242, 247, 255, 0.9);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(27, 85, 122, 0.14);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--main-dark);
  color: var(--light);
  font-weight: 900;
}

tr:last-child td {
  border-bottom: 0;
}

/* ---------- STEP LIST ---------- */
.step-list {
  margin-top: 22px;
  padding: 0;
  counter-reset: steps 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.step-list li {
  position: relative;
  min-height: 58px;
  padding: 14px 14px 14px 58px;
  border: 1px solid rgba(27, 76, 122, 0.18);
  border-radius: 7px;
  background: rgb(237, 248, 253);
  font-weight: 700;
}

.step-list li::before {
  counter-increment: steps 1;
  content: counter(steps);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--main);
  color: rgb(255, 255, 255);
  font-weight: 900;
}

/* ---------- FACT CARD (ASIDE) ---------- */
.fact-card {
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(rgba(67, 130, 181, 0.13), rgba(242, 247, 255, 0.9)), rgb(237, 245, 253);
  border: 1px solid rgba(27, 68, 122, 0.22);
}

.fact-card ul {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

/* ---------- BONUS / SERIES CARDS ---------- */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}

.bonus-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(27, 122, 48, 0.22);
  border-radius: 8px;
  background: linear-gradient(160deg, rgb(237, 246, 253), rgb(200, 218, 236) 62%, rgba(67, 134, 181, 0.16)), rgb(237, 247, 253);
  box-shadow: rgba(14, 45, 74, 0.12) 0 12px 28px;
}

.bonus-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--main), var(--main-light), var(--secondary));
}

.bonus-card p {
  margin-top: 10px;
}

/* ---------- ICON BADGE ---------- */
.icon-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--secondary);
}

/* ---------- FEATURE LIST ---------- */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px;
  border: 1px solid rgba(27, 67, 122, 0.18);
  border-radius: 8px;
  background: rgb(237, 243, 253);
}

/* ---------- REVIEW NOTE / CALLOUT ---------- */
.review-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  border-left: 6px solid var(--main-light);
}

/* ---------- AUTHOR CARD ---------- */
.author-card {
  margin-top: 8px;
}

.author-name {
  margin-bottom: 18px;
}

.author-body {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.author-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--border);
}

.author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- FAQ ---------- */
.faq__list {
  display: grid;
  gap: 12px;
}

.faq__item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(237, 246, 253, 0.92);
}

.faq__item h3 {
  margin: 0;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--dark);
  background: transparent;
  text-align: left;
}

.faq__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--main);
  color: var(--light);
  flex: 0 0 auto;
  font-weight: 900;
}

.faq__answer {
  display: none;
  padding: 0 20px 18px;
  color: rgba(7, 15, 21, 0.84);
}

.faq__item.is-open .faq__answer {
  display: block;
}

/* ---------- TEXT HELPERS ---------- */
.lead {
  margin-bottom: 20px;
}

.bio-p {
  margin-bottom: 16px;
}

.bio-p--last {
  margin-bottom: 28px;
}

.section-sub-h3 {
  margin-top: 28px;
  margin-bottom: 16px;
}

.gameplay-img {
  margin-top: 24px;
  margin-bottom: 24px;
  border-radius: 8px;
}

/* ---------- PAYMENTS ---------- */
.payment-methods {
  margin-top: 10px;
}

.payment-methods h3 {
  margin: 28px 0 16px;
}

.payment-lead {
  margin-top: 14px;
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: 1px solid rgba(27, 92, 122, 0.18);
  border-radius: 8px;
  background: rgba(237, 248, 253, 0.9);
  min-width: 100px;
}

.payment-logo {
  border-radius: 8px;
}

.payment-item span {
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  color: var(--main-dark);
}

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 28px;
  padding: 36px 16px 30px;
  background: linear-gradient(rgb(7, 14, 21), rgb(3, 11, 4));
  color: var(--light);
}

.footer-1__list ul {
  width: min(960px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 0;
  list-style: none;
}

.footer button,
.footer a {
  background: transparent;
  text-transform: capitalize;
  color: rgba(242, 249, 255, 0.86) !important;
  font-weight: 700 !important;
}

.footer button:hover,
.footer a:hover {
  color: var(--secondary) !important;
}

.footer-rg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 248, 255, 0.12);
}

.footer-rg__item {
  display: inline-flex;
  align-items: center;
  opacity: 0.78;
  transition: opacity 0.2s;
  height: 40px;
  width: auto;
}

.footer-rg__item:hover {
  opacity: 1;
}

.footer-rg__icon {
  height: auto;
  width: 80px;
  display: block;
}

.footer-rg__icon__small {
  height: 40px;
  width: 40px;
  display: block;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-bottom: 4px;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(242, 247, 255, 0.1);
  transition: background 0.2s;
}

.footer-social__link:hover {
  background: rgba(255, 214, 0, 0.26) !important;
}

.footer-social__icon {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-2 {
  margin-top: 22px;
  text-align: center;
  color: rgba(242, 248, 255, 0.72);
  font-size: 0.94rem;
}

/* ============ MEDIA QUERIES ============ */
@media (max-width: 980px) {
  .header__block {
    width: min(100% - 24px, 1180px);
  }

  .burger {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(242, 246, 255, 0.18);
    background: rgba(7, 14, 21, 0.98);
    box-shadow: rgba(0, 0, 0, 0.4) 0 20px 44px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .mobile-menu-cta {
    display: inline-flex;
  }

  .split,
  .review-note,
  .bonus-grid,
  .feature-list,
  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header__block {
    min-height: 68px;
    gap: 10px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand img {
    width: 115px;
    height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .page {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    min-height: 0;
    margin-top: 14px;
  }

  .hero-content {
    padding: 16px 8px;
  }

  .hero-actions,
  .section-actions,
  .demo-play-action,
  .author-body,
  .author-actions {
    flex-direction: column;
  }

  .author-photo {
    width: 100px;
    height: 100px;
  }

  .btn {
    width: 100%;
  }

  .content-panel {
    padding: 22px 5px;
  }

  .demo-frame-wrap {
    aspect-ratio: 9 / 16;
    min-height: 560px;
  }

  .demo-frame {
    aspect-ratio: 9 / 16;
  }

  table {
    min-width: 560px;
  }

  .slot-facts {
    margin-bottom: 22px;
  }

  .slot-facts table {
    min-width: 0;
  }

  .slot-facts th {
    width: 42%;
  }

  .slot-facts caption {
    padding: 12px;
    font-size: 0.88rem;
  }

  .slot-facts th,
  .slot-facts td {
    padding: 11px 10px;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  th,
  td {
    padding: 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .footer-rg {
    gap: 8px 10px;
  }

  .footer-rg__icon,
  .footer-rg__icon__small {
    height: 28px;
  }

  .footer-social__link {
    width: 36px;
    height: 36px;
  }

  .footer-social__icon {
    width: 17px;
    height: 17px;
  }
}