/* =========================================================
   ICE theme overrides: Films & Premieres (#films)
   A bright "premiere night" foyer: frost-white walls lit by soft ice spotlights, a white-bezel screen
   (the picture itself stays dark: it is content), white film cards with soft navy shadows.
   Colour only. Every rule is scoped [data-theme="ice"].
   ========================================================= */

/* ---------- the room: ice spotlights on a frost wall ---------- */
[data-theme="ice"] .films-bg {
  background:
    radial-gradient(34% 18% at 50% 0%, rgba(255, 255, 255, .95), transparent 72%),           /* house light over the title */
    radial-gradient(48% 22% at 38% 24%, rgba(56, 182, 245, .16), transparent 72%),           /* spot on the screen */
    radial-gradient(30% 20% at 84% 22%, rgba(99, 102, 241, .10), transparent 72%),           /* spot on the rail */
    radial-gradient(40% 10% at 50% 7.5%, rgba(246, 198, 107, .07), transparent 70%),         /* a breath of marquee warmth */
    radial-gradient(46% 20% at 80% 50%, rgba(122, 92, 240, .07), transparent 72%),
    radial-gradient(60% 24% at 30% 80%, rgba(56, 182, 245, .09), transparent 72%),
    linear-gradient(180deg, rgba(234, 244, 252, 0) 0%, rgba(234, 244, 252, .85) 12%, rgba(244, 249, 254, .6) 46%, rgba(234, 244, 252, .8) 92%, rgba(234, 244, 252, 0) 100%);
}

/* ---------- cinema stage ---------- */
/* poster "ambilight": lifted so dark posters tint the frost instead of smudging it grey */
[data-theme="ice"] .films-ambient { opacity: .3; }
[data-theme="ice"] .films-ambient img { filter: blur(64px) saturate(1.5) brightness(1.35); }

/* white gallery bezel around a dark screen, lifted on a soft navy shadow */
[data-theme="ice"] .films-screen {
  box-shadow:
    0 0 0 1px rgba(10, 31, 54, .22),
    0 0 0 7px #ffffff,
    0 0 0 8px rgba(14, 92, 160, .16),
    0 0 60px -14px rgba(56, 182, 245, .45),
    0 2px 6px rgba(16, 60, 110, .08),
    0 50px 90px -40px rgba(16, 60, 110, .6);
}

