/* =====================================================
   MC Games Bet Afiliados — style.css
   Energetic streetwear color blocks, thick outlines,
   sticker labels; serif headlines + bold sans-serif body
   ===================================================== */

/* ── Custom properties ─────────────────────────────── */
:root {
  --red:    #FF3E00;
  --dark:   #1A1A2E;
  --yellow: #F5E642;
  --white:  #FFFFFF;
  --gray:   #F0EEE9;
  --ink:    #111111;
  --muted:  #555555;
  --radius: 4px;
  --max-w:  1100px;
  --col-gap: 2rem;
  --outline: 3px solid var(--dark);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 1.6;
  background: var(--gray);
  color: var(--ink);
  min-height: 100vh;
}

/* Google Font (single request, no extra link tag) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700&family=Playfair+Display:wght@700;900&display=swap');

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900; color: var(--dark); }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; color: var(--dark); }
h3 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1rem; }
a { color: var(--red); text-decoration: underline; }
a:hover { color: var(--dark); }
img { display: block; max-width: 100%; height: auto; }

/* ── Skip link ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--dark);
  padding: .5rem 1rem;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

/* ── Header ────────────────────────────────────────── */
.site-header {
  background: var(--dark);
  border-bottom: var(--outline);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 60px;
}

.brand-link {
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -.5px;
  line-height: 1.1;
  display: inline-block;
  max-width: 160px;
}
.brand-logo { height: 40px; width: auto; }

/* ── Nav toggle ─────────────────────────────────────── */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--yellow);
  position: relative;
  transition: transform .2s;
}
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 0;
}
.burger::before { top: -6px; }
.burger::after  { top: 6px; }

/* ── Header CTA buttons ─────────────────────────────── */
.header-cta {
  display: flex;
  gap: .4rem;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
  text-decoration: none;
  padding: .55rem .8rem;
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: .3px;
  transition: opacity .15s, background .15s;
}
.cta-signup {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.cta-signup:hover { opacity: .88; color: var(--white); }
.cta-login {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}
.cta-login:hover { background: var(--yellow); color: var(--dark); }
.cta-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.cta-outline:hover { background: var(--dark); color: var(--white); }
.cta-full { width: 100%; margin-top: .75rem; }

/* ── Main nav (collapsed on mobile) ─────────────────── */
.main-nav {
  background: var(--dark);
  border-top: 2px solid #2e2e4a;
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.main-nav.is-open { max-height: 600px; }

.nav-list {
  display: flex;
  flex-direction: column;
  padding: .5rem 1rem 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-heading { display: none; }

.nav-list dd { border-bottom: 1px solid #2e2e4a; }
.nav-list dd a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: .65rem 0;
  font-size: .9rem;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-list dd a:hover { color: var(--yellow); }

/* ── Layout wrapper ─────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ── Content + sidebar grid ─────────────────────────── */
.hero-section,
.feature-section,
.faq-section,
.pricing-section,
.contact-section,
.about-section,
.privacy-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--col-gap);
}

/* sections that hold multiple articles (home children) */
.children-section { margin-top: 2rem; }
.children-article { width: 100%; }

/* ── Articles ───────────────────────────────────────── */
.hero-article,
.feature-article,
.faq-article,
.pricing-article,
.contact-article,
.about-article,
.privacy-article {
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  padding: 1.5rem;
  min-width: 0;
}

/* ── Page eyebrow / sticker labels ─────────────────── */
.page-eyebrow,
.hero-eyebrow,
.stage-label {
  margin-bottom: .75rem;
}
.label-sticker {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: .7rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border: 2px solid var(--dark);
  border-radius: 2px;
}

/* ── Byline ─────────────────────────────────────────── */
.byline {
  font-size: .82rem;
  color: var(--muted);
  margin: .4rem 0 1.2rem;
  font-style: italic;
}

/* ── Page content ───────────────────────────────────── */
.page-content { margin-top: 1rem; }
.page-content h2,
.page-content h3 { margin: 1.5rem 0 .5rem; }
.page-content ul,
.page-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: .4rem; }
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: .9rem;
}
.page-content th,
.page-content td {
  border: 2px solid var(--dark);
  padding: .5rem .75rem;
  text-align: left;
}
.page-content th { background: var(--dark); color: var(--white); }
.page-content tr:nth-child(even) td { background: var(--gray); }
.page-content a { color: var(--red); }
.page-content img { margin: 1rem 0; border: var(--outline); border-radius: var(--radius); }
.page-content blockquote {
  border-left: 4px solid var(--red);
  padding: .5rem 1rem;
  margin: 1rem 0;
  background: var(--gray);
  font-style: italic;
}

/* ── Heading decoration (span inside h2/h3) ─────────── */
h2 > span, h3 > span {
  display: inline;
  background: linear-gradient(to bottom, transparent 60%, var(--yellow) 60%);
  padding-bottom: 2px;
}

/* ── Child cards table ──────────────────────────────── */
.child-cards { margin-top: 1.5rem; }
.section-title { margin-bottom: 1rem; }
.child-cards table {
  width: 100%;
  border-collapse: collapse;
}
.child-cards tbody tr { border-bottom: 2px solid var(--dark); }
.child-cards tbody tr:hover td { background: var(--gray); }
.child-cards td {
  padding: .75rem;
  vertical-align: top;
  font-size: .9rem;
}
.child-cards td:first-child { font-weight: 700; width: 40%; }
.child-cards td a { color: var(--red); font-weight: 700; }

