/* Royal Casino premium brand stylesheet */
:root {
  --accent: #550e13;
  --royal: #7b1018;
  --royal-deep: #16070a;
  --ink: #070507;
  --panel: rgba(24, 15, 17, 0.88);
  --panel-2: rgba(40, 20, 23, 0.92);
  --gold: #f5c76b;
  --gold-soft: #ffe3a0;
  --gold-deep: #b7832e;
  --cream: #fff4df;
  --muted: #c8b8a5;
  --dim: #8f8174;
  --line: rgba(245, 199, 107, 0.22);
  --line-soft: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --accent-light: var(--gold-soft);
  --accent-hover: #ffd985;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(85,14,19,0.34) 0, rgba(7,5,7,0) 380px),
    radial-gradient(ellipse at top, rgba(123,16,24,0.34), transparent 58%),
    linear-gradient(180deg, #070507 0%, #10070a 48%, #070507 100%);
  color: var(--cream);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: #fff0bd; text-decoration: none; }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 7, 9, 0.86);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 42px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
}
.nav-inner {
  max-width: 1180px;
  height: 70px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo {
  color: var(--gold-soft);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 210px;
  min-height: 48px;
}
.logo img {
  width: 240px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.42));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
}
.nav-links a {
  display: block;
  color: #eadcc8;
  font-size: 0.94rem;
  font-weight: 650;
  padding: 9px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s, transform .2s;
}
.nav-links a:hover {
  color: var(--gold-soft);
  background: rgba(245,199,107,0.09);
  transform: translateY(-1px);
}
.burger {
  display: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cream);
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 34px 18px 18px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 0.86rem;
}
.breadcrumbs a {
  color: #d7bd80;
  font-weight: 750;
}
.breadcrumbs span:last-child {
  color: #bfae9c;
}
section { margin-bottom: 54px; }
main > section:not(.hero):not(.trust-bar) {
  position: relative;
  padding: 26px;
  background: linear-gradient(180deg, rgba(26,15,17,0.78), rgba(14,9,11,0.72));
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.26);
}
main > section:not(.hero):not(.trust-bar)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  border-top: 1px solid rgba(255,255,255,0.09);
}
h1, h2, h3 { letter-spacing: 0; }
h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  color: var(--gold-soft);
  text-wrap: balance;
  margin: 0 0 18px;
  text-shadow: 0 10px 34px rgba(0,0,0,0.55);
}
h2 {
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.18;
  color: var(--gold);
  margin: 0 0 16px;
  text-wrap: balance;
}
h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold), rgba(245,199,107,0));
}
h3 {
  font-size: 1.13rem;
  color: #fff0d4;
  margin: 20px 0 9px;
}
p { color: #e8dccb; margin-bottom: 13px; }
ul, ol { margin: 0 0 18px 22px; color: #e8dccb; }
li { margin-bottom: 9px; }

.hero {
  position: relative;
  overflow: hidden;
  text-align: left;
  min-height: clamp(300px, 31vw, 430px);
  padding: clamp(24px, 4vw, 46px);
  margin-bottom: 44px;
  background: #12080a;
  border: 1px solid rgba(245,199,107,0.18);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.42);
  display: grid;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,3,4,0.88) 0%, rgba(7,5,7,0.68) 36%, rgba(7,5,7,0.18) 68%, rgba(7,5,7,0.08) 100%),
    linear-gradient(180deg, rgba(5,3,4,0.1), rgba(5,3,4,0.36));
}
.hero::after {
  content: none;
}
.hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
  max-width: 760px;
  margin-bottom: 14px;
}
.hero p {
  max-width: 660px;
  margin: 0 0 22px;
  color: #efe2d0;
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.62;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
  justify-self: start;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(10,6,8,0.72), rgba(10,6,8,0.34));
  border: 0;
  box-shadow: 0 22px 54px rgba(0,0,0,0.34);
  backdrop-filter: blur(1.5px);
}
.brand-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 0;
  box-shadow: none;
}
.brand-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), inset 0 -120px 120px rgba(0,0,0,0.42);
}
.brand-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 30px;
  color: #140b08;
  font-weight: 900;
  font-size: 1.02rem;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffe8a7 0%, #f4c360 45%, #bd8328 100%);
  border: 1px solid rgba(255,239,180,0.65);
  box-shadow: 0 14px 30px rgba(245,199,107,0.24), inset 0 1px 0 rgba(255,255,255,0.75);
  transition: transform .2s, filter .2s, box-shadow .2s;
}
.cta-btn:hover {
  color: #100705;
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 18px 38px rgba(245,199,107,0.32), inset 0 1px 0 rgba(255,255,255,0.8);
}

