﻿/* =============================================
   QuickCashCasinos - Review Pages
   ============================================= */

/* ---- Hero ---- */
.review-hero {
  background: #fff;
  padding: 32px 20px 0;
  border-bottom: 1px solid #f0f0f0;
}
.review-hero-wrap { max-width: 1100px; margin: 0 auto; }

/* ---- Breadcrumb / update badge ---- */
.breadcrumb { font-size: 0.8rem; color: #999; margin-bottom: 10px; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: var(--orange); }
.update-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #16a34a;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

/* ---- Review Header ---- */
.review-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 32px;
}
.review-header-left { display: flex; flex-direction: column; gap: 16px; }

.review-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.review-casino-logo {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: contain;
  background: #f9f9f9;
  padding: 8px;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.review-title-text h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 6px;
}
.review-subtitle {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.8rem;
  color: #888;
  align-items: center;
}
.review-meta a { color: var(--orange); }

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.review-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f4f4f4;
  color: #555;
  border: 1px solid #e8e8e8;
}
.review-tag.tag-highlight {
  background: rgba(255,107,0,0.07);
  color: var(--orange);
  border-color: rgba(255,107,0,0.2);
}
.review-tag.tag-green {
  background: rgba(34,197,94,0.07);
  color: #16a34a;
  border-color: rgba(34,197,94,0.2);
}

/* ---- Score + CTA panel ---- */
.review-cta-panel {
  background: #1A1A1A;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 200px;
  text-align: center;
}
.review-score-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.review-score-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.review-score-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.review-score-stars {
  display: flex;
  gap: 3px;
  justify-content: center;
}
.review-score-stars span {
  color: var(--orange);
  font-size: 0.9rem;
}
.review-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--orange);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,107,0,0.4);
  white-space: nowrap;
}
.review-cta-btn:hover {
  background: #e05e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,0,0.45);
  color: #fff !important;
}
.review-cta-note {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin: 0;
}

/* ---- Key Facts Bar ---- */
.review-facts-bar {
  background: #f9f9f9;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 20px;
}
.review-facts-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.review-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px;
  border-right: 1px solid #e8e8e8;
  gap: 4px;
}
.review-fact:last-child { border-right: none; }
.review-fact-icon { font-size: 1.3rem; line-height: 1; }
.review-fact-value {
  font-size: 0.92rem;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}
.review-fact-value.green { color: #16a34a; }
.review-fact-label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
  font-weight: 600;
}

