/* ============================================================
   Adventurebliss — Interactive Digital Playground
   ============================================================ */

:root {
  --bg-main: #0A0D14;
  --bg-secondary: #121826;
  --surface: #1A2336;
  --surface-hover: #202C45;
  --text-main: #E5E7EB;
  --text-secondary: #94A3B8;
  --accent-blue: #3B82F6;
  --accent-pink: #EC4899;
  --accent-green: #22C55E;
  --accent-amber: #F59E0B;
  --border: rgba(148, 163, 184, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 32px 80px rgba(0, 0, 0, 0.55), 0 10px 28px rgba(59, 130, 246, 0.08);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  padding: 0.45rem 1rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 100px;
  margin-bottom: 1.2rem;
  background: rgba(59, 130, 246, 0.08);
}

.section-label.pink { color: var(--accent-pink); border-color: rgba(236, 72, 153, 0.35); background: rgba(236, 72, 153, 0.08); }
.section-label.green { color: var(--accent-green); border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08); }
.section-label.amber { color: var(--accent-amber); border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.08); }

.lead {
  color: var(--text-secondary);
  font-size: 1.12rem;
  max-width: 640px;
}

.text-gradient {
  background: linear-gradient(100deg, var(--accent-blue), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-blue), #5D9BFF);
  color: #fff;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(59, 130, 246, 0.55);
}

.btn-pink {
  background: linear-gradient(120deg, var(--accent-pink), #F472B6);
  color: #fff;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.35);
}

.btn-pink:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(236, 72, 153, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.25);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
  background: rgba(10, 13, 20, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 13, 20, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 128px;
  height: 128px;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.brand span {
  color: var(--accent-blue);
}

.main-nav ul {
  display: flex;
  gap: 0.4rem;
}

.main-nav a {
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-main);
  background: var(--surface);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.12);
}

.main-nav a.active {
  color: var(--accent-blue);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 10.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 12% 18%, rgba(59, 130, 246, 0.14), transparent 65%),
    radial-gradient(520px 300px at 88% 30%, rgba(236, 72, 153, 0.12), transparent 65%),
    radial-gradient(480px 280px at 55% 95%, rgba(34, 197, 94, 0.08), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--surface);
}

.badge svg {
  width: 14px;
  height: 14px;
}

.badge.blue { color: var(--accent-blue); border-color: rgba(59, 130, 246, 0.4); }
.badge.pink { color: var(--accent-pink); border-color: rgba(236, 72, 153, 0.4); }
.badge.green { color: var(--accent-green); border-color: rgba(34, 197, 94, 0.4); }

.hero h1 {
  margin-bottom: 1.3rem;
}

.hero .lead {
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-banner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  transform: rotate(2deg);
  transition: var(--transition);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(140deg, var(--surface), var(--bg-secondary));
}

.hero-visual:hover .hero-banner {
  transform: rotate(0deg) translateY(-6px);
}

.hero-chip {
  position: absolute;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(26, 35, 54, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-deep);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-chip svg {
  width: 20px;
  height: 20px;
}

.hero-chip.chip-one { top: -24px; left: -18px; color: var(--accent-green); }
.hero-chip.chip-two { bottom: -20px; right: -10px; color: var(--accent-amber); }

/* ---------- Offline notice block ---------- */

.offline-notice {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  align-items: start;
  padding: 2rem 2.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(26, 35, 54, 0.95), rgba(18, 24, 38, 0.95));
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-green);
  box-shadow: var(--shadow-deep);
  position: relative;
}

.offline-notice-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.offline-notice-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-green);
}

.offline-notice h3 {
  margin-bottom: 0.4rem;
}

.offline-notice p {
  color: var(--text-secondary);
}

.offline-notice strong {
  color: var(--accent-green);
}

/* ---------- Sections ---------- */

.section {
  padding: 6rem 0;
  position: relative;
}

.section.alt {
  background: var(--bg-secondary);
}

.section-head {
  margin-bottom: 3.2rem;
  max-width: 720px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.9rem;
}

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px 180px at 20% 0%, rgba(59, 130, 246, 0.1), transparent 70%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
  border-color: rgba(59, 130, 246, 0.35);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-blue);
}

