/* ============================================================
   Online Casino UK — Main Stylesheet
   Site: onlinecasinorealmoney.uk.com
   Scheme: Dark navy header + Gold accents + Green CTA
   ============================================================ */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f4f4f4;
  color: #222;
  line-height: 1.65;
}

a { color: #c9a030; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  background: #0d0d1a;
  border-bottom: 2px solid #c9a030;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.site-logo img {
  height: 70px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  color: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: #c9a030;
  color: #0d0d1a;
  text-decoration: none;
}

.main-nav a.nav-highlight {
  background: #c9a030;
  color: #0d0d1a;
}

.main-nav a.nav-highlight:hover {
  background: #e0b840;
}

/* Mobile burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #c9a030;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Burger → X animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   TOP BAR (trust strip)
   ============================================================ */
.trust-bar {
  background: #1a1a2e;
  color: #bbb;
  font-size: 0.78rem;
  padding: 6px 20px;
  text-align: center;
  border-bottom: 1px solid #2a2a40;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.trust-bar span { white-space: nowrap; }
.trust-bar .tb-icon { color: #c9a030; margin-right: 4px; }

/* ============================================================
   HERO / PAGE HEADER
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 60%, #0d1a2e 100%);
  color: #fff;
  padding: 44px 20px 36px;
  text-align: center;
  border-bottom: 3px solid #c9a030;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #fff;
}

.page-hero h1 span { color: #c9a030; }

.page-hero .hero-sub {
  font-size: 1rem;
  color: #ccc;
  max-width: 1000px;
  margin: 0 auto 16px;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #aaa;
  margin-top: 10px;
}

.hero-meta > span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hero-meta .author-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-meta .author-block img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c9a030;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.hero-meta .author-block span {
  line-height: 1.3;
}

@media (max-width: 600px) {
  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .hero-meta .author-block {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

/* ============================================================
   DISCLAIMER BANNER
   ============================================================ */
.disclaimer-bar {
  background: #fff3cd;
  border-left: 4px solid #c9a030;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: #555;
}

.disclaimer-bar.red {
  background: #fdecea;
  border-left-color: #c0392b;
  color: #7a1a1a;
}

/* ============================================================
   CASINO LIST / CARDS
   ============================================================ */
.casino-list { padding: 30px 0; }

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0d0d1a;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 22px;
}

/* Casino Card */
.casino-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
  position: relative;
}

.casino-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.13); }

.casino-card.top-pick {
  border: 2px solid #c9a030;
}

.casino-card.top-pick::before {
  content: "⭐ Top Rated";
  position: absolute;
  top: 0;
  left: 0;
  background: #c9a030;
  color: #0d0d1a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 8px 0;
  letter-spacing: 0.03em;
}

.card-inner {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 0;
}

/* Left: Logo + rank */
.card-logo {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid #f0f0f0;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card-rank {
  font-size: 0.72rem;
  color: #999;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.card-logo img {
  width: 90px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto;
  aspect-ratio: 90 / 40;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
}

