:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #12161c;
  --bg-card: #181d26;
  --bg-card-hover: #1f2530;
  --accent: #00e676;
  --accent-dark: #00c853;
  --accent-soft: rgba(0, 230, 118, 0.12);
  --accent-glow: rgba(0, 230, 118, 0.28);
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --orange-border: rgba(230, 81, 0, 0.45);
  --text-primary: #f4f6f8;
  --text-secondary: #9aa3af;
  --text-muted: #636b78;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 230, 118, 0.28);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 8px 32px rgba(0, 230, 118, 0.12);
  --gradient-bg: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 230, 118, 0.08), transparent),
                 radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 188, 212, 0.04), transparent),
                 var(--bg-primary);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 55%);
  --gradient-accent: linear-gradient(135deg, #00e676 0%, #00c853 100%);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --header-h: 72px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

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

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

img[width][height] { height: auto; }

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

main { flex: 1; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.section-badge {
  display: inline-block;
  background: var(--gradient-accent);
  color: #001a0a;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-glow);
}

.section-title { margin-bottom: 16px; }
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 640px;
  margin-bottom: 48px;
}

section { padding: 80px 0; }
section:nth-child(even) { background: var(--bg-secondary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #001a0a;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #33eb91 0%, #00e676 100%);
  color: #001a0a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #000;
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--text-primary);
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo:hover { color: var(--text-primary); }

.nav-desktop { display: flex; gap: 8px; }

.nav-desktop a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition);
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent);
  background: rgba(0, 230, 118, 0.08);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}
.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); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-secondary);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 500;
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--accent); background: rgba(0, 230, 118, 0.08); }

body { padding-top: var(--header-h); }

.hero {
  padding: 60px 0 100px;
  background: radial-gradient(ellipse at 70% 20%, rgba(0, 230, 118, 0.08) 0%, transparent 60%),
              var(--bg-primary);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 { margin-bottom: 20px; }
.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.hero-visual picture,
.hero-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; display: block; }

.hero-visual::after {
  content: 'IN DEVELOPMENT';
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.1em;
  border: 1px solid var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
}
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border-accent);
}

.card-icon img,
.contact-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: 0.9375rem; }

.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  position: relative;
}

.pipeline-step {
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.pipeline-step .step-num {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 16px;
  font-size: 1.125rem;
}

.pipeline-step h4 { font-size: 0.9375rem; margin-bottom: 8px; }
.pipeline-step p { font-size: 0.8125rem; color: var(--text-muted); }

.pipeline-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 36px;
  color: var(--accent);
  font-size: 1.25rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

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

.review-stars { margin-bottom: 16px; }
.review-stars img { height: 22px; width: auto; aspect-ratio: 5 / 1; }
.review-text { color: var(--text-secondary); margin-bottom: 20px; font-style: italic; }
.review-author { font-weight: 600; }
.review-role { font-size: 0.875rem; color: var(--text-muted); }

.form-section {
  background: var(--gradient-card), var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.form-checkbox input { margin-top: 4px; accent-color: var(--accent); }

.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.discount-badge img { width: 20px; height: 20px; object-fit: contain; }

.geo-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0;
}

.form-group input:user-invalid,
.form-group textarea:user-invalid,
.form-group select:user-invalid,
.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
  border-color: #ef5350;
  box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.15);
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.form-modal.show {
  opacity: 1;
  visibility: visible;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.form-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-modal.show .form-modal-box {
  transform: scale(1) translateY(0);
}

.form-modal-box h3 {
  margin-bottom: 12px;
  font-size: 1.375rem;
}

.form-modal-box p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.form-modal-close {
  min-width: 140px;
}

.page-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.06) 0%, transparent 100%), var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(0, 230, 118, 0.05), transparent);
  pointer-events: none;
}

.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); font-size: 1.125rem; max-width: 640px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.sidebar-block {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.sidebar-block:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.sidebar-block h4 { margin-bottom: 12px; font-size: 1rem; }
.sidebar-block p { font-size: 0.875rem; color: var(--text-secondary); }

.age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 3px solid #e53935;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  color: #e53935;
  margin: 0 auto 16px;
}

.geo-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compliance-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compliance-links a {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  transition: color var(--transition);
}

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

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  transition: all var(--transition);
}

.compliance-badge:hover {
  background: rgba(0, 230, 118, 0.18);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}

