/* ============================================
   LottoBest.nl — Main Stylesheet
   Theme: Game Development Studio | DE/EN
   Geo: Switzerland (CH)
   ============================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* === CSS Variables === */
:root {
  --bg-primary: #08080f;
  --bg-secondary: #0d0d1a;
  --bg-card: #111122;
  --bg-glass: rgba(17, 17, 40, 0.7);
  --color-gold: #ffd700;
  --color-gold-dark: #cc9900;
  --color-cyan: #00d4ff;
  --color-cyan-dark: #0099cc;
  --color-purple: #7c3aed;
  --color-orange: #ff6b00;
  --color-green: #00e676;
  --text-primary: #f0f0ff;
  --text-secondary: #a0a0c0;
  --text-muted: #606080;
  --border-gold: rgba(255, 215, 0, 0.3);
  --border-cyan: rgba(0, 212, 255, 0.3);
  --glow-gold: 0 0 20px rgba(255, 215, 0, 0.4);
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4);
  --gradient-hero: linear-gradient(135deg, #08080f 0%, #1a0a3a 50%, #0a1a2a 100%);
  --gradient-card: linear-gradient(135deg, rgba(17,17,40,0.9), rgba(30,15,60,0.9));
  --gradient-gold: linear-gradient(135deg, #ffd700, #ff8c00);
  --gradient-cyan: linear-gradient(135deg, #00d4ff, #0066cc);
  --font-body: 'Space Grotesk', sans-serif;
  --font-heading: 'Orbitron', monospace;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul { list-style: none; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

.section {
  padding: 100px 0;
  position: relative;
}

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

/* === Particles background === */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* === Header / Navigation === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 8, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.site-logo .logo-lotto { color: var(--color-gold); }
.site-logo .logo-best { color: var(--color-cyan); }

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

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

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.03em;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 3px;
}

.lang-switcher button {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

.lang-switcher button.active {
  background: var(--gradient-gold);
  color: var(--bg-primary);
}

.lang-switcher button:hover:not(.active) {
  color: var(--color-gold);
}

/* Burger menu */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

.burger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: flex;
  visibility: hidden;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,15,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.mobile-nav a:hover { color: var(--color-gold); }

.mobile-nav .lang-switcher {
  margin-top: 24px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
  transform: skewX(-15deg);
}

.btn:hover::before { left: 100%; }

.btn-primary {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: var(--glow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
  color: var(--bg-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-cyan);
  border: 2px solid var(--color-cyan);
}

.btn-secondary:hover {
  background: var(--color-cyan);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* === Section Headers === */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyan);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-title .highlight-gold { color: var(--color-gold); }
.section-title .highlight-cyan { color: var(--color-cyan); }

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
}

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* === Cards === */
.card {
  background: var(--gradient-card);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.card:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow-gold);
}

.card:hover::before { transform: scaleX(1); }

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid var(--border-cyan);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-title .text-gold { color: var(--color-gold); }
.hero-title .text-cyan { color: var(--color-cyan); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-gold);
}

.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slot-mockup {
  position: relative;
  width: 340px;
  height: 480px;
}

.slot-machine {
  width: 100%;
  height: 100%;
  background: var(--gradient-card);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 0 60px rgba(255,215,0,0.15), inset 0 0 60px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.slot-screen {
  background: #000;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border-cyan);
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot-reel {
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 4px;
  gap: 8px;
  overflow: hidden;
}

.reel-symbol {
  font-size: 1.6rem;
  animation: spinReel 0.1s linear infinite;
  filter: drop-shadow(0 0 6px currentColor);
}

.reel-symbol:nth-child(2) { animation-delay: -0.033s; }
.reel-symbol:nth-child(3) { animation-delay: -0.066s; }

@keyframes spinReel {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.slot-machine:hover .reel-symbol {
  animation-play-state: paused;
}

.slot-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,215,0,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}

.slot-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.slot-val {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-gold);
}

.spin-btn {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-xl);
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--glow-gold);
}

.spin-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255,215,0,0.6);
}

