/*
Theme Name: Bingo Bango Bongo
Theme URI: https://cornerstoneideas.com/
Author: Cornerstone Ideas Inc.
Author URI: https://cornerstoneideas.com/
Description: Custom marketing + support theme for the Bingo Bango Bongo + Bonus golf side-game app. Deep fairway-green and gold design matching the app. Includes landing page, support, privacy policy, and terms templates.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bingo-bango-bongo
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand palette — sampled from the app icon & screenshots */
  --green-900: #071a10;   /* deepest background */
  --green-800: #0a1f14;   /* page background */
  --green-700: #0d2818;   /* sections */
  --green-600: #0f3323;   /* elevated cards */
  --green-500: #123c29;   /* mid green */
  --green-line: #1c4a33;  /* borders on dark */

  --gold:        #d9b45a; /* primary gold */
  --gold-bright: #f0d98a; /* gradient top / hover */
  --gold-deep:   #b8862f; /* gradient bottom */

  --accent:      #4caf7d; /* "Bonus" green accent */
  --accent-soft: #6fce9c;

  --cream:   #f4ead0;     /* headings on dark */
  --cream-2: #efe4c6;
  --text:    #dce6dc;     /* body text on dark */
  --muted:   #9fb0a2;     /* secondary text */
  --muted-2: #7f9184;

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --shadow-gold: 0 10px 30px rgba(184,134,47,.28);

  --gold-gradient: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--green-800);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-bright); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--cream); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
p { margin: 0 0 1.1em; }
strong { color: var(--cream-2); }
::selection { background: var(--gold); color: var(--green-900); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; }
.text-center .lead { margin-left: auto; margin-right: auto; }
.accent { color: var(--accent); }
.gold { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold-gradient); color: var(--green-900);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { color: var(--green-900); box-shadow: 0 14px 38px rgba(184,134,47,.42); }
.btn-ghost {
  background: transparent; color: var(--cream);
  border-color: var(--green-line);
}
.btn-ghost:hover { color: var(--cream); border-color: var(--gold); }

/* ============================================================
   STORE BADGES
   ============================================================ */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.text-center .store-badges { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff;
  border: 1px solid #2a2a2a; border-radius: 12px;
  padding: 10px 18px; min-width: 180px;
  transition: transform .18s ease, border-color .2s ease;
}
.store-badge:hover { transform: translateY(-2px); border-color: var(--gold); color: #fff; }
.store-badge svg { flex: none; width: 26px; height: 26px; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge .sb-small { font-size: .62rem; letter-spacing: .04em; opacity: .85; }
.store-badge .sb-big { font-size: 1.16rem; font-weight: 600; font-family: var(--font-body); }
.store-badge--soon { opacity: .55; cursor: default; }
.store-badge--soon:hover { transform: none; border-color: #2a2a2a; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,26,16,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--green-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.brand .brand-name .b1 { color: var(--gold); }
.brand .brand-name .b2 { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--text); font-size: .98rem; font-family: var(--font-body); font-weight: 500; }
.main-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(76,175,125,.14), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(217,180,90,.12), transparent 55%),
    var(--green-800);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-icon { width: 92px; height: 92px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 26px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .line-gold { color: var(--gold); }
.hero h1 .line-accent { color: var(--accent); }
.hero .lead { font-size: 1.28rem; color: var(--cream-2); margin-bottom: 14px; }
.hero .subtle { color: var(--muted); font-size: 1.02rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-direction: column; gap: 20px; }

/* Phone mockup */
.phone-frame {
  position: relative; width: 300px; max-width: 78%; margin: 0 auto;
  border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #1c1c1c, #000);
  box-shadow: var(--shadow), 0 0 0 1px rgba(217,180,90,.18);
}
.phone-frame img { border-radius: 32px; width: 100%; }
.phone-frame::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 44%; height: 8px; background: #000; border-radius: 999px; z-index: 2;
}
.hero-phones { position: relative; display: flex; justify-content: center; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--green-600), var(--green-700));
  border: 1px solid var(--green-line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217,180,90,.4); }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; background: rgba(217,180,90,.12);
  color: var(--gold); border: 1px solid rgba(217,180,90,.25);
}
.card .card-icon svg { width: 26px; height: 26px; }
.card h3 { color: var(--cream); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ============================================================
   HOW TO PLAY (point rows)
   ============================================================ */
.points { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.point-row {
  display: flex; align-items: center; gap: 22px;
  background: var(--green-700); border: 1px solid var(--green-line);
  border-radius: var(--radius); padding: 22px 26px;
}
.point-badge {
  flex: none; width: 74px; height: 74px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: var(--gold-gradient); color: var(--green-900);
  text-align: center; line-height: 1;
}
.point-row.is-bonus .point-badge { background: linear-gradient(180deg, var(--accent-soft), var(--accent)); }
.point-row h3 { margin: 0 0 4px; font-size: 1.3rem; }
.point-row p { margin: 0; color: var(--muted); }

/* ============================================================
   SCREENSHOT STRIP
   ============================================================ */
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--green-line); border-radius: 999px; }
.shots .shot {
  flex: none; width: 240px; scroll-snap-align: center;
  border-radius: 26px; overflow: hidden; border: 1px solid var(--green-line);
  box-shadow: var(--shadow);
}