.compliance-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.compliance-badge span { flex: 1; }

.geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
}

.geo-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.disclaimer-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.slot-machine {
  background: linear-gradient(165deg, #1e2230 0%, #0e1018 50%, #161a24 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.slot-machine::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212,175,55,0.5), transparent 40%, rgba(0,230,118,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.slot-header {
  text-align: center;
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(0.875rem, 3vw, 1.125rem);
  margin-bottom: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.slot-reels-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.slot-payline {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
}

.slot-reels {
  display: flex;
  gap: 6px;
  background: #06080c;
  border-radius: 10px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  height: 168px;
}

.slot-reel {
  flex: 1;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  background: linear-gradient(180deg, #0a0c10 0%, #141820 50%, #0a0c10 100%);
  min-width: 0;
}

.slot-reel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 25%, transparent 75%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.slot-reel-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.1s linear;
}

.slot-symbol {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.slot-symbol img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.slot-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.slot-btn {
  background: var(--gradient-accent);
  color: #001a0a;
  border: none;
  padding: 14px 48px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9375rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all var(--transition);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.slot-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px var(--accent-glow);
}

.slot-win {
  text-align: center;
  margin-top: 16px;
  min-height: 28px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
}

.slot-win.slot-win-state {
  color: var(--accent);
  font-weight: 700;
}

.slot-win.jackpot {
  color: var(--gold);
  font-size: 1.0625rem;
}

.slot-glow {
  animation: slotGlow 0.6s ease infinite alternate;
}

@keyframes slotGlow {
  from { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 230, 118, 0.2); }
  to { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 230, 118, 0.45); }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(20px, 4vw, 32px);
}

.team-card {
  text-align: center;
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px) 20px;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
}
.team-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.team-photo {
  width: clamp(96px, 22vw, 120px);
  height: clamp(96px, 22vw, 120px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.2);
}

.team-name { font-weight: 700; margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 0.875rem; margin-bottom: 12px; }
.team-bio { color: var(--text-secondary); font-size: 0.875rem; }

.slot-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.tabs-wrapper {
  position: relative;
  margin-bottom: 8px;
}

.tabs-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
  scroll-snap-align: start;
  box-shadow: var(--shadow-soft);
}

.tab-btn:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-accent);
  color: #001a0a;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.blog-search {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 500px;
}

