:root {
  --bg-dark: #0D0B14;
  --bg-card: #1A1228;
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --text-main: #FFFFFF;
  --text-muted: #CCCCCC;
  --accent-primary: #FF9233;
  --accent-hover: #E8831D;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --radius-card: 12px;
  --radius-pill: 32px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* Header */
.site-header {
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  height: 32px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta {
  font-size: 14px;
  padding: 10px 20px;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--accent-primary);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}

.lang-btn:hover {
  background: var(--bg-card-hover);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  list-style: none;
  width: 160px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 200;
}

/* Custom Scrollbar for dropdown */
.lang-dropdown::-webkit-scrollbar {
  width: 6px;
}
.lang-dropdown::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 8px;
}
.lang-dropdown::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
.lang-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  border-bottom: 1px solid var(--border-color);
}

.lang-dropdown li:last-child {
  border-bottom: none;
}

.lang-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.lang-dropdown a:hover {
  background: var(--bg-card-hover);
  color: var(--accent-primary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 40px;
  background-color: var(--bg-dark);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(13,11,20,0) 0%, var(--bg-dark) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  z-index: 2;
}

.eyebrow {
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.05);
  color: #CCCCCC;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.hero-actions {
  margin-top: 32px;
}

.hero-btn-full {
  display: block;
  text-align: center;
  width: 100%;
}

.btn-primary {
  display: inline-block;
  background: var(--accent-primary);
  color: #000000;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(255, 146, 51, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 146, 51, 0.5);
}

/* Demo Section */
.demo-section {
  padding: 60px 0 40px 0;
  text-align: center;
}

.demo-section h1 {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.demo-placeholder-container {
  max-width: 1000px;
  margin: 0 auto;
}

.demo-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url('/img/background.webp');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.demo-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.demo-placeholder.loaded {
  background-image: none;
}

.demo-placeholder.loaded::before {
  display: none;
}

.demo-placeholder button {
  position: relative;
  z-index: 2;
  cursor: pointer;
  border: none;
}

.demo-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.demo-actions {
  display: flex;
  justify-content: center;
}

.btn-success {
  background: #4CAF50;
  color: #fff;
  border: 1px solid #4CAF50;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
  background: #45a049;
  color: #fff;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.hero-image {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 146, 51, 0.2);
}

.hero-image figcaption {
  padding: 12px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-card);
}

/* Sections */
.content-section {
  padding: 60px 40px;
  border-radius: var(--radius-card);
  margin-bottom: 24px;
}

.content-section:nth-child(even) {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
}

/* Casino Cards */
.casino-list {
  margin: 40px 0;
}
.casino-card {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  gap: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: var(--accent-primary);
}
.casino-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.casino-info {
  flex-grow: 1;
}
.casino-info h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text-main);
  text-align: left;
}
.casino-info p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}
.casino-cta {
  flex-shrink: 0;
}

.content-section h2 {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.content-section h3 {
  font-size: 24px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--accent-primary);
}

.divider {
  width: 60px;
  height: 4px;
  background-color: var(--accent-primary);
  border: none;
  margin: 0 auto 40px auto;
  border-radius: 2px;
}

.content-section p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
}

.content-section ul, .content-section ol {
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-left: 24px;
}

.content-section li {
  margin-bottom: 8px;
}

/* Image placement */
.content-image {
  margin: 40px auto;
  max-width: 800px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s ease;
}

.content-image:hover {
  box-shadow: 0 0 20px rgba(255, 146, 51, 0.4);
}

.content-image figcaption {
  padding: 16px;
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-muted);
  font-size: 14px;
}

/* Table */
.table-scroll {
  overflow-x: auto;
  margin: 32px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
}

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

th {
  background: var(--bg-dark);
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
}

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

/* Quick Facts */
.quick-facts {
  margin: -40px 0 40px 0;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  padding: 32px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-color);
}

.quick-facts h2 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

.quick-facts .divider {
  margin-bottom: 24px;
}

/* Pros and Cons */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 32px 0 32px;
}

.pros-card, .cons-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-color);
}

.pros-card h3 {
  color: #4CAF50;
  margin-top: 0;
}

.cons-card h3 {
  color: #F44336;
  margin-top: 0;
}

/* TOC */
.toc {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-card);
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

.toc summary {
  list-style: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::after {
  content: '+';
  color: var(--accent-primary);
  font-size: 28px;
  font-weight: 400;
}

.toc[open] summary::after {
  content: '−';
}

.toc h2 {
  font-size: 24px;
  text-align: left;
  display: inline-block;
  margin: 0;
}

.toc ul {
  display: block;
  list-style: none;
  padding: 24px 0 0 0;
  margin: 0;
}

.toc a {
  color: var(--text-muted);
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.toc a:hover {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

/* Formula */
.formula-card {
  background: rgba(255, 146, 51, 0.1);
  border: 1px solid var(--accent-primary);
  padding: 24px;
  border-radius: var(--radius-card);
  text-align: center;
  margin: 32px auto;
  max-width: 600px;
}

.formula-card strong {
  display: block;
  color: var(--accent-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.formula-card span {
  font-size: 24px;
  font-weight: 700;
}

/* FAQ */
.faq-list {
  margin: 0;
}

details {
  background: var(--bg-card);
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

summary {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 18px;
}

summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  color: var(--accent-primary);
  font-size: 24px;
  font-weight: 400;
}

details[open] summary::after {
  content: '−';
}

details p {
  padding: 0 20px 20px;
  margin: 0;
}

/* Verification Note */
.verification-note {
  margin: 40px 0;
  background: var(--bg-card);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.verification-note p {
  margin: 0;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 60px 40px;
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

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

.disclaimer {
  color: var(--text-muted);
  font-size: 12px;
  max-width: 600px;
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 90px;
}

/* Forms & Alerts */
.form-group {
  margin-bottom: 24px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-weight: 600;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.cf-turnstile {
  margin-bottom: 24px;
}
.alert {
	display: block;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: none;
}
.alert.success {
	display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid #4CAF50;
  color: #4CAF50;
}
.alert.error {
	display: block;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid #F44336;
  color: #F44336;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.4s ease;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-text {
  flex-grow: 1;
  font-size: 14px;
  color: var(--text-main);
  margin: 0;
}
.cookie-text a {
  color: var(--accent-primary);
  text-decoration: underline;
}
.cookie-btn {
  background: var(--accent-primary);
  color: #000;
  border: none;
  padding: 10px 24px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }
  .site-logo {
    font-size: 16px;
  }
  .site-logo img {
    height: 24px;
  }
  .header-right {
    width: auto;
    gap: 8px;
  }
  .site-nav {
    display: none;
  }
  .lang-switcher {
    margin-left: 0;
  }
  .lang-btn {
    padding: 6px 8px;
    font-size: 13px;
  }
  .header-cta {
    padding: 8px 12px;
    font-size: 12px;
  }
  .demo-section h1 {
    font-size: 32px;
  }
  .demo-placeholder {
    aspect-ratio: 9 / 16;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .container {
    padding: 0 20px;
  }
  .section-grid {
    grid-template-columns: 1fr;
    margin: 40px 0 0 0;
  }
  .content-section {
    padding: 40px 20px;
  }
  .casino-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .casino-info h3 {
    text-align: center;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .cookie-btn {
    width: 100%;
  }
}
