:root{
  --bg:#07090d;
  --bg-soft:#11151b;
  --panel:rgba(255,255,255,.075);
  --panel-2:rgba(255,255,255,.11);
  --line:rgba(255,255,255,.12);
  --text:#f7f1e8;
  --muted:#c4bdb2;
  --amber:#f6bf5d;
  --coral:#ff7a45;
  --blue:#3a8dff;
  --mint:#17c6a3;
  --red:#ff5f5f;
  --shadow:0 26px 88px rgba(0,0,0,.38);
  --radius:22px
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans SC","Noto Sans TC",Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 8%,rgba(255,122,69,.24),transparent 26vw),
    radial-gradient(circle at 88% 12%,rgba(58,141,255,.18),transparent 26vw),
    linear-gradient(135deg,#090b10 0%,#12161d 48%,#06070a 100%);
  min-height:100vh;
  overflow-x:hidden
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 74%)
}

body:after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 100%,rgba(246,191,93,.1),transparent 32vw),
    linear-gradient(180deg,transparent,rgba(0,0,0,.22))
}

.noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.06;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index:0
}

button,input,textarea,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.app{position:relative;z-index:1}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:18px 32px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(9,11,16,.78);
  backdrop-filter:blur(20px)
}

.brand{
  display:flex;
  align-items:flex-start;
  gap:18px;
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans SC","Noto Sans TC",Arial,sans-serif;
  font-weight:700
}

.brand-logo{
  width:162px;
  height:auto;
  object-fit:contain;
  display:block
}

.brand-meta{
  display:flex;
  min-height:100%;
  align-items:flex-end;
  padding-top:12px
}

.brand small{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-top:2px
}

.nav{display:flex;align-items:center;gap:8px;color:#e6ddd0;font-size:14px}
.nav button{
  padding:10px 13px;
  border-radius:999px;
  color:var(--muted);
  background:transparent;
  border:0
}
.nav button:hover,.nav button.active{background:rgba(255,255,255,.08);color:var(--text)}
.actions{display:flex;gap:10px;align-items:center}

.lang-switch{
  display:flex;
  gap:6px;
  padding:4px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04)
}

.lang-btn{
  border:0;
  background:transparent;
  color:var(--muted);
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  font-weight:800
}

.lang-btn.active{
  background:rgba(255,255,255,.12);
  color:var(--text)
}

.btn{
  border:0;
  color:white;
  padding:12px 16px;
  border-radius:999px;
  font-weight:800;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease
}
.btn:hover{transform:translateY(-2px);background:rgba(255,255,255,.14)}
.btn.primary{
  background:linear-gradient(135deg,var(--coral),var(--amber));
  border-color:transparent;
  color:#17130d;
  box-shadow:0 15px 38px rgba(255,122,69,.25)
}
.btn.cyan{
  background:linear-gradient(135deg,var(--mint),var(--blue));
  border-color:transparent;
  box-shadow:0 15px 38px rgba(58,141,255,.22)
}
.btn.danger{background:linear-gradient(135deg,var(--red),#b74040);border-color:transparent}
.btn.small{padding:9px 12px;font-size:13px}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}

.container{max-width:1440px;margin:0 auto;padding:30px 28px 70px}

.glass{
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.095),rgba(255,255,255,.04));
  backdrop-filter:blur(24px);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative
}

.hero{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(380px,.96fr);gap:24px;align-items:stretch}
.hero-copy{padding:52px;display:flex;flex-direction:column;justify-content:space-between;min-height:610px}

.hero-brand{
  width:min(340px,72%);
  height:auto;
  display:block;
  margin:26px 0 8px
}

.eyebrow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  color:#ffdfb1;
  font-weight:800;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase
}

.pill{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  padding:8px 12px;
  border-radius:999px;
  color:#e7ddd0
}

h1,h2,h3,h4,b,strong,.generated-title,.balance{
  font-family:"Space Grotesk","Manrope",sans-serif
}

h1{
  font-size:clamp(46px,6vw,86px);
  line-height:.98;
  letter-spacing:0;
  margin:22px 0 24px
}