.dev-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--color-cyan);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: var(--glow-cyan);
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.orbit-1 { width: 420px; height: 420px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.orbit-2 { width: 520px; height: 520px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-direction: reverse; animation-duration: 30s; }

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === Services Section === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-cyan);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(0,212,255,0.4);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), var(--glow-cyan);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(0,212,255,0.08);
  border: 2px solid rgba(0,212,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0,212,255,0.15);
  border-color: var(--color-cyan);
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-cyan);
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Technologies Section === */
.tech-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.tech-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}

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

.tech-card {
  background: var(--bg-glass);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.tech-card:hover {
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 20px rgba(124, 58, 237, 0.2);
}

.tech-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--color-purple);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.tech-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.tech-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.tech-progress {
  margin-top: 16px;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.tech-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-purple), var(--color-cyan));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease 0.5s;
}

.tech-card.visible .tech-progress-fill { transform: scaleX(1); }

/* === Service card SVG icons === */
.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-cyan);
  stroke: currentColor;
}

/* === Pipeline / Development Grid === */
.pipeline-section { background: var(--bg-primary); }

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pipeline-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pipeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(255,215,0,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.pipeline-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.5), var(--glow-gold);
}

/* Ghost background number */
.pipeline-num {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,215,0,0.06);
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  transition: var(--transition);
}

.pipeline-card:hover .pipeline-num {
  color: rgba(255,215,0,0.12);
}

/* Step icon circle */
.pipeline-step-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.pipeline-step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  stroke: currentColor;
}

.pipeline-card:hover .pipeline-step-icon {
  background: rgba(255,215,0,0.15);
  border-color: var(--color-gold);
  box-shadow: var(--glow-gold);
}

/* Step badge chip */
.pipeline-step-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--color-cyan);
}

.pipeline-card h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0;
}

.pipeline-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* === About Section === */
.about-section { background: var(--bg-secondary); }

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

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}

.about-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 500;
}

/* === Slot Preview === */
.slots-section { background: var(--bg-primary); }

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

.slot-preview-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.slot-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), var(--glow-gold);
  border-color: var(--color-gold);
}

.slot-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.slot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.slot-preview-card:hover .slot-img-wrap img {
  transform: scale(1.08);
}

.slot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.slot-preview-card:hover .slot-overlay { opacity: 1; }

.slot-card-info {
  padding: 24px;
}

.slot-card-info h3 { margin-bottom: 8px; font-size: 1.1rem; }
.slot-card-info p { font-size: 0.85rem; color: var(--text-secondary); }

.slot-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.slot-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.slot-tag5 { background: rgba(255,100,0,0.15); color: #ff6b00; }
.slot-tag.webgl { background: rgba(0,212,255,0.12); color: var(--color-cyan); }
.slot-tag.mobile { background: rgba(0,230,118,0.12); color: var(--color-green); }

/* === Testimonials Carousel === */
.testimonials-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 40px;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.quote-icon {
  font-size: 4rem;
  color: var(--color-gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  font-family: serif;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.author-info { text-align: left; }
.author-name { font-weight: 600; color: var(--text-primary); }
.author-role { font-size: 0.82rem; color: var(--text-muted); }

.stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-btn {
  width: 44px; height: 44px;
  background: rgba(255,215,0,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--color-gold);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: var(--glow-gold);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot-indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-gold);
  cursor: pointer;
  transition: var(--transition);
}

.dot-indicator.active {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* === CTA / Contact Form === */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,215,0,0.05) 0%, transparent 60%);
}

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

.cta-left h2 { margin-bottom: 16px; }
.cta-left p { color: var(--text-secondary); margin-bottom: 24px; }

.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 32px;
}

.discount-badge .badge-pct {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1;
}

/* === Form Styles === */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
  background: rgba(255,215,0,0.04);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-gold);
}

.form-check label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}

.form-check a { color: var(--color-gold); }

