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

:root {
  --top-bar-bg: #FFFFFF;
  --canvas-color: #FFFFFF;
  --highlight-tone: linear-gradient(259.39deg, #A947FF 16.13%, #5B2B99 93.96%);
  --tile-bg: #D5C9FF;
  --headline-color: #04052E;
  --text-primary: #04052E;
  --rule-color: #D5C9FF;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--canvas-color);
  color: #ffffff;
  min-height: 100vh;
}

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

main h1,
main h2,
main h3 {
  color: var(--headline-color);
}

.frame {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.global-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-color);
  background: var(--top-bar-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 65px;
  border-radius: 12px;
  text-decoration: none;
  padding: 6px 10px;
}

.site-emblem img {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
}

.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--tile-bg);
  background: transparent;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger-btn span,
.burger-btn span::before,
.burger-btn span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--headline-color);
  border-radius: 2px;
  position: relative;
  transition: all 0.2s ease;
}

.burger-btn span::before,
.burger-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger-btn span::before {
  top: -6px;
}

.burger-btn span::after {
  top: 6px;
}

.login-block {
  display: flex;
  gap: 12px;
}

.top-menu {
  margin-top: 18px;
}

.top-menu-band {
  padding: 12px 0;
  background: var(--highlight-tone);
  border-radius: 14px;
}

.primary-menu-list {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.primary-menu-list a {
  color: var(--headline-color);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
}

[data-route] {
  cursor: pointer;
}

.breadcrumb {
  padding: 18px 0 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.breadcrumb li + li::before {
  content: ">";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.top-feature {
  padding: 40px 0 60px;
}

.opener-block-row {
  background: var(--tile-bg);
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

.top-feature-body h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.top-feature-body p {
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 20px;
}

.opener-btn {
  align-self: flex-start;
}

.hero-band-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-band-image img {
  width: min(380px, 100%);
  height: auto;
  border-radius: 18px;
}

.highlights-section {
  padding: 0 0 40px;
}

.highlights-section .features-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.highlights-section .features-row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--tile-bg);
  border: 1px solid var(--rule-color);
  border-radius: 18px;
  color: var(--headline-color);
  font-size: 0.78rem;
  font-weight: 300;
}

.highlights-section .features-row li::before {
  content: "⭐";
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 auto;
}

.highlights-section .features-row li:nth-child(1)::before { content: "🎁"; }
.highlights-section .features-row li:nth-child(2)::before { content: "🎰"; }
.highlights-section .features-row li:nth-child(3)::before { content: "🏆"; }
.highlights-section .features-row li:nth-child(4)::before { content: "💎"; }

.reel-collection {
  padding: 0 0 60px;
}

.lobby-block-header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.reel-collection-caption {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--tile-bg);
  border-radius: 18px;
  color: var(--headline-color);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.games-band-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Gradient border via background trick (works with both solid colors and gradients) */
.lobby-tile {
  position: relative;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--tile-bg), var(--tile-bg)) padding-box,
    var(--highlight-tone) border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.reel-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
}

.reel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.title-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.title-card-overlay .casino-card-cta {
  padding: 10px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  color: #ffffff;
  background: var(--highlight-tone);
  border: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (hover: hover) {
  .lobby-tile:hover .title-card-overlay {
    opacity: 1;
  }
}

.lobby-tile .title-card-name {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.3;
  word-break: break-word;
}

.content-band {
  padding: 0 0 80px;
}

.content-band .frame > div {
  margin-bottom: 40px;
}

.content-band .frame > div:last-child {
  margin-bottom: 0;
}

.readme-block {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 32px;
}

.content-band h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  margin-bottom: 12px;
}

.content-band h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 12px;
}

.readme-block img {
  width: 100%;
  max-width: 920px;
  border-radius: 18px;
  display: block;
  margin: 0 auto 20px;
}

.content-band p {
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.content-band ol {
  margin-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-primary);
  line-height: 1.6;
}

.readme-block h2:not(:first-child),
.readme-block h3:not(:first-child) {
  margin-top: 40px;
}

.content-band ul {
  list-style: none;
  padding-left: 0;
  color: var(--text-primary);
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #ffffff;
  font-size: 0.98rem;
  border-radius: 14px;
  overflow: hidden;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule-color);
}

.data-table thead th {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--headline-color);
  background: var(--rule-color);
}


.readme-block.help-list {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.faq-item {
  padding: 14px 0;
  border-top: 1px solid var(--rule-color);
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--text-primary);
}

.bottom-band {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--top-bar-bg);
}

.bottom-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-foot-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 230px;
  height: 65px;
  border-radius: 12px;
  text-decoration: none;
}

.page-foot-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-band-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  align-items: flex-start;
}

.bottom-band-links a {
  text-decoration: none;
  color: var(--headline-color);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.page-foot-disclaimer {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-primary);
  max-width: 520px;
  line-height: 1.6;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.bottom-band-copyright {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
}

.age-notice {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--headline-color);
  font-weight: 600;
  font-size: 0.65rem;
  color: var(--text-primary);
  margin-left: auto;
  margin-right: auto;
}

.content-band ul li {
  position: relative;
  padding-left: 20px;
}

.content-band ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--highlight-tone);
}


.cta-btn {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  background: none;
  cursor: pointer;
}

.primary-action--ghost {
  border: 1px solid var(--headline-color);
  color: #ffffff;
}

.action--solid {
  background: var(--highlight-tone);
  color: #ffffff;
  border: none;
  box-shadow: none;
}

@media (max-width: 720px) {
  .site-topbar-inner {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .site-emblem {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-left: 0;
    margin: 0;
  }

  .burger-btn {
    display: inline-flex;
    align-self: center;
    margin-left: auto;
  }

  .login-block {
    width: 100%;
    justify-content: space-between;
    order: 3;
  }

  .cta-btn {
    flex: 1;
  }

  .top-menu {
    display: none;
  }

  .global-header.is-open .top-menu {
    display: block;
  }

  .top-menu-band {
    padding: 14px 0 18px;
  }

  .primary-menu-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .opener-block-row {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
  }

  .content-band {
    padding: 0 0 60px;
  }

  .content-band .frame > div {
    margin-bottom: 28px;
  }

  .opener-btn {
    align-self: center;
    width: 80%;
    justify-content: center;
  }

  .hero-band-image {
    order: -1;
  }

  .highlights-section .features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .highlights-section .features-row li {
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
  }

  .games-band-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .lobby-tile {
    padding: 8px;
    gap: 8px;
  }

  .lobby-tile .title-card-name {
    font-size: 0.7rem;
  }

  .readme-block {
    padding: 20px;
  }

  .content-section {
    margin-top: 28px;
  }

  .steps-inner {
    padding: 20px;
  }

  .step-row {
    text-align: left;
  }

  .policy-inner {
    padding: 20px;
  }

  .bottom-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-foot-logo {
    align-self: center;
  }

  .bottom-band-links {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .page-foot-disclaimer {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.7rem;
  }

  .bottom-band-copyright {
    font-size: 0.7rem;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 14px;
  }
}
/* slotroyals-uk-2: black text in tables + header Login button (post-build override) */
.data-table,
.data-table th,
.data-table td,
.data-table thead,
.data-table tbody,
.data-table tr,
.cta-btn.primary-action--ghost {
  color: var(--text-primary) !important;
}

/* slotroyals-uk-2: white header menu items (post-build override) */
.top-menu .primary-menu-list a {
  color: #ffffff !important;
}