.gradient-text{
  background:linear-gradient(90deg,#fff3de,#ffd17f 34%,#7ee7d2 68%,#d7ecff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent
}

.lead{max-width:760px;color:#d5cec3;font-size:19px;line-height:1.65;margin:0 0 34px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:34px}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.stat{padding:16px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.stat strong{display:block;font-size:24px;letter-spacing:0}
.stat span{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}

.hero-console{padding:18px;display:flex;flex-direction:column;justify-content:space-between;min-height:610px}
.console-top{display:flex;justify-content:space-between;align-items:center;color:#dfd5c7;font-size:13px;font-weight:800}

.orbital-stage{
  position:relative;
  flex:1;
  min-height:360px;
  display:grid;
  place-items:center;
  margin:18px 0;
  border-radius:22px;
  background:
    radial-gradient(circle at 50% 48%,rgba(58,141,255,.18),transparent 30%),
    radial-gradient(circle at 28% 22%,rgba(255,122,69,.24),transparent 26%),
    radial-gradient(circle at 72% 18%,rgba(23,198,163,.18),transparent 24%),
    rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.09);
  overflow:hidden
}

.ring{position:absolute;border:1px solid rgba(255,255,255,.16);border-radius:50%;animation:spin 14s linear infinite}
.ring-one{width:290px;height:290px}
.ring-two{width:390px;height:190px;transform:rotate(-18deg);animation-duration:18s}
.ring-three{width:210px;height:430px;transform:rotate(22deg);animation-duration:21s}

.poster-card{
  position:relative;
  width:min(268px,72%);
  aspect-ratio:3/4;
  border-radius:22px;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:end;
  background:
    radial-gradient(circle at 35% 24%,rgba(255,122,69,.84),transparent 28%),
    radial-gradient(circle at 72% 35%,rgba(58,141,255,.64),transparent 30%),
    linear-gradient(150deg,#1b202a,#07090d);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 32px 80px rgba(0,0,0,.42),0 0 56px rgba(255,191,93,.15)
}

.poster-card:before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:16px
}

.poster-card span,.poster-card small{position:relative;color:#f8e9cb;font-weight:800;font-size:12px}
.poster-card b{position:relative;font-size:28px;margin:8px 0;letter-spacing:0}

.console-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.console-tile{
  min-height:88px;
  text-align:left;
  color:white;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.06);
  border-radius:18px;
  padding:14px
}
.console-tile b{display:block;font-size:16px;margin-bottom:8px}
.console-tile span{color:var(--muted);font-size:12px}

@keyframes spin{to{rotate:360deg}}

.section{margin-top:28px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px;padding:0 4px}
.section h2{margin:0;font-size:clamp(28px,3vw,46px);letter-spacing:0}
.sub{margin:9px 0 0;color:var(--muted);max-width:760px;line-height:1.6}
.grid{display:grid;gap:16px}
.tokens{grid-template-columns:repeat(4,1fr)}
.cards3{grid-template-columns:repeat(3,1fr)}

.token-card,.tool-card,.module,.panel{
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.1);
  position:relative;
  overflow:hidden
}

.token-card{min-height:250px;display:flex;flex-direction:column;justify-content:space-between}
.token-card:before{
  content:"";
  position:absolute;
  inset:-80px -80px auto auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:var(--glow,rgba(255,122,69,.35));
  filter:blur(12px)
}

.card-top{display:flex;justify-content:space-between;align-items:start;position:relative}
.ip-icon,.tool-card .icon,.module i{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:14px;
  font-weight:900;
  background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.14);
  font-style:normal
}

.badge{
  padding:7px 9px;
  border-radius:999px;
  background:rgba(23,198,163,.13);
  color:#9effe5;
  font-size:12px;
  font-weight:800;
  border:1px solid rgba(23,198,163,.24)
}

.token-card h3,.tool-card h3,.module b{margin:18px 0 8px;font-size:21px;letter-spacing:0;position:relative}
.token-card p,.tool-card p,.module span{color:var(--muted);line-height:1.55;margin:0;position:relative}

.card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;position:relative}
.metric{padding:10px;border-radius:14px;background:rgba(0,0,0,.18)}
.metric b{display:block}
.metric span{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}

.workspace{display:grid;grid-template-columns:260px minmax(0,1fr) 360px;gap:16px;align-items:stretch}
.sidebar,.center,.rightbar{padding:18px}

