:root {
  --dd-bg: #0a0a14;
  --dd-bg-alt: #15001a;
  --dd-surface: #15101e;
  --dd-surface-2: #1b1428;
  --dd-primary: #ff006e;
  --dd-secondary: #00f5ff;
  --dd-tertiary: #ffd60a;
  --dd-text: #f0f0f8;
  --dd-muted: #9090b0;
  --dd-border: #ff006e;
  --dd-max: 1180px;
  --dd-shadow-pixel: 0 4px 0 #ffd60a;
  --dd-glow: 0 0 12px rgba(0, 245, 255, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(255, 0, 110, 0.16),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 12%,
      rgba(0, 245, 255, 0.14),
      transparent 22%
    ),
    radial-gradient(
      circle at 78% 82%,
      rgba(255, 214, 10, 0.12),
      transparent 20%
    ),
    linear-gradient(180deg, #0a0a14 0%, #15001a 100%);
  color: var(--dd-text);
  font-family: "VT323", monospace;
  font-size: 22px;
  line-height: 1.45;
  cursor: crosshair;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.18) 0px,
    rgba(0, 0, 0, 0.18) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 9998;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(
      circle at 20% 24%,
      rgba(255, 255, 255, 0.22) 0 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 68% 42%,
      rgba(255, 255, 255, 0.18) 0 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 84% 74%,
      rgba(255, 255, 255, 0.2) 0 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 36% 86%,
      rgba(255, 255, 255, 0.15) 0 1px,
      transparent 1px
    );
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.dd-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: #ff006e;
  z-index: 9997;
}

.dd-page,
.dd-cookie-banner,
.dd-age-overlay,
.dd-progress {
  position: relative;
}

