:root{
  --bg:#070b12;
  --text:#e9eefc;
  --muted:rgba(233,238,252,.72);
  --red:#e50914;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 20% 20%, rgba(229,9,20,.18), transparent 60%),
              radial-gradient(900px 420px at 80% 20%, rgba(0,180,255,.18), transparent 55%),
              var(--bg);
  color:var(--text);
}

/* NAV */
.nav{
  padding:18px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.2px;
}
.brand-badge{
  width:34px;
  height:34px;
  border-radius:10px;
  background:var(--red);
  box-shadow: 0 12px 26px rgba(229,9,20,.35);
}
.brand-name{ font-size:22px; }

.nav-right{
  display:flex;
  align-items:center;
  gap:12px;
}
.pill{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);
  padding:8px 14px;
  border-radius:999px;
  color:var(--text);
  text-decoration:none;
  font-size:14px;
}

/* PAGE CONTAINER */
.container{
  padding:18px 28px 60px;
}

/* HERO GLASS CARD */
.hero{
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  overflow:hidden;
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  inset:-50px;
  background:
    radial-gradient(420px 220px at 18% 25%, rgba(229,9,20,.22), transparent 65%),
    radial-gradient(520px 240px at 78% 30%, rgba(0,180,255,.18), transparent 66%);
  pointer-events:none;
}

/* Left text */
.hero-left{
  position:relative;
  z-index:2;
  max-width:640px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.kicker{
  font-size:14px;
  letter-spacing:3px;
  color:rgba(233,238,252,.65);
  text-transform:uppercase;
  margin-bottom:14px;
}

.h1{
  font-size:56px;
  line-height:1.05;
  font-weight:900;
  margin:0 0 12px;
}

.sub{
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
  max-width:560px;
}

/* Buttons */
.cta{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  padding:14px 18px;
  border-radius:12px;
  font-weight:700;
  border:1px solid transparent;
  transition: transform .15s ease, filter .15s ease;
}

.btn:hover{ transform: translateY(-1px); filter:brightness(1.05); }

.btn-primary{
  background:var(--red);
  color:white;
  box-shadow: 0 14px 35px rgba(229,9,20,.35);
}

.btn-ghost{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
  color:var(--text);
}

.small-note{
  margin-top:14px;
  color:rgba(233,238,252,.55);
  font-size:13px;
}

.footer-row{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:rgba(233,238,252,.60);
  font-size:13px;
  flex-wrap:wrap;
}

/* POSTER SECTION - single row left to right, full width */
.poster-section{
  margin-top:28px;
  width:100%;
}

/* One row: all 6 posters left to right, equal size */
.poster-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap:14px;
}

/* Larger posters, full image visible (no crop), same size left to right */
.poster{
  width:100%;
  aspect-ratio: 2 / 3;
  min-height:200px;
  border-radius:14px;
  background-color:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);

  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;

  overflow:hidden;
  position:relative;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .15s ease, filter .15s ease;
}

.poster:hover{
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.03);
}

/* Dark overlay for label */
.poster::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05));
}

.label{
  position:absolute;
  left:10px;
  bottom:10px;
  z-index:2;
  font-size:13px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
}

/* FEATURES SECTION - 3 blocks with icons (below posters) */
.features-section{
  margin-top:48px;
  padding:40px 0 20px;
  width:100%;
}

.features-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:32px;
  max-width:1100px;
  margin:0 auto;
}

.feature-block{
  text-align:center;
}

.feature-icon-wrap{
  width:200px;
  height:200px;
  margin:0 auto 24px;
  border-radius:50%;
  background: linear-gradient(145deg, #1a7fd4, #0d5a9e);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-shadow: 0 12px 32px rgba(26, 127, 212, .35);
  position:relative;
}

.feature-icon-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:64px;
  font-weight:800;
  color:rgba(255,255,255,.9);
  position:absolute;
  inset:0;
}

.feature-icon{
  width:100%;
  height:100%;
  min-width:100px;
  min-height:100px;
  object-fit:contain;
  object-position:center;
}

.feature-title{
  font-size:20px;
  font-weight:700;
  color:var(--text);
  margin:0 0 12px;
  letter-spacing:.2px;
}

.feature-desc{
  font-size:15px;
  line-height:1.6;
  color:var(--muted);
  margin:0;
  max-width:320px;
  margin-left:auto;
  margin-right:auto;
}

/* Responsive */
@media (max-width: 1200px){
  .poster-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px){
  .poster-grid{ grid-template-columns: repeat(2, 1fr); }
  .poster{ min-height:180px; }
}

@media (max-width: 900px){
  .features-grid{ grid-template-columns: 1fr; gap:36px; }
  .features-section{ margin-top:36px; padding:32px 0; }
}

@media (max-width: 600px){
  .h1{ font-size:40px; }
  .poster-grid{ grid-template-columns: repeat(2, 1fr); }
  .poster{ min-height:160px; }
  .nav{ padding:14px 16px; }
  .container{ padding:14px 16px 50px; }
  .feature-icon-wrap{ width:160px; height:160px; padding:20px; }
  .feature-icon{ min-width:80px; min-height:80px; }
  .feature-title{ font-size:18px; }
  .feature-desc{ font-size:14px; }
  .footer-links{ flex-direction:column; gap:8px; }
}

