@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Easy Customization & Branding (Slate/Gold/Cyan Theme) */
:root {
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Color Palette - Refined Obsidian Charcoal & Warm Amber Theme */
  --bg-primary: #070a0f;
  --bg-secondary: #0e141d;
  --bg-tertiary: #16202c;
  --bg-accent-opaque: rgba(245, 158, 11, 0.1);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --color-accent: #f59e0b;       /* Golden Amber Accent */
  --color-accent-hover: #fbbf24;
  --color-success: #10b981;      /* Emerald Green Accent */
  --color-success-hover: #34d399;
  --color-gold: #f59e0b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-active: rgba(245, 158, 11, 0.45);
  
  /* Sizing and Spacing */
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  --max-width: 1200px;
  --header-height: 70px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.8);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button, input, select {
  font-family: inherit;
  color: inherit;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2rem;
  margin-top: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.25rem;
  color: var(--color-accent-hover);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

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

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover), #fcd34d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--border-radius-sm);
}

/* Sticky Responsive Header */
.header {
  position: sticky;
  top: 0;
  z-index: 110;
  height: var(--header-height);
  background-color: rgba(8, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-success) 100%);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 900;
  color: #080c10;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
}

/* Desktop Navigation and scrolling layout */
.header-nav {
  display: block;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Language Switcher Dropdown */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.lang-switcher-btn:hover {
  border-color: var(--border-color-active);
  background-color: var(--bg-tertiary);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  width: 140px;
  max-height: 250px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1000;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-align: left;
}

.lang-item:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.lang-flag {
  font-size: 1rem;
}

/* Action Area in Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Burger menu button */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

/* Main Content Wrapper */
.main-content {
  flex-grow: 1;
}

/* Section Structure styles */
section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

section:nth-child(even) {
  background-color: var(--bg-secondary);
}

/* Hero Section (Section 1) with 70% dimming and BG image */
.hero-section {
  position: relative;
  background-image: url('image/hero.jpeg'), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="800" viewBox="0 0 1200 800"><rect width="100%" height="100%" fill="%23080c10"/><g opacity="0.12"><circle cx="200" cy="200" r="150" fill="%23eab308"/><circle cx="1000" cy="600" r="250" fill="%2310b981"/><rect x="500" y="100" width="300" height="300" rx="30" transform="rotate(45 650 250)" fill="%23eab308"/></g></svg>');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0 60px 0;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.50); /* 50% dark dimming overlay */
  z-index: -1;
}

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

.hero-left {
  display: flex;
  flex-direction: column;
}

/* Spec Badges above H1 */
.hero-spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.spec-badge {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}

.spec-badge span {
  color: var(--color-accent);
}

.hero-left h1 {
  font-size: 3.25rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-intro {
  font-size: 1.12rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  background-color: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

/* Hero "Try Demo" customized to Cyan style */
.hero-ctas .btn-secondary {
  border: 1px solid var(--color-success);
  color: var(--color-success);
  background: transparent;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.hero-ctas .btn-secondary:hover {
  background: var(--color-success);
  color: var(--bg-primary);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
  border-color: var(--color-success);
}

.hero-main-play-btn {
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--color-accent-hover, #f59e0b), #fcd34d);
  color: #080c10 !important;
  border: none;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.6);
  transform: translateY(-2px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--transition-fast, 0.2s);
}

.hero-main-play-btn:hover {
  background: linear-gradient(135deg, #fcd34d, #ffffff);
  color: #080c10 !important;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.85);
  transform: translateY(-4px) scale(1.02);
}

.hero-trust-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(8, 12, 16, 0.75);
  border: 1px solid rgba(234, 179, 8, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: fit-content;
  margin-top: 15px;
}

.hero-trust-note::before {
  content: '🔞';
}

/* Demo Game Preview Card (Right Side of Hero) */
.demo-preview-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.demo-preview-card:hover {
  border-color: var(--border-color-active);
}

.demo-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
}

.demo-placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform var(--transition-normal);
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  transition: background var(--transition-normal);
}

.demo-overlay:hover {
  background: rgba(8, 12, 16, 0.5);
}

.demo-play-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0b0f;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.demo-overlay:hover .demo-play-icon {
  transform: scale(1.1);
}

.demo-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Demo Iframe Placeholder Container */
.demo-iframe-container {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-accent);
}

.demo-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Collapsible Table of Contents Block */
.toc-details {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px 24px;
  margin-bottom: 40px;
}

.toc-details[open] {
  padding-bottom: 24px;
}

.toc-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent-hover);
  cursor: pointer;
  list-style: none; /* Hide default arrow in some browsers */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hide default summary marker across browsers */
