/* Duck theme — emerald pond / void black (from Duck Casino.dc.html) */
html, body { margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }

body.dk-body {
  background: #000000;
  color: #ffffff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  overflow-x: hidden;
}
a { color: #10b981; text-decoration: none; }
a:hover { color: #34d399; }
a:focus-visible, button:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}
::selection { background: #064e3b; color: #a7f3d0; }

@keyframes coinfall {
  from { transform: translate3d(0, -20vh, 0) rotate(0deg); }
  to { transform: translate3d(0, 120vh, 0) rotate(540deg); }
}
@keyframes livepulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 8px; }

.dk-coins {
  position: fixed; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.dk-coin {
  position: absolute; top: 0;
  object-fit: contain; will-change: transform;
  display: block;
}
.dk-shell { position: relative; z-index: 1; min-height: 100vh; }

/* Header */
.dk-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: flex-start; gap: 16px 24px;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1a1a;
}
.dk-logo-link {
  flex: 0 0 auto; width: 84px; height: 84px; display: block;
}
.dk-logo--header {
  width: 84px; height: 84px; object-fit: contain; display: block;
}
.dk-nav-slot--desktop { flex: 1 1 320px; min-width: 0; }
.dk-nav-slot--desktop .dk-main-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
}
.dk-nav-slot--desktop .dk-nav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: #a3a3a3;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: color 150ms cubic-bezier(0.16,1,0.3,1), border-color 150ms cubic-bezier(0.16,1,0.3,1);
}
.dk-nav-slot--desktop .dk-nav-link:hover,
.dk-nav-slot--desktop .dk-nav-link:focus {
  color: #10b981; border-bottom-color: #10b981;
}
.dk-nav-slot--desktop .dk-nav-link:first-child,
.dk-nav-slot--desktop .current-menu-item > .dk-nav-link,
.dk-nav-slot--desktop .dk-nav-link.current {
  color: #ffffff; border-bottom-color: #10b981;
}

