/* Dux Casino — Official Stylesheet (100% Unique Design System) */
:root {
  --dx-bg-main: #0c1017;
  --dx-bg-surface: #131924;
  --dx-bg-card: #1a2230;
  --dx-bg-card-hover: #212b3d;
  --dx-border: #273448;
  --dx-border-accent: #f5a623;
  --dx-text-primary: #f2f5fc;
  --dx-text-secondary: #9cb0cc;
  --dx-text-muted: #677891;
  --dx-accent-gold: #f5a623;
  --dx-accent-gold-hover: #e0961b;
  --dx-accent-teal: #00c9a7;
  --dx-accent-blue: #3b82f6;
  --dx-accent-crimson: #ef4444;
  --dx-radius-sm: 8px;
  --dx-radius-md: 14px;
  --dx-radius-lg: 20px;
  --dx-radius-full: 9999px;
  --dx-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --dx-glow-gold: 0 0 25px rgba(245, 166, 35, 0.35);
  --dx-glow-teal: 0 0 25px rgba(0, 201, 167, 0.35);
  --dx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% -20%, #1a2638 0%, #0c1017 65%);
}

a {
  color: var(--dx-accent-teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #4dfadc;
  text-decoration: underline;
}

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

/* Layout Container */
.dx-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.dx-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 16, 23, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dx-border);
}

.dx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.dx-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dx-brand-logo span {
  color: var(--dx-accent-gold);
  text-shadow: var(--dx-glow-gold);
}

.dx-nav-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.dx-nav-bar::-webkit-scrollbar {
  display: none;
}

.dx-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--dx-radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--dx-text-secondary);
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.dx-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.dx-nav-link.dx-active {
  color: #0c1017;
  background: linear-gradient(135deg, var(--dx-accent-gold) 0%, #d48806 100%);
  box-shadow: 0 2px 10px rgba(245, 166, 35, 0.4);
  font-weight: 800;
}

.dx-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--dx-radius-full);
  background: linear-gradient(135deg, var(--dx-accent-teal) 0%, #00967d 100%);
  color: #0c1017;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  box-shadow: var(--dx-glow-teal);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.dx-header-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #000;
  text-decoration: none;
}

/* Breadcrumbs (Pompage) */
.dx-breadcrumbs {
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--dx-text-muted);
}

.dx-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.dx-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dx-breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: var(--dx-text-muted);
  font-weight: bold;
}

.dx-breadcrumbs a {
  color: var(--dx-text-secondary);
  text-decoration: none;
}

.dx-breadcrumbs a:hover {
  color: var(--dx-accent-teal);
}

.dx-breadcrumbs span[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

/* Hero Section */
.dx-hero {
  position: relative;
  padding: 40px 0 30px;
}

.dx-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.dx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--dx-radius-full);
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: #ffd073;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

h1.dx-h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.dx-direct-answer {
  font-size: 17px;
  line-height: 1.65;
  color: #dce5f2;
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.8) 0%, rgba(19, 25, 36, 0.8) 100%);
  border-left: 4px solid var(--dx-accent-gold);
  border-radius: 0 var(--dx-radius-md) var(--dx-radius-md) 0;
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.dx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.dx-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--dx-radius-full);
  background: linear-gradient(135deg, var(--dx-accent-gold) 0%, #c77f05 100%);
  color: #0c1017;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: var(--dx-glow-gold);
  transition: all 0.2s ease;
  text-decoration: none;
}

.dx-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  color: #000;
  text-decoration: none;
}

.dx-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--dx-radius-full);
  background: var(--dx-bg-card);
  border: 1px solid var(--dx-border);
  color: var(--dx-text-primary);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dx-btn-secondary:hover {
  background: var(--dx-bg-card-hover);
  border-color: var(--dx-accent-teal);
  color: #fff;
  text-decoration: none;
}

.dx-hero-banner-wrap {
  position: relative;
  border-radius: var(--dx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--dx-border);
  box-shadow: var(--dx-shadow);
  aspect-ratio: 16 / 9;
}

.dx-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quick Facts Stats Ribbon */
.dx-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 30px 0 50px;
}

.dx-stat-pill {
  background: var(--dx-bg-card);
  border: 1px solid var(--dx-border);
  border-radius: var(--dx-radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease;
}

.dx-stat-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 166, 35, 0.4);
}

.dx-stat-icon {
  font-size: 28px;
  line-height: 1;
}

.dx-stat-title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--dx-text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.dx-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

/* Section Common Styling */
.dx-section {
  padding: 40px 0;
}

h2.dx-h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

h3.dx-h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 24px 0 12px;
}

.dx-prose p {
  font-size: 16px;
  color: var(--dx-text-secondary);
  margin-bottom: 18px;
}

.dx-prose strong {
  color: #fff;
}

.dx-prose ul, .dx-prose ol {
  margin: 16px 0 24px 22px;
  color: var(--dx-text-secondary);
}

.dx-prose li {
  margin-bottom: 8px;
}

/* Anti-Lockout GIST Callout Box */
.dx-edge-card {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, rgba(19, 25, 36, 0.9) 100%);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-left: 5px solid var(--dx-accent-gold);
  border-radius: var(--dx-radius-md);
  padding: 22px 24px;
  margin: 28px 0;
}

.dx-edge-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--dx-accent-gold);
  margin-bottom: 10px;
}

.dx-edge-desc {
  font-size: 15px;
  color: #e0e7f2;
  line-height: 1.6;
}