/* SITE FOOTER */
.site-footer{
  margin-top:48px;
  padding:40px 28px 32px;
  background:rgba(0,0,0,.35);
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
}

.footer-inner{
  max-width:600px;
  margin:0 auto;
}

.footer-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  font-size:20px;
  margin-bottom:20px;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px 24px;
  margin-bottom:16px;
}

.footer-links a{
  color:#6ea8fe;
  text-decoration:none;
  font-size:14px;
}

.footer-links a:hover{
  text-decoration:underline;
}

.footer-copy{
  color:rgba(233,238,252,.5);
  font-size:13px;
  margin:0;
}

/* TERMS & CONTACT PAGES */
.page-content{ max-width:720px; margin:0 auto; }
.terms-block, .contact-block{ padding:20px 0 40px; }

.terms-title, .contact-title{
  font-size:32px;
  font-weight:800;
  margin:0 0 8px;
}

.terms-updated, .contact-intro{
  color:var(--muted);
  font-size:14px;
  margin-bottom:28px;
}

.terms-block h2, .contact-section h2{
  font-size:20px;
  font-weight:700;
  margin:24px 0 10px;
  color:var(--text);
}

.terms-block p, .contact-section p{
  color:var(--muted);
  line-height:1.7;
  margin:0 0 12px;
}

.terms-block a, .contact-block a{
  color:#6ea8fe;
  text-decoration:none;
}

.terms-block a:hover, .contact-block a:hover{ text-decoration:underline; }

.terms-block ul, .contact-section ul{
  margin:8px 0 16px;
  padding-left:24px;
  color:var(--muted);
  line-height:1.7;
}

.contact-section{ margin-bottom:28px; }

.terms-back{ margin-top:32px; }

/* DASHBOARD (logged-in content) */
.dashboard-container{ padding-top:24px; }
.dashboard-welcome{ margin-bottom:32px; }
.dashboard-title{
  font-size:28px;
  font-weight:800;
  margin:0 0 6px;
  color:var(--text);
}
.dashboard-sub{
  font-size:16px;
  color:var(--muted);
  margin:0;
}

.content-row{ margin-bottom:36px; }
.row-title{
  font-size:18px;
  font-weight:700;
  color:var(--text);
  margin:0 0 14px;
  letter-spacing:.3px;
}

.pill-user{ font-weight:600; color:var(--text); }

/* MOVIES PAGE – nav with tabs */
.nav-movies{ align-items:center; }
.nav-main{ display:flex; align-items:center; gap:28px; }
.nav-tabs{ display:flex; gap:6px; }
.nav-tab{
  color:var(--muted);
  text-decoration:none;
  padding:8px 14px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
}
.nav-tab:hover{ color:var(--text); background:rgba(255,255,255,.06); }
.nav-tab-active{ color:var(--text); background:rgba(255,255,255,.1); }
.btn-nav{ padding:8px 18px; font-size:14px; }
.pill-subscribed{ background:rgba(0,200,100,.2); border-color:rgba(0,200,100,.4); color:#4ade80; }

/* Movie rows (horizontal scroll) */
.container-movies{ padding-top:20px; padding-bottom:48px; }
.movie-row{ margin-bottom:28px; }
.movie-row-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
  padding-right:12px;
}
.movie-row-head .row-title{ margin:0; }
.see-more{
  color:#6ea8fe;
  font-size:14px;
  text-decoration:none;
  font-weight:600;
}
.see-more:hover{ text-decoration:underline; }

.movie-row-scroll{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding-bottom:8px;
  scroll-snap-type:x proximity;
}
.movie-row-scroll::-webkit-scrollbar{ height:8px; }
.movie-row-scroll::-webkit-scrollbar-track{ background:rgba(255,255,255,.06); border-radius:4px; }
.movie-row-scroll::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.2); border-radius:4px; }

.movie-card{
  flex:0 0 180px;
  scroll-snap-align:start;
  cursor:pointer;
}
.movie-poster{
  width:100%;
  aspect-ratio: 2 / 3;
  border-radius:12px;
  background-size:cover;
  background-position:center;
  background-color:rgba(255,255,255,.06);
  position:relative;
  overflow:hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.movie-card:hover .movie-poster{
  transform: scale(1.03);
  box-shadow: 0 16px 36px rgba(0,0,0,.5);
}
.movie-poster::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  pointer-events:none;
}

.movie-imdb{
  position:absolute;
  left:8px;
  bottom:8px;
  z-index:2;
  font-size:11px;
  font-weight:800;
  padding:4px 8px;
  border-radius:6px;
  background:rgba(0,0,0,.8);
  color:#f5c518;
}
.movie-premium{
  position:absolute;
  right:8px;
  bottom:8px;
  z-index:2;
  font-size:18px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.8));
}

