/* ===== CSS Variables ===== */
:root {
  --bg: #f7f9fc;
  --surface: #eef2f8;
  --surface-2: #e3e9f2;
  --surface-3: #d6deeb;
  --text: #1a2238;
  --text-2: #2a3556;
  --text-muted: #5a6580;
  --text-light: #8a93ab;
  --accent: #1e63d6;
  --accent-2: #3b82f6;
  --accent-3: #1554b8;
  --accent-soft: rgba(30, 99, 214, 0.08);
  --accent-border: rgba(30, 99, 214, 0.25);
  --blue-dark: #0d1b3e;
  --blue-mid: #152a5c;
  --blue-light: #1e4080;
  --border: #d4dae6;
  --border-2: #c4ccdb;
  --danger: #c53030;
  --success: #1a7a4a;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s ease;
  --shadow-sm: 0 2px 8px rgba(13, 27, 62, 0.06);
  --shadow: 0 4px 16px rgba(13, 27, 62, 0.1);
  --shadow-lg: 0 8px 32px rgba(13, 27, 62, 0.12);
  --shadow-blue: 0 4px 20px rgba(30, 99, 214, 0.18);
  --max-width: 1140px;
  --header-h: 72px;
  --font-head: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-3);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 36px 0;
}

.bg-surface {
  background: var(--surface);
}

.section-title {
  text-align: center;
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0.5rem auto 2rem;
  font-size: 1rem;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 2rem;
}

.accent {
  color: var(--accent);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-top {
  background: var(--blue-dark);
  padding: 7px 0;
}

.header-top-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.83rem;
}

.header-contact-item svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-2);
  flex-shrink: 0;
}

.header-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.company-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.company-name span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
  position: relative;
}

.nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

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

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 62, 0.82) 0%, rgba(21, 42, 92, 0.65) 50%, rgba(30, 99, 214, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero h1 .accent {
  color: var(--accent-2);
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.badge svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-2);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 62, 0.82) 0%, rgba(21, 42, 92, 0.6) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 50px 0;
  max-width: 640px;
}

.page-hero h1 {
  font-size: 2.3rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.page-hero h1 .accent {
  color: var(--accent-2);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--accent-3);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(30, 99, 214, 0.25);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-large {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ===== Info Grid ===== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.info-grid.reverse {
  direction: rtl;
}

.info-grid.reverse > * {
  direction: ltr;
}

.info-text h2 {
  margin-bottom: 1rem;
}

.info-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.info-text img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent);
}

.card-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

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

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Pricing Grid ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-blue);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--surface);
  font-size: 0.92rem;
  color: var(--text-2);
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ===== Features List ===== */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ===== Reviews Grid ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.review-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.review-text {
  color: var(--text-2);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author-info h4 {
  font-size: 0.98rem;
  margin-bottom: 0;
}

.review-author-info span {
  color: var(--text-muted);
  font-size: 0.83rem;
}

/* ===== Games Grid ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.game-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.game-card-image {
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.06);
}

.game-card-body {
  padding: 22px;
}

.game-card-body h3 {
  margin-bottom: 0.5rem;
}

.game-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ===== Images Row ===== */
.images-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.images-row img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 240px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.4s ease;
}

.images-row img:hover {
  transform: scale(1.02);
}

/* ===== Steps Grid ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-item {
  text-align: center;
  padding: 24px 16px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ===== Offline Badges ===== */
.offline-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.offline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.offline-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-2);
}

/* ===== Themed Block ===== */
.themed-block {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  color: #fff;
}

.themed-block h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.themed-block p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.warning-text {
  color: var(--accent-2) !important;
  font-weight: 600;
  font-size: 0.92rem !important;
}

/* ===== Disclaimer Block ===== */
.disclaimer-block {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.disclaimer-block p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.disclaimer-block strong {
  color: var(--text);
}

/* ===== Forms ===== */
.form-wrap {
  max-width: 580px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--danger);
}

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

.form-error {
  display: none;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 5px;
}

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

.form-buttons {
  margin-top: 8px;
}

/* ===== Contact Info Grid ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
}

.contact-info-item .icon-wrap {
  width: 48px;
  height: 48px;
}

.contact-info-item .icon-wrap svg {
  width: 24px;
  height: 24px;
}

.contact-info-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-info-item p a {
  color: var(--accent-3);
}

.messenger-heading {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.messenger-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}

.messenger-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.messenger-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.messenger-btn.whatsapp:hover {
  background: #1da851;
  color: #fff;
}

.messenger-btn.viber {
  background: #665cac;
  color: #fff;
}

.messenger-btn.viber:hover {
  background: #524790;
  color: #fff;
}

/* ===== Map Container ===== */
.map-container {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ===== Legal Content ===== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 1rem;
}

.legal-content ul li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--blue-dark);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.footer-brand .company-name {
  color: #fff;
}

.footer-brand .company-name span {
  color: var(--accent-2);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.6);
  transition: fill var(--transition);
}

.footer-social a:hover svg {
  fill: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-2);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

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

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-legal-text p {
  margin-bottom: 3px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--blue-dark);
  border-top: 2px solid var(--accent);
  padding: 18px 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-bottom: 0;
  flex: 1;
}

.cookie-banner p a {
  color: var(--accent-2);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--accent-2);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-decline:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

/* ===== Success Popup ===== */
.success-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: #fff;
  border: 1px solid var(--success);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  max-width: 380px;
  box-shadow: 0 10px 40px rgba(13, 27, 62, 0.15);
}

.success-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.success-popup svg {
  width: 56px;
  height: 56px;
  fill: var(--success);
  margin: 0 auto 14px;
}

.success-popup h4 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.success-popup p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.success-popup .btn {
  width: 100%;
  justify-content: center;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 62, 0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.active {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ===== Utility Classes ===== */
.info-grid-spacing {
  margin-top: 40px;
}

.included-list {
  color: var(--text-muted);
  padding-left: 20px;
  list-style: disc;
}

.included-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 70px 20px 20px;
    gap: 0;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav a.active::after {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .info-grid, .info-grid.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }

  .cards-grid, .pricing-grid, .reviews-grid, .games-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .images-row {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: 480px;
  }

  .offline-badges {
    flex-direction: column;
    align-items: center;
  }

  .themed-block, .cta-block {
    padding: 28px 20px;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .messenger-buttons {
    flex-direction: column;
  }

  .messenger-btn {
    width: 100%;
    justify-content: center;
  }

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

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

  .badge {
    font-size: 0.78rem;
    padding: 7px 14px;
  }

  .offline-badge {
    font-size: 0.82rem;
    padding: 9px 18px;
  }

  .pricing-card {
    padding: 28px 18px;
  }

  .card, .review-card, .feature-item {
    padding: 20px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .header-logo .company-name {
    font-size: 1.05rem;
  }

  .header-logo img {
    width: 38px;
    height: 38px;
  }
}
