*{box-sizing:border-box}
:root{--bg:#050505;--panel:#111;--text:#fff;--muted:#b8b8b8;--red:#e50914;--green:#005b35;--line:#292929}
body{margin:0;font-family:Arial,Helvetica,sans-serif}.dark{background:var(--bg);color:var(--text)}a{text-decoration:none;color:inherit}
.header{min-height:72px;padding:14px 6%;background:rgba(0,0,0,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:20}
.logo{font-size:28px;font-weight:900;color:var(--red)}nav{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.filter,.admin-link{border:1px solid #333;background:#151515;color:white;padding:9px 13px;border-radius:999px;cursor:pointer}.filter.active,.filter:hover,.admin-link:hover{background:var(--red);border-color:var(--red)}
.hero{min-height:520px;display:flex;align-items:center;padding:60px 7%;background:linear-gradient(90deg,#000 0%,rgba(0,0,0,.8) 45%,rgba(0,0,0,.2)),url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?q=80&w=1800&auto=format&fit=crop") center/cover}
.hero-content{max-width:760px}.tagline{color:var(--red);text-transform:uppercase;font-weight:bold;letter-spacing:2px}.hero h1{font-size:clamp(38px,6vw,68px);line-height:1.05;margin:12px 0}.hero p{color:#ddd;font-size:18px}
.btn,.btn-secondary{display:inline-block;border:0;border-radius:10px;padding:13px 18px;font-weight:800;cursor:pointer;margin-top:8px}.btn{background:var(--red);color:white}.btn-secondary{background:#2b2b2b;color:white}.full{width:100%}.small{padding:10px 14px}
.content{padding:36px 7%}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.topbar h2{font-size:34px;margin:0}
input,select,textarea{width:100%;background:#202020;color:white;border:1px solid #373737;border-radius:10px;padding:13px;margin:8px 0 16px;outline:none}textarea{min-height:100px}#search{max-width:420px;margin:0}.status,.empty{padding:28px;background:var(--panel);color:var(--muted);border-radius:14px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:22px}.card{background:var(--panel);border:1px solid #1f1f1f;border-radius:15px;overflow:hidden;transition:.25s}.card:hover{transform:translateY(-6px) scale(1.03);border-color:#555}.poster{height:270px;background:#151515;position:relative;overflow:hidden}.poster img{width:100%;height:100%;object-fit:cover}.badge{position:absolute;top:10px;left:10px;background:rgba(229,9,20,.92);padding:5px 9px;border-radius:999px;font-size:12px;text-transform:uppercase}.play{position:absolute;inset:0;margin:auto;width:54px;height:54px;border:2px solid white;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.65)}.card-info{padding:13px}.card-info h3{margin:0 0 6px;font-size:16px}.card-info p{margin:0;color:var(--muted);font-size:13px}
.watch-page{padding:26px 7%}.player-box{background:black;border-radius:18px;border:1px solid #272727;overflow:hidden}.player-box iframe{width:100%;height:72vh;border:0}.video-details{max-width:900px;padding:20px 0}.video-details p{color:#ccc}
.admin-layout{padding:32px 5%;display:grid;grid-template-columns:minmax(300px,430px) 1fr;gap:24px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px}.panel label{font-weight:bold;color:#ddd}.message{color:#ffb3b3;min-height:20px}
.admin-item{display:flex;align-items:center;gap:14px;border-bottom:1px solid #272727;padding:12px 0}.admin-item img{width:76px;height:98px;object-fit:cover;border-radius:10px}.admin-item h3{margin:0}.admin-item p{margin:4px 0;color:var(--muted)}.admin-item button{background:#2b2b2b;color:white;border:0;border-radius:8px;padding:9px 11px;cursor:pointer}.admin-item .danger{background:#8d1118}.grow{flex:1}

/* clean login/admin pages - CinemaHub red dark theme */
.clean-login{
  background:radial-gradient(circle at top,#241010,#050505 60%);
  color:#fff;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding-top:90px
}
.auth-card{
  width:min(370px,92vw);
  background:#111;
  border:1px solid #2b2b2b;
  border-radius:18px;
  padding:28px;
  box-shadow:0 20px 60px rgba(0,0,0,.45)
}
.auth-logo{
  width:48px;
  height:48px;
  background:var(--red);
  color:white;
  border-radius:14px;
  margin:0 auto 22px;
  display:grid;
  place-items:center;
  font-size:30px;
  font-weight:800;
  transform:rotate(6deg)
}
.admin-logo{
  transform:none;
  font-size:22px
}
.auth-card h1{
  text-align:center;
  font-size:28px;
  margin:0 0 38px;
  color:white
}
.admin-note{
  text-align:center;
  color:#bbb;
  margin-top:-20px;
  margin-bottom:24px
}
.google-btn,.clean-outline{
  width:100%;
  height:46px;
  background:#151515;
  border:1.5px solid var(--red);
  border-radius:6px;
  color:white;
  font-size:15px;
  cursor:pointer;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center
}
.google-btn:hover,.clean-outline:hover{
  background:var(--red)
}
.divider{
  display:flex;
  align-items:center;
  gap:16px;
  margin:28px 0
}
.divider span{
  flex:1;
  height:1px;
  background:#333
}
.divider b{
  font-size:10px;
  color:#aaa
}
.auth-card label{
  display:block;
  margin:0 0 6px;
  font-size:14px;
  color:#ddd
}
.clean-input{
  height:55px;
  background:#202020;
  color:white;
  border:1.5px solid #444;
  border-radius:6px;
  margin:0 0 18px;
  padding:12px;
  font-size:16px
}
.clean-input:focus{
  border-color:var(--red)
}
.password-wrap{
  position:relative
}
.password-wrap .clean-input{
  padding-right:50px
}
.password-wrap button{
  position:absolute;
  right:10px;
  top:13px;
  background:transparent;
  border:0;
  font-size:18px;
  cursor:pointer;
  color:white
}
.forgot{
  display:inline-block;
  color:#ffb3b3;
  border-bottom:1px solid #ffb3b3;
  margin:-8px 0 24px
}
.clean-primary{
  width:100%;
  height:48px;
  background:var(--red);
  color:white;
  border:0;
  border-radius:6px;
  font-size:15px;
  cursor:pointer;
  font-weight:700
}
.clean-primary:hover{
  background:#ff1b27
}
.no-account{
  margin-top:64px
}
.no-account p{
  margin-bottom:10px;
  color:#ccc
}
.clean-message{
  color:#ffb3b3;
  min-height:20px
}
@media(max-width:850px){.header{align-items:flex-start;flex-direction:column}.topbar{align-items:stretch;flex-direction:column}#search{max-width:none}.admin-layout{grid-template-columns:1fr}.poster{height:230px}.player-box iframe{height:52vh}.clean-login{padding-top:45px}}

.user-email{color:#ccc;font-size:14px;padding:9px 12px;border:1px solid #333;border-radius:999px;background:#111}

.choice-link{
  margin-top:14px;
  text-decoration:none;
}

.hidden{display:none!important}

.optional{color:#aaa;font-size:12px}.no-account.compact{margin-top:28px}


.logo{display:flex;align-items:center;gap:12px;color:#fff}
.logo img{display:block;height:46px;width:auto;max-width:260px;object-fit:contain}
.dashboard-brand span{font-size:22px;font-weight:800;color:#fff;letter-spacing:.4px}
.auth-brand{display:block;width:min(260px,92%);height:auto;margin:0 auto 18px;object-fit:contain}
.auth-card h1{margin-top:6px}
@media(max-width:850px){.logo img{height:40px;max-width:220px}.dashboard-brand span{font-size:19px}.auth-brand{width:min(230px,90%)}}


.download-panel{
  margin-top:28px;
  background:#101010;
  border:1px solid #272727;
  border-radius:18px;
  padding:18px;
}

.download-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.download-panel-head h3{
  margin:0;
  font-size:24px;
}

.download-clear{
  background:#1e1e1e;
  border:1px solid #333;
  color:white;
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
}

.download-clear:hover{
  background:var(--red);
  border-color:var(--red);
}

.download-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.download-row{
  display:flex;
  align-items:center;
  gap:14px;
  background:#171717;
  border:1px solid #2b2b2b;
  border-radius:14px;
  padding:14px;
}

.download-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  background:#222;
  border-radius:12px;
  font-size:20px;
}

.download-main{
  flex:1;
  min-width:0;
}

.download-title{
  font-weight:800;
  margin-bottom:7px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.download-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:#aaa;
  font-size:13px;
  margin-bottom:8px;
}

.download-progress{
  height:7px;
  background:#2a2a2a;
  border-radius:999px;
  overflow:hidden;
}

.download-progress span{
  display:block;
  height:100%;
  background:var(--red);
  border-radius:999px;
  transition:width .25s ease;
}

.download-open{
  color:white;
  border:1px solid #444;
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
}

.download-open:hover{
  background:var(--red);
  border-color:var(--red);
}

.download-empty{
  color:#aaa;
  background:#171717;
  border:1px solid #2b2b2b;
  border-radius:14px;
  padding:18px;
}

@media(max-width:700px){
  .download-row{
    align-items:flex-start;
  }
  .download-open{
    display:none;
  }
}


.series-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.82);
  backdrop-filter:blur(8px);
  display:grid;
  place-items:center;
  z-index:9999;
  padding:20px;
}

.series-modal-card{
  width:min(430px,94vw);
  background:#111;
  border:1px solid #333;
  border-radius:22px;
  padding:28px;
  box-shadow:0 24px 80px rgba(0,0,0,.65);
  position:relative;
  text-align:center;
}

.series-modal-card h2{
  margin:8px 0;
  font-size:30px;
}

.series-modal-card p{
  color:#bbb;
}

.series-modal-close{
  position:absolute;
  right:14px;
  top:12px;
  background:#202020;
  color:#fff;
  border:1px solid #333;
  width:34px;
  height:34px;
  border-radius:50%;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}

.series-lock-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background:#1d1d1d;
  border:1px solid #333;
  display:grid;
  place-items:center;
  font-size:28px;
  margin:0 auto;
}

.security-note{
  color:#bbb;
  line-height:1.5;
}


/* Animated login/signup design inspired by the uploaded reference */
.animated-auth-page{
  min-height:100vh;
  margin:0;
  color:#111;
  display:grid;
  place-items:center;
  padding:34px;
  overflow:hidden;
  position:relative;
  background:#f7f8fb;
}

.auth-grid-bg{
  position:fixed;
  inset:-2px;
  background:
    linear-gradient(rgba(0,0,0,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.18) 1px, transparent 1px);
  background-size:150px 150px;
  opacity:.5;
  animation:gridSlide 18s linear infinite;
}

.auth-orb{
  position:fixed;
  border-radius:50%;
  filter:blur(8px);
  opacity:.22;
  pointer-events:none;
}

.auth-orb-one{
  width:280px;
  height:280px;
  background:#e50914;
  top:8%;
  left:8%;
  animation:orbFloat 8s ease-in-out infinite;
}

.auth-orb-two{
  width:220px;
  height:220px;
  background:#4f6cff;
  right:10%;
  bottom:9%;
  animation:orbFloat 9s ease-in-out infinite reverse;
}

.auth-browser{
  width:min(1180px,96vw);
  min-height:720px;
  background:#eef3f7;
  border:1px solid rgba(255,255,255,.8);
  box-shadow:0 36px 80px rgba(0,0,0,.20);
  position:relative;
  z-index:2;
  animation:browserIn .75s cubic-bezier(.2,.8,.2,1) both;
}

.browser-bar{
  height:38px;
  background:#1d1d1f;
  border-radius:10px 10px 0 0;
  display:flex;
  align-items:center;
  gap:10px;
  padding-left:18px;
}

.browser-bar .dot{
  width:12px;
  height:12px;
  border-radius:50%;
  display:block;
}

.browser-bar .red{background:#ff5f57}
.browser-bar .yellow{background:#ffbd2e}
.browser-bar .green{background:#28c840}

.auth-stage{
  min-height:682px;
  display:grid;
  place-items:center;
  padding:42px;
  background:
    radial-gradient(circle at 73% 20%, rgba(255,255,255,.85), transparent 12%),
    radial-gradient(circle at 74% 84%, rgba(79,108,255,.12), transparent 18%),
    #eef3f7;
}

.animated-auth-card{
  width:min(650px,94vw);
  min-height:370px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 20px 45px rgba(38,48,70,.18);
  border-radius:6px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  backdrop-filter:blur(12px);
  position:relative;
  animation:cardPop .9s cubic-bezier(.22,1,.36,1) .12s both;
}

.signup-card{
  width:min(760px,94vw);
  grid-template-columns:.9fr 1.1fr;
  min-height:520px;
}

.auth-form-side{
  padding:34px 42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  animation:formSlideIn .8s ease .38s both;
}

.signup-form-side{
  padding:26px 38px;
}

.auth-brand.animated-brand{
  width:106px;
  max-height:46px;
  object-fit:contain;
  margin:0 auto 10px;
  display:block;
  animation:brandPulse 2.8s ease-in-out infinite;
}

.auth-form-side h1{
  text-align:center;
  margin:0 0 20px;
  color:#151515;
  font-size:24px;
  font-weight:900;
}

.signup-form-side h1{
  margin-bottom:16px;
}

.social-login{
  width:100%;
  height:38px;
  border-radius:999px;
  border:1px solid #d6dce5;
  background:#fff;
  color:#111;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  transition:.25s ease;
}

.social-login:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(79,108,255,.16);
}

.divider.light{
  margin:16px 0;
  gap:10px;
}

.divider.light span{
  background:#d9dfe7;
}

.divider.light b{
  color:#a1a8b3;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}

.auth-form-side label{
  color:#7b8492;
  font-size:12px;
  font-weight:800;
  margin:0 0 5px;
}

.animated-input{
  height:40px;
  background:#f6f8fb!important;
  color:#111!important;
  border:1px solid #dbe2ea!important;
  border-radius:7px!important;
  margin:0 0 10px!important;
  padding:10px 13px!important;
  font-size:13px!important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.04);
  transition:.25s ease;
}

.animated-input:focus{
  border-color:#4f6cff!important;
  box-shadow:0 0 0 4px rgba(79,108,255,.12)!important;
}

.animated-password .animated-input{
  padding-right:44px!important;
}

.animated-password button{
  top:4px;
  right:6px;
  color:#596274;
}

.animated-link{
  color:#7d8491;
  font-size:12px;
  text-align:center;
  margin:1px 0 18px;
  border-bottom:1px solid #c0c6d0;
  align-self:center;
}

.animated-primary,
.animated-outline{
  min-width:118px;
  height:42px;
  border:0;
  border-radius:999px;
  background:#4f6cff;
  color:white;
  font-size:12px;
  font-weight:900;
  letter-spacing:.6px;
  cursor:pointer;
  box-shadow:0 10px 18px rgba(79,108,255,.35);
  transition:.25s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.animated-primary{
  align-self:center;
  padding:0 34px;
}

.animated-primary:hover,
.animated-outline:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 16px 24px rgba(79,108,255,.42);
}

.clean-message{
  text-align:center;
  color:#e50914!important;
  font-size:13px;
  margin-top:10px;
}

.auth-welcome-side{
  position:relative;
  color:#111;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:36px;
  text-align:center;
  overflow:hidden;
  background:linear-gradient(135deg,rgba(255,255,255,.5),rgba(236,241,249,.9));
  animation:welcomeSlideIn .9s ease .28s both;
}

.auth-welcome-side::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg, transparent, rgba(255,255,255,.65), transparent);
  transform:translateX(-120%);
  animation:shineMove 3.4s ease-in-out infinite;
}

.auth-welcome-side h2{
  margin:0 0 16px;
  font-size:26px;
  font-weight:900;
  z-index:1;
}

.auth-welcome-side p{
  color:#9aa1ac;
  font-size:13px;
  max-width:230px;
  line-height:1.55;
  margin:0 0 24px;
  z-index:1;
}

.auth-welcome-side .animated-outline{
  z-index:1;
  padding:0 32px;
}

.circle-deco{
  position:absolute;
  border:32px solid rgba(79,108,255,.10);
  border-radius:50%;
  animation:circleFloat 6s ease-in-out infinite;
}

.circle-top{
  width:150px;
  height:150px;
  top:-86px;
  left:-24px;
}

.circle-bottom{
  width:210px;
  height:210px;
  bottom:-118px;
  right:-76px;
  animation-delay:-2s;
}

.two-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

@keyframes gridSlide{
  0%{background-position:0 0,0 0}
  100%{background-position:150px 150px,150px 150px}
}

@keyframes browserIn{
  from{opacity:0;transform:translateY(30px) scale(.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@keyframes cardPop{
  0%{opacity:0;transform:translateY(34px) scale(.9);filter:blur(8px)}
  65%{opacity:1;transform:translateY(-4px) scale(1.02);filter:blur(0)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}

@keyframes formSlideIn{
  from{opacity:0;transform:translateX(-32px)}
  to{opacity:1;transform:translateX(0)}
}

@keyframes welcomeSlideIn{
  from{opacity:0;transform:translateX(42px)}
  to{opacity:1;transform:translateX(0)}
}

@keyframes shineMove{
  0%,55%{transform:translateX(-120%)}
  100%{transform:translateX(120%)}
}

@keyframes circleFloat{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-14px) scale(1.05)}
}

@keyframes orbFloat{
  0%,100%{transform:translate(0,0)}
  50%{transform:translate(28px,-24px)}
}

@keyframes brandPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.04)}
}

@media(max-width:820px){
  .animated-auth-page{
    padding:16px;
  }

  .auth-browser{
    min-height:auto;
  }

  .auth-stage{
    min-height:auto;
    padding:24px 14px;
  }

  .animated-auth-card,
  .signup-card{
    grid-template-columns:1fr;
    width:min(430px,96vw);
  }

  .auth-welcome-side{
    min-height:220px;
    order:-1;
  }

  .signup-form-side,
  .auth-form-side{
    padding:28px 24px;
  }

  .two-fields{
    grid-template-columns:1fr;
    gap:0;
  }
}


/* CrazyHub dark cinematic auth theme */
.crazy-dark-auth{
  background:
    radial-gradient(circle at 15% 18%, rgba(229,9,20,.35), transparent 28%),
    radial-gradient(circle at 86% 80%, rgba(229,9,20,.18), transparent 24%),
    linear-gradient(135deg,#020202,#090909 42%,#130103);
  color:#fff;
}

.crazy-dark-auth .auth-grid-bg{
  background:
    linear-gradient(rgba(229,9,20,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,9,20,.13) 1px, transparent 1px);
  background-size:110px 110px;
  opacity:.35;
}

.crazy-dark-auth .auth-orb-one{
  background:#e50914;
  opacity:.45;
  filter:blur(28px);
}

.crazy-dark-auth .auth-orb-two{
  background:#750008;
  opacity:.5;
  filter:blur(32px);
}

.crazy-dark-auth .auth-browser{
  background:#080808;
  border:1px solid rgba(229,9,20,.28);
  box-shadow:
    0 36px 90px rgba(0,0,0,.75),
    0 0 80px rgba(229,9,20,.18);
}

.crazy-dark-auth .browser-bar{
  background:#050505;
  border-bottom:1px solid rgba(229,9,20,.25);
}

.crazy-dark-auth .auth-stage{
  background:
    radial-gradient(circle at 72% 20%, rgba(229,9,20,.16), transparent 22%),
    radial-gradient(circle at 25% 85%, rgba(255,255,255,.07), transparent 18%),
    linear-gradient(135deg,#050505,#0b0b0c 58%,#160204);
}

.crazy-dark-auth .animated-auth-card{
  background:rgba(12,12,13,.88);
  border:1px solid rgba(229,9,20,.35);
  border-radius:24px;
  box-shadow:
    0 28px 70px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 0 55px rgba(229,9,20,.16);
}

.crazy-dark-auth .auth-form-side{
  background:
    radial-gradient(circle at top, rgba(229,9,20,.12), transparent 32%),
    rgba(8,8,9,.92);
}

.crazy-dark-auth .auth-welcome-side{
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.11), transparent 16%),
    linear-gradient(135deg,#e50914,#730008 58%,#1a0002);
  color:#fff;
}

.crazy-dark-auth .auth-welcome-side::before{
  background:linear-gradient(110deg, transparent, rgba(255,255,255,.2), transparent);
}

.crazy-dark-auth .auth-form-side h1,
.crazy-dark-auth .auth-welcome-side h2{
  color:#fff;
  text-shadow:0 0 22px rgba(229,9,20,.42);
}

.crazy-dark-auth .auth-welcome-side h2{
  font-size:31px;
  line-height:1.1;
}

.crazy-dark-auth .auth-welcome-side p{
  color:rgba(255,255,255,.82);
  font-size:14px;
}

.crazy-dark-auth .auth-form-side label{
  color:#c8c8c8;
}

.crazy-dark-auth .animated-input{
  background:#141414!important;
  color:#fff!important;
  border:1px solid #333!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)!important;
}

.crazy-dark-auth .animated-input:focus{
  border-color:#e50914!important;
  box-shadow:
    0 0 0 4px rgba(229,9,20,.18)!important,
    0 0 20px rgba(229,9,20,.18)!important;
}

.crazy-dark-auth .social-login{
  background:#111;
  color:#fff;
  border:1px solid #333;
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}

.crazy-dark-auth .social-login:hover{
  border-color:#e50914;
  box-shadow:0 12px 26px rgba(229,9,20,.25);
}

.crazy-dark-auth .divider.light span{
  background:#333;
}

.crazy-dark-auth .divider.light b{
  color:#858585;
}

.crazy-dark-auth .animated-link{
  color:#bbb;
  border-bottom-color:#555;
}

.crazy-dark-auth .animated-primary,
.crazy-dark-auth .animated-outline{
  background:#e50914;
  box-shadow:0 12px 28px rgba(229,9,20,.38);
}

.crazy-dark-auth .animated-primary:hover,
.crazy-dark-auth .animated-outline:hover{
  box-shadow:0 18px 34px rgba(229,9,20,.5);
}

.crazy-dark-auth .animated-outline{
  border:1px solid rgba(255,255,255,.65);
}

.crazy-dark-auth .circle-deco{
  border-color:rgba(255,255,255,.15);
}

.crazy-dark-auth .animated-brand{
  filter:drop-shadow(0 0 18px rgba(229,9,20,.55));
}

.crazy-dark-auth .clean-message{
  color:#ff4d57!important;
}

.crazy-dark-auth::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 55%, rgba(0,0,0,.42) 100%),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size:auto, 100% 4px;
  mix-blend-mode:screen;
  opacity:.55;
  z-index:1;
}

.crazy-dark-auth .auth-browser{
  z-index:3;
}

.crazy-dark-auth .two-fields .animated-input{
  min-width:0;
}


/* Pic-1 auth layout fix: no outer browser frame, centered card focus */
.crazy-dark-auth .auth-browser{
  width:min(980px,92vw)!important;
  min-height:auto!important;
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  display:block!important;
}

.crazy-dark-auth .browser-bar{
  display:none!important;
}

.crazy-dark-auth .auth-stage{
  min-height:auto!important;
  padding:0!important;
  background:transparent!important;
  display:grid!important;
  place-items:center!important;
}

.crazy-dark-auth .animated-auth-card{
  width:min(980px,92vw)!important;
  min-height:620px!important;
  border-radius:32px!important;
  overflow:hidden!important;
}

.crazy-dark-auth .signup-card{
  width:min(1080px,94vw)!important;
  min-height:680px!important;
}

.crazy-dark-auth .auth-form-side{
  padding:40px 48px!important;
}

.crazy-dark-auth .signup-form-side{
  padding:34px 42px!important;
}

.crazy-dark-auth .auth-form-side h1{
  font-size:28px!important;
  margin-bottom:22px!important;
}

.crazy-dark-auth .social-login{
  height:54px!important;
  font-size:17px!important;
  border-radius:999px!important;
}

.crazy-dark-auth .animated-input{
  height:58px!important;
  font-size:17px!important;
  border-radius:12px!important;
}

.crazy-dark-auth .auth-form-side label{
  font-size:15px!important;
  margin-bottom:8px!important;
}

.crazy-dark-auth .animated-primary,
.crazy-dark-auth .animated-outline{
  height:58px!important;
  font-size:15px!important;
  min-width:210px!important;
}

.crazy-dark-auth .auth-welcome-side h2{
  font-size:58px!important;
  line-height:1.05!important;
  max-width:320px!important;
}

.crazy-dark-auth .auth-welcome-side p{
  font-size:18px!important;
  line-height:1.6!important;
  max-width:340px!important;
}

.crazy-dark-auth .circle-top{
  width:170px!important;
  height:170px!important;
  top:-70px!important;
  left:-20px!important;
}

.crazy-dark-auth .circle-bottom{
  width:240px!important;
  height:240px!important;
  bottom:-90px!important;
  right:-60px!important;
}

@media(max-width:820px){
  .crazy-dark-auth .auth-browser{
    width:min(96vw,460px)!important;
  }

  .crazy-dark-auth .animated-auth-card,
  .crazy-dark-auth .signup-card{
    width:min(96vw,460px)!important;
    min-height:auto!important;
    border-radius:24px!important;
  }

  .crazy-dark-auth .auth-welcome-side h2{
    font-size:36px!important;
    max-width:none!important;
  }

  .crazy-dark-auth .auth-welcome-side p{
    font-size:15px!important;
    max-width:none!important;
  }
}


/* Username login/signup update */
.crazy-dark-auth .animated-input::placeholder{
  color:#777;
}


/* Centered login adjustment */
.crazy-dark-auth{
  display:grid !important;
  place-items:center !important;
}

.crazy-dark-auth .auth-browser{
  width:min(980px,92vw)!important;
  margin:0 auto!important;
  display:grid!important;
  place-items:center!important;
}

.crazy-dark-auth .auth-stage{
  width:100%!important;
  display:grid!important;
  place-items:center!important;
}

.crazy-dark-auth .animated-auth-card{
  margin:0 auto!important;
}

.crazy-dark-auth .auth-welcome-side{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:48px 42px!important;
}

.crazy-dark-auth .auth-welcome-side h2{
  max-width:300px!important;
  margin:0 auto 18px!important;
  text-align:center!important;
}

.crazy-dark-auth .auth-welcome-side p{
  max-width:320px!important;
  margin:0 auto 28px!important;
  text-align:center!important;
}

.crazy-dark-auth .auth-welcome-side .animated-outline{
  align-self:center!important;
  margin:0 auto!important;
}

@media(max-width:820px){
  .crazy-dark-auth .auth-welcome-side{
    padding:34px 24px!important;
  }
}


/* Forgot password page */
.forgot-card{
  width:min(900px,92vw)!important;
  min-height:560px!important;
}

.forgot-form-side{
  justify-content:center!important;
}

.forgot-info{
  color:#bdbdbd;
  text-align:center;
  line-height:1.55;
  max-width:360px;
  margin:0 auto 22px;
}

.forgot-auth-browser{
  width:min(900px,92vw)!important;
}

.back-login-link{
  margin-top:18px!important;
}

.forgot-welcome-side h2{
  font-size:46px!important;
}

.forgot-welcome-side p{
  max-width:310px!important;
}


/* Forgot password centering fix */
.crazy-dark-auth .forgot-auth-browser{
  width:min(900px,92vw)!important;
  min-height:auto!important;
  margin:0 auto!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
}

.crazy-dark-auth .forgot-auth-browser .auth-stage{
  width:100%!important;
  min-height:auto!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
}

.crazy-dark-auth .forgot-card{
  width:min(900px,92vw)!important;
  min-height:560px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  align-items:stretch!important;
}

.crazy-dark-auth .forgot-form-side{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  padding:40px 42px!important;
}

.crazy-dark-auth .forgot-form-side label{
  width:100%;
  max-width:340px;
  text-align:left!important;
}

.crazy-dark-auth .forgot-form-side .animated-input{
  width:100%;
  max-width:340px;
}

.crazy-dark-auth .forgot-form-side .animated-primary{
  align-self:center!important;
  margin-top:8px!important;
}

.crazy-dark-auth .forgot-welcome-side{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:42px 34px!important;
}

.crazy-dark-auth .forgot-welcome-side h2{
  max-width:280px!important;
  margin:0 auto 18px!important;
  text-align:center!important;
}

.crazy-dark-auth .forgot-welcome-side p{
  max-width:300px!important;
  margin:0 auto 26px!important;
  text-align:center!important;
}

.crazy-dark-auth .forgot-welcome-side .animated-outline{
  align-self:center!important;
  margin:0 auto!important;
}

@media(max-width:820px){
  .crazy-dark-auth .forgot-card{
    width:min(96vw,460px)!important;
    grid-template-columns:1fr!important;
    min-height:auto!important;
  }

  .crazy-dark-auth .forgot-form-side{
    padding:28px 24px!important;
  }

  .crazy-dark-auth .forgot-welcome-side{
    padding:30px 24px!important;
  }
}


/* Signup page centered layout */
.signup-centered-page{
  display:grid!important;
  place-items:center!important;
}

.signup-centered-page .auth-browser{
  width:min(1080px,94vw)!important;
  min-height:auto!important;
  margin:0 auto!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
}

.signup-centered-page .browser-bar{
  display:none!important;
}

.signup-centered-page .auth-stage{
  width:100%!important;
  min-height:auto!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
}

.signup-centered-page .signup-card{
  width:min(1080px,94vw)!important;
  min-height:700px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:.95fr 1.05fr!important;
  align-items:stretch!important;
  border-radius:32px!important;
  overflow:hidden!important;
}

.signup-centered-page .signup-welcome{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:48px 42px!important;
}

.signup-centered-page .signup-welcome h2{
  max-width:330px!important;
  margin:0 auto 18px!important;
  text-align:center!important;
}

.signup-centered-page .signup-welcome p{
  max-width:320px!important;
  margin:0 auto 28px!important;
  text-align:center!important;
}

.signup-centered-page .signup-welcome .animated-outline{
  align-self:center!important;
  margin:0 auto!important;
}

.signup-centered-page .signup-form-side{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:left!important;
  padding:34px 46px!important;
}

.signup-centered-page .signup-form-side h1{
  text-align:center!important;
  width:100%!important;
}

.signup-centered-page .signup-form-side label{
  width:100%;
  max-width:390px;
  text-align:left!important;
}

.signup-centered-page .signup-form-side .animated-input{
  width:100%;
  max-width:390px;
}

.signup-centered-page .signup-form-side .animated-primary{
  align-self:center!important;
  margin-top:10px!important;
}

@media(max-width:860px){
  .signup-centered-page .signup-card{
    width:min(96vw,470px)!important;
    grid-template-columns:1fr!important;
    min-height:auto!important;
  }

  .signup-centered-page .signup-welcome{
    padding:32px 24px!important;
    order:-1;
  }

  .signup-centered-page .signup-form-side{
    padding:28px 24px!important;
  }
}


/* Final profile dropdown + separate pages */
.profile-wrap{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  z-index:9999!important;
}

.profile-email-btn{
  min-width:160px!important;
  max-width:360px!important;
  min-height:58px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  font:inherit!important;
  font-weight:800!important;
  background:#151515!important;
  color:#f5f5f5!important;
  border:2px solid #3a3a3d!important;
  border-radius:999px!important;
  padding:14px 28px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.profile-email-btn:empty::before{
  content:"Account";
}

.profile-email-btn:hover{
  border-color:#e50914!important;
  box-shadow:0 0 22px rgba(229,9,20,.35)!important;
}

.profile-menu{
  position:absolute!important;
  top:calc(100% + 14px)!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  min-width:235px!important;
  background:linear-gradient(180deg,#171717,#070707)!important;
  border:2px solid rgba(229,9,20,.65)!important;
  border-radius:22px!important;
  padding:12px!important;
  box-shadow:0 20px 50px rgba(0,0,0,.7), 0 0 30px rgba(229,9,20,.2)!important;
  z-index:99999!important;
}

.profile-menu::before{
  content:""!important;
  position:absolute!important;
  top:-9px!important;
  left:50%!important;
  width:16px!important;
  height:16px!important;
  background:#171717!important;
  border-left:2px solid rgba(229,9,20,.65)!important;
  border-top:2px solid rgba(229,9,20,.65)!important;
  transform:translateX(-50%) rotate(45deg)!important;
}

.profile-menu a{
  display:block!important;
  color:#fff!important;
  text-decoration:none!important;
  border-radius:16px!important;
  padding:15px 18px!important;
  font-weight:900!important;
  font-size:19px!important;
  text-align:center!important;
}

.profile-menu a:hover{
  background:#e50914!important;
}

.profile-menu a + a{
  margin-top:8px!important;
}

.profile-menu.hidden{
  display:none!important;
}

.profile-page{
  min-height:100vh!important;
  margin:0!important;
  background:#050505!important;
  color:#fff!important;
  font-family:Arial, Helvetica, sans-serif!important;
  position:relative!important;
  overflow-x:hidden!important;
}

.profile-page-top{
  width:min(1380px,94vw)!important;
  margin:0 auto!important;
  padding:28px 0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  position:relative!important;
  z-index:2!important;
}

.profile-page-logo{
  height:54px!important;
  object-fit:contain!important;
}

.back-home{
  color:#fff!important;
  text-decoration:none!important;
  background:#151515!important;
  border:1px solid #333!important;
  border-radius:999px!important;
  padding:14px 22px!important;
  font-weight:900!important;
}

.profile-page-main{
  width:min(1380px,94vw)!important;
  min-height:calc(100vh - 120px)!important;
  margin:0 auto!important;
  display:grid!important;
  align-items:center!important;
  justify-items:center!important;
  position:relative!important;
  z-index:2!important;
  padding:20px 0 60px!important;
}

.profile-edit-card{
  width:min(520px,94vw)!important;
  min-height:560px!important;
  background:#070707!important;
  border:2px solid #e50914!important;
  border-radius:30px!important;
  padding:42px 40px!important;
  box-shadow:0 24px 80px rgba(0,0,0,.65), 0 0 45px rgba(229,9,20,.18)!important;
}

.profile-edit-card h1{
  margin:0 0 12px!important;
  font-size:44px!important;
  line-height:1.05!important;
}

.profile-edit-card p{
  margin:0 0 42px!important;
  color:#bdbdbd!important;
  font-size:18px!important;
  font-weight:800!important;
}

.profile-edit-card label{
  display:block!important;
  margin:24px 0 10px!important;
  color:#e8e8e8!important;
  font-size:20px!important;
  font-weight:900!important;
}

.profile-edit-card input{
  width:100%!important;
  height:58px!important;
  box-sizing:border-box!important;
  border-radius:12px!important;
  border:2px solid #3b3b3d!important;
  background:#202020!important;
  color:#fff!important;
  outline:none!important;
  padding:0 18px!important;
  font-size:18px!important;
}

.profile-edit-card button{
  width:100%!important;
  height:62px!important;
  margin-top:48px!important;
  border:0!important;
  border-radius:12px!important;
  background:#f00614!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:900!important;
  cursor:pointer!important;
}

.profile-form-status{
  min-height:24px!important;
  margin:18px 0 0!important;
  color:#ffb3b3!important;
  text-align:center!important;
  font-size:16px!important;
  font-weight:800!important;
}


/* SMALL ACCOUNT BUTTON + CLICK FIX */
.profile-wrap{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  z-index:9999!important;
  flex:0 0 auto!important;
}

.profile-email-btn{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  font-size:16px!important;
  line-height:1.2!important;
  font-weight:700!important;
  background:#151515!important;
  color:#fff!important;
  border:1px solid #333!important;
  border-radius:999px!important;
  padding:9px 13px!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  flex:0 0 auto!important;
}

.profile-email-btn:hover,
.profile-email-btn.profile-open{
  border-color:#444!important;
  background:#151515!important;
  box-shadow:none!important;
}

.profile-menu{
  position:absolute!important;
  top:calc(100% + 12px)!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  min-width:220px!important;
  background:linear-gradient(180deg,#171717,#070707)!important;
  border:2px solid rgba(229,9,20,.65)!important;
  border-radius:20px!important;
  padding:10px!important;
  box-shadow:0 20px 50px rgba(0,0,0,.7), 0 0 30px rgba(229,9,20,.2)!important;
  z-index:99999!important;
}

.profile-menu::before{
  content:""!important;
  position:absolute!important;
  top:-9px!important;
  left:50%!important;
  width:16px!important;
  height:16px!important;
  background:#171717!important;
  border-left:2px solid rgba(229,9,20,.65)!important;
  border-top:2px solid rgba(229,9,20,.65)!important;
  transform:translateX(-50%) rotate(45deg)!important;
}

.profile-menu a{
  display:block!important;
  color:#fff!important;
  text-decoration:none!important;
  border-radius:14px!important;
  padding:14px 16px!important;
  font-weight:900!important;
  font-size:18px!important;
  text-align:center!important;
}

.profile-menu a:hover{
  background:#e50914!important;
}

.profile-menu a + a{
  margin-top:7px!important;
}

.profile-menu.hidden{
  display:none!important;
}
