/* PicBites website — big, high-contrast, phone-first. */
:root {
  --bg: #000000;
  --card: #141414;
  --border: #3a3a3a;
  --text: #ffffff;
  --sub: #d6d6d6;
  --pink: #ff2d95;
  --pink2: #ff8ac6;
  --green: #5cf2a0;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { font-size: 112.5%; } /* 18px base; respects browser text size */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--pink2); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--pink2); outline-offset: 3px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(0,0,0,.92); z-index: 10; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { font-weight: 900; font-size: 1.6rem; color: var(--text); text-decoration: none; letter-spacing: -.5px; }
.logo span { color: var(--pink); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
nav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
@media (max-width: 640px) { nav { gap: 8px 14px; } nav a { font-size: 1rem; } header.site { position: static; } }
nav a.cta { background: var(--pink); color: #000; padding: 8px 16px; border-radius: 999px; }

/* Type */
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -1px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 1.3rem; margin: 0 0 8px; }
p.lead { font-size: 1.3rem; color: var(--sub); max-width: 46ch; }
.pink { color: var(--pink); }
section { padding: 56px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: 0; }

/* Buttons */
.btn { display: inline-block; background: var(--pink); color: #000; font-weight: 800; font-size: 1.15rem; padding: 16px 28px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; }
.btn.outline { background: transparent; color: var(--text); border: 2px solid var(--text); }
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* Cards / grids */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.card .big { font-size: 2.2rem; font-weight: 900; color: var(--pink); line-height: 1.1; }
.card .big small { font-size: 1rem; color: var(--sub); font-weight: 600; }
.card.featured { border: 2px solid var(--pink); }
.tag { display: inline-block; background: var(--pink); color: #000; font-weight: 800; font-size: .85rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
ul.checks { list-style: none; padding: 0; margin: 12px 0 0; }
ul.checks li { padding-left: 30px; position: relative; margin: 8px 0; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* Steps with arrows */
.steps { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.step { flex: 1 1 160px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; text-align: center; font-weight: 700; }
.step b { display: block; color: var(--pink); font-size: 1.8rem; }
.arrow { align-self: center; color: var(--pink); font-size: 2rem; font-weight: 900; }
@media (max-width: 640px) { .arrow { transform: rotate(90deg); width: 100%; text-align: center; } }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--sub); font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; }
td strong { color: var(--pink); }

/* Forms */
form .row { margin-bottom: 20px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 1.05rem; }
.hint { color: var(--sub); font-size: .95rem; margin: 4px 0 0; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], select, textarea {
  width: 100%; font-size: 1.1rem; padding: 14px; background: #0b0b0b; color: var(--text);
  border: 2px solid var(--border); border-radius: 12px;
}
input[type=file] { font-size: 1rem; color: var(--sub); width: 100%; padding: 12px; background: #0b0b0b; border: 2px dashed var(--border); border-radius: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check input { width: 26px; height: 26px; flex: none; accent-color: var(--pink); margin-top: 2px; }
.two { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.notice { border-radius: 14px; padding: 18px; margin: 18px 0; font-weight: 700; }
.notice.ok { background: #0d2b1b; border: 2px solid var(--green); }
.notice.err { background: #2b0d18; border: 2px solid var(--pink); }
.req { color: var(--pink); }

footer.site { border-top: 1px solid var(--border); padding: 32px 0; color: var(--sub); font-size: .95rem; }
footer.site a { color: var(--sub); margin-right: 18px; }

/* ---------- Jazz: scrolling banners, pop-ups, animated cards ---------- */
.ticker { overflow: hidden; background: var(--pink); color: #000; font-weight: 900; font-size: 1.25rem; letter-spacing: .5px; white-space: nowrap; border-bottom: 2px solid #000; }
.ticker.alt { background: #000; color: var(--pink); border-top: 2px solid var(--pink); border-bottom: 2px solid var(--pink); }
.ticker .track { display: inline-flex; gap: 36px; padding: 12px 0; animation: scroll 28s linear infinite; }
.ticker.alt .track { animation-direction: reverse; animation-duration: 34s; }
.ticker .track span::after { content: "★"; margin-left: 36px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.glow { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(255,45,149,.0); } 50% { box-shadow: 0 0 28px 4px rgba(255,45,149,.55); } }
.pop-num { display: inline-block; animation: popnum 2.4s ease-in-out infinite; }
@keyframes popnum { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.reveal { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.burst { display: inline-block; background: var(--green); color: #000; font-weight: 900; padding: 6px 14px; border-radius: 999px; transform: rotate(-4deg); margin-bottom: 14px; animation: wiggle 3s ease-in-out infinite; }
@keyframes wiggle { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(3deg) scale(1.06); } }

.toast { position: fixed; right: 16px; bottom: 16px; max-width: min(360px, calc(100% - 32px)); background: #111; color: #fff; border: 2px solid var(--pink); border-radius: 16px; padding: 16px 44px 16px 18px; font-weight: 800; font-size: 1.1rem; box-shadow: 0 10px 30px rgba(0,0,0,.6); transform: translateY(140%); transition: transform .5s cubic-bezier(.2,1.4,.4,1); z-index: 50; }
.toast.show { transform: none; }
.toast .x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.toast .em { color: var(--pink); }

@media (prefers-reduced-motion: reduce) {
  .ticker .track, .glow, .pop-num, .burst { animation: none; }
  .ticker { white-space: normal; } .ticker .track { flex-wrap: wrap; justify-content: center; padding: 12px; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .toast { transition: none; }
}