.card-icon.pink { background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.3); }
.card-icon.pink svg { color: var(--accent-pink); }
.card-icon.green { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.3); }
.card-icon.green svg { color: var(--accent-green); }
.card-icon.amber { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.card-icon.amber svg { color: var(--accent-amber); }

.card h3 {
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

/* Asymmetric layouts */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.split .split-media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(140deg, var(--surface), var(--bg-secondary));
}

.split.reverse .split-media img {
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-lg);
}

.split-content h2 {
  margin-bottom: 1.1rem;
}

.split-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: rgba(236, 72, 153, 0.45);
  transform: translateY(-14px) rotate(-0.6deg);
  box-shadow: var(--shadow-float), 0 0 40px rgba(236, 72, 153, 0.12);
}

.price-card.featured .price-tag {
  background: linear-gradient(120deg, var(--accent-pink), #F472B6);
}

.price-card:hover {
  transform: translateY(-18px);
  box-shadow: var(--shadow-float);
}

.price-card.featured:hover {
  transform: translateY(-26px) rotate(0deg);
}

.price-badge {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.08);
}

.price-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-blue);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  width: fit-content;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price-card .price-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.price-value {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.price-value small {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.price-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.6rem;
}

.price-card ul {
  margin-bottom: 2rem;
  flex: 1;
}

.price-card ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 0.7rem;
}

.price-card ul li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.price-card.featured ul li svg {
  color: var(--accent-pink);
}

/* ---------- Comparison table ---------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-deep);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--surface);
}

.compare-table th,
.compare-table td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.compare-table thead th {
  background: var(--bg-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.compare-table thead th:first-child {
  color: var(--text-main);
}

.compare-table tbody tr {
  transition: var(--transition);
}

.compare-table tbody tr:hover {
  background: var(--surface-hover);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  font-weight: 700;
  color: var(--text-main);
}

.compare-table .hl {
  color: var(--accent-green);
  font-weight: 700;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  gap: 1.2rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(140deg, var(--surface), var(--bg-secondary));
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.2rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(10, 13, 20, 0.9));
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover figcaption {
  opacity: 1;
}

.g-wide { grid-column: span 4; grid-row: span 2; }
.g-tall { grid-column: span 2; grid-row: span 2; }
.g-half { grid-column: span 3; grid-row: span 1; }
.g-small { grid-column: span 2; grid-row: span 1; }

/* ---------- Stats ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.stat-card {
  text-align: center;
  padding: 2.4rem 1.4rem;
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.stat-card:nth-child(2) { border-radius: var(--radius-md) var(--radius-md) 6px var(--radius-md); }
.stat-card:nth-child(3) { border-radius: var(--radius-md) 6px var(--radius-md) var(--radius-md); }
.stat-card:nth-child(4) { border-radius: 6px var(--radius-md) var(--radius-md) var(--radius-md); }

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
  border-color: rgba(59, 130, 246, 0.35);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-card:nth-child(1) .stat-number { color: var(--accent-blue); }
.stat-card:nth-child(2) .stat-number { color: var(--accent-pink); }
.stat-card:nth-child(3) .stat-number { color: var(--accent-green); }
.stat-card:nth-child(4) .stat-number { color: var(--accent-amber); }

.stat-label {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Timeline / values ---------- */

.timeline {
  position: relative;
  padding-left: 2.2rem;
  max-width: 720px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--accent-blue), var(--accent-pink), var(--accent-green));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--accent-blue);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.6);
}

.timeline-item:nth-child(2)::before { border-color: var(--accent-pink); box-shadow: 0 0 14px rgba(236, 72, 153, 0.6); }
.timeline-item:nth-child(3)::before { border-color: var(--accent-green); box-shadow: 0 0 14px rgba(34, 197, 94, 0.6); }
.timeline-item:nth-child(4)::before { border-color: var(--accent-amber); box-shadow: 0 0 14px rgba(245, 158, 11, 0.6); }

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-deep);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font);
  font-size: 0.97rem;
  transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-field.error input,
.form-field.error textarea,
.form-field.error select {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.field-error {
  font-size: 0.8rem;
  color: var(--accent-pink);
  display: none;
}

.form-field.error .field-error {
  display: block;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  grid-column: 1 / -1;
  justify-content: center;
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 20, 0.8);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-float);
  transform: translateY(24px) scale(0.96);
  transition: var(--transition);
}

