.netoflix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.netoflix-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.netoflix-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.netoflix-card h3 {
  margin: 10px 0 6px;
  font-size: 18px;
}

.netoflix-card p {
  margin: 0 0 10px;
  color: #4a4a4a;
}

.netoflix-player-wrap {
  margin-top: 16px;
}

.netoflix-auth-shell {
  position: relative;
  max-width: 920px;
  margin: 24px auto;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.netoflix-auth-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)),
    radial-gradient(1100px 560px at 10% 20%, rgba(229, 9, 20, 0.25), transparent 55%),
    radial-gradient(900px 460px at 86% 72%, rgba(23, 112, 255, 0.2), transparent 58%),
    repeating-linear-gradient(-25deg, #101010 0 72px, #161616 72px 152px);
}

.netoflix-auth-panel {
  position: relative;
  z-index: 1;
  width: min(512px, 92%);
  margin: 42px auto;
  padding: 29px 27px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
}

.netoflix-auth-panel h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(32px, 5vw, 51px);
  line-height: 1.05;
}

.netoflix-auth-lead {
  margin: 0 0 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.netoflix-auth-alert {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.netoflix-auth-alert-error {
  background: rgba(229, 9, 20, 0.22);
  border: 1px solid rgba(229, 9, 20, 0.55);
}

.netoflix-auth-alert-success {
  background: rgba(20, 140, 70, 0.25);
  border: 1px solid rgba(20, 140, 70, 0.6);
}

.netoflix-auth-form {
  display: grid;
  gap: 12px;
}

.netoflix-auth-field span {
  display: none;
}

.netoflix-auth-field input {
  width: 100%;
  min-height: 58px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(22, 22, 22, 0.86);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 0 22px;
}

.netoflix-auth-field input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.netoflix-auth-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 58px;
  border-radius: 10px;
  border: 0;
  background: var(--nf-accent, #e50914);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.netoflix-auth-btn:hover {
  background: color-mix(in srgb, var(--nf-accent, #e50914) 88%, black);
  color: #fff;
}

.netoflix-auth-btn-soft {
  background: rgba(120, 128, 148, 0.38);
}

.netoflix-auth-btn-soft:hover {
  background: rgba(140, 149, 170, 0.45);
}

.netoflix-auth-divider {
  margin: 8px 0 2px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.netoflix-auth-help {
  margin: 2px 0 0;
  text-align: center;
}

.netoflix-auth-help a {
  color: #fff;
  text-decoration: underline;
  font-size: 13px;
}

.netoflix-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: #fff;
  font-size: 12px;
}

.netoflix-auth-check input {
  width: 19px;
  height: 19px;
}

.netoflix-auth-signup {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.netoflix-auth-copy {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

.netoflix-auth-copy strong {
  color: #fff;
}

.netoflix-auth-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .netoflix-auth-panel {
    margin: 26px auto;
    padding: 24px 18px;
  }

  .netoflix-auth-panel h2 {
    font-size: clamp(34px, 8vw, 52px);
  }

  .netoflix-auth-lead {
    font-size: 17px;
  }

  .netoflix-auth-field input,
  .netoflix-auth-btn {
    min-height: 56px;
    font-size: 16px;
  }

  .netoflix-auth-divider {
    font-size: 20px;
  }

  .netoflix-auth-help a {
    font-size: 16px;
  }

  .netoflix-auth-check {
    font-size: 16px;
  }

  .netoflix-auth-copy {
    font-size: 18px;
  }

  .netoflix-auth-note {
    font-size: 14px;
  }
}