.side-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px;
  border-radius:16px;
  color:#ddd5c8;
  margin-bottom:7px;
  font-weight:700;
  border:0;
  background:transparent;
  width:100%;
  text-align:left
}
.side-item.active,.side-item:hover{background:rgba(255,255,255,.08)}
.side-item span:first-child{
  width:30px;
  height:30px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.08)
}

.chat-card{min-height:500px;display:flex;flex-direction:column}
.chat-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08)}
.chat-person{display:flex;gap:12px;align-items:center}
.chat-avatar{
  width:48px;
  height:48px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--coral),var(--amber),var(--mint));
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:900;
  color:#121212
}

.chat-person b{display:block}
.chat-person span{color:var(--muted);font-size:13px}

.messages{flex:1;padding:20px 0;display:flex;flex-direction:column;gap:14px;max-height:440px;overflow:auto}
.msg{max-width:82%;padding:13px 15px;border-radius:18px;line-height:1.5;color:#f7f2eb;white-space:pre-wrap}
.msg.ai,.msg.member{background:rgba(255,255,255,.08);border-top-left-radius:7px}
.msg.user{align-self:flex-end;background:linear-gradient(135deg,rgba(255,122,69,.82),rgba(58,141,255,.72));border-top-right-radius:7px}

.quick{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.quick button,.chip{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:#eee6d8;
  border-radius:999px;
  padding:9px 11px;
  cursor:pointer
}

.composer{
  display:flex;
  gap:10px;
  padding:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px
}
.composer input{flex:1;background:transparent;border:0;outline:0;color:white;padding:4px 8px}

.mission{padding:15px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);margin-bottom:12px}
.mission-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mission h4{margin:0 0 5px;letter-spacing:0}
.mission p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.45}
.reward{color:var(--amber);font-weight:900;font-size:13px}

.progress{height:12px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}
.progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--coral),var(--amber));box-shadow:0 0 24px rgba(246,191,93,.34)}

.feature-board,.generator,.member-chat,.dashboard,.settings-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;align-items:stretch}
.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

.wallet-card{
  padding:22px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,122,69,.12),rgba(23,198,163,.09));
  border:1px solid rgba(255,255,255,.1)
}

.balance{font-size:46px;line-height:1;font-weight:900;margin:16px 0 6px}
.rate{color:#ffe7b3;font-weight:900}

.pricing-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.08);color:#f1ebdf}
.pricing-row span{color:var(--muted);text-align:right}

.prompt-box textarea,.field,input.field,select.field{
  width:100%;
  color:white;
  outline:0;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.22)
}

.prompt-box textarea{min-height:165px;resize:vertical}
.field-label{display:block;color:var(--muted);font-size:13px;font-weight:800;margin:13px 0 7px}
.style-chips{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}
.style-chips button.active,.chip.active{background:linear-gradient(135deg,rgba(255,122,69,.42),rgba(23,198,163,.24));color:white}

.gallery-preview{
  min-height:320px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle at 30% 25%,rgba(255,122,69,.38),transparent 30%),
    radial-gradient(circle at 70% 48%,rgba(58,141,255,.28),transparent 32%),
    linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.03));
  position:relative;
  overflow:hidden;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:end
}

.generated-title{font-weight:900;font-size:26px;letter-spacing:0}

.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.image-card{
  min-height:220px;
  border-radius:20px;
  padding:14px;
  border:1px solid rgba(255,255,255,.1);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden
}

.image-card b{text-shadow:0 2px 12px rgba(0,0,0,.45)}
.image-card small{color:#fff;background:rgba(0,0,0,.25);padding:6px 8px;border-radius:999px;align-self:start}
.asset-video{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:16px;
  margin:14px 0;
  background:#05070a;
  border:1px solid rgba(255,255,255,.12)
}
.micro{margin:10px 0 0;color:#e7decf;font-size:11px;opacity:.88}

.member-chat{grid-template-columns:280px 1fr}
.member-list{display:grid;gap:10px;align-content:start}

.member{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  width:100%;
  color:white;
  text-align:left
}

.member.active{outline:2px solid rgba(58,141,255,.34)}
.member .face{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--coral),var(--amber))
}

.member b{display:block;font-size:14px}
.member span{color:var(--muted);font-size:12px}

.chart{
  height:260px;
  display:flex;
  align-items:end;
  gap:12px;
  padding:24px;
  border-radius:20px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08)
}