.modal-overlay.visible .modal-box {
  transform: translateY(0) scale(1);
}

.modal-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.25);
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-green);
}

.modal-box h3 {
  margin-bottom: 0.7rem;
}

.modal-box p {
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1.1rem;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(6px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-soft);
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.contact-item-icon svg {
  width: 21px;
  height: 21px;
  color: var(--accent-blue);
}

.contact-item.green .contact-item-icon { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.3); }
.contact-item.green .contact-item-icon svg { color: var(--accent-green); }
.contact-item.pink .contact-item-icon { background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.3); }
.contact-item.pink .contact-item-icon svg { color: var(--accent-pink); }
.contact-item.amber .contact-item-icon { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.contact-item.amber .contact-item-icon svg { color: var(--accent-amber); }

.contact-item h4 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.contact-item a {
  font-weight: 600;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--accent-blue);
}

/* ---------- Game page ---------- */

.anchor-menu {
  position: sticky;
  top: 76px;
  z-index: 50;
  background: rgba(18, 24, 38, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.6rem;
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-deep);
}

.anchor-menu a {
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}

.anchor-menu a:hover,
.anchor-menu a.active {
  color: var(--text-main);
  background: var(--surface);
}

.anchor-menu a.active {
  color: var(--accent-blue);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.2);
}

.game-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 150px;
}

.game-block:last-of-type {
  border-bottom: none;
}

.game-block:nth-child(even) {
  direction: rtl;
}

.game-block:nth-child(even) > * {
  direction: ltr;
}

.game-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  background: linear-gradient(140deg, var(--surface), var(--bg-secondary));
  transition: var(--transition);
}

.game-block:nth-child(even) .game-media img {
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-lg) var(--radius-lg);
}

.game-media img:hover {
  transform: translateY(-6px) rotate(-0.5deg);
}

.game-content h3 {
  font-size: 1.7rem;
  margin-bottom: 0.9rem;
}

.game-content > p {
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.game-sub {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin: 1.2rem 0 0.5rem;
}

.game-content ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.game-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-blue);
  transform: rotate(45deg);
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  background:
    radial-gradient(500px 240px at 15% 20%, rgba(59, 130, 246, 0.22), transparent 65%),
    radial-gradient(420px 220px at 85% 80%, rgba(236, 72, 153, 0.18), transparent 65%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

/* ---------- Legal pages ---------- */

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.4rem 0 0.9rem;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.6rem;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1.2rem;
}

.legal-content ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-blue);
  transform: rotate(45deg);
}

.legal-content a {
  color: var(--accent-blue);
  transition: var(--transition);
}

.legal-content a:hover {
  color: var(--accent-pink);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand {
  margin-bottom: 1.1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  max-width: 320px;
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-blue);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.93rem;
  margin-bottom: 0.9rem;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a {
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-bottom strong {
  color: var(--text-main);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .split,
  .split.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .game-block,
  .game-block:nth-child(even) { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
}

/* ---------- Cookie Banner ---------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  z-index: 150;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.cookie-banner-text a {
  color: var(--accent-blue);
  transition: var(--transition);
}

.cookie-banner-text a:hover {
  color: var(--accent-pink);
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.8rem;
}

.cookie-banner .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .cookie-banner {
    padding: 1.2rem 0;
  }

  .cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cookie-banner-buttons {
    width: 100%;
  }

  .cookie-banner .btn {
    flex: 1;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 13, 20, 0.97);
    backdrop-filter: blur(16px);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 105;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .main-nav a {
    font-size: 1.3rem;
    padding: 0.8rem 2rem;
    display: inline-block;
  }

  .burger { display: flex; }

  .grid-3,
  .grid-2,
  .grid-4,
  .stats-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }

  .g-wide { grid-column: span 2; }
  .g-tall { grid-column: span 2; }
  .g-half { grid-column: span 2; }
  .g-small { grid-column: span 1; }

  .offline-notice { grid-template-columns: 1fr; padding: 1.6rem; }
  .hero { padding-top: 8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .form-card { padding: 1.8rem; }
  .cta-band { padding: 2.8rem 1.6rem; }
}