.dk-auth {
  display: flex; align-items: center; gap: 10px;
  flex: 0 0 auto; margin-left: auto;
}
.dk-burger {
  display: none; flex: 0 0 auto;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: transparent; border: 1px solid #1a1a1a; border-radius: 8px;
  cursor: pointer; transition: border-color 150ms cubic-bezier(0.16,1,0.3,1);
}
.dk-burger:hover { border-color: #065f46; }
.dk-burger span {
  display: block; height: 2px; width: 100%;
  background: #10b981; border-radius: 2px;
}
.dk-nav-slot--mobile {
  display: none; order: 9; flex: 1 1 100%;
  flex-direction: column; align-items: stretch; gap: 4px;
  padding-top: 8px; border-top: 1px solid #1a1a1a;
}
.dk-nav-slot--mobile[hidden] { display: none !important; }
.dk-header.is-open .dk-nav-slot--mobile:not([hidden]) { display: flex; }
.dk-nav-slot--mobile .dk-main-nav {
  display: flex; flex-direction: column; align-items: stretch; gap: 4px;
}
.dk-nav-slot--mobile .dk-nav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: #a3a3a3;
  padding: 10px 4px; border-bottom: 2px solid transparent;
}
.dk-nav-slot--mobile .dk-nav-link:hover { color: #10b981; border-bottom-color: #10b981; }

/* Buttons — VoltAgent-inspired, Duck tokens */
button.dk-btn {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 500; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; border: 1px solid transparent; cursor: pointer;
  transition: background 150ms cubic-bezier(0.16,1,0.3,1), border-color 150ms cubic-bezier(0.16,1,0.3,1), color 150ms cubic-bezier(0.16,1,0.3,1);
  text-decoration: none; white-space: nowrap; user-select: none;
}
.dk-btn--sm { font-size: 14px; padding: 6px 12px; border-radius: 8px; height: 32px; }
.dk-btn--md { font-size: 14px; padding: 8px 16px; border-radius: 10px; height: 40px; }
.dk-btn--lg { font-size: 16px; padding: 12px 24px; border-radius: 10px; height: 48px; }
.dk-btn--xl { font-size: 18px; padding: 16px 32px; border-radius: 12px; height: 56px; }
.dk-btn--primary { background: #10b981; color: #000000; border-color: #10b981; }
.dk-btn--primary:hover { background: #34d399; border-color: #34d399; }
.dk-btn--secondary { background: #111111; color: #ffffff; border-color: #262626; }
.dk-btn--secondary:hover { background: #1a1a1a; border-color: #404040; }
.dk-btn--accent { background: #022c22; color: #10b981; border-color: #065f46; }
.dk-btn--accent:hover { background: #033a2d; border-color: #059669; }

/* Hero */
.dk-hero { max-width: 1360px; margin: 0 auto; padding: 32px 24px 0; }
.dk-hero-box {
  position: relative; border: 1px solid #1a1a1a; border-radius: 16px;
  overflow: hidden; background: #0d0d0d;
}
.dk-hero-img {
  width: 100%; min-height: 320px; max-height: 560px;
  object-fit: cover; object-position: center; display: block;
}
.dk-hero-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: flex-end; padding: 24px clamp(20px, 5vw, 64px);
  background: linear-gradient(90deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.72) 62%);
}
.dk-hero-text {
  max-width: 460px; display: flex; flex-direction: column;
  align-items: flex-start; text-align: left; gap: 24px;
}
.dk-hero-title {
  margin: 0; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.05;
  letter-spacing: -0.03em; font-weight: 700; color: #ffffff;
  text-wrap: pretty;
}

/* Sections */
.dk-section { max-width: 1360px; margin: 0 auto; }
.dk-section-pad { padding: 0 24px; margin: 0 0 20px; }
.dk-section-head {
  margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px;
  padding: 0 24px;
}
.dk-providers { padding: 56px 0 0; }
.dk-slots { padding: 48px 24px 0; }
.dk-slots .dk-section-head { padding: 0; }
.dk-jackpots { padding: 56px 24px 0; }
.dk-jackpots .dk-section-head { padding: 0; }

.dk-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #f59e0b;
}
.dk-heading {
  margin: 0; display: flex; align-items: center; gap: 12px;
  font-size: 28px; letter-spacing: -0.03em; font-weight: 700; color: #ffffff;
}
.dk-bar {
  width: 4px; height: 26px; background: #10b981; border-radius: 2px; flex: 0 0 auto;
}

/* Providers strip */
.dk-prov-strip {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 4px 24px 16px; scroll-snap-type: x proximity;
}
.dk-prov {
  flex: 0 0 auto; width: 148px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #1a1a1a; border-radius: 8px; background: #111111;
  scroll-snap-align: start;
  transition: border-color 150ms cubic-bezier(0.16,1,0.3,1), background 150ms cubic-bezier(0.16,1,0.3,1);
}
.dk-prov:hover { border-color: #065f46; background: #0d0d0d; }
.dk-mask {
  display: block; background-color: #10b981;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-image: var(--dk-mask); mask-image: var(--dk-mask);
}
.dk-mask--prov { width: 128px; height: 48px; }
.dk-mask--pay { width: 68px; height: 32px; }

/* Games grid — cols set by JS (2/3/4/6) */
.dk-games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.dk-game {
  display: flex; flex-direction: column; gap: 8px;
}
.dk-game.is-hidden { display: none !important; }
.dk-game-card {
  display: block; width: 100%; padding: 0;
  border: 2px solid #065f46; border-radius: 10px; overflow: hidden;
  background: #111111; cursor: pointer;
  transition: border-color 150ms cubic-bezier(0.16,1,0.3,1), transform 150ms cubic-bezier(0.16,1,0.3,1);
}
.dk-game-card:hover { border-color: #10b981; transform: translateY(-2px); }
.dk-game-card img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block;
}
.dk-game-meta {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #a3a3a3;
}
.dk-likes, .dk-online { display: inline-flex; align-items: center; gap: 4px; }
.dk-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  animation: livepulse 2s ease-in-out infinite;
}
.dk-more-wrap { display: flex; justify-content: center; padding: 28px 0 0; }
.dk-more-wrap.is-hidden { display: none; }

/* Divider */
.dk-divider-wrap { max-width: 1360px; margin: 56px auto 0; padding: 0 24px; }
.dk-divider { height: 1px; background: #1a1a1a; }

/* Content / guide */
.dk-guide {
  max-width: 860px; margin: 0 auto; padding: 48px 24px 0;
  font-size: 16px; line-height: 1.7; color: #d4d4d4;
}
.dk-content .main_container,
.dk-content .main_left,
.dk-content .main_right {
  display: block !important; width: 100% !important; max-width: none !important;
  float: none !important; margin: 0 !important; padding: 0 !important;
}
.dk-content h2 {
  margin: 0 0 16px; font-size: 28px; letter-spacing: -0.02em;
  font-weight: 700; color: #ffffff;
}
.dk-content h3 {
  margin: 32px 0 12px; font-size: 20px; letter-spacing: -0.02em;
  font-weight: 600; color: #ffffff;
}
.dk-content p { margin: 0 0 20px; text-wrap: pretty; color: #d4d4d4; }
.dk-content a { color: #10b981; }
.dk-content a:hover { color: #34d399; }
.dk-content ul, .dk-content ol {
  display: block; margin: 0 0 20px; padding-left: 22px; color: #d4d4d4;
}
.dk-content li {
  display: list-item; margin-bottom: 8px;
}
.dk-content li b, .dk-content li strong { display: inline; font-weight: 700; color: #ffffff; }
.dk-content blockquote {
  margin: 28px 0; padding: 16px 20px;
  border-left: 2px solid #10b981; background: #0d0d0d;
  border-radius: 0 8px 8px 0; font-size: 17px; color: #ffffff;
}
/* Tables — match Duck mock; override CMS border=1 */
.dk-content .table-wrapper {
  overflow-x: auto; margin: 0 0 24px;
  -webkit-overflow-scrolling: touch;
}
.dk-content table {
  width: 100% !important; max-width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 0 !important;
  font-size: 14px;
  background: transparent !important;
  margin: 0 0 24px;
}
.dk-content .table-wrapper table { margin-bottom: 0; }
.dk-content table th,
.dk-content table td {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.dk-content table th {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid #262626 !important;
  color: #a3a3a3; font-weight: 500;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: transparent !important;
}
.dk-content table td {
  padding: 12px;
  border-bottom: 1px solid #1a1a1a !important;
  color: #ffffff; vertical-align: top;
  background: transparent !important;
}
.dk-content table td:nth-child(1) {
  font-family: 'JetBrains Mono', monospace;
  color: #10b981;
}
.dk-content table td b,
.dk-content table td strong { color: #ffffff; font-weight: 700; }
.dk-content table td:nth-child(1) b,
.dk-content table td:nth-child(1) strong { color: #10b981; }
.dk-content table tbody tr:last-child td { border-bottom: 0 !important; }
.dk-content details {
  border: 1px solid #1a1a1a; border-radius: 8px; background: #111111;
  padding: 14px 16px; margin-bottom: 10px;
}
.dk-content summary {
  cursor: pointer; font-weight: 600; color: #ffffff; list-style: none;
}
.dk-content summary::-webkit-details-marker { display: none; }
.dk-content details p { margin: 12px 0 0; color: #a3a3a3; }
.dk-content-cta { margin-top: 28px; display: flex; justify-content: center; }

@media (max-width: 768px) {
  .dk-content table,
  .dk-content .table-wrapper {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Jackpots */
.dk-jp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.dk-jp-card {
  border: 1px solid #1a1a1a; border-radius: 12px; background: #111111;
  padding: 20px; display: flex; flex-direction: column; gap: 16px; align-items: center;
  transition: border-color 150ms cubic-bezier(0.16,1,0.3,1);
}
.dk-jp-card:hover { border-color: #065f46; }
.dk-jp-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #737373;
}
.dk-jp-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; color: #10b981;
  text-shadow: 0 0 20px rgba(16,185,129,0.35);
}
.dk-jp-img {
  width: 100%; max-width: 240px; aspect-ratio: 2 / 3; border-radius: 10px;
  border: 2px solid #065f46; object-fit: cover; display: block;
}

/* Footer */
.dk-footer {
  margin-top: 64px; border-top: 1px solid #1a1a1a; background: #0d0d0d;
}
.dk-footer-inner {
  max-width: 1360px; margin: 0 auto; padding: 32px 24px 40px;
  display: flex; flex-direction: column; gap: 28px; align-items: center;
}
.dk-nav-slot--footer .dk-footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 11px clamp(18px, 4vw, 28px);
}
.dk-footer-link { font-size: 14px; color: #a3a3a3; }
.dk-footer-link:hover { color: #10b981; }
.dk-pay-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.dk-social { display: flex; justify-content: center; gap: 16px; }
.dk-social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid #1a1a1a;
  color: #10b981;
  transition: transform 150ms cubic-bezier(0.16,1,0.3,1), box-shadow 150ms cubic-bezier(0.16,1,0.3,1), border-color 150ms cubic-bezier(0.16,1,0.3,1);
}
.dk-social-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(16,185,129,0.3);
  border-color: #065f46;
}
.dk-rg {
  margin: 0; max-width: 620px; text-align: center;
  font-size: 12px; line-height: 1.6; color: #737373;
}

@media (max-width: 899px) {
  .dk-header {
    justify-content: center; gap: 12px 16px; padding: 12px 16px;
  }
  .dk-nav-slot--desktop { display: none !important; }
  .dk-burger { display: flex; }
  .dk-logo-link { width: 72px; height: 72px; }
  .dk-logo--header { width: 72px; height: 72px; }
  .dk-auth {
    order: 8; flex: 1 1 100%;
    justify-content: center; margin-left: 0;
  }
  .dk-hero-img {
    min-height: 240px; max-height: 320px; object-position: 0% center;
  }
  .dk-hero-overlay {
    position: static; justify-content: center;
    padding: 20px 20px 24px; background: #0d0d0d;
  }
  .dk-hero-text {
    align-items: center; text-align: center; gap: 16px;
  }
  .dk-games-grid { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .dk-coin { animation: none !important; }
  .dk-pulse { animation: none !important; }
}
