/* Emporio Magico — poker non AAMS guide. Emerald & gold theme. */

:root {
  --bg: #faf6ec;
  --surface: #ffffff;
  --surface-alt: #f2ecda;
  --ink: #16261d;
  --ink-soft: #4b5d53;
  --ink-faint: #7a8b80;
  --header-1: #0a2e20;
  --header-2: #123f2c;
  --brand: #146349;
  --brand-dark: #0d4633;
  --gold: #c89a2e;
  --gold-light: #f3d27a;
  --border: #e4ddc9;
  --shadow: 0 12px 30px -18px rgba(10, 46, 32, 0.35);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--header-1);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); font-weight: 700; color: var(--brand-dark); }
h4 { font-size: 1.05rem; font-weight: 700; color: var(--brand-dark); }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(20,99,73,0.35); }
a:hover { text-decoration-color: currentColor; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--header-1);
  padding: 0.6em 1em; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 1em; top: 1em; }

.section-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--header-1), var(--header-2));
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand img { display: block; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: "Playfair Display", serif;
  color: #f6ead0;
  font-size: 1.15rem;
  font-weight: 700;
}
.brand-text small { color: var(--gold-light); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

.site-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  color: #ece4cf;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.site-nav a:hover { color: var(--gold-light); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fbf6e9; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8,32,22,0.94) 10%, rgba(10,46,32,0.88) 55%, rgba(10,46,32,0.82) 100%);
}
.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3.4rem;
  text-align: center;
}
.hero h1 { color: #fffaf0; }
.eyebrow {
  display: inline-block;
  color: var(--header-1);
  background: var(--gold-light);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero-lead { color: #e9e1cb; font-size: 1.08rem; max-width: 620px; margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--header-1);
  box-shadow: 0 10px 24px -10px rgba(200, 154, 46, 0.55);
}
.btn-gold:hover { filter: brightness(1.05); }

/* Trust bar */
.trust-bar {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem 2.4rem;
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.trust-item { display: flex; align-items: center; gap: 0.5em; }
.trust-item svg { flex: none; }

/* Toplist */
.toplist-section { padding: 3.2rem 0 2.4rem; }
.toplist-section h2 { text-align: center; }
.toplist-section > .section-inner > p { text-align: center; max-width: 560px; margin-inline: auto; }
.toplist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  margin-top: 1.6rem;
}
.disclaimer-small { text-align: center; font-size: 0.78rem; color: var(--ink-faint); margin-top: 1rem; }

/* Author box */
.author-box {
  max-width: 880px;
  margin: 0 auto 2.6rem;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
}
.author-box img { border-radius: 50%; flex: none; object-fit: cover; }
.author-name { margin: 0; font-weight: 700; color: var(--header-1); }
.author-role { margin: 0.2em 0 0; font-size: 0.92rem; }

/* Article content */
.content { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.content section { margin-bottom: 2.6rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--border); }
.content section:last-child { border-bottom: none; }
.content h3 { margin-top: 1.4rem; }

.pro-con {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.4rem 0;
}
.pro-con > div {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border);
}
.pro-con .pro { border-top: 4px solid var(--brand); }
.pro-con .con { border-top: 4px solid #a8462f; }
.pro-con h4 { margin-bottom: 0.5em; }
.pro-con .con h4 { color: #a8462f; }
.pro-con ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.pro-con li { margin-bottom: 0.4em; }

@media (max-width: 620px) {
  .pro-con { grid-template-columns: 1fr; }
}

/* Comparison table — stacked on mobile */
.table-scroll { overflow-x: auto; margin: 1.4rem 0; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.compare-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--header-1);
  padding: 0.8em 1em;
  background: var(--surface-alt);
  caption-side: top;
}
.compare-table th, .compare-table td {
  padding: 0.85em 1em;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.compare-table thead th {
  background: var(--brand);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}
.compare-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.compare-table td:first-child { font-weight: 700; color: var(--brand-dark); }

@media (max-width: 700px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr {
    border-bottom: 1px solid var(--border);
    padding: 0.7em 0.9em;
  }
  .compare-table td {
    border: none;
    padding: 0.35em 0;
    display: flex;
    justify-content: space-between;
    gap: 1em;
    text-align: right;
  }
  .compare-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--brand-dark);
    text-align: left;
  }
  .compare-table td:first-child { display: block; text-align: left; font-size: 1.02rem; margin-bottom: 0.2em; }
  .compare-table td:first-child::before { content: none; }
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--header-1), var(--header-2));
  color: #f6ead0;
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { color: #fffaf0; }
.cta-band p { color: #ded4b6; max-width: 520px; margin: 0 auto 1.6rem; }

/* FAQ */
.faq-section { padding: 3rem 0; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  padding: 0.2rem 1.2rem;
}
.faq-item summary {
  cursor: pointer;
  padding: 0.9em 0;
  font-weight: 700;
  color: var(--header-1);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  flex: none;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 1em; margin: 0; }

/* About */
.about-section { padding: 1rem 0 3.4rem; }
.about-card {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-bottom: 1.4rem;
}
.about-card img { border-radius: 50%; object-fit: cover; flex: none; }
.about-card h3 { margin-top: 0; }

@media (max-width: 560px) {
  .about-card { flex-direction: column; align-items: center; text-align: center; }
}

/* Footer */
.site-footer {
  background: var(--header-1);
  color: #cfc6a9;
  padding: 2.2rem 0;
  font-size: 0.86rem;
}
.footer-inner { text-align: center; }
.footer-inner p { color: #cfc6a9; margin: 0.3em 0; }
.footer-legal { color: #9aa89c; font-size: 0.8rem; }

@media (max-width: 640px) {
  .header-inner { flex-direction: column; gap: 0.7rem; }
  .site-nav { gap: 1rem; justify-content: center; }
}