.blog-search input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  color: var(--text-primary);
  font-family: inherit;
}
.blog-search input:focus { outline: none; border-color: var(--accent); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.blog-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
.blog-card-body { padding: 24px; }
.blog-card-meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card h3 { margin-bottom: 12px; font-size: 1.125rem; }
.blog-card p { color: var(--text-secondary); font-size: 0.9375rem; }

.blog-card.hidden { display: none; }

.contacts-section {
  padding: 64px 0 80px;
}

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

.contacts-grid > * {
  min-width: 0;
}

.contacts-info-col,
.contacts-form-col {
  width: 100%;
}

.contact-block-title {
  margin-bottom: 24px;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.contact-form-lead {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-info-block {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 230, 118, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 { margin-bottom: 4px; font-size: 0.9375rem; }
.contact-item p,
.contact-item a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  word-break: break-word;
}

.contacts-form-col .form-section {
  height: 100%;
}

.contacts-form-col .form-group input,
.contacts-form-col .form-group textarea,
.contacts-form-col .form-group select {
  width: 100%;
  max-width: 100%;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
  height: 280px;
}

.map-container iframe { width: 100%; height: 100%; border: 0; }

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  margin-top: auto;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9375rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 0.875rem; }
.footer-col a:hover { color: var(--accent); }

.footer-social { display: flex; flex-direction: column; gap: 8px; }

.footer-map {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 16px;
  height: 160px;
}

.footer-map iframe { width: 100%; height: 100%; border: 0; }

.payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.payment-icon {
  background: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.75rem;
  color: #1a1f71;
  letter-spacing: 0.05em;
}
.payment-icon.mc { color: #eb001b; }
.payment-icon.paypal { color: #003087; font-style: italic; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.policy-content h1 { margin-bottom: 8px; }
.policy-content .updated { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 40px; }
.policy-content h2 { font-size: 1.375rem; margin: 32px 0 16px; }
.policy-content p, .policy-content li {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.9375rem;
}
.policy-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-accent);
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

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

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

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.cookie-text a { color: var(--accent); }

.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.content-block {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.content-block h3 { margin-bottom: 16px; }

.text-content { color: var(--text-secondary); margin-bottom: 16px; }
.text-content:last-child { margin-bottom: 0; }

.text-list {
  color: var(--text-secondary);
  padding-left: 22px;
  list-style: disc;
  margin-bottom: 16px;
}

.text-list li { margin-bottom: 8px; }

.project-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.project-showcase img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.portfolio-item {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.portfolio-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}
.portfolio-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
.portfolio-item-body { padding: 20px; }
.portfolio-item h4 { margin-bottom: 8px; }
.portfolio-item p { color: var(--text-secondary); font-size: 0.875rem; }

.slot-specs-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-section { padding-top: 48px; padding-bottom: 80px; }

@media (max-width: 768px) {
  .about-section { padding-top: 32px; padding-bottom: 56px; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .project-showcase { grid-template-columns: 1fr; }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 900px) {
  .contacts-form-col .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section { padding: 48px 0; }

  .nav-desktop { display: none; }
  .burger { display: flex; }

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

  .contacts-section { padding: 48px 0 56px; }

  .contact-info-block,
  .contacts-form-col .form-section {
    padding: 24px 20px;
  }

  .map-container { height: 240px; }

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

  .pipeline-step:not(:last-child)::after { display: none; }

  .form-section { padding: 24px 16px; }

  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-actions { justify-content: center; width: 100%; }

  .page-hero { padding: 40px 0 28px; }
  .page-hero h1 { font-size: clamp(1.625rem, 7vw, 2.25rem); }
  .page-hero p { font-size: 1rem; }

  .tabs-nav {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .tab-btn { padding: 10px 18px; font-size: 0.8125rem; }

  .content-block { margin-bottom: 16px; }

  .team-grid { grid-template-columns: 1fr; gap: 20px; }

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

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

  .sidebar { order: -1; }

  .home-game-frame-wrap {
    padding-bottom: 0;
    height: min(82svh, 720px);
    min-height: 480px;
  }

  .slot-machine { padding: 20px 14px; }
}

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

  .pipeline-step { min-width: 100%; max-width: 100%; }

  .slot-reels { height: 140px; padding: 8px 6px; gap: 4px; }
  .slot-symbol { height: 46px; }
  .slot-symbol img { width: 34px; height: 34px; }

  .slot-specs-grid { grid-template-columns: 1fr; }

  .slot-btn { width: 100%; padding: 14px 24px; }

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

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

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

@media (max-width: 520px) {
  .home-game-frame-wrap {
    height: min(78svh, 680px);
    min-height: 440px;
  }
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin-top: 32px;
}

.home-game-player {
  margin-top: 32px;
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
}

.home-game-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.home-game-player-bar h3 {
  margin: 0;
  font-size: 1.125rem;
}

.home-game-player-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 6px 12px;
}

.home-game-frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
}

.home-game-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.home-game-player,
.home-game-frame-wrap {
  max-width: 100%;
}

.game-card {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

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

.game-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-primary);
}

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

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

.game-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-play,
.game-card:focus-within .game-card-play {
  opacity: 1;
}

.game-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card-body h3 { margin-bottom: 8px; font-size: 1.125rem; }
.game-card-body p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 16px;
  flex: 1;
}

.game-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.disclaimer-section {
  padding: 48px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.disclaimer-block {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-soft);
}

.disclaimer-block h3 { margin-bottom: 16px; }
.disclaimer-block p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.disclaimer-block p:last-child { margin-bottom: 0; }
.disclaimer-block a { color: var(--accent); }

.blog-card-clickable {
  cursor: pointer;
}

.blog-card-clickable:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.blog-card-clickable:focus:not(:focus-visible) {
  outline: none;
}

.blog-card-clickable .blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 12px;
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.article-modal.show {
  opacity: 1;
  visibility: visible;
}

.article-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.article-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-modal.show .article-modal-box {
  transform: scale(1) translateY(0);
}

.article-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.article-modal-header h3 {
  font-size: 1.125rem;
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.modal-close-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.article-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.article-modal-meta {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 16px;
}

.article-modal-body p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 0.9375rem;
}

.article-modal-body h4 {
  margin: 24px 0 12px;
  font-size: 1rem;
}