.bar{
  flex:1;
  min-width:20px;
  border-radius:14px 14px 5px 5px;
  background:linear-gradient(180deg,var(--mint),var(--blue),var(--coral));
  box-shadow:0 0 24px rgba(58,141,255,.18)
}

.activity{display:grid;gap:11px}
.activity-row{display:flex;gap:12px;align-items:center;padding:13px;border-radius:18px;background:rgba(255,255,255,.06)}
.activity-row .dot{width:10px;height:10px;border-radius:50%;background:var(--mint);box-shadow:0 0 16px var(--mint);flex:none}
.activity-row b{display:block;font-size:14px}
.activity-row span{color:var(--muted);font-size:12px}

.toast{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:40;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(14,17,24,.94);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:var(--shadow);
  max-width:360px
}

.table{width:100%;border-collapse:collapse}
.table th,.table td{text-align:left;padding:12px;border-bottom:1px solid rgba(255,255,255,.08);font-size:14px}
.table th{color:var(--muted);font-size:12px;text-transform:uppercase}
.footer{margin-top:36px;padding:28px;text-align:center;color:var(--muted)}

@media(max-width:1180px){
  .hero,.workspace,.dashboard,.feature-board,.generator,.member-chat,.settings-grid{grid-template-columns:1fr}
  .tokens,.cards3,.module-grid{grid-template-columns:repeat(2,1fr)}
  .nav{display:none}
}

@media(max-width:720px){
  .topbar{padding:14px 16px}
  .brand-logo{width:120px}
  .hero-brand{width:min(240px,88%)}
  .actions{gap:8px}
  .actions .btn:not(.primary){display:none}
  .lang-switch{display:none}
  .container{padding:18px 12px 50px}
  .hero-copy,.hero-console{padding:24px;min-height:auto}
  .stats,.tokens,.cards3,.module-grid,.console-grid{grid-template-columns:1fr}
  .section-head{display:block}
  h1{font-size:42px}
  .messages{max-height:340px}
  .pricing-row{display:block}
  .pricing-row span{display:block;text-align:left;margin-top:4px}
  .orbital-stage{min-height:300px}
  .poster-card{width:min(230px,82%)}
  .cinema-card{min-width:200px}
  .cinema-hero{min-height:50vh}
  .cinema-modal{width:96vw;max-width:none}
  .cinema-modal-media video,.cinema-modal-media img{max-height:40vh}
}

/* ===== Netflix-style Cinema Page ===== */

.cinema-page{padding:0;max-width:none}

.cinema-hero{
  position:relative;
  min-height:70vh;
  display:flex;
  align-items:flex-end;
  padding:60px 48px 48px;
  background-size:cover;
  background-position:center top;
  border-bottom:1px solid rgba(255,255,255,.06)
}

.cinema-hero-empty{
  align-items:center;
  justify-content:center;
  text-align:center;
  background:radial-gradient(circle at 50% 30%,rgba(255,122,69,.18),transparent 40vw),
    linear-gradient(180deg,#11151b,#07090d)
}

.cinema-hero-content{
  position:relative;
  z-index:2;
  max-width:640px
}

.cinema-hero-content .badge{
  display:inline-block;
  padding:4px 12px;
  border-radius:20px;
  background:rgba(255,122,69,.22);
  color:var(--amber);
  font-size:12px;
  font-weight:700;
  letter-spacing:.5px;
  margin-bottom:12px
}

.cinema-hero-content h1{
  font-size:52px;
  line-height:1.08;
  margin:0 0 16px;
  text-shadow:0 4px 24px rgba(0,0,0,.6)
}

.cinema-hero-content .lead{
  font-size:17px;
  line-height:1.6;
  color:#d8d0c4;
  margin:0 0 20px;
  text-shadow:0 2px 12px rgba(0,0,0,.7);
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.cinema-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:24px;
  font-size:13px;
  color:var(--muted)
}

.cinema-hero-meta span{
  display:flex;
  align-items:center;
  gap:4px
}

.cinema-play-btn{
  font-size:16px;
  padding:12px 32px;
  margin-right:8px
}

.cinema-row{
  padding:32px 48px 0
}

.cinema-row-title{
  font-size:20px;
  font-weight:700;
  margin:0 0 16px;
  color:var(--text)
}

.cinema-row-track{
  display:flex;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:16px;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch
}

.cinema-row-track::-webkit-scrollbar{height:6px}
.cinema-row-track::-webkit-scrollbar-track{background:rgba(255,255,255,.04);border-radius:3px}
.cinema-row-track::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:3px}
.cinema-row-track::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3)}