/* ── Sidebar ────────────────────────────────────────── */
.sidebar {
  background: var(--dark);
  color: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  padding: 1.25rem;
  align-self: start;
}
.sidebar-title { color: var(--yellow); margin-bottom: .75rem; }
.sidebar-sub { color: var(--yellow); margin-top: 1.25rem; margin-bottom: .5rem; font-size: .95rem; }
.sidebar-text { font-size: .85rem; color: #ccc; margin-bottom: .5rem; }
.sidebar-nav { list-style: none; padding: 0; }
.sidebar-nav li { border-bottom: 1px solid #2e2e4a; }
.sidebar-nav li a {
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  padding: .6rem 0;
  font-size: .85rem;
  font-weight: 700;
  min-height: 44px;
}
.sidebar-nav li a:hover { color: var(--yellow); }

/* ── About author block ─────────────────────────────── */
.author-block {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: var(--outline);
}
.author-heading { margin-bottom: .5rem; }
.author-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .2rem;
}
.author-credentials {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .5rem;
  font-style: italic;
}
.author-bio { font-size: .9rem; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--white);
  border-top: 4px solid var(--red);
  margin-top: 3rem;
}

/* footer direct children must include a nav and a article/section */
.footer-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem;
}

.footer-dl {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  align-items: baseline;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--yellow);
  width: 100%;
  margin-bottom: .5rem;
}
.footer-dl dd { display: inline-flex; }
.footer-dl dd a {
  color: #ccc;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  padding: .3rem .5rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-dl dd a:hover { color: var(--yellow); }

.footer-trust {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
  border-top: 1px solid #2e2e4a;
}

/* ── Trust links ────────────────────────────────────── */
.trust-links {
  margin-bottom: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.trust-links a {
  color: #ccc;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: underline;
  /* ── tap-area fix: min 44px height ── */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .6rem;
}
.trust-links a:hover { color: var(--yellow); }

/* ── Responsible gambling notice ────────────────────── */
.rg-notice {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: .5rem;
}
.copyright {
  font-size: .75rem;
  color: #666;
}

/* ── Home hero accent ───────────────────────────────── */
.hero-article {
  border-left: 6px solid var(--red);
  position: relative;
}
.hero-article::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--yellow);
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
}

/* ── FAQ accordion (page content) ──────────────────── */
.faq-content details {
  border: 2px solid var(--dark);
  border-radius: var(--radius);
  margin-bottom: .75rem;
}
.faq-content summary {
  padding: .75rem 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq-content details[open] summary { background: var(--yellow); color: var(--dark); }
.faq-content details p { padding: .75rem 1rem; }

/* ── Pricing table accent ────────────────────────────  */
.pricing-content table th { background: var(--red); }

/* ── Sidebar CTA ─────────────────────────────────────── */
.sidebar-cta { margin-top: 1rem; }
.sidebar .cta-signup { background: var(--red); color: var(--white); border-color: var(--red); }
.sidebar .cta-outline { color: var(--yellow); border-color: var(--yellow); }
.sidebar .cta-outline:hover { background: var(--yellow); color: var(--dark); }

/* ── Responsive: desktop ≥769px ─────────────────────── */
@media (min-width: 769px) {
  .nav-toggle { display: none; }

  .main-nav {
    max-height: none;
    overflow: visible;
    border-top: none;
    background: transparent;
    position: static;
  }
  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 1rem;
    align-items: center;
    gap: 0;
    max-width: var(--max-w);
    border-top: 1px solid #2e2e4a;
  }
  .nav-list dd { border-bottom: none; }
  .nav-list dd a {
    padding: .5rem .75rem;
    font-size: .8rem;
    min-height: 36px;
  }

  .hero-section,
  .feature-section,
  .faq-section,
  .pricing-section,
  .contact-section,
  .about-section,
  .privacy-section {
    grid-template-columns: 1fr 280px;
  }

  .footer-nav .footer-dl { flex-direction: row; align-items: center; }
  .footer-brand { width: auto; margin-right: 1rem; margin-bottom: 0; }
}

/* ── Responsive: mobile ≤768px ──────────────────────── */
@media (max-width: 768px) {
  html { font-size: 16px; }

  .header-inner { padding: .4rem .75rem; gap: .4rem; min-height: 56px; }
  .brand-text { font-size: .95rem; max-width: 120px; }

  .cta { font-size: .72rem; padding: .45rem .55rem; min-height: 44px; }

  .wrap { padding: 1rem .75rem; }

  .hero-article,
  .feature-article,
  .faq-article,
  .pricing-article,
  .contact-article,
  .about-article,
  .privacy-article {
    padding: 1rem;
  }

  .child-cards td { display: block; width: 100%; }
  .child-cards td:first-child { width: 100%; border-bottom: none; }

  .trust-links a {
    min-height: 44px;
    padding: .5rem .6rem;
  }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}.tbl-scroll{overflow-x:auto;max-width:100%}