/* Movie detail modal */
.movie-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.movie-modal-open{ opacity:1; visibility:visible; }
.movie-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.85);
  cursor:pointer;
}
.movie-modal-box{
  position:relative;
  display:flex;
  max-width:560px;
  width:100%;
  max-height:90vh;
  background: linear-gradient(145deg, #0f1620, #0a0e14);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.movie-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  width:36px;
  height:36px;
  border:none;
  border-radius:50%;
  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.movie-modal-close:hover{ background:rgba(255,255,255,.2); }
.movie-modal-poster{
  width:220px;
  min-width:220px;
  aspect-ratio: 2 / 3;
  background-size:cover;
  background-position:center;
  background-color:rgba(255,255,255,.06);
}
.movie-modal-body{ padding:24px; overflow-y:auto; flex:1; }
.movie-modal-title{ font-size:22px; font-weight:800; margin:0 0 10px; }
.movie-modal-meta{ color:var(--muted); font-size:14px; margin:0 0 12px; }
.movie-modal-desc{ font-size:14px; line-height:1.6; color:var(--muted); margin:0 0 14px; }
.movie-modal-access{ font-size:13px; color:#4ade80; margin:0 0 16px; }
.movie-modal-locked{ color:#f5c518; }
.movie-modal-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* Subscribe page */
.subscribe-box{
  max-width:420px;
  margin:48px auto;
  padding:32px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:20px;
  background:rgba(255,255,255,.04);
}
.subscribe-title{ font-size:26px; font-weight:800; margin:0 0 10px; }
.subscribe-desc{ color:var(--muted); margin:0 0 20px; font-size:15px; }
.subscribe-features{
  list-style:none;
  padding:0;
  margin:0 0 24px;
  color:var(--text);
  font-size:15px;
}
.subscribe-features li{ padding:6px 0; padding-left:24px; position:relative; }
.subscribe-features li::before{ content:"✓"; position:absolute; left:0; color:#4ade80; font-weight:700; }
.subscribe-price{ font-size:32px; font-weight:800; margin:0 0 8px; }
.subscribe-price span{ font-size:16px; font-weight:400; color:var(--muted); }
.btn-subscribe{ width:100%; margin-top:8px; padding:14px; }
.subscribe-note{ font-size:12px; color:var(--muted); margin-top:20px; }
.subscribe-box-wide{ max-width:520px; }
.payment-methods{ display:flex; flex-direction:column; gap:12px; margin-top:24px; }
.payment-method-card{
  display:flex; align-items:center; gap:14px;
  padding:16px 20px; border:1px solid rgba(255,255,255,.15); border-radius:12px;
  background:rgba(255,255,255,.04); color:var(--text); text-decoration:none;
  transition: background .15s, border-color .15s;
}
.payment-method-card:hover{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.25); }
.payment-icon{ font-size:24px; }
.payment-form-box{ max-width:420px; }
.payment-form label{ display:block; margin:10px 0 6px; color:var(--muted); font-size:14px; }
.payment-form input{
  width:100%; padding:12px; border-radius:10px; border:1px solid rgba(255,255,255,.2);
  background:rgba(0,0,0,.3); color:var(--text); margin-bottom:14px; box-sizing:border-box;
}
.payment-row{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.payment-error{ color:#f87171; margin-bottom:12px; }
.payment-steps{ color:var(--muted); font-size:14px; margin-bottom:14px; }

/* Admin */
.admin-dash h1{ margin-bottom:20px; }
.admin-cards{ display:flex; flex-wrap:wrap; gap:16px; }
.admin-card{
  display:flex; flex-direction:column; padding:24px; min-width:160px;
  border:1px solid rgba(255,255,255,.12); border-radius:12px; background:rgba(255,255,255,.04);
  color:var(--text); text-decoration:none;
}
.admin-card strong{ font-size:28px; }
.admin-table-wrap{ overflow-x:auto; margin-top:16px; }
.admin-table{ width:100%; border-collapse:collapse; }
.admin-table th, .admin-table td{ padding:10px 14px; text-align:left; border-bottom:1px solid rgba(255,255,255,.1); }
.admin-table th{ color:var(--muted); font-weight:600; }
.status-pending{ color:#f5c518; }
.status-confirmed{ color:#4ade80; }
.btn-sm{ padding:6px 12px; font-size:13px; }
.badge{ background:var(--red); color:#fff; padding:2px 8px; border-radius:999px; font-size:12px; margin-left:4px; }

/* Watch page */
.watch-container{ padding-top:24px; }
.watch-meta{ margin-bottom:24px; }
.watch-meta h1{ font-size:28px; margin:0 0 8px; }
.watch-detail{ color:var(--muted); margin:0 0 12px; }
.watch-desc{ color:var(--muted); line-height:1.6; margin:0; }
.watch-player{ margin:24px 0; border-radius:12px; overflow:hidden; background:#000; aspect-ratio: 16/9; max-height:70vh; }
.watch-placeholder{
  width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:var(--muted); padding:24px;
}
.watch-placeholder-note{ font-size:13px; margin-top:8px; }





















