/* Small additions on top of the page's inline styles. */

/* Honeypot field: hidden from people, visible to bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.reserve-status { margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 700; color: #C9D2DE; }
.reserve-status[data-kind="error"] { color: #ec4a99; }

.reserve-done-title { margin: 0; font-family: 'Bricolage Grotesque', Arial, sans-serif; font-size: 40px; font-weight: 800; color: #FFFFFF; }
.reserve-done-text { margin: 0; font-size: 18px; line-height: 1.55; color: #C9D2DE; }

#reserve-form input:focus-visible,
#reserve-form select:focus-visible,
#reserve-form button:focus-visible { outline: 3px solid #4ab7e4; outline-offset: 2px; }

#reserve-form button[disabled] { opacity: 0.6; cursor: wait; }


/* Pricing: 5 plans in one row on desktop, reflowing on smaller screens. */
.pricing-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-top: 10px; }
.pricing-grid > div > p[style*="font-size: 48px"] { font-size: clamp(36px, 3.3vw, 48px) !important; white-space: nowrap; }
/* Best value: lifted, outlined in brand blue with a soft glow, larger price. */
.pricing-best { position: relative; box-shadow: 0 0 0 2px #4ab7e4, 0 18px 44px rgba(74, 183, 228, 0.35); }
.pricing-grid > .pricing-best > p[style*="font-size: 48px"] { font-size: clamp(40px, 3.7vw, 54px) !important; }
.pricing-best > p:first-child { font-size: 14px !important; padding: 5px 14px !important; }
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-grid > div > p[style*="font-size: 48px"] { font-size: 44px !important; }
  .pricing-grid > .pricing-best > p[style*="font-size: 48px"] { font-size: 48px !important; }
}
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-best { grid-column: 1 / -1; transform: none; }
}
@media (max-width: 340px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Pricing cards: content centered both ways, taller boxes, prices on one line. */
.pricing-grid { padding-top: 30px !important; }
.pricing-grid > div { min-height: 250px; justify-content: center; align-items: center; text-align: center; padding: 32px 20px !important; gap: 10px !important; }
/* "Best value" badge sits on the card's top edge, so it doesn't push the content down. */
.pricing-best > p:first-child { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); align-self: auto !important; white-space: nowrap; }
/* Section intros: big heading on the left, smaller text on the right. */
.split-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.split-intro-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.split-intro-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; padding-bottom: 8px; }
.split-intro-side > p { max-width: 520px; }
@media (max-width: 900px) {
  .split-intro { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .split-intro-side { padding-bottom: 0; }
}
/* FAQ: full page width, questions in two columns on desktop. */
#faq > div { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
#faq > div > h2 { grid-column: 1 / -1; }
/* An odd last question spans both columns instead of sitting alone. */
#faq > div > div:last-child:nth-child(even) { grid-column: 1 / -1; }
@media (max-width: 900px) { #faq > div { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Mobile (phones & small tablets) ---------- */
@media (max-width: 760px) {
  /* Header: logo only on phones; section links are reachable by scrolling. */
  header nav a:not([data-cta]) { display: none !important; }
  header img[alt="Castify Go"] { height: 40px !important; }
  header > div { padding: 16px 20px !important; flex-wrap: nowrap !important; }
  /* Section rhythm */
  section [style*="padding: 110px 24px"] { padding: 64px 20px !important; }
  section [style*="padding: 72px 24px 110px"] { padding: 48px 20px 64px !important; }
  section [style*="padding: 80px 24px 110px"] { padding: 32px 20px 64px !important; }
  #why [style*="margin-bottom: 14px; padding: 24px 32px"] { margin-bottom: 0 !important; padding: 20px !important; }
  section [style*="gap: 48px"], section [style*="gap: 56px"] { gap: 32px !important; }
  /* Big headings */
  [style*="font-size: 72px"] { font-size: 46px !important; letter-spacing: -1.5px !important; line-height: 1 !important; }
  [style*="font-size: 64px"] { font-size: 42px !important; letter-spacing: -1.5px !important; line-height: 1.02 !important; }
  [style*="font-size: 48px"] { font-size: 36px !important; }
  [style*="font-size: 30px"] { font-size: 25px !important; }
  /* Cards: a bit less inner padding */
  [style*="border-radius: 28px; padding: 36px"] { padding: 26px 22px !important; }
  #reserve-form { padding: 26px 20px !important; }
  /* Hero */
  #hero-player { padding-top: 0 !important; }
  #hero-player > div { aspect-ratio: auto !important; margin-top: 0 !important; padding: 12px !important; border-radius: 18px !important; gap: 10px !important; }
  #hero-player > div > div:nth-child(2) { flex: none !important; aspect-ratio: 16 / 9; padding: 10px !important; border-radius: 12px !important; }
  #hero-player > div > div:first-child p { font-size: 16px !important; }
  #hero-player .hero-app-nav { display: none !important; }
  #hero-player .hero-app-card { padding: 10px 12px !important; gap: 6px !important; border-radius: 10px !important; }
  #hero-player .hero-app-card > span:first-child { font-size: 10px !important; }
  #hero-player .hero-app-card > p { font-size: 18px !important; }
  #hero-player .hero-app-card > span:last-child { padding: 5px 14px !important; font-size: 12px !important; }
  #hero-player [data-hero-thumbs] { gap: 6px !important; }
  #hero-player .hero-thumb img { border-radius: 7px !important; }
  #hero-player .hero-thumb-caption { font-size: 9px !important; margin-top: 4px !important; }
  #hero-player .hero-popular { font-size: 12px !important; }
  /* Platform logos: tidy 3-column grid, scaled down */
  section[aria-label="Platforms"] > div { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 14px !important; padding: 36px 20px 12px !important; justify-items: center; }
  section[aria-label="Platforms"] img { max-width: 100%; object-fit: contain; }
  section[aria-label="Platforms"] img[alt="Roku"] { height: 20px !important; }
  section[aria-label="Platforms"] img[alt="Fire TV"] { height: 24px !important; }
  section[aria-label="Platforms"] img[alt="Android TV"] { height: 18px !important; }
  section[aria-label="Platforms"] img[alt="Apple TV"] { height: 22px !important; }
  section[aria-label="Platforms"] img[alt="Samsung Tizen"] { height: 23px !important; }
  section[aria-label="Platforms"] img[alt="LG webOS"] { height: 21px !important; }
  /* Content types: small chips with a colored dot, no loose separators */
  section[aria-label="Content types"] > div { gap: 8px !important; padding: 24px 20px 8px !important; }
  section[aria-label="Content types"] > div > div[aria-hidden="true"] { display: none !important; }
  section[aria-label="Content types"] > div > p { font-size: 15px !important; font-weight: 700 !important; padding: 7px 13px 7px 11px; border-radius: 999px; background: #131924; border: 1px solid #1F2835; display: inline-flex; align-items: center; gap: 7px; line-height: 1; }
  section[aria-label="Content types"] > div > p::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ec4a99; flex: none; }
  section[aria-label="Content types"] > div > p:nth-of-type(2)::before { background: #68be63; }
  section[aria-label="Content types"] > div > p:nth-of-type(3)::before { background: #4ab7e4; }
  section[aria-label="Content types"] > div > p:nth-of-type(4)::before { background: #5668b0; }
  section[aria-label="Content types"] > div > p:nth-of-type(5)::before { background: #eb2227; }
  section[aria-label="Content types"] > div > p:nth-of-type(6)::before { background: #fcd900; }
  section[aria-label="Content types"] > div > p:nth-of-type(7)::before { background: #4ab7e4; }
  /* Built by Castify card: calmer on phones */
  #why [style*="margin-bottom: 14px; padding: 24px 32px"] p { font-size: 15px !important; line-height: 1.5; }
  /* Footer: centered stack */
  footer > div { flex-direction: column !important; justify-content: center !important; text-align: center; padding: 32px 20px !important; }
  footer > div > div { align-items: center !important; text-align: center !important; }
  footer > div > div > p { justify-content: center; }
  /* Pricing: 2 compact columns, best value full width */
  .pricing-grid { gap: 12px !important; }
  .pricing-grid > div { min-height: 0 !important; padding: 22px 10px !important; gap: 6px !important; }
  .pricing-grid > div > p[style*="font-size: 48px"] { font-size: 32px !important; }
  .pricing-grid > .pricing-best { padding-top: 28px !important; }
  .pricing-grid > .pricing-best > p[style*="font-size: 48px"] { font-size: 40px !important; }
}

/* Small phones: thumb captions would be cut off, so the row shows images only. */
@media (max-width: 480px) {
  #hero-player .hero-thumb-caption { display: none !important; }
}
