@import url('compliance.css');

:root {
  --charcoal: #1A1A1A;
  --charcoal-soft: #2C2C2C;
  --ivory: #F7F3EE;
  --ivory-warm: #EEE8DF;
  --amber: #C8963E;
  --amber-light: #E0B060;
  --amber-dark: #9E7228;
  --sage: #4A5C4E;
  --sage-light: #6B7F6E;
  --terracotta: #9E4E3A;
  --gold-star: #D4AF37;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --border: #DDD6CC;
  --white: #FFFFFF;
  --section-alt: #F2EDE6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 8, 5, 0.88);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.popup-box {
  background: var(--white);
  border-radius: 4px;
  max-width: 480px; width: 100%;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}
.popup-header {
  background: var(--charcoal);
  padding: 28px 32px 24px;
  text-align: center;
}
.popup-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border: 3px solid var(--amber);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900;
  color: var(--amber);
  margin-bottom: 16px;
}
.popup-header h2 {
  font-family: 'Playfair Display', serif;
  color: var(--ivory);
  font-size: 22px; font-weight: 700;
}
.popup-body { padding: 28px 32px; }
.popup-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.popup-warning {
  background: #FFF5E6;
  border-left: 3px solid var(--amber);
  padding: 12px 16px;
  font-size: 13px; color: var(--text-secondary);
  margin: 16px 0;
}
.popup-confirm-btn {
  display: block; width: 100%;
  background: var(--sage); color: var(--white);
  border: none; border-radius: 3px;
  padding: 15px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; margin-top: 20px;
}
.popup-deny-btn {
  display: block; width: 100%;
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 3px; padding: 12px 24px;
  font-size: 13px; text-decoration: none;
  margin-top: 8px; text-align: center;
}

.trust-bar { background: var(--charcoal); padding: 10px 0; overflow: hidden; }
.trust-bar-inner {
  display: flex; gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.trust-bar-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 32px;
  font-size: 11px; font-weight: 500;
  color: rgba(247, 243, 238, .55);
  letter-spacing: .06em; text-transform: uppercase;
  flex-shrink: 0;
}
.trust-bar-item .dot {
  width: 5px; height: 5px;
  background: var(--amber); border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

header {
  background: var(--charcoal-soft);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(200, 150, 62, .2);
}
nav {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--ivory); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-accent { color: var(--amber); }
.logo-icon {
  width: 32px; height: 32px;
  background: var(--amber); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900;
  color: var(--charcoal);
  font-family: 'Playfair Display', serif;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: rgba(247, 243, 238, .7);
  text-decoration: none;
}
.nav-links a:hover { color: var(--amber); }
.nav-badge {
  background: var(--sage); color: var(--white);
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 2px;
  letter-spacing: .05em; text-transform: uppercase;
}

.breadcrumb {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 13px; color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--amber-dark); }
.breadcrumb span { margin: 0 8px; }

