@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --accent-glow: rgba(37, 99, 235, 0.22);
  --gold: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.12);
  --coral: #f43f5e;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: rgba(15, 23, 42, 0.08);
  --border-accent: rgba(37, 99, 235, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 8px 32px rgba(37, 99, 235, 0.12);
  --gradient-bg: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.07), transparent),
                 radial-gradient(ellipse 60% 40% at 100% 50%, rgba(6, 182, 212, 0.05), transparent),
                 var(--bg-primary);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.6) 55%);
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
  --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; }

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: #ffffff;
  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):not(.spotlight-band):not(.game-hero) { 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: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  color: #ffffff;
  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(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.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: var(--accent-soft);
}

.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: var(--accent-soft); }

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

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  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 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.hero-visual::after {
  content: 'EN DESARROLLO';
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  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(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--gradient-card), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  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: 52px;
  height: 52px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--border-accent);
}

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

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

.pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}

.pipeline-step {
  text-align: center;
  padding: 24px 12px;
  position: relative;
}

.pipeline-step .step-num {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  color: #ffffff;
  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); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 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; }
.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-card);
  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: var(--accent-soft);
  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; }

.form-success {
  display: none;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 1.125rem;
}
.form-success.show { display: block; }

.page-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 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 100% 50%, rgba(6, 182, 212, 0.06), 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 300px;
  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;
}

.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); }

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

.slot-machine {
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 50%, #1e1b4b 100%);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.slot-machine::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37,99,235,0.5), transparent 40%, rgba(6,182,212,0.3));
  -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: #ffffff;
  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(15, 23, 42, 0.2), 0 0 20px rgba(37, 99, 235, 0.25); }
  to { box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2), 0 0 40px rgba(6, 182, 212, 0.45); }
}

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

.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);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

.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; }

.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: #ffffff;
  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(300px, 1fr));
  gap: 28px;
}

.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: 16/9; object-fit: cover; }
.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; }

.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: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.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: var(--bg-secondary);
  border: 1px solid var(--border);
  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(15, 23, 42, 0.1);
}

.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: 0.95fr 1.05fr;
  gap: 48px;
  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(3, 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: 16/10; object-fit: cover; }
.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: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .project-showcase { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 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; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

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

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

  .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 { grid-template-columns: repeat(2, 1fr); }

  .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; }

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

  .sidebar { order: -1; }

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

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

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

  .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; }
}

/* ─── Unique layout v2 ─── */

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-light {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.btn-light:hover { background: #f1f5f9; color: var(--accent-dark); }

.btn-block { width: 100%; }

.btn-header-cta {
  padding: 10px 22px;
  font-size: 0.875rem;
  margin-left: 8px;
}

.header-inner .btn-header-cta { display: inline-flex; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label-light { color: #93c5fd; }

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-v2 {
  padding: 48px 0 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-primary) 100%);
  overflow: hidden;
}

.hero-v2-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 48px;
}

.hero-v2-text h1 { margin-bottom: 20px; max-width: 14ch; }

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

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

.hero-v2-visual { position: relative; }

.hero-photo-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-chip strong { font-size: 1.125rem; color: var(--accent); }
.hero-chip span { font-size: 0.75rem; color: var(--text-muted); }
.chip-rtp { top: 12%; left: -24px; }
.chip-dgoj { bottom: 10%; right: -16px; }

.metrics-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 20px;
}

.metric { text-align: center; }
.metric-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
}
.metric-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.trust-strip {
  padding: 18px 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.trust-inner span {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bento-section { padding: 88px 0; }

.section-head-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head-note {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 16px;
}

.bento-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}
.bento-tile:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-accent {
  background: linear-gradient(145deg, rgba(37,99,235,0.08), rgba(6,182,212,0.06)), var(--bg-card);
  border-color: var(--border-accent);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bento-tile h3 { margin-bottom: 10px; font-size: 1.125rem; }
.bento-tile p { color: var(--text-secondary); font-size: 0.9375rem; }

.bento-list {
  margin-top: 16px;
  padding-left: 18px;
  list-style: disc;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.bento-list li { margin-bottom: 6px; }

.spotlight-band {
  padding: 0;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 45%, #eef2ff 100%);
  color: var(--text-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spotlight-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 520px;
}

.spotlight-media {
  position: relative;
  min-height: 360px;
}
.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}
.spotlight-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spotlight-copy {
  padding: clamp(32px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spotlight-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-primary);
}
.spotlight-copy p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 440px;
}
.spotlight-copy .section-label { color: var(--accent); }

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.spec-list div {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 8px 8px 0;
  padding-top: 8px;
  padding-bottom: 8px;
}
.spec-list dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.spec-list dd {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.timeline-section {
  padding: 88px 0;
  background: var(--bg-secondary);
}

.timeline-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.timeline-intro p { color: var(--text-secondary); margin-top: 12px; }

.v-timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}
.v-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--coral));
  border-radius: 2px;
}

