/* =========================================================
   Yummy Toys — Hiring Landing Page
   Palette + tone match assets/brand-flyer.png (kawaii pink/purple)
   ========================================================= */

:root {
  --pink: #ff3d9a;
  --pink-dark: #e3157a;
  --pink-light: #ffd6ea;
  --pink-pastel: #ffe4f2;
  --purple: #a78bfa;
  --purple-dark: #7c5cf0;
  --lavender: #ece3ff;
  --bg: #fdf1f9;
  --bg-alt: #f3ebff;
  --white: #ffffff;
  --ink: #4a2350;
  --ink-soft: #7a5c85;
  --gold: #ffd166;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(180, 60, 140, 0.14);
  --shadow-card: 0 14px 40px rgba(140, 70, 170, 0.12);
  --font-display: 'Baloo 2', 'Quicksand', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #fff5fb 0%, var(--bg) 40%, var(--bg-alt) 100%);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .btn {
  font-family: var(--font-display);
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--pink-dark);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, #ff6fb3 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255, 61, 154, 0.4);
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 12px 28px rgba(255, 61, 154, 0.5); }

.btn-lg {
  font-size: 1.15rem;
  padding: 17px 36px;
}

.btn-nav {
  padding: 10px 22px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--pink) 0%, #ff6fb3 100%);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 61, 154, 0.35);
}

.btn-ghost {
  background: var(--white);
  color: var(--pink-dark);
  border: 2px solid var(--pink-light);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { border-color: var(--pink); }

.btn-live {
  background: linear-gradient(135deg, #ff3d9a 0%, #b03dff 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(176, 61, 255, 0.35);
}

.btn-submit { width: 100%; margin-top: 8px; }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d4d;
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
.dot.small { width: 8px; height: 8px; background: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(255, 77, 77, 0); }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 182, 217, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  height: 38px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pink-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 36px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 214, 234, 0.9) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(167, 139, 250, 0.35) 0%, transparent 45%),
    linear-gradient(180deg, #fff0f8 0%, var(--lavender) 100%);
}
.sparkle {
  position: absolute;
  color: var(--gold);
  font-size: 1.6rem;
  opacity: 0.8;
  animation: twinkle 2.4s ease-in-out infinite;
}
.sparkle.s1 { top: 8%; left: 8%; animation-delay: 0s; color: var(--pink); }
.sparkle.s2 { top: 18%; right: 10%; animation-delay: 0.4s; font-size: 2rem; }
.sparkle.s3 { top: 55%; left: 5%; animation-delay: 0.8s; color: var(--purple); }
.sparkle.s4 { top: 65%; right: 6%; animation-delay: 1.2s; font-size: 1.2rem; color: var(--pink); }
.sparkle.s5 { top: 5%; left: 48%; animation-delay: 1.6s; font-size: 1rem; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.3) rotate(15deg); opacity: 1; }
}

.hero-inner { position: relative; z-index: 1; }

.hero-logo {
  height: 84px;
  width: auto;
  margin: 0 auto 12px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.1rem, 7vw, 3.1rem);
  font-weight: 800;
  color: var(--pink-dark);
  margin: 0 0 8px;
  line-height: 1.1;
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.6);
}

.hero-sub {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  color: var(--ink-soft);
  margin: 0 0 18px;
  font-weight: 600;
}
.hero-sub strong { color: var(--purple-dark); }

.pay-banner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--pink) 0%, #ff6fb3 100%);
  color: var(--white);
  padding: 12px 26px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(255, 61, 154, 0.4);
  margin-bottom: 16px;
}
.pay-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
}
.pay-note {
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.95;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ===== Sections ===== */
.section { padding: 28px 0; }
.section-title {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 700;
  color: var(--pink-dark);
  margin: 0 0 16px;
}
.section-title.center { text-align: center; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 182, 217, 0.4);
}

/* ===== Role (merged about + duties + requirements + pay/growth) ===== */
.role-section { padding-top: 20px; }
.role-card { text-align: center; }
.role-intro {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.role-intro strong { color: var(--pink-dark); }

.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
  margin-bottom: 22px;
}
@media (min-width: 700px) {
  .role-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.role-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin: 0 0 12px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 36px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}