/* Games Showcase Grid (8 games) */
.dx-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.dx-game-card {
  background: var(--dx-bg-card);
  border: 1px solid var(--dx-border);
  border-radius: var(--dx-radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.dx-game-card:hover {
  transform: translateY(-5px);
  border-color: var(--dx-accent-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.dx-game-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.dx-game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.dx-game-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.dx-game-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.dx-game-meta {
  font-size: 13px;
  color: var(--dx-text-muted);
  margin-bottom: 12px;
}

.dx-game-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--dx-radius-full);
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: #ffd073;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dx-game-btn:hover {
  background: var(--dx-accent-gold);
  color: #0c1017;
  text-decoration: none;
}

/* Data Tables */
.dx-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 32px;
  border-radius: var(--dx-radius-md);
  border: 1px solid var(--dx-border);
  box-shadow: var(--dx-shadow);
  -webkit-overflow-scrolling: touch;
}

.dx-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  min-width: 600px;
}

.dx-table th {
  background: #0f1520;
  color: #fff;
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 2px solid var(--dx-border);
  white-space: nowrap;
}

.dx-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(39, 52, 72, 0.5);
  color: var(--dx-text-secondary);
}

.dx-table tr:nth-child(even) td {
  background: rgba(19, 25, 36, 0.5);
}

.dx-table tr:hover td {
  background: rgba(245, 166, 35, 0.05);
  color: #fff;
}

/* Interactive Wagering Calculator */
.dx-calc-box {
  background: var(--dx-bg-card);
  border: 1px solid var(--dx-border);
  border-radius: var(--dx-radius-lg);
  padding: 30px;
  margin: 30px 0;
  box-shadow: var(--dx-shadow);
}

.dx-calc-header {
  margin-bottom: 24px;
}

.dx-calc-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.dx-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.dx-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dx-field-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dx-text-secondary);
}

.dx-field-input {
  width: 100%;
  background: var(--dx-bg-surface);
  border: 1px solid var(--dx-border);
  border-radius: var(--dx-radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease;
}

.dx-field-input:focus {
  border-color: var(--dx-accent-gold);
}

.dx-calc-results {
  background: rgba(12, 16, 23, 0.7);
  border: 1px solid var(--dx-border);
  border-radius: var(--dx-radius-md);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.dx-res-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dx-res-label {
  font-size: 12.5px;
  text-transform: uppercase;
  color: var(--dx-text-muted);
  font-weight: 700;
}

.dx-res-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--dx-accent-gold);
}

/* Semantic Bridge Cards */
.dx-bridge-box {
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.08) 0%, rgba(19, 25, 36, 0.9) 100%);
  border: 1px solid rgba(0, 201, 167, 0.3);
  border-radius: var(--dx-radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.dx-bridge-text {
  font-size: 15.5px;
  color: #fff;
  flex-grow: 1;
}

.dx-bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--dx-radius-full);
  background: rgba(0, 201, 167, 0.15);
  border: 1px solid var(--dx-accent-teal);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.dx-bridge-link:hover {
  background: var(--dx-accent-teal);
  color: #0c1017;
  text-decoration: none;
}

/* FAQ Items (Always Open: details[open]) */
.dx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.dx-faq-card {
  background: var(--dx-bg-card);
  border: 1px solid var(--dx-border);
  border-radius: var(--dx-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.dx-faq-card[open] {
  border-color: rgba(245, 166, 35, 0.4);
}

.dx-faq-summary {
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

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

.dx-faq-summary::after {
  content: "▾";
  font-size: 20px;
  color: var(--dx-accent-gold);
  transition: transform 0.2s ease;
}

.dx-faq-card[open] .dx-faq-summary::after {
  transform: rotate(180deg);
}

.dx-faq-body {
  padding: 0 22px 20px;
  font-size: 15.5px;
  color: var(--dx-text-secondary);
  line-height: 1.65;
  border-top: 1px solid rgba(39, 52, 72, 0.4);
  padding-top: 14px;
}

/* E-E-A-T Official Support Contacts Block */
.dx-support-panel {
  background: var(--dx-bg-surface);
  border: 1px solid var(--dx-border);
  border-radius: var(--dx-radius-lg);
  padding: 30px;
  margin: 36px 0;
}

.dx-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.dx-support-card {
  background: var(--dx-bg-card);
  border: 1px solid var(--dx-border);
  border-radius: var(--dx-radius-md);
  padding: 18px 20px;
}

.dx-support-card h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.dx-support-card p {
  font-size: 14px;
  color: var(--dx-text-secondary);
}

/* Sticky Floating Conversion Bar */
.dx-sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.dx-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--dx-radius-full);
  background: linear-gradient(135deg, var(--dx-accent-gold) 0%, #c77f05 100%);
  color: #0c1017;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.55);
  transition: all 0.25s ease;
  text-decoration: none;
}

.dx-sticky-btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
  color: #000;
  text-decoration: none;
}

/* Footer */
.dx-footer {
  margin-top: auto;
  background: #080a0f;
  border-top: 1px solid var(--dx-border);
  padding: 50px 0 30px;
}

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

.dx-footer-brand {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.dx-footer-brand span {
  color: var(--dx-accent-gold);
}

.dx-footer-text {
  font-size: 14px;
  color: var(--dx-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dx-age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid var(--dx-accent-crimson);
  color: #f87171;
  font-weight: 800;
  font-size: 12px;
  margin-right: 6px;
}

.dx-footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.dx-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dx-footer-links a {
  color: var(--dx-text-secondary);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dx-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.dx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(39, 52, 72, 0.5);
  font-size: 13.5px;
  color: var(--dx-text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .dx-hero-grid {
    grid-template-columns: 1fr;
  }
  .dx-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dx-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .dx-games-grid {
    grid-template-columns: 1fr;
  }
  .dx-sticky-cta {
    bottom: 14px;
    right: 14px;
    left: 14px;
  }
  .dx-sticky-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14.5px;
  }
  .dx-header-inner {
    height: 64px;
  }
  .dx-brand-logo {
    font-size: 20px;
  }
}