.v-timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}

.v-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.v-timeline h4 { margin-bottom: 4px; }
.v-timeline p { color: var(--text-secondary); font-size: 0.875rem; }

.quotes-section { padding: 88px 0; }

.quotes-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  margin-top: 32px;
}

.quote-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-soft);
  margin: 0;
}
.quote-featured p {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  margin: 20px 0 24px;
}
.quote-featured footer { color: var(--text-muted); font-size: 0.9375rem; }

.quote-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
}

.quote-stack { display: flex; flex-direction: column; gap: 16px; }

.quote-mini {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0;
  flex: 1;
}
.quote-mini p { color: var(--text-secondary); font-style: italic; margin-bottom: 12px; font-size: 0.9375rem; }
.quote-mini footer { font-size: 0.8125rem; color: var(--text-muted); }

.cta-split {
  padding: 88px 0;
  background: var(--bg-primary);
}

.cta-split-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.cta-panel {
  background: linear-gradient(145deg, #1e3a5f, #0f172a);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
}
.cta-panel h2 { margin-bottom: 16px; }
.cta-panel p { color: #cbd5e1; margin-bottom: 24px; }

.discount-badge-light {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  margin-bottom: 28px;
}

.cta-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-checklist li {
  padding-left: 28px;
  position: relative;
  color: #e2e8f0;
  font-size: 0.9375rem;
}
.cta-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}

.cta-form-wrap .form-section { margin: 0; }

@media (max-width: 1024px) {
  .btn-header-cta { display: none !important; }
  .hero-v2-wrap { grid-template-columns: 1fr; }
  .hero-v2-text h1 { max-width: none; }
  .chip-rtp { left: 8px; }
  .chip-dgoj { right: 8px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head-row { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .bento-tall { grid-row: span 1; }
  .spotlight-layout { grid-template-columns: 1fr; }
  .timeline-wrap { grid-template-columns: 1fr; }
  .quotes-layout { grid-template-columns: 1fr; }
  .cta-split-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .hero-photo-frame { transform: none; }
  .hero-chip { display: none; }
}

/* ─── About page ─── */
.about-hero {
  padding: 72px 0 48px;
  background: linear-gradient(135deg, rgba(37,99,235,0.06), transparent), var(--bg-primary);
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: end;
}
.about-hero h1 { margin-bottom: 16px; max-width: 18ch; }
.about-hero p { color: var(--text-secondary); font-size: 1.125rem; }
.about-stats {
  display: grid;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.about-stats div { display: flex; flex-direction: column; gap: 4px; }
.about-stats strong { font-size: 1.5rem; color: var(--accent); }
.about-stats span { font-size: 0.8125rem; color: var(--text-muted); }

.story-row { padding: 64px 0; }
.story-row-alt { background: var(--bg-secondary); }
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.story-split-reverse .story-copy { order: 2; }
.story-split-reverse .story-media { order: 1; }
.story-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.story-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.team-band { padding: 72px 0; }
.team-grid-offset { margin-top: 32px; }

.portfolio-strip { padding: 64px 0 88px; background: var(--bg-secondary); }
.portfolio-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.portfolio-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.portfolio-card div { padding: 20px; }
.portfolio-card h4 { margin-bottom: 6px; }
.portfolio-card p { font-size: 0.875rem; color: var(--text-secondary); }

/* ─── Game projects page ─── */
.game-hero {
  padding: 64px 0 32px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
}
.game-hero-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.game-hero h1 { margin: 12px 0; }
.game-hero p { color: #cbd5e1; max-width: 520px; }
.game-specs-inline {
  display: flex;
  gap: 24px;
  list-style: none;
}
.game-specs-inline li {
  text-align: center;
  padding: 16px 24px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
}
.game-specs-inline strong { display: block; font-size: 1.25rem; }
.game-specs-inline li { font-size: 0.8125rem; color: #94a3b8; }

.slot-stage {
  padding: 56px 0;
  background: var(--bg-primary);
}

.slot-stage-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.slot-stage-main {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.slot-regulatory {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.slot-regulatory .sidebar-block { margin-bottom: 16px; }
.slot-regulatory .sidebar-block:last-child { margin-bottom: 0; }

.regulatory-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1rem;
}

.regulatory-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 16px;
  width: 100%;
}

.geo-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, #c60b1e 33%, #ffc400 33%, #ffc400 66%, #c60b1e 66%);
  color: transparent;
  font-size: 0;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

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

.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(37, 99, 235, 0.14);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.1;
}

.badge-dgoj { background: linear-gradient(135deg, #1e40af, #2563eb); }
.badge-jugarbien { background: linear-gradient(135deg, #059669, #10b981); }
.badge-juego-seguro { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.badge-aeal { background: linear-gradient(135deg, #b45309, #d97706); }
.badge-rgpd { background: linear-gradient(135deg, #0f766e, #14b8a6); }

.compliance-badge span:last-child { flex: 1; }

.slot-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  filter: blur(2px);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.slot-stage-main .slot-machine { position: relative; z-index: 1; }

.game-details { padding: 72px 0; }
.game-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.detail-panel-accent {
  border-color: var(--border-accent);
  background: linear-gradient(145deg, rgba(37,99,235,0.04), var(--bg-card));
}
.detail-panel h3 { margin-bottom: 16px; }
.detail-panel .form-group { margin-bottom: 16px; }

/* ─── Blog page ─── */
.blog-hero { padding: 64px 0 32px; }
.blog-hero-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.blog-hero .blog-search { margin: 0; max-width: 360px; }

.blog-masonry-section { padding: 32px 0 88px; }
.blog-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.blog-masonry .blog-card { grid-column: span 4; }
.blog-card-featured { grid-column: span 8; grid-row: span 2; }
.blog-card-featured img { aspect-ratio: 16/10; }
.blog-card-compact {
  grid-column: span 4;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.06), var(--bg-card));
}

@media (max-width: 1024px) {
  .about-hero-inner { grid-template-columns: 1fr; }
  .story-split, .story-split-reverse { grid-template-columns: 1fr; }
  .story-split-reverse .story-copy, .story-split-reverse .story-media { order: unset; }
  .portfolio-scroll { grid-template-columns: 1fr; }
  .game-details-grid { grid-template-columns: 1fr; }
  .slot-stage-layout { grid-template-columns: 1fr; }
  .blog-masonry .blog-card, .blog-card-featured, .blog-card-compact { grid-column: span 12; }
  .game-specs-inline { width: 100%; justify-content: space-between; }
}

@media (max-width: 640px) {
  .game-specs-inline { flex-direction: column; }
  .slot-stage-main { min-height: 360px; padding: 16px; }
}

/* ─── Chat assistant widget ─── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10050;
  font-family: var(--font);
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow), 0 4px 12px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.chat-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.chat-toggle.open .chat-icon-open { display: none; }
.chat-toggle:not(.open) .chat-icon-close { display: none; }

.chat-toggle-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #f43f5e;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.chat-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: min(380px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 120px));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.chat-panel[hidden] {
  display: none !important;
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  flex-shrink: 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
}
.chat-header strong { display: block; font-size: 0.9375rem; }
.chat-status { font-size: 0.75rem; opacity: 0.85; }

.chat-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.chat-close:hover { background: rgba(255,255,255,0.28); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-primary);
}

.chat-msg { display: flex; max-width: 92%; }
.chat-msg-user { align-self: flex-end; }
.chat-msg-bot { align-self: flex-start; }

.chat-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg-user .chat-bubble {
  background: var(--gradient-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg-bot .chat-bubble {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-bubble a { color: var(--accent); font-weight: 600; }
.chat-msg-user .chat-bubble a { color: #fff; text-decoration: underline; }

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: chatDot 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatDot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  background: var(--bg-primary);
  flex-shrink: 0;
}
.chat-quick-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}
.chat-quick-btn:hover {
  background: var(--accent-soft);
  border-color: var(--border-accent);
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}
.chat-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-width: 0;
}
.chat-form input:focus {
  outline: none;
  border-color: var(--accent);
}
.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-accent);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.chat-send:hover { transform: scale(1.05); }

@media (max-width: 480px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-panel {
    width: calc(100vw - 32px);
    right: 0;
    bottom: 72px;
    height: min(480px, calc(100vh - 100px));
  }
  .chat-toggle { width: 54px; height: 54px; }
}

body:has(.cookie-banner.show) .chat-widget {
  bottom: 88px;
}
@media (max-width: 480px) {
  body:has(.cookie-banner.show) .chat-widget { bottom: 120px; }
}
