:root {
  /* Color System */
  --bg-primary: #0E1116;
  --bg-surface: #151A21;
  --border-color: #1F2933;
  
  --text-primary: #E6E8EB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  
  --accent: #10B981;
  --accent-hover: #059669;
  
  /* Semantic */
  --risk: #EF4444;
  --warning: #F59E0B;
  
  /* Layout */
  --container-width: 1200px;
  --spacing-unit: 1rem;
  --header-height: 80px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  margin-top: 0;
  font-weight: 600;
}

h1 { font-size: 3rem; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 500; }

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* Header */
.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-column h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-meta {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-top: 2rem;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.disclaimer-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 600px;
}

/* Hero */
.hero {
  background: var(--bg-primary);
  padding: 5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-text {
  max-width: 700px;
  margin: 1.5rem auto 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease-out;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-block { width: 100%; }

/* Cards */
.brand-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease-out, border-color 0.2s ease-out;
}

.brand-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

@media (min-width: 768px) {
  .brand-card {
    display: grid;
    grid-template-columns: 240px 1fr 200px;
    gap: 2rem;
    align-items: center;
  }
}

.brand-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .brand-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    border-right: 1px solid var(--border-color);
    padding-right: 1.5rem;
  }
}

.brand-name a {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.info-row .label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.bonus-highlight {
  color: var(--accent);
  font-weight: 500;
}

/* Rating Bar */
.rating-container {
  margin-top: 0.75rem;
}

.rating-value {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.25rem;
}

.rating-bar {
  height: 6px;
  background: #2D3748;
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}

.rating-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(31, 41, 51, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.featured-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.geo-badge {
  /* Using standard badge style */
}

/* Review Page */
.review-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.meta-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Review Hero */
.review-hero {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  height: 220px; /* Fixed height limitation as per strict Tier-1 requirements */
  position: relative;
  background: var(--bg-surface);
}

.review-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6; /* Dark overlay effect restored */
  transition: opacity 0.3s ease;
  display: block;
}

.review-hero:hover .review-hero-img {
  opacity: 0.8;
}

.review-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, var(--bg-surface), transparent);
  pointer-events: none;
}

/* Review Support Images (Bonus, Payments charts) */
.review-support-img {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.review-support-img-el {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain; /* Safer for charts/data to avoid cropping */
  object-position: center;
  display: block;
}

.review-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.review-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.review-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  border: none; /* No outer border */
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  border-right: none; /* No vertical lines */
  border-left: none;
  color: var(--text-secondary);
}

th {
  font-weight: 600;
  color: var(--text-primary);
  position: sticky;
  top: var(--header-height); /* Stick below header */
  background: var(--bg-surface);
  z-index: 10;
}

tr:last-child td {
  border-bottom: none;
}

/* Pros & Cons */
.pros-cons-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pros-cons-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pros, .cons {
  background: rgba(14, 17, 22, 0.5); /* Slightly darker inner blocks */
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.pros h3 { color: var(--accent); font-size: 1.1rem; margin-bottom: 1rem; }
.cons h3 { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1rem; }

.pros ul, .cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros li, .cons li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
}

.pros li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.cons li::before {
  content: "–";
  color: var(--text-muted);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Sidebar */
.sticky-cta {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.sidebar-rating {
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  margin: 1.5rem 0;
}

.small-disclaimer {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  margin-top: 1rem;
}

/* Ad Slot */
.ad-slot {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
}

.ad-placeholder {
  width: 100%;
  max-width: 728px;
  height: 120px;
  background: rgba(21, 26, 33, 0.5);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Breadcrumbs */
.breadcrumb-top {
  margin-bottom: 1rem;
}

.breadcrumb-top a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.breadcrumb-top a:hover {
  color: var(--accent);
}

/* Info Links Section */
.info-link-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
}

.info-link-block h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.info-link-block p {
  color: var(--text-secondary);
}

/* Review Intro */
.review-intro .lead {
  font-size: 1.125rem;
  color: var(--text-primary);
  line-height: 1.7;
}

/* Featured Review Section (override inline styles) */
.featured-review-section {
  background: transparent !important; /* Normal background */
  border: none !important;
  padding: 0;
  margin: 3rem 0;
}

.featured-review-section h2 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* Guide Cards */
.guide-card {
  border: 1px solid var(--border-color) !important;
  background-color: var(--bg-surface) !important;
}

.guide-card h2 a {
  color: var(--text-primary);
}

.guide-card p {
  color: var(--text-secondary);
}