.cinema-card{
  position:relative;
  flex:0 0 auto;
  width:280px;
  height:158px;
  border-radius:8px;
  overflow:hidden;
  cursor:pointer;
  background-size:cover;
  background-position:center;
  border:1px solid rgba(255,255,255,.08);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease
}

.cinema-card:hover{
  transform:scale(1.08);
  z-index:5;
  box-shadow:0 12px 40px rgba(0,0,0,.5);
  border-color:rgba(255,255,255,.2)
}

.cinema-badge{
  position:absolute;
  top:8px;
  left:8px;
  padding:2px 8px;
  border-radius:4px;
  background:rgba(255,122,69,.85);
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.5px
}

.cinema-badge-img{
  background:rgba(58,141,255,.85)
}

.cinema-duration{
  position:absolute;
  top:8px;
  right:8px;
  padding:2px 8px;
  border-radius:4px;
  background:rgba(0,0,0,.65);
  color:#fff;
  font-size:11px;
  font-weight:600
}

.cinema-card-info{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:10px 12px;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.85));
  opacity:0;
  transition:opacity .25s ease
}

.cinema-card:hover .cinema-card-info{opacity:1}

.cinema-card-info b{
  display:block;
  font-size:13px;
  color:#fff;
  margin-bottom:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.cinema-card-info p{
  font-size:11px;
  color:rgba(255,255,255,.7);
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.cinema-card-play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(.8);
  width:48px;
  height:48px;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  color:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:700;
  opacity:0;
  transition:opacity .25s ease,transform .25s ease
}

.cinema-card:hover .cinema-card-play{
  opacity:1;
  transform:translate(-50%,-50%) scale(1)
}

/* ===== Cinema Modal ===== */

.cinema-modal-overlay{
  position:fixed;
  inset:0;
  z-index:100;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  animation:cinemaFadeIn .2s ease
}

@keyframes cinemaFadeIn{
  from{opacity:0}
  to{opacity:1}
}

.cinema-modal{
  position:relative;
  width:min(900px,92vw);
  max-height:92vh;
  overflow-y:auto;
  background:#11151b;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 24px 80px rgba(0,0,0,.5)
}

.cinema-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:10;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:16px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease
}

.cinema-modal-close:hover{background:rgba(255,255,255,.2)}

.cinema-modal-media{
  width:100%;
  background:#000;
  border-radius:16px 16px 0 0;
  overflow:hidden
}

.cinema-modal-media video,
.cinema-modal-media img{
  width:100%;
  max-height:60vh;
  object-fit:contain;
  display:block
}

.cinema-modal-art{
  width:100%;
  height:300px;
  border-radius:16px 16px 0 0
}

.cinema-modal-info{
  padding:24px 28px
}

.cinema-modal-info h2{
  font-size:24px;
  margin:0 0 8px
}

.cinema-modal-info .lead{
  font-size:15px;
  color:var(--muted);
  line-height:1.6;
  margin:0 0 20px
}

.cinema-modal-meta{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom:20px
}

.cinema-modal-meta>div{
  display:flex;
  flex-direction:column;
  gap:2px
}

.cinema-modal-meta .meta-label{
  font-size:11px;
  text-transform:uppercase;
  color:var(--muted);
  letter-spacing:.5px
}

.cinema-modal-meta b{
  font-size:14px;
  color:var(--text)
}

.cinema-modal-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

/* Cinema responsive */
@media(max-width:1180px){
  .cinema-hero{padding:48px 32px 32px;min-height:60vh}
  .cinema-row{padding:24px 32px 0}
  .cinema-hero-content h1{font-size:42px}
}

@media(max-width:720px){
  .cinema-hero{padding:32px 16px 24px;min-height:45vh}
  .cinema-row{padding:20px 16px 0}
  .cinema-hero-content h1{font-size:32px}
  .cinema-card{width:220px;height:124px}
  .cinema-modal-info{padding:16px}
}