.stars { color: #c9a030; font-size: 0.8rem; letter-spacing: -1px; }

/* Middle: Info */
.card-info {
  padding: 16px 20px;
}

.card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d0d1a;
  margin-bottom: 6px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.feature-tag {
  background: #f0f0f0;
  color: #444;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.feature-tag.green { background: #e8f5e9; color: #2e7d32; }
.feature-tag.blue  { background: #e3f2fd; color: #1565c0; }
.feature-tag.gold  { background: #fff8e1; color: #c9a030; }

.card-bullets {
  font-size: 0.84rem;
  color: #555;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-bullets li::before {
  content: "✓ ";
  color: #2e7d32;
  font-weight: 700;
}

/* Right: Bonus + CTA */
.card-cta {
  padding: 16px 20px;
  text-align: center;
  min-width: 190px;
  border-left: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bonus-label {
  font-size: 0.7rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bonus-value {
  font-size: 1rem;
  font-weight: 700;
  color: #0d0d1a;
  line-height: 1.2;
}

.bonus-terms {
  font-size: 0.68rem;
  color: #aaa;
}

.btn-claim {
  display: inline-block;
  background: #00a651;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 6px;
  width: 100%;
  text-align: center;
  transition: background 0.2s;
  letter-spacing: 0.02em;
}

.btn-claim:hover {
  background: #008a43;
  color: #fff;
  text-decoration: none;
}

.btn-review {
  font-size: 0.76rem;
  color: #c9a030;
  display: block;
}

/* ============================================================
   INFO SECTIONS
   ============================================================ */
.info-section {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 24px;
  border: 1px solid #e8e8e8;
}

.info-section h2 {
  font-size: 1.3rem;
  color: #0d0d1a;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c9a030;
}

.info-section h3 {
  font-size: 1.05rem;
  color: #1a1a2e;
  margin: 18px 0 8px;
}

.info-section p { margin-bottom: 12px; font-size: 0.93rem; color: #444; }

.info-section ul {
  list-style: disc;
  padding-left: 22px;
  font-size: 0.9rem;
  color: #444;
}
.info-section ul li { margin-bottom: 6px; }

/* Two-column grid */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================
   SHARE BUTTONS
   ============================================================ */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
  min-height: 46px;
  padding: 12px 16px;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.share-bar .share-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  margin-right: 4px;
}

.share-bar a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.share-bar a:hover { opacity: 0.85; text-decoration: none; }
.share-fb  { background: #1877f2; }
.share-x   { background: #000; }
.share-li  { background: #0a66c2; }
.share-wa  { background: #25d366; }
.share-tg  { background: #0088cc; }

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.toc-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-left: 4px solid #c9a030;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 18px 0;
}

.toc-box h3 {
  font-size: 0.95rem;
  color: #0d0d1a;
  margin-bottom: 10px;
}

.toc-box ol {
  list-style: decimal;
  padding-left: 22px;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.9;
}

.toc-box ol a { color: #c9a030; font-weight: 600; }
.toc-box ol a:hover { text-decoration: underline; }

/* ============================================================
   PROS / CONS TABLE
   ============================================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

.pros, .cons {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
}

.pros h4 { color: #2e7d32; margin-bottom: 10px; font-size: 0.9rem; }
.cons h4 { color: #c0392b; margin-bottom: 10px; font-size: 0.9rem; }

.pros ul li::before { content: "✓ "; color: #2e7d32; font-weight: 700; }
.cons ul li::before { content: "✗ "; color: #c0392b; font-weight: 700; }
.pros ul, .cons ul { padding-left: 0; font-size: 0.85rem; }
.pros ul li, .cons ul li { margin-bottom: 5px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 16px 0;
}

.compare-table th {
  background: #0d0d1a;
  color: #c9a030;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}

.compare-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #e8e8e8;
  color: #444;
}

.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table tr:hover td { background: #fff8e1; }

.check { color: #2e7d32; font-weight: 700; }
.cross { color: #c0392b; font-weight: 700; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin: 10px 0; }

.faq-item {
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 0;
}

.faq-question {
  font-weight: 700;
  color: #0d0d1a;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: #c9a030;
  line-height: 1;
}

.faq-item.open .faq-question::after { content: "−"; }

.faq-answer {
  font-size: 0.88rem;
  color: #555;
  margin-top: 10px;
  display: none;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================================
   AUTHOR BOX
   ============================================================ */
.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-left: 4px solid #c9a030;
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
}

.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #c9a030;
}

.author-box-info h4 {
  font-size: 1rem;
  color: #0d0d1a;
  margin-bottom: 2px;
}

.author-box-info .author-title {
  font-size: 0.78rem;
  color: #c9a030;
  font-weight: 600;
  margin-bottom: 8px;
}

.author-box-info p { font-size: 0.85rem; color: #555; margin-bottom: 8px; }

.author-socials { display: flex; gap: 10px; margin-top: 6px; }
.author-socials a {
  font-size: 0.78rem;
  color: #0d0d1a;
  background: #f0f0f0;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}
.author-socials a:hover { background: #0d0d1a; color: #c9a030; text-decoration: none; }

/* ============================================================
   TRUST SIGNALS STRIP
   ============================================================ */
.trust-signals {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  justify-content: space-around;
}

.trust-item {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
}

.trust-item .trust-icon { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.trust-item strong { display: block; font-size: 0.85rem; color: #0d0d1a; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  font-size: 0.8rem;
  color: #999;
  padding: 10px 0 4px;
}

.breadcrumb a { color: #c9a030; }
.breadcrumb span { margin: 0 6px; }

/* ============================================================
   SIDEBAR (optional)
   ============================================================ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.sidebar-widget {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 18px;
}

.sidebar-widget h3 {
  font-size: 0.95rem;
  color: #0d0d1a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c9a030;
}

/* ============================================================
   RESPONSIBLE GAMBLING BANNER
   ============================================================ */
.rg-banner {
  background: #1a1a2e;
  color: #ccc;
  padding: 14px 20px;
  border-top: 2px solid #c9a030;
  font-size: 0.78rem;
  text-align: center;
}

.rg-banner a { color: #c9a030; }

.rg-logos {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #888;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0d0d1a;
  color: #aaa;
  padding: 40px 0 0;
  border-top: 3px solid #c9a030;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

.footer-col h4 {
  color: #c9a030;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul a { color: #aaa; font-size: 0.84rem; }
.footer-col ul a:hover { color: #c9a030; text-decoration: none; }

.footer-col .footer-desc {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-logo img { height: 70px; width: auto; margin-bottom: 10px; }

.footer-bottom {
  background: #070710;
  text-align: center;
  padding: 14px 20px;
  font-size: 0.75rem;
  color: #555;
  border-top: 1px solid #1a1a2e;
}

.footer-bottom p { margin-bottom: 4px; }

.footer-disclaimer {
  max-width: 900px;
  margin: 10px auto 0;
  font-size: 0.72rem;
  color: #444;
  line-height: 1.5;
}

/* ============================================================
   NON-GAMSTOP WARNING BOX
   ============================================================ */
.warning-box {
  background: #fdecea;
  border: 1px solid #c0392b;
  border-left: 5px solid #c0392b;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 0.85rem;
  color: #7a1a1a;
}

.warning-box strong { display: block; margin-bottom: 4px; }

/* ============================================================
   PAGE TABS / FILTER
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 7px 16px;
  border: 2px solid #e0e0e0;
  background: #fff;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  color: #555;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  border-color: #c9a030;
  background: #c9a030;
  color: #0d0d1a;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold  { color: #c9a030; }
.text-green { color: #2e7d32; }
.text-red   { color: #c0392b; }
.text-muted { color: #888; }
.fw-700     { font-weight: 700; }
.mt-16      { margin-top: 16px; }
.mb-16      { margin-bottom: 16px; }
.text-center { text-align: center; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
}
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-gold  { background: #fff8e1; color: #c9a030; }
.badge-red   { background: #fdecea; color: #c0392b; }
.badge-dark  { background: #0d0d1a; color: #c9a030; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .card-inner {
    grid-template-columns: 110px 1fr;
  }
  .card-cta {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid #f0f0f0;
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .btn-claim { width: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; position: relative; z-index: 9999; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #0d0d1a;
    z-index: 9998;
    transition: right 0.3s ease;
    padding: 80px 0 40px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { right: 0; }
  .main-nav ul {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 0;
    flex-wrap: nowrap;
  }
  .main-nav li {
    width: 100%;
  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid #1a1a2e;
    white-space: nowrap;
    color: #e0e0e0;
    -webkit-tap-highlight-color: rgba(201,160,48,0.3);
  }
  .main-nav a:hover,
  .main-nav a:active,
  .main-nav a.active {
    background: #1a1a2e;
    color: #c9a030;
  }
  .header-inner { position: relative; }

  /* Overlay — must be below header stacking context (z-index:100) */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99;
  }
  .nav-overlay.active { display: block; }
}

/* Card bullets toggle on mobile */
.card-toggle {
  display: none;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: #c9a030;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}
.card-toggle::after { content: " ▾"; }
.card-toggle.open::after { content: " ▴"; }

@media (max-width: 640px) {
  .page-hero h1 { font-size: 1.45rem; }
  .card-inner { grid-template-columns: 1fr; }
  .card-logo { border-right: none; border-bottom: 1px solid #f0f0f0; flex-direction: row; padding: 12px 16px; justify-content: flex-start; gap: 12px; }
  .card-logo img { width: 160px; height: 80px; }
  .card-rating { font-size: 1.2rem; }
  .card-rating .stars { font-size: 1.2rem; }
  .card-cta { flex-direction: column; }
  .btn-claim { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .card-bullets { display: none; }
  .card-bullets.open { display: flex; }
  .card-toggle { display: inline-block; }
  .author-socials { justify-content: center; }
}