/* === Footer === */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,215,0,0.1);
  padding: 80px 0 0;
  position: relative;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 16px 0 24px;
  line-height: 1.7;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 6px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-item .icon { color: var(--color-gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: var(--text-secondary); }
.contact-item a:hover { color: var(--color-gold); }

/* Payment icons */
.payment-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pay-icon {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.pay-icon:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Social links */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover {
  background: rgba(255,215,0,0.1);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,215,0,0.15);
}

/* Branded payment chips */
.payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  align-items: center;
}

.pay-visa {
  background: #1a1f71;
  border-color: #3d4db5;
  border-radius: 6px;
  padding: 5px 10px;
}

.pay-mc {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

.pay-paypal {
  background: #003087;
  border-color: #0070ba;
  border-radius: 6px;
  padding: 5px 10px;
}

.pay-sepa {
  background: rgba(0,100,200,0.15);
  border-color: rgba(0,150,255,0.3);
}

.pay-twint {
  background: rgba(255,70,0,0.12);
  border-color: rgba(255,100,30,0.35);
}

.pay-visa svg,
.pay-mc svg,
.pay-paypal svg,
.pay-sepa svg,
.pay-twint svg {
  display: block;
}

.pay-icon svg {
  display: block;
  width: auto;
  height: 20px;
}

/* Footer map */
.footer-map-outer {
  margin-bottom: 48px;
}

.footer-map-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  height: 280px;
}

.footer-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(70%) invert(85%) contrast(90%) brightness(0.85);
}

.map-address-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 10, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 240px;
  pointer-events: none;
  z-index: 2;
}

.map-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.25);
  flex-shrink: 0;
  margin-top: 3px;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,215,0,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(255,215,0,0.1); }
}

.map-address-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.map-address-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.map-address-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--color-cyan);
  font-weight: 600;
  transition: var(--transition);
}

.map-open-link:hover {
  color: var(--color-gold);
  gap: 8px;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--color-gold); }

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 18+ icon */
.age-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,0,0,0.1);
  border: 2px solid rgba(255,80,80,0.5);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #ff5050;
  font-family: var(--font-heading);
}

/* Responsible gambling badges */
.rg-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

.rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.rg-badge:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

/* Disclaimer */
.disclaimer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(13, 13, 26, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-gold);
  z-index: 9999;
  padding: 24px 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-text { flex: 1; min-width: 280px; }
.cookie-text h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.cookie-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.cookie-settings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.toggle-switch {
  position: relative;
  width: 40px; height: 22px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 22px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  top: 3px; left: 3px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider { background: var(--color-gold); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}

.cookie-actions .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  justify-content: center;
}

/* === Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}

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

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 36px; height: 36px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { color: var(--text-primary); border-color: var(--color-gold); }

.modal-icon { font-size: 3.5rem; margin-bottom: 20px; }
.modal-box h3 { margin-bottom: 12px; }
.modal-box p { color: var(--text-secondary); margin-bottom: 28px; }

/* === Scroll animations === */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
}

.fade-in.visible { opacity: 1 !important; }

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.scale-in.visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Fallback: no-JS or reduced-motion → always visible */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in, .scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Ensure main content always above particles canvas */
.site-header, .hero, .section, .page-hero,
.tech-section, .pipeline-section, .about-section,
.slots-section, .testimonials-section, .cta-section,
.sponsor-section, .project-slot-section,
.site-footer {
  position: relative;
  z-index: 2;
}

