/* =========================================
   Lucky Rolls Casino — Global Stylesheet
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0A1628;
  --surface:   #0F2040;
  --surface2:  #132850;
  --border:    #1E3A6A;
  --gold:      #E8B94F;
  --gold-bright:#FFD166;
  --gold-dark: #C4922A;
  --text:      #F0F4FF;
  --muted:     #8FA3C3;
  --red:       #E84F4F;
  --green:     #4FC87A;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,.45);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: .75rem; }
h4 { font-size: 1.1rem; margin-bottom: .5rem; }

p  { margin-bottom: 1rem; color: var(--text); }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: .4rem; }
strong { color: var(--gold-bright); }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 60px 0; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.3px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--gold-bright); }
.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text span { color: var(--gold); }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text); background: var(--surface2); }

/* Header CTA */
.btn-header {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0A1628 !important;
  font-weight: 700;
  font-size: .88rem;
  padding: 9px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: filter .2s, transform .15s;
  box-shadow: 0 0 16px rgba(232,185,79,.3);
}
.btn-header:hover { filter: brightness(1.1); transform: translateY(-1px); color: #0A1628 !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--surface);
  z-index: 99;
  padding: 24px 20px;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.mobile-nav .btn-cta { text-align: center; }

/* =========================================
   BUTTONS
   ========================================= */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: #0A1628;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 24px rgba(255,209,102,.35), 0 4px 12px rgba(0,0,0,.3);
  letter-spacing: .3px;
}
.btn-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(255,209,102,.5), 0 6px 16px rgba(0,0,0,.35);
  color: #0A1628;
}