/* on-screen OSD + premiere tag stay dark (they sit on the picture); softer glow */
[data-theme="ice"] .films-osd { background: rgba(4, 12, 24, .62); color: #e0f2fe; text-shadow: none; }
[data-theme="ice"] .films-osd .dot { background: #38b6f5; box-shadow: 0 0 0 3px rgba(56, 182, 245, .28); }
[data-theme="ice"] .films-tag {
  color: #fff3d6; background: rgba(8, 14, 26, .62); border-color: rgba(246, 210, 140, .55);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); text-shadow: none;
}

/* play button: ice-blue gradient, white glyph, soft blue lift instead of the neon halo */
[data-theme="ice"] .films-play {
  color: #fff;
  background: linear-gradient(135deg, #38b6f5 0%, #2563eb 58%, #5b4fe0 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55) inset, 0 0 0 5px rgba(255, 255, 255, .22), 0 12px 30px -8px rgba(37, 99, 235, .75), 0 0 46px -6px rgba(56, 182, 245, .55);
}
[data-theme="ice"] .films-play:hover, [data-theme="ice"] .films-screen:hover .films-play {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset, 0 0 0 6px rgba(255, 255, 255, .3), 0 14px 34px -8px rgba(37, 99, 235, .85), 0 0 60px -4px rgba(56, 182, 245, .7);
}
[data-theme="ice"] .films-play-ring { border-color: rgba(191, 232, 251, .85); }
/* the label sits on the poster: keep its dark scrim */
[data-theme="ice"] .films-play-label { background: rgba(6, 14, 28, .68); border-color: rgba(191, 232, 251, .22); }
[data-theme="ice"] .films-play-label span { color: #d6ecfb; }

/* info under the screen */
[data-theme="ice"] .films-kicker { color: var(--gold); }
[data-theme="ice"] .films-title { color: var(--ink); }
[data-theme="ice"] .films-title em { color: var(--ink-2); }
[data-theme="ice"] .films-link { color: var(--cyan); border-bottom-color: rgba(5, 119, 181, .35); }
[data-theme="ice"] .films-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- selector rail: white channel cards ---------- */
[data-theme="ice"] .films-rail-k { color: var(--muted); }
[data-theme="ice"] .films-rail-k span:first-child::before { background: #e11d48; box-shadow: 0 0 0 3px rgba(225, 29, 72, .16); }
[data-theme="ice"] .films-pick {
  background: var(--grad-soft); border-color: var(--line); box-shadow: var(--shadow-1);
}
[data-theme="ice"] .films-pick:hover { border-color: rgba(56, 182, 245, .6); box-shadow: 0 1px 2px rgba(16, 60, 110, .06), 0 14px 32px -14px rgba(14, 140, 220, .45); }
[data-theme="ice"] .films-pick[aria-pressed="true"] {
  border-color: var(--ice);
  background: linear-gradient(160deg, #ffffff 0%, #e8f5fd 100%);
  box-shadow: 0 0 0 1px rgba(56, 182, 245, .45) inset, 0 0 0 4px rgba(56, 182, 245, .12), 0 16px 34px -14px rgba(14, 140, 220, .55);
}
[data-theme="ice"] .films-pick-thumb { background: #dcecf9; box-shadow: 0 0 0 1px rgba(10, 31, 54, .08); }
[data-theme="ice"] .films-pick-thumb img { filter: saturate(.92); }
[data-theme="ice"] .films-pick:hover .films-pick-thumb img, [data-theme="ice"] .films-pick[aria-pressed="true"] .films-pick-thumb img { filter: none; }
[data-theme="ice"] .films-pick-eq { background: rgba(6, 14, 28, .62); }
[data-theme="ice"] .films-pick-eq i { background: #38b6f5; box-shadow: none; }
[data-theme="ice"] .films-pick-eq i:nth-child(2) { background: #8db0ff; }
[data-theme="ice"] .films-pick-eq i:nth-child(3) { background: #b9a6ff; }
[data-theme="ice"] .films-pick-k { color: var(--cyan); }
[data-theme="ice"] .films-pick[aria-pressed="true"] .films-pick-k { color: #0369a1; } /* AA on the tinted active card */
[data-theme="ice"] .films-pick strong { color: var(--ink); }
[data-theme="ice"] .films-pick em { color: var(--ink-2); }
[data-theme="ice"] .films-pick-blurb { color: var(--muted); }
[data-theme="ice"] .films-vimeo { color: var(--ink-2); }
[data-theme="ice"] .films-vimeo:hover { color: var(--ink); }
[data-theme="ice"] .films-vimeo .ico { color: var(--cyan); }
[data-theme="ice"] .films-rail-note { color: var(--muted); }

/* ---------- who it's for ---------- */
[data-theme="ice"] .films-for-list li {
  background: var(--grad-soft); border-color: var(--line); box-shadow: var(--shadow-1);
}
[data-theme="ice"] .films-for-list li::before { opacity: .85; box-shadow: none; }
[data-theme="ice"] .films-for-t { color: var(--ink); }
[data-theme="ice"] .films-for-list p { color: var(--muted); }

/* ---------- World Premiere pages: white phones on an ice stage ---------- */
[data-theme="ice"] .films-premiere-copy h3, [data-theme="ice"] .films-lineup-head h3 { color: var(--ink); }
[data-theme="ice"] .films-phones::before {
  background: radial-gradient(50% 50% at 50% 50%, rgba(56, 182, 245, .34), rgba(99, 102, 241, .12) 55%, transparent 72%);
}
[data-theme="ice"] .films-phone { color: var(--ink); }
[data-theme="ice"] .films-phone-frame {
  background:
    linear-gradient(160deg, #ffffff 0%, #e6eff8 48%, #f6f9fd 100%) padding-box,
    linear-gradient(150deg, #bfe8fb, #8db0ff 55%, #b9a6ff) border-box;
  box-shadow: 0 0 0 1px rgba(10, 31, 54, .06), inset 0 0 0 1px rgba(255, 255, 255, .9), 0 18px 40px -18px rgba(14, 140, 220, .45), 0 46px 60px -34px rgba(16, 60, 110, .6);
}
[data-theme="ice"] .films-phone:hover .films-phone-frame {
  box-shadow: 0 0 0 1px rgba(56, 182, 245, .35), inset 0 0 0 1px rgba(255, 255, 255, .9), 0 22px 46px -16px rgba(14, 140, 220, .6), 0 46px 60px -34px rgba(16, 60, 110, .65);
}
[data-theme="ice"] .films-phone-screen { box-shadow: 0 0 0 1px rgba(10, 31, 54, .14); }
[data-theme="ice"] .films-phone-island { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
[data-theme="ice"] .films-phone-cap b { color: var(--ink); }
[data-theme="ice"] .films-phone-cap span { color: var(--cyan); }
[data-theme="ice"] .films-phone-sample .films-phone-cap span { color: var(--muted); }

/* ---------- film lineup: white cards ---------- */
[data-theme="ice"] .films-lineup-all { color: var(--ink-2); }
[data-theme="ice"] .films-lineup-all:hover { color: var(--ink); }
[data-theme="ice"] .films-card {
  background: var(--grad-soft); border-color: var(--line); box-shadow: var(--shadow-1);
}
[data-theme="ice"] .films-card:hover {
  border-color: rgba(56, 182, 245, .6);
  box-shadow: 0 0 0 4px rgba(56, 182, 245, .1), 0 2px 6px rgba(16, 60, 110, .06), 0 30px 60px -28px rgba(16, 60, 110, .5);
}
[data-theme="ice"] .films-card-media { background: #dcecf9; }
[data-theme="ice"] .films-card-media::after { background: linear-gradient(0deg, rgba(10, 31, 54, .16), transparent); }
[data-theme="ice"] .films-card.is-soon .films-card-media img { filter: saturate(.75) brightness(.92); }
/* chips sit on the photo: solid white pills keep them legible */
[data-theme="ice"] .films-card-chip .status-chip {
  background: rgba(255, 255, 255, .94); border-color: rgba(255, 255, 255, .9); color: var(--ink-2);
  box-shadow: 0 4px 14px -6px rgba(10, 31, 54, .5);
}
[data-theme="ice"] .films-card-chip .status-chip.new { color: var(--gold); border-color: rgba(200, 140, 30, .45); }
[data-theme="ice"] .films-card-chip .status-chip.soon { color: #4338ca; border-color: rgba(79, 83, 214, .35); }
[data-theme="ice"] .films-card-ph { background: radial-gradient(60% 60% at 50% 40%, rgba(56, 182, 245, .3), transparent 70%), #eaf4fc; }
[data-theme="ice"] .films-card h4 a { color: var(--ink); }
[data-theme="ice"] .films-card h4 a:hover { color: var(--cyan); }
[data-theme="ice"] .films-card-tag { color: var(--ink-2); }
[data-theme="ice"] .films-card-foot { border-top-color: var(--line); }
[data-theme="ice"] .films-card-note { color: var(--muted); }

[data-theme="ice"] .films-noscript { color: var(--muted); }
[data-theme="ice"] .films-noscript a { color: var(--cyan); }