/* Fixed-position elements — must NOT have position:relative */
.site-header  { z-index: 1000; }
.mobile-nav   { z-index: 999; }
.modal-overlay{ position: fixed; z-index: 10000; }
.cookie-banner{ position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; }
.preloader    { position: fixed; z-index: 99999; }
.scroll-top   { position: fixed; z-index: 500; }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* === Page Hero (subpages) === */
.page-hero {
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb span { color: var(--color-gold); }

/* === About Page === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow-gold);
}

.team-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.team-info {
  padding: 24px 20px;
}

.team-info h3 { font-size: 1rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.8rem;
  color: var(--color-cyan);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.mission-card {
  background: var(--gradient-card);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.mission-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.mission-card h3 {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.mission-card p {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.mission-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(0,212,255,0.08);
  border: 1.5px solid rgba(0,212,255,0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mission-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-cyan);
  stroke: currentColor;
}

.mission-card:hover .mission-icon {
  background: rgba(0,212,255,0.15);
  border-color: var(--color-cyan);
  box-shadow: var(--glow-cyan);
  transform: scale(1.05);
}

/* === Blog Page === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow-cyan);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-img img { transform: scale(1.08); }

.blog-content { padding: 28px 24px; }

.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: rgba(0,212,255,0.1);
  padding: 3px 10px;
  border-radius: 10px;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-content h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition);
}

.blog-card:hover .blog-content h3 { color: var(--color-cyan); }

.blog-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.read-more:hover { gap: 10px; }

/* Blog search */
.blog-search {
  position: relative;
  max-width: 500px;
  margin: 0 auto 60px;
}

.blog-search input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 16px 56px 16px 24px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.blog-search input:focus {
  border-color: var(--color-gold);
  box-shadow: var(--glow-gold);
}

.blog-search button {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-gold);
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.blog-search button:hover { transform: translateY(-50%) scale(1.1); }

/* === Contacts page === */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-method:last-child { border-bottom: none; }

.cm-icon {
  width: 48px; height: 48px;
  background: rgba(255,215,0,0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cm-info label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.cm-info a, .cm-info span {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.cm-info a:hover { color: var(--color-gold); }

/* Map in contacts */
.contacts-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  height: 320px;
  margin-bottom: 40px;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(90%) contrast(90%);
}

/* === Projects page — Game Sections === */
.game-section { background: var(--bg-primary); }
.game-section:nth-child(even) { background: var(--bg-secondary); }

/* Game banner — full-width cinematic header */
.game-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  background-size: cover;
  background-position: center;
  margin-bottom: 48px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: flex-end;
}

.game-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(5,5,15,0.92) 0%,
    rgba(5,5,15,0.6) 50%,
    rgba(5,5,15,0.2) 100%);
}

.game-banner-content {
  position: relative;
  z-index: 2;
  padding: 32px 40px;
  flex: 1;
}

.game-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin: 10px 0 16px;
}

.game-banner-preview {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
}

.game-banner-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

/* Main 2-column layout */
.game-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.game-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Stats 2×2 grid */
.game-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.game-stat {
  background: var(--gradient-card);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
}

.game-stat.gold {
  border: 1px solid var(--border-gold);
}

.game-stat.cyan {
  border: 1px solid var(--border-cyan);
}

.game-stat:hover { transform: scale(1.02); }

.gs-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.gs-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1;
}

.game-stat.gold .gs-value { color: var(--color-gold); }
.game-stat.cyan .gs-value { color: var(--color-cyan); }

/* Screenshot strip */
.game-screens {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
  padding-bottom: 4px;
}

.game-screens img {
  height: 72px;
  width: auto;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
}

.game-screens img:hover {
  border-color: var(--color-gold);
  transform: scale(1.06);
}

/* Feature tags row */
.game-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Highlight callout box */
.game-highlight {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.84rem;
  line-height: 1.6;
}

.game-highlight.cyan {
  background: rgba(0,212,255,0.06);
  border: 1px solid var(--border-cyan);
  color: var(--color-cyan);
}

.game-highlight.orange {
  background: rgba(255,107,0,0.06);
  border: 1px solid rgba(255,107,0,0.3);
  color: #ff8c42;
}

/* Demo column */
.game-demo { position: relative; }

.slot-frame-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255,215,0,0.2);
  border: 2px solid var(--border-gold);
}

.slot-frame-wrap iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}

/* "LIVE DEMO" badge above iframe */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-green);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.demo-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 6px var(--color-green);
  animation: pulseDot 2s ease-in-out infinite;
}