/* ---- Pros / Cons ---- */
.pros-cons-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px;
}
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pros-box, .cons-box {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid #eee;
}
.pros-box { border-top: 3px solid #22c55e; }
.cons-box { border-top: 3px solid #ef4444; }
.pros-cons-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.pros-list, .cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pros-list li, .cons-list li {
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
  color: #444;
}
.pros-list li::before { content: "✓"; color: #22c55e; font-weight: 800; flex-shrink: 0; }
.cons-list li::before { content: "✗"; color: #ef4444; font-weight: 800; flex-shrink: 0; }

/* ---- Sticky CTA Bar ---- */
.review-sticky-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 2px solid var(--orange);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.review-sticky-bar.visible { transform: translateY(0); }
.review-sticky-casino {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111;
}
.review-sticky-casino img { height: 34px; width: auto; border-radius: 6px; }
.review-sticky-score {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 800;
  background: rgba(255,107,0,0.08);
  padding: 4px 10px;
  border-radius: 20px;
}
.review-sticky-cta {
  padding: 9px 22px;
  background: var(--orange);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(255,107,0,0.3);
  transition: all 0.2s;
}
.review-sticky-cta:hover { background: #e05e00; color: #fff !important; }

/* ---- Article Body ---- */
.article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
.article-content h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,107,0,0.12);
  color: #111;
}
.article-content h3 { font-size: 1.1rem; margin: 28px 0 10px; color: #222; }
.article-content p { line-height: 1.8; color: #444; margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 16px; line-height: 1.8; color: #444; }
.article-content li { margin-bottom: 6px; }
.casino-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border-radius: 10px; border: 1px solid #f0f0f0; }
.article-content table, .casino-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 480px; }
.article-content table th, .casino-table th { background: #111; color: #fff; padding: 11px 14px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.article-content table td, .casino-table td { padding: 11px 14px; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.article-content table tr:nth-child(even) td, .casino-table tr:nth-child(even) td { background: #fafafa; }
.article-content blockquote {
  border-left: 4px solid var(--orange);
  background: rgba(255,107,0,0.04);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

/* ---- Fact check bar ---- */
.fact-check-bar {
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.84rem;
  color: #444;
  margin-bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.fact-check-bar a { color: var(--orange); }

/* ---- TOC ---- */
.toc {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 32px;
  border: 1px solid #eee;
}
.toc-title { font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; color: #222; text-transform: uppercase; letter-spacing: 0.05em; }
.toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.toc li { font-size: 0.86rem; }
.toc a { color: #555; }
.toc a:hover { color: var(--orange); }

/* ---- Info box ---- */
.info-box {
  background: rgba(255,107,0,0.04);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #444;
}
.info-box strong { color: #111; }

/* ---- Mid-article CTA ---- */
.review-mid-cta {
  background: #1A1A1A;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.review-mid-cta-text { color: rgba(255,255,255,0.8); }
.review-mid-cta-text strong { color: #fff; font-size: 1rem; display: block; margin-bottom: 3px; }
.review-mid-cta-text span { font-size: 0.83rem; }
.review-mid-cta .review-cta-btn { width: auto; white-space: nowrap; flex-shrink: 0; }

/* ---- FAQ ---- */
.faq-list { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.faq-item { border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.faq-question {
  width: 100%;
  background: #fafafa;
  border: none;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
  transition: background 0.15s;
}
.faq-question:hover { background: #f0f0f0; }
.faq-question.open { background: rgba(255,107,0,0.05); color: var(--orange); }
.faq-chevron { font-size: 0.75rem; transition: transform 0.2s; color: #bbb; }
.faq-question.open .faq-chevron { transform: rotate(180deg); color: var(--orange); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 14px 18px; font-size: 0.88rem; line-height: 1.7; color: #555; border-top: 1px solid #f0f0f0; }
.faq-answer-inner a { color: var(--orange); }

/* ---- Author box ---- */
.author-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 36px 0 0;
  border: 1px solid #eee;
}
.author-avatar-placeholder {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.author-role { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: #bbb; margin-bottom: 2px; }
.author-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.author-name a { color: var(--orange); }
.author-bio-short { font-size: 0.82rem; color: #666; line-height: 1.5; }

/* ---- Bottom CTA ---- */
.review-bottom-cta {
  text-align: center;
  margin: 40px 0 16px;
  padding: 32px 28px;
  background: #1A1A1A;
  border-radius: 16px;
}
.review-bottom-cta h3 { margin-bottom: 6px; font-size: 1.2rem; color: #fff; }
.review-bottom-cta p { color: rgba(255,255,255,0.55); margin-bottom: 18px; font-size: 0.88rem; }

/* ============================================
   RESPONSIVE — all breakpoints
   ============================================ */

/* Tablet landscape: 900px–1100px */
@media (max-width: 1100px) {
  .review-hero { padding: 28px 16px 0; }
  .review-facts-bar { padding: 0 16px; }
  .pros-cons-wrap { padding: 28px 16px; }
}

/* Tablet portrait: 600px–900px */
@media (max-width: 900px) {
  /* Header stacks: info on top, dark panel full-width below */
  .review-header {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
  }
  /* Dark panel goes horizontal on tablet */
  .review-cta-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    min-width: unset;
    width: 100%;
    border-radius: 14px;
    gap: 20px;
  }
  .review-score-badge { flex-direction: row; align-items: center; gap: 8px; }
  .review-score-number { font-size: 2.2rem; }
  .review-score-label { text-align: left; }
  .review-score-stars { justify-content: flex-start; }
  .review-cta-btn { width: auto; }

  /* Facts: 3 columns on tablet */
  .review-facts-inner { grid-template-columns: repeat(3, 1fr); }
  /* Remove right border from 3rd item (end of first row) */
  .review-fact:nth-child(3) { border-right: none; }
  /* Add top border to items in second row */
  .review-fact:nth-child(4),
  .review-fact:nth-child(5) { border-top: 1px solid #e8e8e8; }
  /* Last item in 3-col grid: make 5th span or just show normally */
  .review-fact:nth-child(5) { border-right: none; }

  .pros-cons { grid-template-columns: 1fr; gap: 14px; }
  .pros-cons-wrap { padding: 24px 16px; }
  .review-mid-cta { flex-direction: column; align-items: stretch; }
  .review-mid-cta .review-cta-btn { width: 100%; }
  .review-sticky-score { display: none; }
  .article-content { padding: 0 16px 50px; }
}

/* Mobile: up to 600px */
@media (max-width: 600px) {
  .review-hero { padding: 20px 16px 0; }
  .review-facts-bar { padding: 0 16px; }

  /* Title row: logo + text side-by-side, wraps if needed */
  .review-title-row { gap: 14px; }
  .review-casino-logo { width: 64px; height: 64px; }
  .review-title-text h1 { font-size: 1.25rem; }
  .review-subtitle { font-size: 0.88rem; }

  /* Dark panel: stays horizontal but more compact */
  .review-cta-panel { padding: 16px 18px; gap: 14px; }
  .review-score-number { font-size: 1.9rem; }
  .review-cta-note { display: none; }

  /* Facts: 2+2+1 layout (first 4 in 2 cols, last centered) */
  .review-facts-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Reset all borders first */
  .review-fact { border-right: none; border-top: none; }
  /* Add right border to odd items (left column) */
  .review-fact:nth-child(odd) { border-right: 1px solid #e8e8e8; }
  /* Add top border to items 3, 4, 5 (rows 2+) */
  .review-fact:nth-child(n+3) { border-top: 1px solid #e8e8e8; }
  /* Last item (5th): span both columns and remove right border */
  .review-fact:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid #e8e8e8;
  }

  .review-meta { gap: 4px 12px; font-size: 0.76rem; }
  .article-content { padding: 0 14px 40px; }
  .article-content h2 { font-size: 1.2rem; margin: 32px 0 12px; }
  .review-mid-cta { padding: 18px 16px; border-radius: 10px; }
  .review-mid-cta-text strong { font-size: 0.92rem; }
  .review-bottom-cta { padding: 24px 16px !important; border-radius: 12px !important; }
  .pros-cons-wrap { padding: 20px 14px; }
  .pros-box, .cons-box { padding: 16px 18px; }
}

/* Small phones: up to 400px */
@media (max-width: 400px) {
  /* Stack logo above title on very small screens */
  .review-title-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .review-casino-logo { width: 56px; height: 56px; }
  /* Stack dark panel vertically on tiny screens */
  .review-cta-panel { flex-direction: column; align-items: stretch; gap: 12px; }
  .review-score-badge { flex-direction: column; align-items: center; }
  .review-score-label { display: none; }
  .review-score-number { font-size: 2.4rem; }
  .review-score-stars { justify-content: center; }
  .review-cta-btn { width: 100%; }
  /* Facts stay 2-col, just tighten padding */
  .review-fact { padding: 12px 8px; }
  .review-fact-value { font-size: 0.82rem; }
  .review-fact-icon { font-size: 1.1rem; }
  /* Sticky bar: hide name, show only logo + CTA */
  .review-sticky-casino span { display: none; }
  .review-sticky-bar { padding: 8px 14px; }
}