/* ═══════════════════════════════════════
   LUCK8 — SHARED STYLES FOR CONTENT PAGES
   Light theme · Mobile-first · #700203 / #F9B702
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --maroon:      #700203;
  --maroon-dark: #4d0102;
  --maroon-soft: #9a2b2c;
  --gold:        #F9B702;
  --gold-light:  #FFD35C;
  --gold-dark:   #C78F00;
  --bg:          #FFF8F0;
  --bg2:         #FFFFFF;
  --bg3:         #FFF1E1;
  --bg4:         #FDEBD6;
  --ink:         #2B1310;
  --ink2:        #4a2c25;
  --muted:       #7a5f57;
  --border:      rgba(112,2,3,0.14);
  --border-gold: rgba(249,183,2,0.35);
  --green:       #157F43;
  --font-body:    system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  padding-bottom: 84px;
}

/* ═══ NAV ═══ */
nav.topnav {
  position: sticky;
  top: 0; z-index: 100;
  background: rgba(255,248,240,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px;
}
nav.topnav .logo-text {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 900; color: var(--maroon);
  letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; align-items: center; text-decoration: none;
}
nav.topnav .logo-text img { height: 38px; width: auto; }
nav.topnav .nav-home {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  background: var(--maroon); color: var(--gold);
  padding: 7px 14px; border-radius: 20px; text-decoration: none;
  text-transform: uppercase;
}
nav.topnav .nav-home:hover { background: var(--maroon-dark); }

/* ═══ BREADCRUMB ═══ */
.breadcrumb {
  padding: 12px 20px; font-size: 12px; color: var(--muted);
  background: var(--bg3); border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--maroon); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--ink2); }

/* ═══ PAGE HERO ═══ */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(249,183,2,0.16) 0%, transparent 60%),
    linear-gradient(165deg, #FFFDF8 0%, #FFF3E2 60%, #FFEBCF 100%);
  padding: 30px 22px 26px; text-align: center;
}
.page-hero .eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon);
  background: rgba(112,2,3,0.08); border: 1px solid rgba(112,2,3,0.22);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 12px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 900; line-height: 1.08;
  text-transform: uppercase; color: var(--maroon); letter-spacing: -0.5px;
}
.page-hero h1 span { color: var(--gold-dark); }
.page-hero .updated { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ═══ CONTENT ═══ */
main { padding: 26px 20px 30px; }
.prose { color: var(--ink2); font-size: 15px; line-height: 1.75; }
.prose h2 {
  font-family: var(--font-display); font-size: 22px; color: var(--maroon);
  margin: 1.6em 0 0.5em; text-transform: uppercase; letter-spacing: 0.02em;
}
.prose h2:first-child { margin-top: 0.2em; }
.prose h3 {
  font-family: var(--font-display); font-size: 18px; color: var(--ink);
  margin: 1.3em 0 0.4em;
}
.prose p { margin-bottom: 1em; }
.prose ul, .prose ol { padding-left: 1.35em; margin-bottom: 1.1em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--maroon); text-decoration: underline; }
.prose .lead {
  font-size: 16px; color: var(--ink); background: var(--bg3);
  border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0;
  padding: 14px 16px; margin-bottom: 1.4em;
}

/* callout box */
.callout {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFEACB 100%);
  border: 1px solid var(--border-gold); border-left: 4px solid var(--maroon);
  border-radius: 12px; padding: 16px 18px; margin: 1.4em 0;
  font-size: 14px; color: var(--ink2);
}
.callout strong { color: var(--maroon); }

/* table */
.table-wrap { overflow-x: auto; margin: 1.2em 0; }
table.tbl {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--bg2); border-radius: 10px; overflow: hidden;
}
table.tbl th { background: var(--maroon); color: var(--gold); font-weight: 700; padding: 10px 12px; text-align: left; }
table.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
table.tbl tr:last-child td { border-bottom: none; }

/* ═══ CONTACT CARDS + FORM ═══ */
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 4px 0 24px; }
.contact-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 14px; text-align: center; text-decoration: none;
  box-shadow: 0 2px 10px rgba(112,2,3,0.05); transition: border-color .2s, transform .2s;
  display: block;
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-card .ic { font-size: 28px; }
.contact-card .t { font-size: 14px; font-weight: 800; color: var(--maroon); margin-top: 6px; }
.contact-card .d { font-size: 12px; color: var(--muted); margin-top: 3px; word-break: break-word; }

form.contact-form { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
form.contact-form label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: -6px; }
form.contact-form input,
form.contact-form textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; width: 100%;
}
form.contact-form input:focus,
form.contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
form.contact-form textarea { resize: vertical; min-height: 120px; }
form.contact-form button {
  font-family: var(--font-display); font-size: 18px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer;
  color: var(--maroon-dark); border: none; border-radius: 12px; padding: 15px;
  background: linear-gradient(135deg, #FFD35C 0%, #F9B702 55%, #d99f0c 100%);
  box-shadow: 0 5px 20px rgba(249,183,2,0.5);
}
form.contact-form button:active { transform: scale(0.98); }

/* ═══ RELATED PAGES ═══ */
.related { margin-top: 30px; border-top: 1px solid var(--border); padding-top: 20px; }
.related h2 {
  font-family: var(--font-display); font-size: 16px; color: var(--maroon);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px;
}
.related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a {
  font-size: 12px; font-weight: 600; color: var(--maroon);
  background: var(--bg3); border: 1px solid var(--border); border-radius: 20px;
  padding: 7px 12px; text-decoration: none;
}
.related-links a:hover { border-color: var(--gold); background: var(--bg4); }

/* ═══ FOOTER ═══ */
footer {
  background: var(--maroon-dark); padding: 24px 20px 30px; text-align: center;
}
footer .flogo { margin-bottom: 12px; }
footer .flogo img { height: 30px; width: auto; }
footer .age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold);
  color: var(--gold); font-weight: 800; font-size: 13px; margin-bottom: 12px;
}
footer p { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 360px; margin: 0 auto 10px; }
footer p strong { color: var(--gold); }
footer .footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
footer .footer-links a { font-size: 12px; color: var(--gold-light); text-decoration: none; padding: 8px 6px; }
footer .footer-links a:hover { color: #fff; }

/* ═══ STICKY CTA ═══ */
.sticky-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: rgba(77,1,2,0.98);
  border-top: 1px solid var(--gold); padding: 10px 18px 16px; z-index: 200;
}
.sticky-bar a {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: linear-gradient(135deg, #FFD35C 0%, #F9B702 55%, #d99f0c 100%);
  color: var(--maroon-dark); font-family: var(--font-display);
  font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em;
  padding: 14px; border-radius: 12px; box-shadow: 0 4px 20px rgba(249,183,2,0.5);
}