/* Slot tag variants */
.slot-tag.gold {
  background: rgba(255,215,0,0.1);
  color: var(--color-gold);
  border-radius: 10px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ---- legacy compat ---- */
.project-slot-section { background: var(--bg-secondary); }
.project-slot-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sponsor-section { background: var(--bg-primary); }

.sponsor-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.sponsor-card h2 { margin-bottom: 16px; }
.sponsor-card > p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.sponsor-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
}

.sponsor-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255,215,0,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.sponsor-point .sp-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.sponsor-point .sp-icon svg { stroke: currentColor; }

.sponsor-point:hover .sp-icon {
  background: rgba(255,215,0,0.15);
  border-color: var(--color-gold);
  box-shadow: var(--glow-gold);
}

.sponsor-point p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* Disclaimer block */
.disclaimer-block {
  background: rgba(255,50,50,0.04);
  border: 1px solid rgba(255,50,50,0.15);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 60px;
}

.disclaimer-block h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff6060;
  margin-bottom: 10px;
}

.disclaimer-block p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Responsible icons row */
.responsible-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 20px;
}

/* Progress bar */
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-gold);
  transition: width 1.5s ease;
}

/* === Policy pages === */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0 100px;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--color-gold);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-gold);
}

.policy-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: var(--text-primary);
}

.policy-content p, .policy-content li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.policy-content ul, .policy-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.policy-content ul li { list-style: disc; }
.policy-content ol li { list-style: decimal; }

/* === Scroll to top === */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px; height: 48px;
  background: var(--gradient-gold);
  border-radius: 50%;
  border: none;
  color: var(--bg-primary);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-gold);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255,215,0,0.5);
}

/* === Preloader === */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.preloader-logo .logo-lotto { color: var(--color-gold); }
.preloader-logo .logo-best { color: var(--color-cyan); }

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 2px;
  animation: preload 1.8s ease forwards;
}

@keyframes preload {
  from { width: 0; }
  to { width: 100%; }
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }
  .cta-grid { gap: 48px; }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .project-slot-wrap { grid-template-columns: 1fr; }
  .game-layout { grid-template-columns: 1fr; }
  .game-banner { height: 220px; }
  .game-banner-preview { width: 40%; }
  .contacts-grid { grid-template-columns: 1fr; }
}

/* Mobile - 991px (burger menu) */
@media (max-width: 991px) {
  .nav-menu { display: none; }
  .burger-btn { display: flex; }
  /* .mobile-nav already display:flex, hidden via visibility/opacity */
  .about-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 60px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
}

/* Small tablet - 768px */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-grid { grid-template-columns: 1fr; }
  .game-banner { height: 180px; }
  .game-banner-preview { display: none; }
  .game-banner-overlay { background: rgba(5,5,15,0.88); }
  .tech-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonial-slide { padding: 0 16px; }
  .testimonial-card { padding: 32px 24px; }
  .sponsor-points { grid-template-columns: 1fr; }
}

/* Mobile - 576px */
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cookie-inner { flex-direction: column; }
  .cookie-settings { order: 2; }
  .cookie-actions { order: 3; flex-direction: row; }
}

/* Small mobile - 400px */
@media (max-width: 400px) {
  html { font-size: 14px; }
  .container { padding: 0 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .rg-badges { justify-content: center; }
}

/* Very small - 300px */
@media (max-width: 320px) {
  html { font-size: 12px; }
  .btn { padding: 12px 20px; font-size: 0.88rem; }
  .site-logo { font-size: 1.2rem; }
  .mobile-nav a { font-size: 1.2rem; }
}

/* === Hero grid responsive === */
@media (max-width: 991px) {
  .hero .container > div {
    grid-template-columns: 1fr !important;
  }
}


/* Skip navigation link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: #0a0f1e;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  z-index: 10000;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ============================================
   KEYBOARD NAVIGATION FOCUS STYLES
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--gold, #D4AF37);
  outline-offset: 3px;
  border-radius: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold, #D4AF37);
  outline-offset: 3px;
}
/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}