.platform-hero {
  background: var(--charcoal);
  padding: 40px 24px 56px;
  position: relative;
  overflow: hidden;
}
.platform-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(200, 150, 62, .12) 0%, transparent 70%);
  pointer-events: none;
}
.platform-hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; align-items: flex-start;
  gap: 32px; flex-wrap: wrap;
}
.platform-hero-logo {
  width: 96px; height: 96px;
  background: var(--charcoal-soft);
  border: 1px solid rgba(26, 26, 26, .2);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.platform-hero-logo img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 12px;
}
.platform-hero-content { flex: 1; min-width: 280px; }
.platform-rank {
  display: inline-block;
  background: rgba(200, 150, 62, .15);
  border: 1px solid rgba(200, 150, 62, .3);
  color: var(--amber-light);
  font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 2px;
  margin-bottom: 12px;
}
.platform-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 8px;
}
.platform-hero h1 em { color: var(--amber); font-style: normal; }
.platform-type {
  font-size: 15px;
  color: rgba(247, 243, 238, .65);
  margin-bottom: 16px;
}
.platform-stars {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 20px;
}
.platform-stars .star { color: var(--gold-star); font-size: 18px; }
.platform-stars .star.half { color: var(--border); }
.platform-score {
  font-size: 16px; font-weight: 700;
  color: var(--amber-light);
  margin-left: 8px;
}
.platform-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.platform-tag {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(247, 243, 238, .8);
  font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: 2px;
}
.platform-tag.highlight {
  background: rgba(74, 92, 78, .3);
  border-color: rgba(74, 92, 78, .5);
  color: #B8D4BC;
}
.platform-hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.btn-primary {
  background: var(--sage); color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.btn-primary:hover { background: var(--sage-light); }
.btn-outline {
  background: transparent;
  color: var(--ivory);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 14px; font-weight: 600;
  border: 1px solid rgba(247, 243, 238, .3);
  transition: all .2s;
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.platform-layout {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.platform-sidebar {
  position: sticky; top: 88px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.fact-row {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ivory-warm);
  font-size: 13px;
}
.fact-row:last-child { border-bottom: none; }
.fact-label { color: var(--text-muted); flex-shrink: 0; }
.fact-value { color: var(--text-primary); font-weight: 500; text-align: right; }
.score-bar-item { margin-bottom: 14px; }
.score-bar-label {
  display: flex; justify-content: space-between;
  font-size: 12px; margin-bottom: 6px;
}
.score-bar-label span:first-child { color: var(--text-secondary); }
.score-bar-label span:last-child { font-weight: 600; color: var(--charcoal); }
.score-bar-track {
  height: 6px; background: var(--ivory-warm);
  border-radius: 3px; overflow: hidden;
}
.score-bar-fill {
  height: 100%; background: var(--sage);
  border-radius: 3px;
}

.platform-content section {
  margin-bottom: 48px;
}
.section-label {
  font-size: 11px; font-weight: 600;
  color: var(--amber-dark);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 8px;
}
.platform-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.platform-content h2 em { color: var(--amber-dark); font-style: normal; }
.platform-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px 20px;
}
.feature-card-icon {
  width: 40px; height: 40px;
  background: var(--ivory-warm);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px;
}
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px; margin-bottom: 0;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.pros-box, .cons-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
}
.pros-box { border-top: 3px solid var(--sage); }
.cons-box { border-top: 3px solid var(--terracotta); }
.pros-box h3, .cons-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  margin-bottom: 16px;
}
.pros-box h3 { color: var(--sage); }
.cons-box h3 { color: var(--terracotta); }
.pros-cons ul { list-style: none; }
.pros-cons li {
  font-size: 14px; color: var(--text-secondary);
  padding: 8px 0 8px 24px;
  position: relative; line-height: 1.6;
  border-bottom: 1px solid var(--ivory-warm);
}
.pros-cons li:last-child { border-bottom: none; }
.pros-box li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--sage); font-weight: 700;
}
.cons-box li::before {
  content: '−'; position: absolute; left: 0;
  color: var(--terracotta); font-weight: 700;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 20px;
}
.info-table th,
.info-table td {
  padding: 14px 20px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.info-table th {
  background: var(--ivory-warm);
  font-weight: 600; color: var(--charcoal);
  width: 35%;
}
.info-table td { color: var(--text-secondary); }
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

.verdict-box {
  background: var(--charcoal);
  border-radius: 4px;
  padding: 36px 32px;
  margin-top: 8px;
}
.verdict-box h2 { color: var(--ivory) !important; }
.verdict-box h2 em { color: var(--amber) !important; }
.verdict-box p { color: rgba(247, 243, 238, .75) !important; }
.verdict-score {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.verdict-score-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 900;
  color: var(--amber);
  line-height: 1;
}
.verdict-score-label {
  font-size: 14px; color: rgba(247, 243, 238, .6);
}

.warning-box {
  background: #FFF5E6;
  border-left: 3px solid var(--amber);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin-top: 24px;
}
.warning-box p {
  font-size: 13px; margin-bottom: 0;
  color: var(--text-secondary);
}

footer {
  background: var(--charcoal);
  color: rgba(247, 243, 238, .6);
  padding: 48px 24px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247, 243, 238, .1);
  flex-wrap: wrap;
}
.footer-brand .logo { margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-links-col h4 {
  font-size: 11px; font-weight: 600;
  color: rgba(247, 243, 238, .4);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
  font-size: 13px; color: rgba(247, 243, 238, .6);
  text-decoration: none;
}
.footer-links-col a:hover { color: var(--amber-light); }
.footer-legal { padding-top: 32px; }
.footer-legal-warning {
  background: rgba(158, 78, 58, .15);
  border: 1px solid rgba(158, 78, 58, .3);
  border-radius: 3px; padding: 20px 24px;
  margin-bottom: 24px;
}
.footer-legal-warning p { font-size: 13px; line-height: 1.8; }
.footer-legal-warning a { color: var(--amber-light); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
}
.age-badge-footer {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  color: rgba(247, 243, 238, .5);
}
.age-badge-footer span {
  width: 28px; height: 28px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--amber);
}

.cwf-reg-strip {
  background: var(--section-alt);
  border-top: 1px solid var(--border);
  padding: 36px 24px;
}

.cwf-reg-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
}

.cwf-reg-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-soft);
  border: 1px solid rgba(26, 26, 26, .12);
  border-radius: 4px;
  padding: 14px 18px;
  min-height: 58px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.cwf-reg-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, .08);
  border-color: var(--amber);
}

.cwf-reg-tile img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .nav-links, .nav-badge { display: none; }
  .platform-layout {
    grid-template-columns: 1fr;
  }
  .platform-sidebar { position: static; }
  .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .platform-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .platform-stars, .platform-tags, .platform-hero-ctas { justify-content: center; }
  .platform-layout { padding: 32px 20px 48px; }
}

.cwf-disclaimer-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 4px;
}

.cwf-aggregator-disclaimer {
  max-width: 1080px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  background: #F0EBE3;
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.cwf-aggregator-disclaimer strong { color: var(--charcoal); }
.cwf-aggregator-disclaimer--hero {
  max-width: 860px;
  margin: 32px auto 0;
  text-align: left;
}