.dd-page {
  width: min(var(--dd-max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.dd-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  background: rgba(10, 10, 20, 0.94);
  border-bottom: 3px dotted #ff006e;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.dd-header.dd-header-hidden {
  transform: translateY(-100%);
}

.dd-header.dd-header-scrolled {
  background: rgba(21, 0, 26, 0.96);
  border-bottom-color: #00f5ff;
}

.dd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 14px 0;
  position: relative;
}

.dd-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dd-logo-mark {
  display: inline-block;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(14px, 1.4vw, 20px);
  color: #ff006e;
  text-transform: uppercase;
  text-shadow: 0 0 8px #00f5ff;
  line-height: 1.4;
}

.dd-logo-tag {
  display: block;
  color: var(--dd-secondary);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.dd-menu-btn {
  display: none;
  border: 2px solid #ff006e;
  background: #15101e;
  color: var(--dd-text);
  padding: 10px 12px;
  text-transform: uppercase;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  cursor: pointer;
}

.dd-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dd-nav a {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: var(--dd-text);
  text-transform: uppercase;
  opacity: 0.86;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.dd-nav a:hover,
.dd-nav a.dd-active {
  color: var(--dd-secondary);
  opacity: 1;
}

.dd-hero {
  padding: 44px 0 28px;
}

.dd-hero-shell,
.dd-section-shell,
.dd-legal-shell {
  padding: 28px;
  border: 2px solid #ff006e;
  background: linear-gradient(
    180deg,
    rgba(21, 16, 30, 0.95) 0%,
    rgba(12, 9, 20, 0.92) 100%
  );
  box-shadow: 10px 10px 0 rgba(0, 245, 255, 0.08);
}

.dd-hero-kicker,
.dd-section-label,
.dd-mini-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 2px solid #00f5ff;
  color: #00f5ff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.dd-hero-title,
.dd-section-title,
.dd-legal-title {
  margin: 0 0 16px;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(18px, 2.3vw, 34px);
  line-height: 1.55;
  color: var(--dd-text);
  text-transform: uppercase;
}

.dd-section-title {
  font-size: clamp(16px, 2vw, 28px);
}

.dd-hero-sub,
.dd-section-intro,
.dd-legal-lead,
.dd-copy p,
.dd-news-card p,
.dd-tool-card p,
.dd-game-card p,
.dd-featured-copy,
.dd-rg-copy p {
  margin: 0;
  color: var(--dd-text);
  font-size: clamp(22px, 2vw, 28px);
}

.dd-hero-copy {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.dd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.dd-cta-btn,
.dd-inline-link,
.dd-cta-outline,
.dd-cookie-btn,
.dd-age-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #ff006e;
  border-radius: 0;
  padding: 14px 20px;
  background: #ff006e;
  color: #0a0a14;
  box-shadow: 0 4px 0 #ffd60a;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.dd-cta-btn:hover,
.dd-inline-link:hover,
.dd-cta-outline:hover,
.dd-cookie-btn:hover,
.dd-age-btn:hover {
  transform: translateY(4px);
  box-shadow: none;
}

.dd-cta-btn.dd-pulse {
  animation: ddPulse 1.8s steps(2, end) infinite;
}

.dd-cta-outline {
  background: transparent;
  color: var(--dd-secondary);
  border-color: var(--dd-secondary);
  box-shadow: 0 4px 0 #ff006e;
}

.dd-ticker-wrap {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.dd-ticker {
  overflow: hidden;
  border: 2px solid #ff006e;
  background: #ff006e;
  color: #0a0a14;
}

.dd-ticker.dd-ticker-alt {
  border-color: #00f5ff;
  background: #00f5ff;
}

.dd-ticker-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: ddMarquee 22s linear infinite;
}

.dd-ticker-alt .dd-ticker-track {
  animation-direction: reverse;
}

.dd-ticker-text {
  flex: 0 0 auto;
  padding: 12px 0;
  white-space: nowrap;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dd-section {
  padding: 0 0 28px;
}

.dd-section-shell {
  display: grid;
  gap: 22px;
}

.dd-featured-grid,
.dd-methodology-grid,
.dd-content-grid,
.dd-news-grid,
.dd-tool-grid {
  display: grid;
  gap: 18px;
}

.dd-featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dd-featured-card,
.dd-method-card,
.dd-calc-panel,
.dd-game-card,
.dd-news-card,
.dd-tool-card,
.dd-legal-card {
  border: 2px solid #ff006e;
  background: #15101e;
  padding: 20px;
}

.dd-featured-card {
  border-width: 3px;
  display: grid;
  gap: 16px;
  box-shadow: 8px 8px 0 rgba(255, 0, 110, 0.16);
}

.dd-featured-top,
.dd-row-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dd-featured-title,
.dd-row-title,
.dd-card-title,
.dd-legal-subtitle {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dd-text);
  text-transform: uppercase;
}

.dd-rank {
  color: #ff006e;
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
}

.dd-casino-logo {
  height: 80px;
  object-fit: contain;
  background: #fff;
  border-radius: 0;
  padding: 2px;
}

.dd-rating-block {
  display: grid;
  gap: 4px;
}

.dd-rating-value {
  color: var(--dd-secondary);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.dd-rating-stars {
  color: #ffd60a;
  letter-spacing: 0.08em;
  font-size: 22px;
}

.dd-offer-box,
.dd-feature-pill {
  border: 2px solid #00f5ff;
  padding: 10px 12px;
  color: var(--dd-text);
  background: rgba(0, 245, 255, 0.06);
}

.dd-feature-pill {
  border-color: #ffd60a;
  background: rgba(255, 214, 10, 0.08);
}

.dd-casino-table {
  display: grid;
  gap: 12px;
}

.dd-table-head,
.dd-casino-row {
  display: grid;
  grid-template-columns:
    70px minmax(180px, 1.2fr) minmax(220px, 1.5fr)
    150px minmax(160px, 1fr) 170px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 2px solid #ff006e;
  background: #15101e;
}

.dd-table-head > div,
.dd-casino-row > .dd-row-col {
  min-width: 0;
}

.dd-row-brand .dd-casino-logo {
  flex-shrink: 0;
  max-width: 120px;
}

.dd-row-brand .dd-casino-name {
  min-width: 0;
  flex: 1 1 auto;
}

.dd-table-head {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--dd-secondary);
}

.dd-casino-row {
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.dd-casino-row:hover {
  border-color: #00f5ff;
}

.dd-casino-row .dd-cta-btn {
  min-width: 0;
}

.dd-row-col::before {
  display: none;
  content: attr(data-label);
  margin-bottom: 8px;
  color: var(--dd-secondary);
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.dd-row-num {
  color: #ff006e;
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
}

.dd-casino-name,
.dd-bonus-text,
.dd-key-text {
  font-size: 24px;
}

.dd-methodology-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dd-method-card {
  display: grid;
  gap: 10px;
}

.dd-method-code {
  color: #ffd60a;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.dd-method-title,
.dd-game-title,
.dd-news-title,
.dd-tool-title {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  line-height: 1.6;
  text-transform: uppercase;
}

.dd-about-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 2px solid #00f5ff;
  background: rgba(0, 245, 255, 0.05);
}

.dd-copy {
  display: grid;
  gap: 14px;
}

.dd-content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dd-calc-panel {
  display: grid;
  gap: 18px;
}

.dd-calc-form {
  display: grid;
  gap: 14px;
}

.dd-form-row {
  display: grid;
  gap: 8px;
}

.dd-form-row label {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.dd-form-row input {
  width: 100%;
  border: 2px solid #ff006e;
  background: #0a0a14;
  color: #f0f0f8;
  padding: 12px 14px;
  font-size: 24px;
}

.dd-calc-results {
  display: grid;
  gap: 10px;
}

.dd-result-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dashed rgba(144, 144, 176, 0.5);
  padding-bottom: 8px;
}

.dd-result-label {
  color: var(--dd-muted);
}

.dd-result-value {
  color: #00f5ff;
}

.dd-game-card,
.dd-news-card,
.dd-tool-card {
  display: grid;
  gap: 12px;
}

.dd-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dd-news-card {
  border-color: #00f5ff;
}

.dd-news-date {
  color: #ffd60a;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.dd-rg-layout {
  display: grid;
  gap: 22px;
}

.dd-rg-copy {
  display: grid;
  gap: 14px;
}

.dd-tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dd-tool-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #ff006e;
  color: #ffd60a;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
}

.dd-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.dd-resource-links a {
  color: #00f5ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dd-footer {
  border-top: 3px solid #ff006e;
  background: #15101e;
  padding: 18px 0 28px;
}

.dd-footer-shell {
  display: grid;
  gap: 12px;
}

.dd-footer-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: #9090b0;
  font-size: 18px;
}

.dd-footer-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dd-footer-links,
.dd-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.dd-footer-links a,
.dd-legal-links a,
.dd-breadcrumbs a,
.dd-back-home {
  color: #00f5ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dd-footer-note {
  color: #9090b0;
  font-size: 20px;
}

.dd-badge-18,
.dd-bga-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 2px solid #00f5ff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.dd-bga-badge {
  border-color: #ffd60a;
}

.dd-cookie-banner {
  position: fixed !important;
  bottom: 24px;
  left: 24px;
  max-width: 340px;
  width: calc(100vw - 48px);
  background: #15101e;
  border: 2px solid #ff006e;
  padding: 20px;
  z-index: 9990;
  box-shadow: 4px 4px 0 #ffd60a;
  box-sizing: border-box;
}

.dd-cookie-banner[hidden] {
  display: none !important;
}

.dd-cookie-text {
  display: grid;
  gap: 10px;
  color: var(--dd-text);
}

.dd-cookie-actions,
.dd-age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.dd-cookie-link {
  color: #00f5ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dd-cookie-btn.dd-cookie-alt,
.dd-age-btn.dd-age-alt {
  background: transparent;
  color: #00f5ff;
  border-color: #00f5ff;
  box-shadow: 0 4px 0 #ff006e;
}

.dd-age-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  min-height: 100% !important;
  background: rgba(10, 10, 20, 0.97) !important;
  z-index: 2147483646 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.dd-age-box {
  background: #15101e;
  border: 3px solid #ff006e;
  padding: 40px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  margin-block: auto;
  box-sizing: border-box;
}

.dd-age-overlay.dd-age-done {
  display: none !important;
}

html.dd-age-scroll-lock body {
  overflow: hidden !important;
}

html.dd-age-done .dd-age-overlay {
  display: none !important;
}

html.dd-cookie-done .dd-cookie-banner {
  display: none !important;
}

.dd-age-title {
  margin: 0 0 14px;
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
  line-height: 1.7;
  text-transform: uppercase;
}

.dd-age-text {
  margin: 0;
  font-size: 26px;
}

.dd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--dd-muted);
}

.dd-back-home {
  display: inline-block;
  margin-top: 10px;
}

.dd-legal-card {
  display: grid;
  gap: 18px;
}

.dd-legal-section {
  display: grid;
  gap: 10px;
}

.dd-legal-text {
  color: var(--dd-text);
}

.dd-legal-text p {
  margin: 0;
}

.dd-reveal {
  opacity: 0;
  transform: translateY(20px);
}

.dd-reveal.dd-in-view {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

@keyframes ddMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ddPulse {
  0%,
  100% {
    background: #ff006e;
    color: #0a0a14;
    box-shadow: 0 4px 0 #ffd60a;
  }
  50% {
    background: #ffd60a;
    color: #0a0a14;
    box-shadow: 0 4px 0 #00f5ff;
  }
}

@media (max-width: 1080px) {
  .dd-table-head,
  .dd-casino-row {
    grid-template-columns:
      58px minmax(160px, 1.1fr) minmax(180px, 1.4fr)
      130px minmax(130px, 1fr) 150px;
  }

  .dd-footer-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .dd-footer-right {
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .dd-featured-grid,
  .dd-content-grid,
  .dd-news-grid,
  .dd-tool-grid,
  .dd-methodology-grid {
    grid-template-columns: 1fr;
  }

  .dd-featured-top,
  .dd-row-brand {
    display: block;
  }

  .dd-featured-top > *:not(:first-child),
  .dd-row-brand > *:not(:first-child) {
    margin-top: 12px;
  }

  .dd-casino-logo {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .dd-table-head {
    display: none;
  }

  .dd-casino-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dd-row-col::before {
    display: block;
  }

  .dd-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dd-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border: 2px solid #ff006e;
    background: #15101e;
  }

  .dd-nav.dd-open {
    display: flex;
  }
}

@media (max-width: 700px) {
  .dd-header-inner {
    min-height: 76px;
  }

  .dd-hero-shell,
  .dd-section-shell,
  .dd-legal-shell,
  .dd-age-box {
    padding: 20px;
  }

  .dd-logo-mark {
    font-size: 12px;
  }

  .dd-footer-note {
    font-size: 18px;
  }
}

/* ============================================================
   ULTRA-NARROW RESPONSIVE — dd prefix
   ============================================================ */

/* --- 550px breakpoint --- */
@media (max-width: 550px) {
  .dd-header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dd-nav {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    top: 100%;
  }
  .dd-hero-title {
    font-size: clamp(10px, 3vw, 18px); /* Press Start 2P needs smaller clamp */
  }
  .dd-hero-sub {
    font-size: clamp(18px, 4vw, 22px);
  }
  .dd-casino-grid,
  .dd-casino-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .dd-casino-card,
  .dd-casino-row {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .dd-methodology-grid {
    grid-template-columns: 1fr;
  }
  .dd-content-grid {
    grid-template-columns: 1fr;
  }
  .dd-footer-cols {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- 380px breakpoint --- */
@media (max-width: 380px) {
  html {
    font-size: 14px;
  }
  .dd-hero-title {
    font-size: 8px; /* Press Start 2P minimum readable */
  }
  .dd-section-title {
    font-size: 10px;
  }
  .dd-cta-btn {
    width: 100%;
    text-align: center;
    padding: 12px 8px;
    font-size: 8px;
  }
  .dd-ticker-text {
    font-size: 8px;
  }
}

/* Grid/flex children min-width fix */
.dd-casino-grid > *,
.dd-content-grid > *,
.dd-methodology-grid > * {
  min-width: 0;
}

.dd-casino-grid {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

/* Long strings break */
.dd-casino-name,
.dd-bonus-text,
.dd-legal-text {
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}
