/* ✅ 1. IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;700&display=swap');

:root {
  --netflix-red: #e50914;
  --netflix-red-glass: rgba(229, 9, 20, 0.5);
  --card-glass: rgba(0, 0, 0, 0.85);
  --border-glass: rgba(255, 255, 255, 0.15);
  --input-bg: #333333;
  --text-main: #ffffff;
  --text-muted: #b3b3b3;
  --radius: 8px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%),
    url("netflixbackground.jpg") no-repeat center center fixed;
  background-size: cover;
}

header {
  height: 150px;
  display: flex;
  align-items: center;
  padding: 0 4%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.main-logo {
  height: 140px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.7));
}

main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  padding: 20px 20px 80px;
  min-height: calc(100vh - 100px);
}

/* ✅ NEW: EMAIL GATE POSITION + TITLE */
.gate{
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  /* push it down ~2/3 of the viewport */
  padding-top: 38vh;
}

.gate-title{
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.05;
  color: #fff;
  text-align: left;
  margin: 0 0 16px 0;
  text-shadow: 0 10px 28px rgba(0,0,0,0.55);
}

.gate-subtitle{
  margin: 0 0 18px 0;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.4;
}

.gate-inner{ width:100%; }

.gate-row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items: stretch;
}

.gate-input{
  width:100%;
  height:56px;
  padding:0 14px;
  border-radius:4px;
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.55);
  color:#fff;
  font-size:16px;
  outline:none;
  backdrop-filter: blur(8px);
}

.gate-input::placeholder{ color: rgba(255,255,255,0.65); }

.gate-input:focus{
  border-color: rgba(229, 9, 20, 0.9);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.18);
}

.gate-btn{
  height:56px;
  padding:0 18px;
  border-radius:4px;
  border:1px solid rgba(229, 9, 20, 0.9);
  background: var(--netflix-red);
  color:#fff;
  font-family:'Inter', sans-serif;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

.gate-btn:hover{ filter: brightness(1.05); }

.gate-arrow{
  font-size:22px;
  line-height:1;
  transform: translateY(-1px);
}

.gate-hint{
  margin-top:10px;
  font-size:12px;
  color: rgba(255,255,255,0.75);
}

/* Mobile */
@media (max-width: 560px){
  .gate{ padding-top: 30vh; }
  .gate-title{ font-size: 30px; }
  .gate-row{ grid-template-columns: 1fr; }
  .gate-btn{ width:100%; justify-content:center; }
}


/* ✅ MAIN CARD */
.card {
  width: 100%;
  max-width: 480px;
  background: var(--card-glass);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(15px);
}

/* ✅ PROFESSIONAL HEADER (Thinner & Refined) */
.card-head {
  background: linear-gradient(135deg, var(--netflix-red-glass), rgba(185, 9, 11, 0.4));
  padding: 14px 20px;
  border-radius: var(--radius);
  text-align: left;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.card-head h1 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}

.card-head .sub {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Form Grid */
.grid { display: grid; gap: 20px; }

.section-title {
  color: var(--netflix-red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 10px 0 5px;
  letter-spacing: 1.5px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

input {
  width: 100%;
  padding: 14px;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.3s;
}

input:focus {
  outline: none;
  border-color: var(--netflix-red);
}

/* ✅ SLEEK TRANSPARENT GLASS BUTTONS */
.actions {
  margin-top: 40px;
}

button {
  width: 100%;
  background: rgba(229, 9, 20, 0.25);
  color: #fff;
  border: 1px solid var(--netflix-red);
  padding: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  letter-spacing: 1.2px;
}

button:hover {
  background: var(--netflix-red);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

/* ✅ PROFESSIONAL MINIMALIST ERROR BOX */
.error-container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  animation: slideDown 0.5s ease-out;
}

.error-content {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(20px);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  border-top: 3px solid var(--netflix-red);
  border-left: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.error-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
}

.error-content p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: var(--text-muted);
}

/* Utilities & Animations */
.hint { font-size: 11px; color: var(--text-muted); margin-top: 5px; }
.hidden { display: none !important; }
[hidden] { display: none !important; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  header { height: 100px; }
  .main-logo { height: 70px; }
  .card { padding: 25px; }
}