.toc-title::-webkit-details-marker {
  display: none;
}

.toc-title::after {
  content: '▼';
  font-size: 0.8rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.toc-details[open] .toc-title::after {
  transform: rotate(180deg);
}

.toc-content {
  margin-top: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.toc-item:hover {
  color: var(--color-accent-hover);
}

.toc-item::before {
  content: '→';
  color: var(--color-accent);
  font-weight: bold;
}

/* About Section Layout with ordered elements: Image -> Table -> Text */
.about-box-image {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-box-image img {
  width: 100%;
  border-radius: var(--border-radius-md);
  display: block;
}

/* RTP Calculator Mini Widget Block */
.rtp-calculator-container {
  margin: 30px 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color-active);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
}

.calc-slider-value {
  color: var(--color-accent);
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-success);
  cursor: pointer;
  box-shadow: 0 0 8px var(--color-success);
  transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-outputs {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.calc-output-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-output-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-output-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.calc-output-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.calc-output-val.highlight {
  color: var(--color-accent-hover);
}

/* Card-Based Sections (Section 4, 5, 6) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-active);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-accent-opaque);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-hover);
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Pros and Cons Section */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.pros-card, .cons-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pros-card {
  border-left: 4px solid var(--color-success);
}

.cons-card {
  border-left: 4px solid #ef4444;
}

.pros-card h3, .cons-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pros-card h3 {
  color: var(--color-success);
}

.cons-card h3 {
  color: #ef4444;
}

.pros-list, .cons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pros-list li, .cons-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
}

.cons-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

/* Game Screenshots Slider Carousel Section */
.screenshots-slider-container {
  position: relative;
  margin-top: 30px;
}

.slider-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--bg-secondary);
}

.slider-container::-webkit-scrollbar {
  height: 8px;
}

.slider-container::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.slider-container::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 4px;
}

