/* ============================================================
   antehunt.com — Alpine Editorial Aggregator
   Palette: chalk #F5F1E8, slate navy #223744, forest green #456B5A,
            copper #B36B45, muted mustard #C49B52, footer #172830
   ============================================================ */

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: #223744;
  background: #F5F1E8;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #456B5A; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #B36B45; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  line-height: 1.25;
  color: #223744;
}

h1 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.45rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
small { font-size: 0.85rem; }

/* --- Layout Container --- */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Header --- */
.site-header {
  background: #fff;
  border-bottom: 2px solid #223744;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.site-logo {
  display: block;
  line-height: 0;
}

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

/* --- Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
  stroke: #223744;
  stroke-width: 2;
  fill: none;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(34,55,68,0.97);
  z-index: 200;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.mobile-nav.open { display: block; }

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
}

.mobile-nav-close svg {
  width: 28px;
  height: 28px;
  stroke: #F5F1E8;
  stroke-width: 2;
  fill: none;
}

.mobile-nav ul {
  list-style: none;
  margin-top: 3rem;
}

.mobile-nav ul li { margin-bottom: 0.5rem; }

.mobile-nav ul li a {
  display: block;
  color: #F5F1E8;
  font-size: 1.15rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(245,241,232,0.15);
}

.mobile-nav ul li a:hover { color: #C49B52; }

/* --- Badges --- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border: 1px solid #223744;
  color: #223744;
  background: transparent;
}

.badge-solid {
  background: #223744;
  color: #F5F1E8;
  border-color: #223744;
}

/* --- Top Warning Bar --- */
.top-warning {
  background: #223744;
  color: #F5F1E8;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.6rem 1.25rem;
  line-height: 1.4;
}

.top-warning a { color: #C49B52; }

/* --- Section Spacing --- */
.section { padding: 2rem 0; }
.section + .section { border-top: 1px solid #ddd; }

/* --- Hero --- */
.hero { padding: 2.5rem 1.5rem; }
.hero p { font-size: 1.05rem; color: #3a4a55; }

/* --- Highlight Card --- */
.highlight-card {
  background: #fff;
  border: 1px solid #223744;
  margin-bottom: 1.5rem;
}

.highlight-card-inner {
  display: flex;
  min-height: 200px;
}

.highlight-logo-panel {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.highlight-logo-panel img {
  max-width: 140px;
  max-height: 100px;
  object-fit: contain;
}

.highlight-content {
  flex: 1;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.highlight-content .score {
  display: inline-block;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #456B5A;
  margin-bottom: 0.4rem;
}

.score-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6a7a85;
  margin-bottom: 0.4rem;
}

/* --- Standard Cards --- */
.standard-card {
  background: #fff;
  border: 1px solid #e0ddd5;
  margin-bottom: 1rem;
}

.standard-card-inner {
  display: flex;
  align-items: stretch;
}

.standard-meta-strip {
  flex: 0 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid #e0ddd5;
}

.standard-meta-strip .score {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #456B5A;
}

.standard-meta-strip img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.3rem;
}

.standard-card-content {
  flex: 1;
  padding: 0.9rem 1rem;
}

.standard-card-content p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #3a4a55;
}

.standard-card-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
}

.standard-card-content ul li {
  font-size: 0.82rem;
  padding: 0.2rem 0 0.2rem 1.1rem;
  position: relative;
  color: #4a5a65;
}

.standard-card-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #C49B52;
}

.regulatory-note {
  font-size: 0.72rem;
  color: #8a9aa5;
  font-style: italic;
  margin-bottom: 0.4rem;
}

.card-cta {
  display: inline-block;
  background: #456B5A;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 1rem;
  transition: background 0.2s;
}

.card-cta:hover {
  background: #B36B45;
  color: #fff;
}

.card-folder-link {
  font-size: 0.72rem;
  margin-left: 0.6rem;
}

.card-folder-link a {
  color: #8a9aa5;
  text-decoration: underline;
}

/* --- Three-Step Section --- */
.steps-grid {
  display: flex;
  gap: 1.5rem;
}

.step {
  flex: 1;
  padding: 1rem;
  background: #fff;
  border-top: 3px solid #C49B52;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #223744;
}

.step p {
  font-size: 0.88rem;
  color: #4a5a65;
  margin-bottom: 0;
}

/* --- Payment Methods / Regulator / Protection Blocks --- */
.info-block {
  background: #fff;
  padding: 1.25rem;
  border-left: 3px solid #456B5A;
  margin-bottom: 1rem;
}

.info-block h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.info-block p { font-size: 0.88rem; color: #4a5a65; margin-bottom: 0; }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid #e0ddd5;
  padding: 0.8rem 0;
}

