/* ══════════════════════════════
   LOGIN PAGE
══════════════════════════════ */

/* Full-height section with cinematic background */
.login-section {
  min-height: calc(100vh - 130px);
  background:
    linear-gradient(135deg, rgba(229,9,20,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(229,9,20,.06) 0%, transparent 60%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* ── Film strip decorations ── */
.film-strip {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 12px 0;
  z-index: 0;
  opacity: .5;
}

.film-strip.left  { left: 0;  border-right: 1px solid var(--border); }
.film-strip.right { right: 0; border-left:  1px solid var(--border); }

.film-strip .hole {
  width: 18px;
  height: 14px;
  border-radius: 3px;
  background: var(--bg);
  border: 1px solid #333;
  flex-shrink: 0;
}

/* ── Login wrapper (two columns) ── */
.login-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 940px;
  min-height: 560px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px var(--border);
}

/* ── Left panel ── */
.login-left {
  flex: 1;
  background:
    linear-gradient(160deg, rgba(229,9,20,.18) 0%, rgba(0,0,0,.0) 60%),
    url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=800&q=80') center/cover no-repeat;
  position: relative;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.login-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.75) 100%);
}

.login-left > * { position: relative; z-index: 1; }

.login-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: auto;
}

/* reuse the play-icon shape from main CSS */
.login-brand .play-icon {
  width: 26px;
  height: 20px;
  background: var(--red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-brand .play-icon::after {
  content: '';
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

.login-tagline {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 14px;
}

.login-sub {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 300px;
}

.login-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-perks li {
  color: rgba(255,255,255,.85);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-perks li i {
  color: var(--red);
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Right panel ── */
.login-right {
  width: 420px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
  border-left: 1px solid var(--border);
}

.login-box {
  width: 100%;
}

.login-box-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 30px;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 4px;
}

.login-box-sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

/* ── Social login buttons ── */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
}

.social-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.social-btn.google {
  background: #fff;
  color: #333;
}

.social-btn.facebook {
  background: #1877f2;
  color: #fff;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #444;
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Form fields ── */
.field-group {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  color: #ccc;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: .3px;
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 13px;
  color: #555;
  font-size: 13px;
  pointer-events: none;
}

.field-input {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  color: var(--text);
  border-radius: 5px;
  padding: 10px 14px 10px 38px;
  font-size: 13px;
  font-family: 'Barlow', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,9,20,.12);
}

.field-input::placeholder {
  color: #555;
}

.toggle-pass {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  transition: color .2s;
}

.toggle-pass:hover {
  color: var(--red);
}

/* ── Remember / Forgot ── */
.remember-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aaa;
  font-size: 12px;
  cursor: pointer;
}

.remember-check {
  accent-color: var(--red);
  width: 14px;
  height: 14px;
}

.forgot-link {
  color: var(--red);
  font-size: 12px;
  text-decoration: none;
  transition: color .2s;
}

.forgot-link:hover {
  color: #fff;
}

/* ── Sign in button ── */
.btn-login {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: 'Barlow', sans-serif;
}

.btn-login:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ── Error message ── */
.login-error {
  display: none;
  align-items: center;
  background: rgba(229,9,20,.12);
  border: 1px solid rgba(229,9,20,.3);
  color: #ff6b6b;
  font-size: 12px;
  border-radius: 4px;
  padding: 10px 14px;
  margin-top: 12px;
}

/* ── Register link ── */
.login-register {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 12px;
}

.login-register a {
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
}

.login-register a:hover {
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .login-left   { display: none; }
  .login-right  { width: 100%; border-left: none; padding: 36px 24px; }
  .login-wrapper { border-radius: 8px; }
  .film-strip   { display: none; }
}