/* ============================================================
   PRIVACY BANNER
   ============================================================ */
.privacy-band {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(76,175,125,.12), transparent 60%),
    var(--green-700);
  border-top: 1px solid var(--green-line); border-bottom: 1px solid var(--green-line);
}
.privacy-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.privacy-item { display: flex; gap: 12px; align-items: flex-start; }
.privacy-item svg { flex: none; width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.privacy-item strong { display: block; color: var(--cream); margin-bottom: 2px; }
.privacy-item span { color: var(--muted); font-size: .96rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { text-align: center; }
.cta-band .cta-inner {
  background: var(--gold-gradient); color: var(--green-900);
  border-radius: var(--radius-lg); padding: 56px 32px; box-shadow: var(--shadow-gold);
}
.cta-band h2 { color: var(--green-900); }
.cta-band p { color: rgba(7,26,16,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto 26px; }
.cta-band .store-badge { border-color: rgba(0,0,0,.3); }

/* ============================================================
   CONTENT PAGES (support / privacy / terms)
   ============================================================ */
.page-hero { padding: 72px 0 40px; background: var(--green-700); border-bottom: 1px solid var(--green-line); }
.page-hero h1 { margin: 0; }
.page-hero p { color: var(--muted); margin: 12px 0 0; }
.prose { padding: 56px 0 80px; }
.prose h2 { margin-top: 2em; font-size: 1.7rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; color: var(--cream); }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--green-line); margin: 2.4em 0; }
.legal-note {
  background: rgba(217,180,90,.08); border: 1px solid rgba(217,180,90,.3);
  border-radius: var(--radius); padding: 18px 22px; margin: 0 0 32px;
  color: var(--cream-2); font-size: .95rem;
}
.updated { color: var(--muted-2); font-size: .9rem; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--green-line); border-radius: var(--radius);
  background: var(--green-700); margin-bottom: 14px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--cream);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p { margin: 0 0 .8em; }

/* Contact card */
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(180deg, var(--green-600), var(--green-700));
  border: 1px solid var(--green-line); border-radius: var(--radius-lg);
  padding: 34px; margin-top: 40px;
}
.contact-card h3 { margin: 0 0 6px; }
.contact-card p { margin: 0; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-900); border-top: 1px solid var(--green-line); padding: 54px 0 34px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .95rem; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--gold); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text); font-size: .95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--green-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--muted-2); font-size: .88rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phones { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .privacy-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .main-nav { position: fixed; inset: 70px 0 auto 0; background: var(--green-900); border-bottom: 1px solid var(--green-line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; transform: translateY(-140%); transition: transform .28s ease; }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-top: 1px solid var(--green-line); }
  .main-nav li:first-child { border-top: 0; }
  .main-nav a { display: block; padding: 15px 24px; }
  .main-nav .btn { margin: 12px 24px; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .point-row { flex-direction: row; padding: 18px; gap: 16px; }
  .point-badge { width: 60px; height: 60px; font-size: .9rem; }
  .cta-band .cta-inner { padding: 40px 22px; }
  .contact-card { flex-direction: column; align-items: flex-start; }
}