.faq-question {
  font-weight: 700;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.95rem;
  color: #223744;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  color: #C49B52;
  font-family: sans-serif;
}

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

.faq-answer {
  display: none;
  font-size: 0.88rem;
  color: #4a5a65;
  padding-top: 0.5rem;
  line-height: 1.6;
}

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

/* --- Footer --- */
.site-footer {
  background: #172830;
  color: #c8d0d8;
  font-size: 0.85rem;
  padding: 2.5rem 0;
  line-height: 1.7;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-paragraphs p { margin-bottom: 1rem; }

.footer-resource-heading {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  color: #F5F1E8;
  margin: 1.5rem 0 0.8rem;
}

.footer-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-resources a {
  display: inline-block;
  line-height: 0;
}

.footer-resources img {
  height: 36px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-resources img:hover { opacity: 1; }

.footer-mandatory {
  border-top: 1px solid rgba(245,241,232,0.15);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.78rem;
  text-align: center;
  color: #8a9aa5;
}

/* --- 18+ Popup --- */
.age-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(34,55,68,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-popup-box {
  background: #fff;
  max-width: 400px;
  width: 90%;
  padding: 2rem;
  text-align: center;
  border: 2px solid #223744;
}

.age-popup-box h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.age-popup-box p {
  font-size: 0.9rem;
  color: #4a5a65;
  margin-bottom: 1.2rem;
}

.age-popup-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.age-popup-btn {
  padding: 0.5rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.age-popup-btn-yes {
  background: #456B5A;
  color: #fff;
}

.age-popup-btn-yes:hover { background: #3a5d4e; }

.age-popup-btn-no {
  background: #ddd;
  color: #223744;
}

.age-popup-btn-no:hover { background: #ccc; }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #223744;
  color: #F5F1E8;
  padding: 0.8rem 1.25rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.cookie-banner p { margin-bottom: 0; }
.cookie-banner a { color: #C49B52; }

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cookie-btn-accept { background: #456B5A; color: #fff; }
.cookie-btn-accept:hover { background: #3a5d4e; }
.cookie-btn-reject { background: #8a9aa5; color: #fff; }
.cookie-btn-reject:hover { background: #7a8a95; }

/* --- Page Content (inner pages) --- */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.page-content h1 { margin-bottom: 1rem; }
.page-content p, .page-content ul, .page-content ol { margin-bottom: 1rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; }

/* --- Internal Redirect Page --- */
.redirect-page {
  text-align: center;
  padding: 4rem 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.redirect-spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid #e0ddd5;
  border-top: 3px solid #456B5A;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.redirect-text {
  font-size: 0.95rem;
  color: #4a5a65;
  margin-bottom: 1rem;
}

.redirect-fallback {
  display: inline-block;
  background: #456B5A;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.redirect-fallback:hover { background: #B36B45; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary { background: #456B5A; color: #fff; }
.btn-primary:hover { background: #B36B45; color: #fff; }

.btn-outline {
  background: transparent;
  color: #223744;
  border: 1px solid #223744;
}

.btn-outline:hover { background: #223744; color: #F5F1E8; }

/* --- Contact Form --- */
.contact-form {
  max-width: 500px;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #223744;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid #ccc;
  background: #fff;
  color: #223744;
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* --- Internal page top/bottom warning --- */
.page-warning {
  font-size: 0.78rem;
  text-align: center;
  padding: 0.5rem;
  background: #f0ede5;
  color: #5a6a75;
  border-bottom: 1px solid #e0ddd5;
}

.page-warning-bottom {
  border-top: 1px solid #e0ddd5;
  border-bottom: none;
}

/* --- Desktop: no menu --- */
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-nav { display: none !important; }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }

  .highlight-card-inner {
    flex-direction: column;
  }

  .highlight-logo-panel {
    flex: 0 0 auto;
    padding: 1.25rem 1.25rem 0;
  }

  .highlight-content {
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .standard-card-inner {
    flex-direction: column;
  }

  .standard-meta-strip {
    flex: 0 0 auto;
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid #e0ddd5;
    padding: 0.6rem 1rem;
    gap: 0.6rem;
    justify-content: flex-start;
  }

  .standard-meta-strip img {
    margin-bottom: 0;
  }

  .steps-grid {
    flex-direction: column;
    gap: 1rem;
  }

  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Footer Navigation Buttons --- */
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 1.2rem 0;
}

.footer-nav-btn {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(245,241,232,0.2);
  color: #c8d0d8;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}

.footer-nav-btn:hover {
  background: #456B5A;
  color: #F5F1E8;
  border-color: #456B5A;
}