.check-list.compact { gap: 10px; }
.check-list.compact li {
  padding-left: 30px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.check-list.compact li::before {
  width: 20px;
  height: 20px;
  font-size: 0.65rem;
}

.role-growth {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
  background: var(--lavender);
  border-radius: 14px;
  padding: 12px 18px;
  margin: 0;
}
.role-growth strong { color: var(--purple-dark); }

/* ===== Apply form ===== */
.apply-section { padding: 20px 0 56px; }
.apply-header { text-align: center; margin-bottom: 24px; }
.apply-sub { color: var(--ink-soft); font-weight: 600; margin: 0; }

.apply-card { display: grid; gap: 20px; }

.video-required-banner {
  margin: 0;
  padding: 14px 18px;
  background: var(--pink-dark);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.form-row { display: grid; gap: 8px; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) {
  .form-row-split { grid-template-columns: 1fr 1fr; }
}
.form-field { display: grid; gap: 8px; }

label, legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0;
}
.req { color: var(--pink); }
.optional { color: var(--ink-soft); font-weight: 500; font-size: 0.85rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 2px solid var(--pink-light);
  border-radius: 14px;
  background: #fffafd;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
input:focus, textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 61, 154, 0.15);
}
textarea { resize: vertical; min-height: 100px; }

.form-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
.radio-group {
  display: flex;
  gap: 10px;
}
.radio-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 2px solid var(--pink-light);
  border-radius: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fffafd;
}
.radio-pill:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-pastel);
  color: var(--pink-dark);
}
.radio-pill input { accent-color: var(--pink); width: 16px; height: 16px; }

.availability-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.availability-day-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fffafd;
  border: 2px solid var(--pink-light);
  border-radius: 16px;
  padding: 14px;
}
.availability-day-name {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--pink-dark);
}
.availability-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.time-pill {
  position: relative;
  flex: 1 1 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
  border: 2px solid var(--pink-light);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: #fffafd;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.time-pill input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.time-pill:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.time-pill:has(input:focus-visible) {
  outline: 3px solid var(--purple-dark);
  outline-offset: 2px;
}

@media (min-width: 560px) {
  .availability-day-row {
    flex-direction: row;
    align-items: center;
  }
  .availability-day-name {
    flex: 0 0 92px;
  }
  .availability-times {
    flex: 1;
    flex-wrap: nowrap;
  }
}

.upload-intro,
.video-intro {
  background: var(--lavender);
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed var(--purple);
}
.field-hint {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple-dark);
}
.video-intro input[type="url"] { margin-top: 12px; }
.video-required-note {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--pink-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.file-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

/* Uploadcare classic widget — light theming to fit the kawaii palette */
.uploadcare--widget {
  width: 100%;
}
.uploadcare--widget__button {
  background: linear-gradient(135deg, var(--pink) 0%, #ff6fb3 100%) !important;
  border: none !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-pill) !important;
  padding: 12px 22px !important;
  box-shadow: 0 6px 16px rgba(255, 61, 154, 0.3);
}
.uploadcare--widget__text {
  color: var(--ink-soft) !important;
  font-family: var(--font-body) !important;
}

.form-status {
  border-radius: 14px;
  padding: 0;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
}
.form-status.success {
  padding: 16px;
  background: #e3fbe9;
  color: #1a7d3a;
  border: 1px solid #a9edb9;
}
.form-status.error {
  padding: 16px;
  background: #ffe8ec;
  color: #c2255c;
  border: 1px solid #ffb3c1;
}
.form-status.loading {
  padding: 16px;
  background: var(--lavender);
  color: var(--purple-dark);
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(135deg, #ffe0f0 0%, var(--lavender) 100%);
  padding: 36px 0 48px;
  text-align: center;
  border-top: 1px solid rgba(255, 182, 217, 0.5);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  height: 46px;
  width: auto;
}
.footer-inner p {
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0;
}

/* ===== Thank-you page ===== */
.thank-you-hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}
.back-home-link {
  margin: 26px 0 0;
}
.back-home-link a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}
.back-home-link a:hover { color: var(--pink-dark); }

/* ===== Responsive tweaks ===== */
@media (max-width: 480px) {
  .card { padding: 24px 20px; }
  .radio-group { flex-direction: column; }
  .hero { padding: 24px 0 28px; }
  .thank-you-hero { min-height: auto; }

  /* CTAs: full-width, comfortably large, and never force horizontal scroll
     from long labels (e.g. "Watch us live on TikTok → @yummytoyslive"). */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; white-space: normal; }

  /* Header: hide the wordmark on very narrow phones so the logo + nav CTA
     (e.g. the longer "Back to home" on the thank-you page) never wrap. */
  .brand-name { display: none; }
  .btn-nav { padding: 13px 18px; font-size: 0.88rem; }

  /* Upload buttons: large, obvious, full-width tap targets on mobile.
     Width-only (no display override) so Uploadcare's own show/hide rules
     for Cancel/Remove (keyed off widget status classes) keep working. */
  .uploadcare--widget__button {
    width: 100% !important;
    padding: 16px 22px !important;
    font-size: 1.05rem !important;
  }
}