.trust-bar, .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-item, .card {
  background: linear-gradient(180deg, rgba(42,22,24,0.92), rgba(18,11,13,0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}
.trust-item strong, .card strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 7px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  margin: 18px 0 20px;
  background: rgba(14,9,11,0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
th, td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
th {
  color: var(--gold-soft);
  background: linear-gradient(180deg, rgba(80,25,29,0.95), rgba(42,18,20,0.95));
  font-weight: 800;
  white-space: nowrap;
}
td { color: #ebdfcf; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(245,199,107,0.045); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.game-card {
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, rgba(39,21,23,0.96), rgba(15,10,12,0.96));
  border: 1px solid rgba(245,199,107,0.18);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.3);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,199,107,0.44);
  box-shadow: 0 22px 46px rgba(0,0,0,0.42);
}
.game-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #12090b;
}
.game-card p {
  padding: 7px 9px;
  margin: 0;
  font-size: 0.86rem;
}
.game-card p:first-of-type {
  padding-top: 11px;
  color: #fff1cf;
  font-weight: 800;
}
.game-card p:last-of-type {
  padding-bottom: 12px;
  color: #bfae9c;
  font-size: 0.76rem;
}

details {
  overflow: hidden;
  margin-bottom: 10px;
  background: rgba(17,10,12,0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px;
  cursor: pointer;
  color: #fff0d4;
  font-weight: 800;
  list-style: none;
  background: linear-gradient(180deg, rgba(42,19,22,0.95), rgba(27,14,16,0.95));
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}
details[open] summary::after { content: "-"; }
details p {
  padding: 16px 17px;
  margin: 0;
  color: #e8dccb;
  background: rgba(9,6,7,0.72);
}

footer {
  margin-top: 58px;
  padding: 30px 18px;
  color: #a99a88;
  text-align: center;
  font-size: 0.86rem;
  background: linear-gradient(180deg, rgba(18,9,11,0.98), rgba(7,5,7,0.98));
  border-top: 1px solid var(--line);
}
.crawl-hub {
  width: min(1060px, 100%);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}
.crawl-hub a,
.html-sitemap a {
  display: block;
  min-height: 66px;
  padding: 13px 14px;
  color: #ead9bd;
  background: linear-gradient(180deg, rgba(42,22,24,0.82), rgba(16,10,12,0.82));
  border: 1px solid rgba(245,199,107,0.18);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.crawl-hub a:hover,
.html-sitemap a:hover {
  border-color: rgba(245,199,107,0.44);
  background: linear-gradient(180deg, rgba(63,27,30,0.9), rgba(20,11,13,0.9));
}
.crawl-hub strong,
.html-sitemap strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.9rem;
}
.crawl-hub span,
.html-sitemap span {
  display: block;
  margin-top: 3px;
  color: #a99a88;
  font-size: 0.78rem;
  line-height: 1.35;
}
.html-sitemap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  list-style: none;
}
.html-sitemap li {
  margin: 0;
}
.footer-note {
  max-width: 940px;
  margin: 8px auto;
  color: #c0b09e;
}
.legal-note {
  max-width: 1000px;
  margin: 14px auto 10px;
  padding-top: 14px;
  color: #958675;
  line-height: 1.56;
  border-top: 1px solid var(--line-soft);
}
.footer-nav a {
  display: inline-block;
  margin: 4px 8px;
  color: #d9c19b;
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 300;
  padding: 10px 16px 14px;
  text-align: center;
  background: linear-gradient(180deg, #ffe7a2, #d99e3a);
  box-shadow: 0 -8px 28px rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.48);
}
.mobile-cta-bar a {
  display: block;
  color: #120807;
  font-weight: 950;
  line-height: 1.3;
  text-decoration: none;
}
.mcta-bonus { display: block; font-size: 1.04rem; }
.mcta-sub {
  display: block;
  margin-top: 1px;
  color: rgba(20,8,6,0.68);
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .nav-inner { height: 66px; }
  .logo { min-width: 172px; }
  .logo img { width: 178px; max-height: 42px; }
  .burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    right: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(14,8,10,0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.55);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .trust-bar, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crawl-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 78px; }
}

@media (max-width: 600px) {
  main { padding: 18px 12px; }
  main > section:not(.hero):not(.trust-bar) { padding: 18px 14px; }
  section { margin-bottom: 34px; }
  .hero { min-height: 430px; padding: 18px 12px; text-align: center; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(5,3,4,0.42), rgba(5,3,4,0.86)),
      linear-gradient(90deg, rgba(5,3,4,0.36), rgba(5,3,4,0.36));
  }
  .hero-content { padding: 20px 14px; justify-self: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .cta-btn { width: 100%; display: flex; padding: 15px 16px; }
  .trust-bar, .cards { grid-template-columns: 1fr; }
  .crawl-hub, .html-sitemap { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--line-soft); }
  tr:last-child { border-bottom: 0; }
  th { white-space: normal; }
  td::before {
    content: attr(data-label);
    display: block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
  }
}