.btn-cta-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: #0A1628;
  font-weight: 700;
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 7px;
  transition: filter .2s, transform .15s;
  box-shadow: 0 0 12px rgba(232,185,79,.25);
}
.btn-cta-sm:hover { filter: brightness(1.1); transform: translateY(-1px); color: #0A1628; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--gold); color: #0A1628; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,22,40,.92) 0%,
    rgba(10,22,40,.75) 55%,
    rgba(10,22,40,.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 0 60px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(232,185,79,.15);
  border: 1px solid rgba(232,185,79,.4);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-title .gold { color: var(--gold-bright); }
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 400;
}
.hero-bonus-box {
  display: inline-flex;
  flex-direction: column;
  background: rgba(232,185,79,.12);
  border: 1px solid rgba(232,185,79,.35);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 28px;
  gap: 4px;
}
.hero-bonus-box .bonus-main {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1.1;
}
.hero-bonus-box .bonus-sub {
  font-size: .85rem;
  color: var(--muted);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Bonus page hero (smaller) */
.hero--bonus {
  min-height: 55vh;
}
.hero--bonus .hero-bg {
  background-size: cover;
  background-position: center;
}
.hero--bonus .hero-overlay {
  background: linear-gradient(105deg,rgba(10,22,40,.95) 0%,rgba(10,22,40,.7) 100%);
}

/* =========================================
   TRUST BADGES
   ========================================= */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.trust-badge .badge-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-badge strong { color: var(--text); font-weight: 700; }

/* =========================================
   SLOTS GRID
   ========================================= */
.slots-section { padding: 50px 0; }
.section-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.section-title span { color: var(--gold); }
.section-sub {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 32px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.slot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.slot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
  border-color: var(--gold);
}
.slot-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.slot-card-body {
  padding: 12px 14px;
}
.slot-card-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-card-provider {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.slot-card-actions { display: flex; gap: 8px; }
.slot-card-actions .btn-cta-sm { flex: 1; }

.slot-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: #0A1628;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

/* =========================================
   SEO CONTENT AREA
   ========================================= */
.content-section {
  padding: 60px 0;
}
.content-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Page H1 */
.page-h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.page-h1 span { color: var(--gold); }

.content-inner h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.content-inner h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gold-bright);
  margin-top: 1.8rem;
  margin-bottom: .75rem;
}
.content-inner h4 {
  color: var(--text);
  margin-top: 1.2rem;
}
.content-inner p { color: #C8D8F0; line-height: 1.75; }
.content-inner ul, .content-inner ol {
  margin: 0 0 1.2rem 1.4rem;
}
.content-inner li { color: #C8D8F0; margin-bottom: .5rem; }
.content-inner strong { color: var(--gold-bright); font-weight: 700; }

/* Ordered steps styling */
.content-inner ol:not(.steps-list) li {
  padding-left: 6px;
  margin-bottom: .8rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.content-inner table,
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 500px;
}
.content-inner table th,
.table-wrap table th {
  background: var(--surface2);
  color: var(--gold);
  font-weight: 700;
  text-align: left;
  padding: 11px 16px;
  white-space: nowrap;
  border-bottom: 2px solid var(--border);
}
.content-inner table td,
.table-wrap table td {
  padding: 10px 16px;
  color: #C8D8F0;
  border-bottom: 1px solid var(--border);
}
.content-inner table tr:last-child td,
.table-wrap table tr:last-child td { border-bottom: none; }
.content-inner table tr:nth-child(even),
.table-wrap table tr:nth-child(even) { background: rgba(19,40,80,.5); }

/* Blockquotes / highlight boxes */
.highlight-box {
  background: rgba(232,185,79,.08);
  border: 1px solid rgba(232,185,79,.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 1.5rem 0;
}
.highlight-box ul { margin-bottom: 0; }

/* Content image */
.content-img {
  width: 100%;
  max-width: 600px;
  margin: 24px auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Bonus steps */
.steps-list {
  list-style: none !important;
  margin-left: 0 !important;
  counter-reset: step;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  margin-bottom: 1.2rem !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px 16px 64px;
  color: #C8D8F0;
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #0A1628;
  font-weight: 900;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  padding: 16px 20px;
  font-size: .95rem;
}
.faq-a {
  background: rgba(10,22,40,.6);
  color: #C8D8F0;
  padding: 14px 20px;
  font-size: .9rem;
}

/* =========================================
   PROMO BANNER (inline)
   ========================================= */
.promo-banner {
  background: linear-gradient(135deg, #0F2040 0%, #132850 50%, #0F2040 100%);
  border: 1px solid rgba(232,185,79,.3);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,185,79,.15) 0%, transparent 70%);
  pointer-events: none;
}
.promo-banner-text .eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.promo-banner-text h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text);
  margin-bottom: 4px;
}
.promo-banner-text p { color: var(--muted); font-size: .9rem; margin: 0; }

/* =========================================
   BONUS CARD
   ========================================= */
.bonus-card {
  background: var(--surface);
  border: 1px solid rgba(232,185,79,.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.bonus-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.bonus-card-icon {
  font-size: 2rem;
  line-height: 1;
}
.bonus-card-title { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.bonus-card-subtitle { font-size: .82rem; color: var(--muted); }
.bonus-amount {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.bonus-detail { font-size: .85rem; color: var(--muted); }

/* =========================================
   POPUP BOTTOM BAR
   ========================================= */
.popup-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #0F2040 0%, #132850 50%, #0F2040 100%);
  border-top: 2px solid var(--gold);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 30px rgba(0,0,0,.6);
  transform: translateY(0);
  transition: transform .35s ease;
}
.popup-bar.hidden { transform: translateY(110%); }
.popup-bar-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.popup-bar-text .pb-icon { font-size: 1.5rem; flex-shrink: 0; }
.popup-bar-text .pb-main {
  font-weight: 800;
  font-size: clamp(.82rem, 2vw, 1rem);
  color: var(--text);
  line-height: 1.3;
}
.popup-bar-text .pb-sub {
  font-size: .72rem;
  color: var(--muted);
}
.popup-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.popup-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s;
  line-height: 1;
}
.popup-close:hover { border-color: var(--red); color: var(--red); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 100px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--muted);
  font-size: .85rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .75rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }
.footer-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  color: var(--muted);
  flex-shrink: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .slots-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 70vh; }
}

@media (max-width: 768px) {
  section { padding: 40px 0; }
  .site-nav { display: none; }
  .burger   { display: flex; }
  .promo-banner { flex-direction: column; text-align: center; }
  .promo-banner::before { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-cta, .hero-actions .btn-outline { width: 100%; }
  .trust-bar-inner { gap: 10px 16px; justify-content: center; }
  .trust-badge { flex-direction: column; align-items: center; gap: 4px; font-size: .7rem; }
  .trust-badge .badge-icon { font-size: 1.3rem; }
  .trust-badge span:not(.badge-icon) { text-align: center; }
  .trust-badge strong { font-size: .72rem; }

  /* Popup mobile */
  .popup-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 10px;
  }
  .popup-bar-text { gap: 8px; }
  .popup-bar-text .pb-icon { font-size: 1.2rem; }
  .popup-bar-text .pb-sub { display: none; }
  .popup-bar-actions {
    justify-content: space-between;
    gap: 8px;
  }
  .popup-bar-actions .btn-cta-sm {
    flex: 1;
    padding: 10px 12px;
    font-size: .85rem;
    min-height: 44px;
  }
  .popup-close {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
}

@media (max-width: 580px) {
  .slots-grid   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .header-inner { height: 60px; }
  .hero-content { padding: 60px 0 40px; }
  .hero-bonus-box { width: 100%; }
  .btn-cta { font-size: .95rem; padding: 13px 24px; }
}

/* =========================================
   UTILITY
   ========================================= */
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--muted); }
.text-center  { text-align: center; }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-0  { margin-bottom: 0; }
.flex  { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 1rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Scroll margin for anchor links */
[id] { scroll-margin-top: 80px; }
