/* Modern, mobile-first redesign */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

:root {
  --bg0: #070a12;
  --bg1: #0b1020;
  --text: #e5e7eb;
  --muted: #a7b0c0;
  --card: rgba(255, 255, 255, 0.06);
  --card-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --accent: #22d3ee;
  --accent-2: #fb7185;
  --focus: rgba(34, 211, 238, 0.9);
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1120px;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(1200px 800px at 15% 15%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(900px 700px at 85% 20%, rgba(251, 113, 133, 0.14), transparent 60%),
    radial-gradient(1000px 900px at 45% 90%, rgba(99, 102, 241, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ffffff;
  color: #0b1020;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 16, 32, 0.75);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header {
    backdrop-filter: blur(10px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.logo {
  font-weight: 900;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-size: 1.05rem;
}

.logo::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
  transform: translateY(-1px);
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  min-width: 44px;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: none;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(251, 113, 133, 0.18));
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.site-nav.is-open {
  display: flex;
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(11, 16, 32, 0.92);
  margin-top: 10px;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: flex;
  }
  .site-nav.is-open {
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    margin-top: 0;
  }
}

/* Sections */
.hero {
  padding: 42px 0 26px;
}

.hero-grid {
  display: grid;
  gap: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: rgba(229, 231, 235, 0.88);
  max-width: 62ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}

.actions-wide {
  justify-content: center;
  margin-top: 14px;
}

.checklist {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 70ch;
}

.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(229, 231, 235, 0.88);
}

.checklist li::before {
  content: "✓";
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  color: var(--accent);
  font-weight: 900;
  transform: translateY(2px);
}

.hero-panel {
  align-self: start;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow);
  padding: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px;
}

.stat-k {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.stat-v {
  font-size: 1.15rem;
  font-weight: 900;
  margin-top: 2px;
}

.note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(229, 231, 235, 0.9);
}

.note p {
  margin: 0 0 6px;
}

.muted {
  color: var(--muted);
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.section {
  padding: 34px 0;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

/* Cards */
.card {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow);
  padding: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(251, 113, 133, 0.85));
  color: #0b1020;
  border-color: rgba(34, 211, 238, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: 100%;
}

/* Game */
.game-card {
  padding: 14px;
}

.game-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}

.game-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(600px 400px at 50% 45%, rgba(34, 211, 238, 0.14), transparent 60%),
    rgba(11, 16, 32, 0.55);
  color: var(--text);
  border: 0;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.02em;
  min-height: 44px;
}

.game-overlay.is-hidden {
  display: none;
}

/* Casinos */
.casino-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.casino-card h3 {
  margin: 12px 0 6px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.casino-card p {
  margin: 0 0 12px;
}

.casino-card ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: rgba(229, 231, 235, 0.88);
}

.casino-card li {
  margin: 6px 0;
}

.casino-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  background: rgba(34, 211, 238, 0.14);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.20);
}

.casino-logo {
  width: 120px;
  height: 64px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: grid;
  place-items: center;
  padding: 6px 10px;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Some logo assets have extra transparent padding; nudge them up slightly */
.casino-logo img[alt="Kralbet"] {
  object-position: center 42%;
}

/* Content cards */
.content {
  display: grid;
  gap: 14px;
}

.content-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.content-card h4 {
  margin: 14px 0 8px;
  font-size: 1.02rem;
  color: rgba(229, 231, 235, 0.95);
}

.content-card p {
  margin: 0 0 10px;
  color: rgba(229, 231, 235, 0.88);
  max-width: 80ch;
}

.content-card ul {
  margin: 0 0 10px;
  padding-left: 18px;
  color: rgba(229, 231, 235, 0.88);
}

.content-card li {
  margin: 6px 0;
}

/* Specs table */
.specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  overflow: hidden;
}

.specs td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.specs tr:last-child td {
  border-bottom: 0;
}

.specs td:first-child {
  width: 42%;
  color: rgba(229, 231, 235, 0.92);
}

/* Footer */
.site-footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 16, 32, 0.45);
}

.footer-inner {
  display: grid;
  gap: 14px;
  text-align: left;
  max-width: 920px;
  margin-inline: auto;
}

.footer-title {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
}

.footer-subtitle {
  margin: 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(229, 231, 235, 0.88);
}

.site-footer li {
  color: rgba(229, 231, 235, 0.88);
  margin: 6px 0;
}

.footer-inner ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(229, 231, 235, 0.88);
}

.footer-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin-top: 8px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: rgba(229, 231, 235, 0.92);
  text-decoration: none;
  border-bottom: 1px dashed rgba(229, 231, 235, 0.35);
  padding-bottom: 2px;
}

.footer-links a:hover {
  border-bottom-color: rgba(34, 211, 238, 0.85);
}

.footer-note {
  margin-top: 0;
  font-size: 0.98rem;
  text-align: center;
}

.footer-copy {
  margin-top: 6px;
  text-align: center;
}

.footer-copy small {
  font-size: 0.85rem;
  color: rgba(167, 176, 192, 0.95);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

