
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #06060f; --surface: rgba(255,255,255,0.05); --border: rgba(255,255,255,0.09);
    --accent: #e63946; --accent2: #ff7b85; --text: #f0f0f0; --muted: #777;
  }

  html { height: 100%; }
  body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; min-height: 100dvh; }

  .bg-glow {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
      radial-gradient(ellipse 70% 60% at 10% 40%, rgba(230,57,70,0.14) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 90% 10%, rgba(80,40,180,0.10) 0%, transparent 55%),
      radial-gradient(ellipse 50% 50% at 80% 90%, rgba(230,57,70,0.07) 0%, transparent 55%);
  }

  .poster-panel { position: fixed; inset: 0; z-index: 1; overflow: hidden; }
  .poster-grid {
    position: absolute; inset: -60px;
    display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px;
    gap: 6px; padding: 6px;
    transform: rotate(-6deg) scale(1.2); transform-origin: center center;
    animation: driftup 35s linear infinite;
  }
  @keyframes driftup { 0%{ transform: rotate(-6deg) scale(1.2) translateY(0); } 100%{ transform: rotate(-6deg) scale(1.2) translateY(-100px); } }
  .poster-item { border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; background-size: cover; background-repeat: no-repeat; }
  .poster-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%); }
 .p1  { background-image: url('../images/login-images/image-19.jpg'); }
  .p3  { background-image: url('../images/login-images/image-18.jpg'); }
  .p4  { background-image: url('../images/login-images/image-17.jpg'); }
  .p5  { background-image: url('../images/login-images/image-16.jpg'); }
  .p6  { background-image: url('../images/login-images/image-15.jpg'); }
  .p7  { background-image: url('../images/login-images/image-14.jpg'); }
  .p8  { background-image: url('../images/login-images/image-13.jpg'); }
  .p9  { background-image: url('../images/login-images/image-12.jpg'); }
  .p10 { background-image: url('../images/login-images/image-11.jpg'); }
  .p11 { background-image: url('../images/login-images/image-10.jpg'); }
  .p12 { background-image: url('../images/login-images/image-9.jpg'); }
  .p13  { background-image: url('../images/login-images/image-8.jpg'); }
  .p14  { background-image: url('../images/login-images/image-7.jpg'); }
  .p15  { background-image: url('../images/login-images/image-6.jpg'); }
  .p16  { background-image: url('../images/login-images/image-5.jpg'); }
  .p17  { background-image: url('../images/login-images/image-4.jpg'); }
  .p18  { background-image: url('../images/login-images/image-3.jpg'); }
  .p19  { background-image: url('../images/login-images/image-2.jpg'); }
  .p20  { background-image: url('../images/login-images/image-1.jpg'); } 

  .poster-panel::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(6,6,15,0.55) 0%, rgba(6,6,15,0.80) 40%, rgba(6,6,15,0.97) 100%); }

  .film-strip { display: none; }

  .page { position: relative; z-index: 10; min-height: 100dvh; display: flex; flex-direction: column; }

  .login-panel { width: 100%; max-width: 440px; margin: auto; padding: 36px 24px 40px; display: flex; flex-direction: column; }

  .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
  .brand-icon { width: 120px; }

  .headline { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 10vw, 40px); line-height: 1; letter-spacing: 1px; margin-bottom: 18px; animation: fadein 0.5s ease both; }
  .headline em { font-style: normal; color: var(--accent); }

  @keyframes fadein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

  .form-card { background: rgba(10,10,20,0.75); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 24px 20px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

  .form { display: flex; flex-direction: column; gap: 14px; }

  .field { display: flex; flex-direction: column; gap: 7px; animation: fadein 0.5s ease both; padding-bottom: 16px; }

  label { font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

  .input { background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: max(16px,15px); outline: none; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; width: 100%; }
  .input::placeholder { color: #3a3a3a; }
  .input:focus { border-color: var(--accent); background: rgba(230,57,70,0.07); box-shadow: 0 0 0 3px rgba(230,57,70,0.12); }

  .phone-wrap { display: flex; gap: 8px; }
  .phone-prefix { background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 10px; padding: 14px 12px; color: var(--muted); font-size: max(16px,15px); white-space: nowrap; flex-shrink: 0; }
  .phone-wrap .input { flex: 1; }

  .otp-boxes { display: flex; gap: 10px; justify-content: center; }
  .otp-box { width: 52px; height: 58px; text-align: center; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 24px; font-weight: 600; outline: none; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; caret-color: var(--accent); }
  .otp-box:focus { border-color: var(--accent); background: rgba(230,57,70,0.07); box-shadow: 0 0 0 3px rgba(230,57,70,0.12); }

  .resend-row { text-align: center; font-size: 12px; color: var(--muted); padding-top: 4px; }
  .resend-row a { color: var(--accent2); text-decoration: none; cursor: pointer; }

  .btn-login { padding: 16px; background: linear-gradient(135deg, #ff0057, #ff7a00); border: none; border-radius: 10px; color: #fff; font-weight: bold; font-size: 18px; letter-spacing: 1px; cursor: pointer; position: relative; overflow: hidden; transition: transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 22px rgba(230,57,70,0.38); width: 100%; -webkit-tap-highlight-color: transparent; font-family: 'DM Sans', sans-serif; }
  .btn-login:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(230,57,70,0.5); }
  .btn-login:active { transform: scale(0.98); }

  .divider { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
  .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
  .divider span { font-size: 11px; color: #333; white-space: nowrap; }

  .btn-guest { padding: 14px; background: transparent; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 14px; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; width: 100%; -webkit-tap-highlight-color: transparent; display: block; text-align: center; text-decoration: none; }
  .btn-guest:hover { border-color: rgba(255,255,255,0.2); color: var(--text); background: rgba(255,255,255,0.04); }

  .signup-row { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
  .signup-row a { color: var(--accent2); text-decoration: none; font-weight: 500; transition: color 0.2s; padding: 4px 0; }
  .signup-row a:hover { color: var(--accent); }

  .error-msg { color: #d41111; font-size: 12px; }

  .step-title { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
  .back-link { font-size: 12px; color: var(--muted); cursor: pointer; text-decoration: underline; display: inline-block; margin-bottom: 16px; }
  .back-link:hover { color: var(--accent2); }

  .ca { text-align: center; padding-bottom: 20px; font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; }

  @media (min-width: 860px) {
    .poster-panel { position: fixed; top: 0; right: 0; bottom: 0; left: 460px; z-index: 1; }
    .poster-panel::after { background: linear-gradient(90deg, rgba(6,6,15,1) 0%, rgba(6,6,15,0.4) 25%, rgba(6,6,15,0.2) 100%); }
    .film-strip { display: flex; flex-direction: column; align-items: center; width: 40px; min-width: 40px; height: 100vh; background: rgba(230,57,70,0.05); border-right: 1px solid rgba(230,57,70,0.12); padding: 8px 0; gap: 6px; overflow: hidden; position: fixed; left: 0; top: 0; z-index: 20; }
    .film-hole { width: 22px; height: 16px; border-radius: 3px; background: rgba(0,0,0,0.7); border: 1px solid rgba(230,57,70,0.18); flex-shrink: 0; }
    .page { flex-direction: row; align-items: stretch; padding-left: 40px; }
    .login-panel { width: 420px; min-width: 420px; max-width: 420px; margin: 0; padding: 40px 44px; justify-content: center; overflow-y: unset; }
    .form-card { background: transparent; border: none; border-radius: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .poster-grid { grid-auto-rows: 155px; gap: 8px; }
  }
