/*
Theme Name: Help Bro Scratch Theme
Author: Codex
Version: 1.0.0
Description: Premium mobile-first theme for Help Bro Daily Scratch.
*/

:root {
  --hb-bg: #fff5e8;
  --hb-surface: rgba(255, 255, 255, 0.88);
  --hb-ink: #23140d;
  --hb-muted: #765a4b;
  --hb-brand: #ff6b35;
  --hb-brand-deep: #cc4715;
  --hb-gold: #ffd166;
  --hb-line: rgba(35, 20, 13, 0.08);
  --hb-shadow: 0 24px 70px rgba(91, 42, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hb-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.55), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 107, 53, 0.2), transparent 30%),
    linear-gradient(180deg, #fffaf4 0%, #fff0df 100%);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.wp-site-blocks,
.site-shell {
  min-height: 100vh;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -100px;
  background: rgba(255, 209, 102, 0.35);
  filter: blur(10px);
}

.site-shell::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -120px;
  background: rgba(255, 107, 53, 0.14);
  filter: blur(16px);
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 18px 14px 0;
}

.nav-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hb-line);
  box-shadow: var(--hb-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-token {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--hb-brand), var(--hb-brand-deep));
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  box-shadow: 0 16px 30px rgba(204, 71, 21, 0.22);
}

.brand-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--hb-muted);
  font-size: 12px;
}

.nav-links {
  display: none;
  gap: 10px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--hb-muted);
  font-size: 14px;
}

.nav-links a:hover {
  background: rgba(255, 107, 53, 0.08);
  color: var(--hb-ink);
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hb-brand), var(--hb-brand-deep));
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.site-main {
  padding: 18px 0 26px;
}

.content-shell {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 10px;
}

.site-footer {
  padding: 0 14px 24px;
}

.footer-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 18px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--hb-line);
  box-shadow: var(--hb-shadow);
  display: grid;
  gap: 10px;
}

.footer-shell strong {
  font-size: 15px;
}

.footer-shell p,
.footer-shell span {
  margin: 0;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.6;
}

.entry-content,
.post-content,
.wp-block-post-content {
  margin: 0;
}

.helpbro-app {
  max-width: 100% !important;
}

@media (min-width: 768px) {
  .site-header {
    padding: 24px 20px 0;
  }

  .nav-shell {
    padding: 16px 18px;
  }

  .nav-links {
    display: flex;
  }

  .content-shell {
    padding: 0 16px;
  }

  .site-footer {
    padding: 0 20px 30px;
  }

  .footer-shell {
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
  }
}

