/* KinoWatch Ember Dark | theme layer v1.0 */
:root {
  color-scheme: dark;
  --bg: #0c0a09;
  --panel: #181310;
  --panel-2: #110e0d;
  --text: #f7f0eb;
  --muted: #aea09a;
  --line: rgba(255,163,99,.12);
  --accent: #ff783e;
  --kw-accent-hot: #ff5633;
  --kw-accent-soft: #ffb56f;
  --kw-border: rgba(255,139,75,.19);
}
html { background: var(--bg); }
body { background: radial-gradient(ellipse 45% 25% at 82% 3%,rgba(139,44,16,.11),transparent 75%),var(--bg); color:var(--text); }
::selection { color:#fff; background:rgba(255,112,53,.56); }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
a { transition: color .2s ease; }
a:hover { color: var(--kw-accent-soft); }
.site-header { background:linear-gradient(180deg,rgba(12,9,9,.96) 0%,rgba(12,9,9,.72) 62%,rgba(12,9,9,.04) 100%); }
.brand.kw-wordmark { text-decoration:none; gap:9px; flex:0 0 auto; white-space:nowrap; }
.kw-logo-mark { display:inline-flex; width:28px; height:32px; flex:0 0 auto; align-items:center; justify-content:center; color:var(--accent); }
.kw-logo-mark svg { width:100%; height:100%; display:block; filter: drop-shadow(0 0 10px rgba(255,92,38,.24)); }
.kw-logo-type { font-size:21px; line-height:1; font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif; font-weight:850; letter-spacing:-.9px; color:#fff; }
.kw-logo-type b { color:var(--accent); font-weight:850; }
.kw-logo-type small { font-size:10px; font-weight:750; letter-spacing:.4px; margin-left:3px; color:#b39a8a; }
.main-nav .nav-link:hover,.main-nav .nav-item:focus-within>.nav-link { color:var(--kw-accent-soft); }
.kinowatch-header-search { border-color:rgba(255,156,102,.18); background:rgba(24,17,15,.77); }
.kinowatch-header-search:focus-within { border-color:rgba(255,120,62,.66); box-shadow:0 0 0 3px rgba(255,120,62,.09); }
.kinowatch-header-search button:hover { color:var(--accent); }
.profile-dropdown,.dropdown { background:rgba(23,17,15,.97); border-color:var(--kw-border); }
.hero { background:var(--bg); }
.hero-slider { min-height:570px; }
.hero-slide { padding-bottom:70px; }
.hero-slide::before { background:linear-gradient(90deg,rgba(9,7,7,.64) 0%,rgba(12,8,8,.22) 34%,transparent 72%); }
.hero-slide::after { height:74%; background:linear-gradient(0deg,#0c0a09 0%,rgba(12,10,9,.85) 17%,rgba(12,10,9,.26) 57%,transparent 100%); }
.hero-slide .hero-content { max-width:460px; padding-bottom:8px; }
.hero-slide .hero-logo { font-weight:850; line-height:1.03; letter-spacing:-.9px; font-size:clamp(25px,2vw,39px); text-wrap:balance; text-shadow:0 2px 28px rgba(0,0,0,.84); }
.hero-slide .hero-content::after { content:''; display:block; width:45px; height:3px; margin-top:13px; background:linear-gradient(90deg,var(--kw-accent-hot),var(--kw-accent-soft)); border-radius:6px; }
.hero-switch { width:42px; height:64px; border-radius:12px; border-color:rgba(255,178,120,.22); background:rgba(15,10,9,.58); opacity:.85; }
.hero-switch:hover { border-color:rgba(255,120,62,.7); background:rgba(64,26,16,.78); color:#fff; box-shadow:0 0 24px rgba(255,110,45,.13); }
/* Clickable preview images; built from the actual slide posts, not hard-coded placeholders. */
.hero-pagination {
  position:absolute; z-index:14; right:5.4vw; bottom:39px;
  display:flex; gap:10px; align-items:flex-end; justify-content:flex-end;
  width:min(56vw,900px); max-width:900px; padding:8px 2px 10px;
  overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
.hero-pagination::-webkit-scrollbar { display:none; }
.hero-pagination .hero-page {
  position:relative; flex:1 1 0; min-width:0; max-width:156px;
  height:86px; border:2px solid rgba(255,255,255,.20); padding:0;
  overflow:hidden; border-radius:9px; background:#211613;
  opacity:.76; cursor:pointer;
  box-shadow:0 7px 25px rgba(0,0,0,.35);
  transition:opacity .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.hero-pagination .hero-page-image { display:block; width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .3s ease; }
.hero-pagination .hero-page::after { content:''; position:absolute; inset:24% 0 0; background:linear-gradient(0deg,rgba(8,5,5,.75),transparent); pointer-events:none; }
.hero-pagination .hero-page-number { position:absolute; z-index:1; bottom:8px; left:10px; color:#fff; font-weight:800; font-size:11px; letter-spacing:.05em; text-shadow:0 2px 6px #000; }
.hero-pagination .hero-page:hover { opacity:1; border-color:rgba(255,174,106,.86); }
.hero-pagination .hero-page:hover .hero-page-image { transform:scale(1.07); }
.hero-pagination .hero-page.active { width:auto; border-color:var(--accent); opacity:1; border-radius:9px; transform:translateY(-5px); box-shadow:0 0 0 1px rgba(255,120,62,.55),0 0 24px rgba(255,88,37,.25),0 12px 28px rgba(0,0,0,.5); }
.hero-pagination .hero-page.active::before { content:''; position:absolute; inset:0; z-index:2; border:1px solid rgba(255,255,255,.22); border-radius:7px; pointer-events:none; }
/* The same warm highlights across cards, tabs, buttons, details, forms and paging. */
.media-section .section-title a:hover,.section-title a:hover,.footer-links a:hover { color:var(--kw-accent-soft); }
.card-media,.kinowatch-actor-short-photo { background:#201713; }
.card:hover .card-media,.poster-card:hover .card-media { box-shadow:0 0 0 1px rgba(255,135,70,.30),0 10px 24px rgba(0,0,0,.24); }
.card-language,.card-quality { border-color:rgba(255,195,145,.20); }
.row-arrow:hover,.row-arrow:focus-visible { border-color:var(--accent); color:var(--kw-accent-soft); background:rgba(56,25,17,.83); }
.btn-primary,.hero-slide .btn-primary { border-color:rgba(255,146,89,.55); background:linear-gradient(120deg,#ff713a,#e9522e); color:#fff; box-shadow:0 8px 24px rgba(255,91,40,.17); }
.btn-primary:hover,.hero-slide .btn-primary:hover { border-color:#ffbb83; background:linear-gradient(120deg,#ff8645,#ed6436); }
input:focus-visible,textarea:focus-visible,select:focus-visible { outline-color:var(--accent); }
button,select { accent-color:var(--accent); }
.pagination .active,.navigation .active,.pages .active,.pagi-nav .active { background:var(--accent); color:#130d0a; border-color:var(--accent); }
.fullstory-page { background:radial-gradient(circle at 66% 0%,rgba(161,52,16,.10),transparent 43%),var(--bg); }
.fullstory-action:hover,.fullstory-action.favorite.active,.hero-quicknav-link.is-active { border-color:rgba(255,127,60,.40); background:rgba(255,119,56,.12); }
.footer { background:#090706; border-top:1px solid rgba(255,120,62,.11); }
.footer .kw-logo-type { font-size:25px; }
.footer-copy { color:#9d8c81; }
@media (min-width:1500px) {
  .hero-slider { min-height:590px; }
  .hero-slide { padding-bottom:73px; }
}
@media (max-width:1150px) {
  .hero-pagination { left:4.7vw; right:4.7vw; width:auto; max-width:none; justify-content:flex-start; bottom:23px; padding-bottom:9px; }
  .hero-pagination .hero-page { flex:0 0 120px; max-width:120px; height:76px; }
  .hero-slide { padding-bottom:143px; }
  .hero-slide .hero-content { max-width:min(480px,85vw); }
}
@media (max-width:870px) {
  .brand.kw-wordmark { gap:5px; }
  .kw-logo-type { font-size:16px; letter-spacing:-.7px; }
  .kw-logo-type small { font-size:8px; }
  .kw-logo-mark { width:22px; height:26px; }
  .hero-slider { min-height:490px; }
  .hero-slide { padding:0 18px 142px; }
  .hero-slide::before { background:linear-gradient(90deg,rgba(9,7,7,.35),transparent 82%); }
  .hero-slide::after { height:80%; }
  .hero-slide .hero-content { width:auto; max-width:92%; }
  .hero-slide .hero-logo { font-size:clamp(23px,5vw,32px); }
  .hero-pagination { left:18px; right:18px; bottom:18px; gap:8px; }
  .hero-pagination .hero-page { flex-basis:104px; max-width:104px; height:68px; border-radius:7px; }
  .hero-pagination .hero-page.active { border-radius:7px; }
  .hero-switch { width:32px; height:52px; border-radius:9px; }
  .footer { padding-top:24px; }
  .main-nav { background:rgba(21,14,12,.96); border-color:rgba(255,140,75,.23); }
}
@media (max-width:420px) {
  .kw-logo-type { font-size:14px; }
  .kw-logo-type small { font-size:7px; }
  .kw-logo-mark { width:19px; height:23px; }
  .hero-slider { min-height:470px; }
  .hero-slide { padding-bottom:134px; }
  .hero-pagination .hero-page { flex-basis:94px; max-width:94px; height:63px; }
  .hero-switch { top:42%; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-page,.hero-page-image,.hero-switch { transition:none!important; }
}
/* Leave enough room for search and profile on narrow phones. */
@media (max-width:870px) {
  .site-header .nav-wrap { gap:8px; }
  .site-header .kinowatch-header-search { width:min(158px,36vw)!important; min-width:0; }
}
@media (max-width:420px) {
  .site-header .nav-wrap { gap:6px; }
  .site-header .kinowatch-header-search { width:min(140px,35vw)!important; }
}