.slider-item {
  flex: 0 0 85%;
  scroll-snap-align: center;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tables Styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

thead {
  background-color: rgba(30, 41, 59, 0.8);
  border-bottom: 2px solid var(--border-color);
}

th, td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

tr:last-child td {
  border-bottom: none;
}

th {
  font-weight: 600;
  color: var(--text-primary);
}

td {
  color: var(--text-secondary);
}

td strong {
  color: var(--text-primary);
}

tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* List Styling (Tactics, Steps, Mobile advantages) */
.list-numbered {
  list-style: none;
  counter-reset: my-counter;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-numbered li {
  counter-increment: my-counter;
  position: relative;
  padding-left: 50px;
}

.list-numbered li::before {
  content: counter(my-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background-color: var(--bg-accent-opaque);
  border: 1px solid var(--border-color-active);
  color: var(--color-accent-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.list-bullet {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-bullet li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
}

.list-bullet li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
}

/* Symbol Grid (Section 6) */
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.symbol-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  transition: all var(--transition-normal);
}

.symbol-card:hover {
  border-color: var(--border-color-active);
  transform: translateY(-3px);
}

.symbol-img-placeholder {
  width: 70px;
  height: 70px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.symbol-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.symbol-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Accordion FAQ (Section 14) */
.accordion-wrapper {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item:hover {
  border-color: var(--border-color-active);
}

.accordion-header {
  padding: 20px;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.accordion-header h3 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  color: inherit;
  font-family: inherit;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition-normal);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-primary);
  transition: transform var(--transition-normal);
}

.accordion-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.accordion-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

/* Active State for Accordion */
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.accordion-content-inner {
  padding: 0 20px 20px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Footer Section Redesign */
.footer {
  background-color: #040608;
  border-top: 2px solid var(--border-color);
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  display: inline-flex;
}

.footer-disclaimer {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.8rem;
}

.footer-email {
  color: var(--color-success);
  font-weight: 600;
}

.footer-email a {
  color: var(--color-success);
  text-decoration: none;
}

.footer-email a:hover {
  text-decoration: underline;
}

.footer-nav-title {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  border-left: 3px solid var(--color-accent);
  padding-left: 8px;
}

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

.footer-links a {
  color: var(--text-secondary);
}

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

/* Footer Trust Layout blocks (Regulated by, Payments, Responsible gambling) */
.footer-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.trust-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-block-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  font-weight: 700;
}

.trust-block p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.trust-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.trust-badge-text {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 5px 10px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.trust-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 4px 10px;
  transition: all var(--transition-fast);
  height: 34px;
}

.trust-logo-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--border-color-active);
}

.trust-logo-link img {
  max-height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity var(--transition-fast);
}

.trust-logo-link:hover img {
  opacity: 1;
}

/* Footer bottom area */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Mobile Nav Drawer Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 12, 16, 0.95);
  backdrop-filter: blur(15px);
  z-index: 105;
  display: none;
  flex-direction: column;
  padding: 80px 24px 40px 24px;
  overflow-y: auto;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  font-size: 1.2rem;
  font-weight: 600;
}

.mobile-nav-menu .nav-link {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Body overlay when mobile menu is active */
body.nav-active {
  overflow: hidden;
}

/* Active state for burger icon */
.burger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.burger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .header-nav {
    display: block !important;
    max-width: 60%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide default scrollbar on Firefox */
  }
  
  .header-nav::-webkit-scrollbar {
    display: none; /* Hide scrollbar on Chrome/Safari */
  }
  
  .nav-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
  }
  
  .nav-link {
    font-size: 0.85rem;
    padding: 4px 8px;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-left {
    text-align: center;
    align-items: center;
  }
  
  .hero-left h1 {
    font-size: 2.2rem;
  }
  
  .hero-ctas, .hero-spec-badges {
    justify-content: center;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
  }
  
  .calc-outputs {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none !important;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  
  /* Burger menu button appears */
  .burger-menu {
    display: flex;
  }
  
  /* Sticky header alignment adjusting for Mobile Order: Logo | Play Button | Language Switcher | Burger */
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  .header-actions {
    gap: 8px;
  }

  /* Mobile logo adjustments */
  .logo {
    font-size: 0.95rem;
  }

  .logo-icon,
  .logo-img {
    width: 36px;
    height: 36px;
  }

  .logo-icon {
    font-size: 1.25rem;
  }

  /* Compact mobile hero spacing */
  .hero-section {
    padding: 15px 0 25px 0;
  }

  .hero-left h1 {
    font-size: 1.65rem;
    margin-bottom: 8px;
    line-height: 1.25;
  }

  .hero-intro {
    font-size: 0.88rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .hero-ctas {
    margin-bottom: 12px;
  }

  .hero-spec-badges {
    margin-bottom: 10px;
    gap: 5px;
  }

  .spec-badge {
    padding: 4px 8px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .demo-preview-card {
    padding: 10px;
  }

  .demo-image-wrapper {
    margin-bottom: 10px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .slider-item {
    flex: 0 0 90%;
  }
}

@media (min-width: 769px) {
  .slider-item {
    flex: 0 0 47%;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 2.25rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .table-responsive th, .table-responsive td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}
