body { margin: 0; padding: 0; }
* { box-sizing: border-box; }

/* Palette
   Background  : #eef4ff  (icy blue-white)
   Surface     : #ffffff
   Hero        : #070d1f → #0d2460 → #1a4baa → #b8831a (midnight navy to gold)
   Primary     : #1a4baa  (royal blue)
   Bright blue : #2563eb
   Gold        : #c8921a  (warm marquee gold)
   Gold light  : #fbbf24
   Teal        : #0891b2  (screen-glow)
   Text main   : #0c1833
   Text muted  : #4a6080
*/

body {
  background: #eef4ff;
  color: #0c1833;
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  /* NOTE: overflow-x: hidden intentionally omitted on body.
     On iOS Safari, body overflow:hidden causes click events to silently drop
     on <a> elements inside position:absolute children (e.g. the hamburger
     dropdown nav).  Horizontal scroll is prevented instead by explicit mobile
     grid column overrides in the @media (max-width: 600px) block below. */
}

/* ── Nav ─────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,244,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,75,170,0.12);
  box-shadow: 0 1px 12px rgba(26,75,170,0.07);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem; color: #0c1833; text-decoration: none;
}
.lh {
  display: inline-block;
  transform: scaleX(0.50); margin: 0 -0.14em; font-size: 1.18em; line-height: 1;
  -webkit-text-stroke: 1.3px #1d4ed8; paint-order: stroke fill;
}
.wc { display: inline-block; }
.kv-hi { -webkit-text-stroke: 1.3px #1d4ed8; paint-order: stroke fill; }
.logo-sparkle-wrap { position: relative; display: inline-block; }
.sp {
  position: absolute; font-size: 7px; line-height: 1;
  pointer-events: none; animation: sp-blink 2s ease-in-out infinite;
}
.sp1  { top:-6px;  left:4%;   color:#d97706; animation-delay:0s;   }
.sp2  { top:-7px;  left:25%;  color:#1d4ed8; animation-delay:.5s;  }
.sp3  { top:-5px;  left:52%;  color:#d97706; animation-delay:1s;   }
.sp4  { top:-6px;  left:76%;  color:#1d4ed8; animation-delay:.3s;  }
.sp5  { top:-5px;  right:3%;  color:#d97706; animation-delay:.7s;  }
.sp6  { bottom:-6px; left:12%; color:#1d4ed8; animation-delay:.15s;}
.sp7  { bottom:-7px; left:38%; color:#d97706; animation-delay:.6s; }
.sp8  { bottom:-5px; left:63%; color:#1d4ed8; animation-delay:.9s; }
.sp9  { bottom:-6px; right:7%; color:#d97706; animation-delay:.4s; }
.sp10 { bottom:-5px; left:86%; color:#1d4ed8; animation-delay:1.2s;}
@keyframes sp-blink {
  0%,100% { opacity:.15; transform:scale(.6); }
  50%     { opacity:1;   transform:scale(1.4); }
}
.logo-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: linear-gradient(135deg, #1a4baa, #c8921a);
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  box-shadow: 0 4px 14px rgba(26,75,170,0.38);
  transform: rotate(-14deg);
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 6px 13px; border-radius: 7px; font-size: 0.82rem; font-weight: 500;
  color: #4a6080; text-decoration: none; transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: #1a4baa; background: rgba(26,75,170,0.07); }
.nav-ai-btn {
  display: flex; align-items: center; gap: 7px; margin-left: 8px;
  padding: 8px 18px; border-radius: 9px;
  background: linear-gradient(135deg, #1a4baa, #c8921a);
  color: #fff; font-size: 0.83rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 14px rgba(26,75,170,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-ai-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,75,170,0.45); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero-wrap {
  background: linear-gradient(135deg, #070d1f 0%, #0d2460 35%, #1a4baa 70%, #b8831a 100%);
  position: relative; overflow: hidden;
}
/* film-strip sprocket holes at top and bottom of hero */
.hero-wrap::before,
.hero-wrap::after {
  content: '';
  display: block; height: 14px; width: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(200,146,26,0.0) 0px, rgba(200,146,26,0.0) 5px,
    rgba(200,146,26,0.45) 5px, rgba(200,146,26,0.45) 18px,
    rgba(200,146,26,0.0) 18px, rgba(200,146,26,0.0) 26px
  );
}
.hero {
  max-width: 1280px; margin: 0 auto; padding: 52px 24px 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
/* Tablet (601–960px): keep 2-col, tighten spacing */
@media (max-width: 960px) {
  .hero { gap: 28px; padding: 36px 20px 30px; }
  .hero-right { display: block; }
  .ai-preview { padding: 16px 18px; }
  .ai-preview-hdr { padding-bottom: 10px; margin-bottom: 10px; }
}
/* Phone (≤600px): single column — hero preview stacks below text */
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; gap: 16px; padding: 22px 16px 18px; }
  .hero p { font-size: 0.92rem; margin-bottom: 20px; }
}
.hero h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 800; line-height: 1.16;
  color: #fff; margin-bottom: 14px;
}
.hero p { color: rgba(255,255,255,0.72); font-size: 1.02rem; line-height: 1.65; margin-bottom: 28px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 12px;
  background: linear-gradient(135deg, #fff 60%, #fef3c7 100%);
  color: #1a4baa;
  font-size: 0.95rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.3); }
