/* ----------------------------
   Hotshot Ads ， Neat & Clean Theme
   Logic-free: CSS only
----------------------------- */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&family=Oswald:wght@500;700&display=swap');

:root{
  /* Brand */
  --ink:#0f172a;
  --muted:#667085;
  --bg:#f7f8fc;
  --card:#ffffff;
  --line:#e6e9f2;

  /* Accents */
  --primary:#220B51;    /* deep purple */
  --primary-2:#6b46c1;  /* violet */
  --accent:#ffd54a;     /* warm gold */
  --accent-2:#ef4444;   /* red */

  /* Effects */
  --ring: rgba(107,70,193,.25);
  --shadow: 0 14px 28px rgba(2,6,23,.08);
}

*{box-sizing:border-box}
html,body{
  margin:0; padding:0;
  background:var(--bg); color:var(--ink);
  font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;
}

/* Links */
a{color:var(--primary-2);text-decoration:none}
a:hover{text-decoration:underline}

/* Layout */
.container{max-width:1200px;margin:0 auto;padding:24px 16px}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:24px;
}

/* ===================== Topbar ===================== */
.topbar{
  position: sticky; top: 0; z-index: 2000;
  background: linear-gradient(135deg, #ffffff 0%, #fafaff 60%, #ffffff 100%);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(140%) blur(4px);
}
.topbar .inner{
  max-width:1200px; margin:0 auto;
  padding:12px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.brand-link{
  display:flex; align-items:center; gap:10px;
  color:#0b1220; font-weight:900; font-size:20px; letter-spacing:.2px;
}
.brand-badge{
  width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  box-shadow:0 8px 22px rgba(107,70,193,.35);
}

/* Main nav: visible by default on all sizes */
.main-nav{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
}
.main-nav a{
  margin:0; padding:8px 12px; border-radius:12px;
  color:#0b1220; font-weight:700;
}
.main-nav a:hover{ background:#f2f3ff; }
.main-nav a.cta{
  background:var(--primary-2); color:#fff;
}
.main-nav a.cta:hover{ filter:brightness(.95); text-decoration:none; }

/* Optional mobile niceties (no hiding) */
.menu-toggle{display:none}
@media (max-width:900px){
  .topbar .inner{flex-wrap:wrap}
  .topbar .stack{display:flex;flex-direction:column;align-items:flex-start;width:100%}
  .main-nav{
    width:100%;
    justify-content:flex-start;
    background:#fff;
    border:1px solid var(--line);
    padding:10px;
    border-radius:12px;
    margin-top:6px;
  }
}

/* ===================== Buttons ===================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--primary-2);color:#fff;padding:12px 16px;border:none;border-radius:14px;
  cursor:pointer;font-weight:800;box-shadow:0 10px 24px rgba(107,70,193,.2);
  transition:transform .06s ease, box-shadow .2s ease, filter .2s ease;
  text-decoration:none;
}
.btn:hover{transform:translateY(-1px);filter:brightness(.95)}
.btn.red{background:var(--accent-2); color:#fff}
.btn.yellow{background:var(--accent); color:#fff} /* updated: white text */

/* Inputs */
label{display:block;font-weight:800;margin:10px 0 6px}
input,select,textarea{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:15px
}
input:focus,select:focus,textarea:focus{outline:3px solid var(--ring);border-color:var(--primary-2)}

/* Badges, helpers */
.badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#f5f3ff;color:#2e1065;font-weight:800;font-size:12px}
.muted{color:var(--muted)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media (max-width:900px){ .row{grid-template-columns:1fr} }

/* Table */
.table{width:100%;border-collapse:separate;border-spacing:0 8px}
.table th{
  text-align:left;padding:10px 12px;color:var(--muted);
  text-transform:uppercase;font-size:12px;letter-spacing:.06em
}
.table td{
  background:#fff;padding:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)
}
.table tr td:first-child,.table tr th:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}
.table tr td:last-child,.table tr th:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}

/* Hero (optional block on home) */
.hero{
  border-radius:24px;border:1px solid var(--line);padding:28px;box-shadow:var(--shadow);
  background:
    radial-gradient(800px 340px at 20% -120px, rgba(107,70,193,.12), transparent 60%),
    radial-gradient(800px 340px at 80% -140px, rgba(255,213,74,.20), transparent 65%),
    linear-gradient(135deg,#ffffff 0%, #fbfbff 60%, #ffffff 100%);
}
.hero .badge{background:rgba(107,70,193,.12);border:1px solid rgba(107,70,193,.25)}
.hero h1{font-family:Oswald,Inter,system-ui,sans-serif;font-size:44px;line-height:1.08;margin:6px 0 10px}
.hero .sub{color:var(--muted);font-size:18px;margin:0 0 16px}
.hero .cta{display:flex;gap:10px;flex-wrap:wrap}

/* ===================== Ad Viewer Bar (screenshot style) ===================== */
/* Sticky top bar with red rules and compact controls */
.viewer-bar{
  position:sticky; top:0; z-index:40;
  background:#ffffff;
  border-top:3px solid #b91c1c;      /* deep red top rule */
  border-bottom:3px solid #b91c1c;   /* deep red bottom rule */
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:8px 12px;
  font: 13px/1.15 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* bar sections share consistent spacing */
.viewer-bar > div{display:flex; align-items:center; gap:10px; flex-wrap:wrap}

/* Left: headline styled like the image (dark red underline) */
.viewer-title{
  font-weight:800;
  color:#8b0000;
  text-decoration:underline;
  text-underline-offset:2px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  max-width:min(42vw, 620px);
}

/* Middle controls: chip-like buttons matching screenshot */
.viewer-bar .btn{
  --red:#991b1b; --gold:#b45309;
  border:1px solid var(--red);
  background:#fff; color:var(--red);      /* default chip look */
  padding:6px 10px; border-radius:7px;
  font-weight:800; box-shadow:none;
}
.viewer-bar .btn:hover{filter:brightness(0.92); transform:none}
.viewer-bar .btn.red{background:var(--red); color:#fff; border-color:var(--red)}
.viewer-bar .btn.yellow{border-color:var(--gold); color:var(--gold); background:#fff}
.viewer-bar .btn.yellow:hover{background:#fff7ed}

/* thin separators like the screenshot */
.sep{width:1px; height:18px; background:#e5e7eb; margin:0 2px}

/* Right: badge + countdown pill + action button */
.viewer-bar .badge{
  background:#fee2e2; color:#991b1b;
  padding:3px 6px; border-radius:4px; font-weight:800
}
#count{
  background:#991b1b; color:#fff;
  padding:4px 8px; border-radius:7px; font-weight:900; letter-spacing:.2px
}
#verify{
  border:1px solid #15803d !important;
  background:#fff !important; color:#15803d !important;
  padding:6px 10px; border-radius:7px; font-weight:800;
}
#verify[disabled]{opacity:.6; cursor:not-allowed}

/* Flash message under bar (color-tuned) */
.flash{position:sticky;top:48px;z-index:35;margin:0;padding:10px 14px;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;display:none}
.flash.ok{background:#ecfdf5;color:#065f46;border-color:#bbf7d0}
.flash.err{background:#fef2f2;color:#991b1b;border-color:#fecaca}

@media (max-width:640px){
  .viewer-title{max-width:56vw}
  .flash{top:50px}
}

/* Side-by-side pitch + image */
.value-and-art{
  display:grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap:24px;
  align-items:center;
}

/* Make the image look nice and contained */
.value-and-art .feature-figure{
  margin:0;
  text-align:center;
}
.value-and-art .feature-figure img{
  max-width:100%;
  height:auto;
  border-radius:16px;
  box-shadow: var(--shadow);
  border:1px solid var(--line);
}

/* Mobile: stack nicely */
@media (max-width: 900px){
  .value-and-art{
    grid-template-columns:1fr;
    gap:16px;
  }
  /* Keep pitch first, image second on mobile */
}

/* Remove the "box" from the image in the side-by-side section */
.value-and-art .feature-figure img{
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* (Optional) if the figure itself picked up any card styling somewhere */
.value-and-art .feature-figure{
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* HOW IT WORKS — 3 card blocks */
.how-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:8px;
}
@media (max-width: 900px){
  .how-grid{ grid-template-columns:1fr; }
}
.how-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  box-shadow:var(--shadow);
}
.how-head{
  display:flex; align-items:center; gap:10px;
  font-weight:900; margin-bottom:8px; color:var(--ink);
}
.how-head .num{
  width:32px; height:32px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:900; font-size:14px; color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  box-shadow:0 6px 16px rgba(107,70,193,.25);
}
.how-foot{ margin-top:12px; }

/* Footer */
.site-footer{padding:28px 16px;text-align:center;color:var(--muted)}

.footer-banner{
  display:flex; justify-content:center; align-items:center;
  padding:14px 0; margin:6px 0 10px;
  border-top:1px solid var(--line); background:#fff;
}
.footer-banner img{
  width:468px; height:60px; max-width:100%; height:auto; /* stays responsive on mobile */
}
