/* ═══════════════════════════════════════
   SHARED STYLES — Win88 inner pages
   Reuses design tokens from the main landing page
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #F8B014;
  --gold-light: #FFD060;
  --gold-dark:  #C98A00;
  --gold-dim:   #c8880e;
  --dark:       #0A0A0F;
  --dark2:      #111118;
  --dark3:      #181824;
  --dark4:      #1e1e2e;
  --white:      #FFFFFF;
  --muted:      rgba(255,255,255,0.75);
  --border:     rgba(248,176,20,0.15);
  --red:        #E63946;
  --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(--dark);
  color: var(--white);
  font-size: 15px;
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  padding-bottom: 90px;
}

/* ═══ NAV ═══ */
nav.topnav {
  position: sticky;
  top: 0; z-index: 100;
  background: rgba(10,10,15,0.98);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
}
nav.topnav .logo-text {
  display: flex; align-items: center;
  text-decoration: none;
}
nav.topnav .logo-text img {
  height: 34px; width: auto; display: block;
}
nav.topnav .back-link {
  font-size: 12px; font-weight: 600;
  color: var(--muted); text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 20px;
}
nav.topnav .back-link:hover { color: var(--gold); border-color: var(--gold); }

/* ═══ BREADCRUMB ═══ */
.breadcrumb {
  padding: 12px 20px 0;
  font-size: 12px; color: var(--muted);
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ═══ PAGE HERO ═══ */
.page-hero { padding: 24px 20px 18px; text-align: left; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(248,176,20,0.12);
  border: 1px solid rgba(248,176,20,0.4);
  border-radius: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  padding: 5px 14px; margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 900;
  line-height: 1.1; text-transform: uppercase;
  color: var(--white); margin-bottom: 10px;
}
.page-hero .subline {
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.last-updated {
  font-size: 12px; color: rgba(255,255,255,0.45);
  margin-top: 10px;
}

/* ═══ ARTICLE / CONTENT ═══ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248,176,20,0.3), transparent);
  margin: 0 20px;
}
.content-space {
  padding: 26px 20px;
  background: var(--dark3);
}
.article-content { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.article-content h2 {
  font-family: var(--font-display);
  font-size: 20px; color: var(--gold);
  margin: 1.6em 0 0.5em; text-transform: uppercase; letter-spacing: 0.02em;
}
.article-content h2:first-of-type { margin-top: 0; }
.article-content h3 {
  font-family: var(--font-display);
  font-size: 16px; color: var(--white); margin: 1.3em 0 0.4em;
}
.article-content p      { margin-bottom: 1em; }
.article-content ul,
.article-content ol     { padding-left: 1.4em; margin-bottom: 1.2em; }
.article-content li     { margin-bottom: 0.45em; }
.article-content strong { color: var(--white); }
.article-content a      { color: var(--gold-light); text-decoration: underline; }
.article-content .table-wrap { overflow-x: auto; margin: 1.2em 0; }
.article-content table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  background: var(--dark4); border-radius: 10px; overflow: hidden;
}
.article-content th {
  background: var(--gold); color: var(--dark);
  font-weight: 700; padding: 9px 11px; text-align: left;
}
.article-content td {
  padding: 9px 11px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.article-content tr:last-child td { border-bottom: none; }

/* placeholder fields — for templated trust pages */
.fill-in {
  display: inline-block;
  background: rgba(248,176,20,0.1);
  border: 1px dashed rgba(248,176,20,0.45);
  color: var(--gold-light);
  padding: 1px 8px; border-radius: 4px;
  font-size: 13px; font-style: italic;
}
.todo-callout {
  background: rgba(248,176,20,0.08);
  border: 1px dashed rgba(248,176,20,0.4);
  border-radius: 10px; padding: 12px 14px;
  font-size: 12.5px; color: var(--gold-light);
  margin: 1em 0;
}

/* ═══ INFO CARDS (contact, policy summary) ═══ */
.info-grid { display: flex; flex-direction: column; gap: 10px; }
.info-card {
  background: var(--dark3);
  border: 1px solid rgba(248,176,20,0.12);
  border-radius: 12px; padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.info-card .icon { font-size: 22px; flex-shrink: 0; }
.info-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 3px; color: var(--white); }
.info-card p, .info-card a { font-size: 13px; color: var(--muted); text-decoration: none; line-height: 1.5; }
.info-card a { color: var(--gold-light); }

/* ═══ CONTACT FORM (static markup only) ═══ */
.contact-form { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.form-field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--muted); margin-bottom: 6px; letter-spacing: 0.02em;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: var(--dark3);
  border: 1px solid rgba(248,176,20,0.18);
  border-radius: 8px; padding: 11px 12px;
  color: var(--white); font-size: 14px; font-family: var(--font-body);
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-submit-btn {
  background: linear-gradient(135deg, #FFD060 0%, #F8B014 50%, #d4930e 100%);
  color: #0A0A0F; font-family: var(--font-display);
  font-size: 16px; font-weight: 900; letter-spacing: 0.05em;
  text-transform: uppercase; border: none; border-radius: 12px;
  padding: 14px; cursor: pointer; margin-top: 4px;
}

/* ═══ AUTHOR CARD (reused from main page) ═══ */
.author-section { padding: 26px 20px; background: var(--dark3); }
.author-card {
  background: var(--dark2);
  border: 1px solid rgba(248,176,20,0.18);
  border-radius: 16px; padding: 20px 16px;
}
.author-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: #000;
  flex-shrink: 0; border: 2px solid rgba(248,176,20,0.5);
}
.author-name {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px;
}
.author-role     { font-size: 12px; font-weight: 600; color: var(--gold); margin-bottom: 3px; }
.author-location { font-size: 11px; color: var(--muted); }
.author-bio {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.author-socials { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.author-social-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--dark3); border: 1px solid rgba(248,176,20,0.12);
  border-radius: 10px; padding: 10px 6px; text-decoration: none;
}
.author-social-btn span:last-child { font-size: 10px; font-weight: 600; color: var(--muted); }
.social-icon { font-size: 18px; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 20px 32px; text-align: center;
}
footer .logo-text-footer {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 900; color: var(--gold); opacity: 0.7; margin-bottom: 12px;
}
footer p {
  font-size: 12px; color: rgba(255,255,255,0.5);
  line-height: 1.7; max-width: 340px; margin: 0 auto 10px;
}
footer .footer-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 12px;
}
footer .footer-links a {
  font-size: 12px; color: rgba(248,176,20,0.75); text-decoration: none;
  letter-spacing: 0.03em; padding: 6px 6px;
}
footer .footer-links a:hover { color: var(--gold); }

/* ═══ STICKY BAR ═══ */
.sticky-bar {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: rgba(10,10,15,0.99);
  border-top: 1px solid rgba(248,176,20,0.2);
  padding: 10px 18px 16px; z-index: 200;
}
.sticky-bar a {
  display: block; width: 100%;
  background: linear-gradient(135deg, #FFD060 0%, #F8B014 55%, #d4930e 100%);
  color: #0A0A0F;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; padding: 14px;
  border-radius: 12px; text-align: center;
  box-shadow: 0 4px 20px rgba(248,176,20,0.45);
}

/* CTA mini-button used at bottom of inner pages */
.mini-cta {
  display: block; margin: 26px 20px 6px;
  background: linear-gradient(135deg, #FFD060 0%, #F8B014 50%, #d4930e 100%);
  color: #0A0A0F; text-align: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 900;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; padding: 14px; border-radius: 12px;
}