.hero-highlight {
  font-weight: 800; font-style: italic;
  background: linear-gradient(90deg, #fbbf24, #c8921a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid rgba(251,191,36,0.5);
  padding-bottom: 1px;
}
.hero-stats { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-val { font-size: 1.4rem; font-weight: 800; color: #fbbf24; }
.stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; }

/* hero right — AI preview card */
.ai-preview {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 18px; padding: 22px;
  backdrop-filter: blur(12px);
}
.ai-preview-hdr {
  display: flex; align-items: stretch; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.14); margin-bottom: 14px;
}
.ai-avatar {
  width: auto; aspect-ratio: 1; border-radius: 11px;
  background: linear-gradient(135deg, #fff, #fef3c7); color: #1a4baa;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800;
  flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}
.ai-preview-hdr-text { font-size: 0.88rem; font-weight: 700; color: #fff; }
.ai-preview-hdr-sub  { font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.ai-msg {
  border-radius: 10px; padding: 10px 14px; margin-bottom: 9px;
  font-size: 0.82rem; line-height: 1.52;
}
.ai-msg.user { background: rgba(255,255,255,0.13); color: rgba(255,255,255,0.82); text-align: right; }
.ai-msg.bot  { background: rgba(255,255,255,0.2); color: #fff; }
.ai-preview-input {
  display: flex; align-items: center; gap: 8px; margin-top: 13px;
  background: rgba(255,255,255,0.09); border-radius: 9px; padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.18);
}
.ai-preview-input span { font-size: 0.78rem; color: rgba(255,255,255,0.38); flex: 1; }
.ai-send-btn {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, #fff, #fef3c7); color: #1a4baa;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
  text-decoration: none;
}

/* ── Page body ───────────────────────────────────────────────────── */
.page-body {
  max-width: 1280px; margin: 0 auto; padding: 36px 24px 72px;
  display: grid; grid-template-columns: 1fr 300px; gap: 36px;
}
/* Tablet: narrower sidebar, same left/right pattern as desktop */
@media (max-width: 960px) {
  .page-body { grid-template-columns: 1fr 220px; gap: 20px; padding: 24px 20px 40px; }
}
/* Phone: single column — sidebar (Ask Anything) falls naturally below content */
@media (max-width: 600px) {
  .page-body { grid-template-columns: minmax(0, 1fr); padding: 20px 16px 36px; }
}

/* ── Section title ───────────────────────────────────────────────── */
.sec-title {
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #0d2460; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.sec-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(26,75,170,0.25), rgba(200,146,26,0.18), transparent);
}

/* ── Box office grid ─────────────────────────────────────────────── */
.bo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 12px; margin-bottom: 36px;
}
.bo-card {
  cursor: pointer;
  background: #fff; border: 1px solid rgba(26,75,170,0.1);
  border-radius: 13px; padding: 15px 16px;
  box-shadow: 0 2px 12px rgba(26,75,170,0.07);
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  position: relative; overflow: hidden;
}
/* Gold top-accent strip on BO cards */
.bo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #1a4baa, #c8921a);
  opacity: 0; transition: opacity 0.15s;
}
.bo-card:hover::before { opacity: 1; }
.bo-card:hover { box-shadow: 0 6px 24px rgba(26,75,170,0.15); transform: translateY(-2px); border-color: rgba(26,75,170,0.25); }
.bo-movie { font-size: 0.83rem; font-weight: 700; color: #0c1833; margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 2px 8px; border-radius: 20px; margin-bottom: 7px;
}
.bo-badge.running { background: #d1fae5; color: #065f46; }
.bo-badge.verdict { background: #fef3c7; color: #78400a; }
.bo-badge.neutral { background: #dbeafe; color: #1e3a8a; }
.bo-figures { font-size: 0.73rem; color: #4a6080; line-height: 1.7; }
.bo-hint { font-size: 0.67rem; color: #1a4baa; margin-top: 5px; font-weight: 500; }

/* ── News grid ───────────────────────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px; margin-bottom: 36px;
}
.news-card {
  background: #fff; border: 1px solid rgba(26,75,170,0.09);
  border-radius: 13px; padding: 16px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 2px 10px rgba(26,75,170,0.06);
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  min-height: 118px;
}
.news-card:hover { box-shadow: 0 6px 22px rgba(26,75,170,0.13); transform: translateY(-2px); border-color: rgba(26,75,170,0.22); }
.news-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.badge-source {
  font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  background: #dbeafe; color: #1e3a8a; padding: 2px 8px; border-radius: 20px;
}
.badge-type {
  font-size: 0.63rem; background: #fef3c7; color: #78400a;
  padding: 2px 8px; border-radius: 20px; text-transform: capitalize;
}
.news-date { font-size: 0.65rem; color: #9ca3af; margin-left: auto; }
.news-title {
  font-size: 0.88rem; font-weight: 600; line-height: 1.44; color: #0c1833;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.news-tag {
  font-size: 0.62rem; padding: 2px 8px; border-radius: 20px;
  background: #f0f6ff; color: #4a6080;
}
.news-tag-link { cursor: pointer; }
.news-tag-link:hover { background: #dbeafe; color: #1a4baa; }

/* ── Reviews grid ────────────────────────────────────────────────── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin-bottom: 36px;
}
.review-card {
  background: #fff; border: 1px solid rgba(26,75,170,0.09);
  border-radius: 12px; padding: 15px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(26,75,170,0.05);
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  display: flex; flex-direction: column; gap: 6px;
}
.review-card:hover { box-shadow: 0 6px 20px rgba(26,75,170,0.13); transform: translateY(-2px); border-color: rgba(26,75,170,0.22); }
.review-title { font-size: 0.86rem; font-weight: 700; color: #0c1833; }
.review-meta  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-rating { font-size: 0.75rem; font-weight: 700; color: #c8921a; }
.review-year   { font-size: 0.68rem; color: #9ca3af; }
.review-source {
  font-size: 0.62rem; background: #dbeafe; color: #1e3a8a;
  padding: 1px 7px; border-radius: 20px; font-weight: 600;
}
.review-punchline {
  font-size: 0.76rem; color: #4a6080; line-height: 1.45; font-style: italic;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.review-genres { display: flex; flex-wrap: wrap; gap: 3px; }
.review-genre {
  font-size: 0.6rem; padding: 2px 7px; border-radius: 20px;
  background: #fef3c7; color: #78400a;
}

/* ── Sidebar ─────────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.ai-cta-card {
  background: linear-gradient(135deg, #0d2460, #0891b2);
  border-radius: 16px; padding: 24px; text-align: center;
  box-shadow: 0 8px 28px rgba(13,36,96,0.35);
}
.ai-cta-icon { font-size: 1.8rem; margin-bottom: 8px; }
.ai-cta-title { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.ai-cta-sub { font-size: 0.78rem; color: rgba(255,255,255,0.68); margin-bottom: 16px; line-height: 1.55; }
.ai-cta-link {
  display: block; padding: 11px 20px; border-radius: 10px;
  background: linear-gradient(135deg, #fff 60%, #fef3c7 100%); color: #0d2460;
  font-size: 0.85rem; font-weight: 800; text-decoration: none; transition: opacity 0.15s;
}
.ai-cta-link:hover { opacity: 0.9; }
.ai-prompts { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.ai-prompt-chip {
  font-size: 0.72rem; padding: 7px 11px; border-radius: 8px; text-align: left;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.8); text-decoration: none;
  transition: background 0.15s;
}
.ai-prompt-chip:hover { background: rgba(255,255,255,0.22); color: #fff; }

.trend-list { display: flex; flex-direction: column; gap: 7px; }
.trend-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 10px;
  background: #fff; border: 1px solid rgba(26,75,170,0.09);
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 6px rgba(26,75,170,0.05);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.12s;
}
.trend-item:hover { box-shadow: 0 4px 14px rgba(26,75,170,0.12); border-color: rgba(26,75,170,0.22); transform: translateX(2px); }
.trend-rank { font-size: 0.63rem; font-weight: 700; color: #93c5fd; width: 16px; flex-shrink: 0; }
.trend-name { font-size: 0.83rem; font-weight: 600; flex: 1; color: #0c1833; }
.trend-count {
  font-size: 0.65rem; color: #78400a; background: #fef3c7;
  border-radius: 20px; padding: 2px 8px; font-weight: 600;
}

/* ── Social Buzz ─────────────────────────────────────────────────── */
.buzz-section { margin-bottom: 36px; }
.buzz-main-card {
  background: linear-gradient(135deg, #070d1f 0%, #0d2460 45%, #1a3d8f 100%);
  border-radius: 16px; padding: 24px 28px;
  display: flex; align-items: center; gap: 24px;
  box-shadow: 0 6px 28px rgba(7,13,31,0.35);
  text-decoration: none; color: inherit;
  transition: transform 0.15s, box-shadow 0.15s; margin-bottom: 12px;
}
.buzz-main-card:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(7,13,31,0.45); }
@media (max-width: 600px) { .buzz-main-card { flex-direction: column; gap: 14px; padding: 18px; } }
.buzz-pulse {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.45);
  animation: pulse-ring 2.4s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,99,235,0.45), 0 0 0 0 rgba(37,99,235,0.25); }
  50%       { box-shadow: 0 4px 14px rgba(37,99,235,0.45), 0 0 0 8px rgba(37,99,235,0); }
}
.buzz-main-text { flex: 1; }
.buzz-main-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #60a5fa; margin-bottom: 5px;
}
.buzz-main-title { font-size: 1.02rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.buzz-main-sub { font-size: 0.8rem; color: rgba(255,255,255,0.52); line-height: 1.5; }
.buzz-main-arrow {
  flex-shrink: 0; font-size: 1.1rem; color: #60a5fa;
  background: rgba(96,165,250,0.15); border-radius: 10px;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
}
.buzz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.buzz-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 22px; font-size: 0.79rem; font-weight: 600;
  background: #fff; border: 1px solid rgba(26,75,170,0.14);
  color: #1e3a8a; text-decoration: none;
  box-shadow: 0 2px 8px rgba(26,75,170,0.08);
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.buzz-chip:hover { background: #dbeafe; border-color: rgba(26,75,170,0.3); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,75,170,0.14); }
.buzz-chip-icon { font-size: 0.9rem; }

/* ── Skeleton ────────────────────────────────────────────────────── */
.sk {
  background: linear-gradient(90deg, #dbeafe 25%, #eef4ff 50%, #dbeafe 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 10px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(26,75,170,0.1); padding: 22px 24px;
  text-align: center; font-size: 0.72rem; color: #9ca3af;
}
footer a { color: #2563eb; text-decoration: none; }
footer a:hover { color: #c8921a; }

/* ── Section "more" links ────────────────────────────────────────── */
.sec-more-link {
  margin-left: auto; font-size: 0.72rem; font-weight: 600;
  color: #1d4ed8; text-decoration: none; letter-spacing: 0; text-transform: none;
  transition: color 0.15s;
}
@media (hover: hover) {
  .sec-more-link:hover { color: #c8921a; }
  #hotTopicBannerLink:hover  { box-shadow: 0 4px 18px rgba(0,0,0,0.08); }
  #sidebarSocialCard:hover   { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
}

/* ── Mobile responsive ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px 2px; margin-left: 10px;
  flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #0c1833; border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-inner { height: 56px; position: relative; padding: 0 16px; }
  .logo-icon  { width: 34px; height: 34px; font-size: 17px; }
  .logo > span { font-size: 1.8rem !important; padding: 5px 8px !important; }
  .logo-sparkle-wrap { font-size: 2.1rem !important; }
  .hamburger { display: flex; }
  .nav-links  { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    /* position:fixed instead of position:absolute avoids the iOS Safari bug where
       tap events on position:absolute children that overflow outside a
       position:sticky parent are silently dropped (hit-test uses sticky parent's
       bounds, not the rendered overflow area). Fixed is viewport-relative and
       always receives taps correctly. top:56px matches .nav-inner height above. */
    position: fixed; top: 56px; left: 0; right: 0; z-index: 100;
    background: rgba(238,244,255,0.98);
    border-bottom: 1px solid rgba(26,75,170,0.15);
    box-shadow: 0 4px 20px rgba(26,75,170,0.12);
    padding: 8px 16px 14px;
    gap: 2px;
  }
  .nav-link { padding: 11px 10px; font-size: 0.93rem; border-radius: 8px; }
  .nav-ai-btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 380px) {
  .logo > span { font-size: 1.65rem !important; padding: 5px 7px !important; }
}

/* ── Mobile grid + card overrides (≤600px) ───────────────────────────────
   Fixes horizontal overflow on iPhone: auto-fill grids with px minimums can
   exceed the viewport width. Force explicit column counts + minmax(0,1fr)
   so tracks never inflate beyond the available space.
   All rules here are isolated to mobile — zero desktop surface changed.
   ─────────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Box office: 2 cols fit comfortably on 320–600px screens */
  .bo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
  }
  .bo-card { padding: 11px 12px; }

  /* News: single column prevents the 270px minimum from pushing content wide */
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 24px;
  }
  .news-card { padding: 12px; min-height: unset; }

  /* Reviews: 2 compact cols — 200px minimum would overflow at 320px, so override */
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
  }
  .review-card { padding: 11px; }
}
