/* ------------------------------------------------------ */
/* GLOBAL HARDENING                                        */
/* ------------------------------------------------------ */

html, body {
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #050509;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  overscroll-behavior: none !important;
  touch-action: manipulation !important;
}

body {
  padding-bottom: env(safe-area-inset-bottom);
}

/* ------------------------------------------------------ */
/* BRAND                                                   */
/* ------------------------------------------------------ */

.brand-desktop,
.brand-mobile {
  font-family: 'Jost', sans-serif;
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  letter-spacing: -0.5px;
  transition: opacity .2s ease;
}

.brand-desktop:hover,
.brand-mobile:hover {
  opacity: 0.6;
}

.brand-desktop {
  display: block;
  text-align: center;
  margin-bottom: 24px;
}

@media (max-width: 899px) {
  .brand-desktop { display: none; }

  .brand-mobile {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
  }
}

@media (min-width: 900px) {
  .brand-mobile { display: none; }
}

/* ------------------------------------------------------ */
/* DESKTOP LAYOUT                                          */
/* ------------------------------------------------------ */

.left-col {
  position: fixed;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
  background: url("https://pub-5af5eea8418b42b1ae4c661df2e90697.r2.dev/IMG_5673-scaled.jpg")
    center center / cover no-repeat;
  z-index: 1;
}

.left-col::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.45),
    rgba(0,0,0,0)
  );
}

.access-block {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  text-align: center;
  color: #fff;
  max-width: 420px;
  padding: 0 20px;
  z-index: 2;
}

.access-title {
  font-size: 28px;
  font-weight: 400;
}

.access-subtitle {
  font-size: 14px;
  color: #b5b5c9;
}

/* ------------------------------------------------------ */
/* DESKTOP LOGIN CARD                                      */
/* ------------------------------------------------------ */

.right-col {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1a1024, #050509 55%, #000);
  z-index: 2;
}

.card {
  width: 100%;
  max-width: 362px;
  background: linear-gradient(145deg, #111119, #090912 55%, #151524);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 38px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.65);
  color: #fff;
}

.eyebrow {
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: #9a9ab0 !important;
  margin-bottom: 6px !important;
  font-weight: 600 !important;
}

.right-col .title {
  font-family: 'Jost', sans-serif !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  letter-spacing: -0.3px;
  margin-top: 0;
  margin-bottom: 8px;
  color: #c78aff !important;
}

/* ------------------------------------------------------ */
/* INPUTS                                                  */
/* ------------------------------------------------------ */

label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9a9ab0;
  margin-bottom: 6px;
}

input[type="email"] {
  width: 100%;
  padding: 11px 0px;
  border-radius: 10px;
  border: 1px solid #262637;
  background: rgba(5,5,12,0.9);
  color: #e6d9ff;
  font-size: 14px;
  margin-bottom: 16px;
}

input[type="email"]::placeholder {
  color: #7f7f9a;
  padding-left: 6px;
}

/* ------------------------------------------------------ */
/* BUTTONS                                                 */
/* ------------------------------------------------------ */

button,
.btn-primary,
.mobile-btn {
  cursor: pointer !important;
}

.right-col .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 48px;
  padding: 0 28px;
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  font-weight: 300;
  background: #9b51e0 !important;
  color: #ffffff !important;
  border: 0;
  border-radius: 10px;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
}

/* ------------------------------------------------------ */
/* MOBILE PANELS                                           */
/* ------------------------------------------------------ */

.mobile-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  padding: env(safe-area-inset-top) 24px env(safe-area-inset-bottom);
  background: rgba(5,5,9,0.85);
  backdrop-filter: blur(18px);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* FIX: allow cursor + hover inside panel */
  cursor: auto !important;
  pointer-events: auto !important;
}

.mobile-panel.active {
  transform: translateY(0);
  opacity: 1;
}

.panel-inner {
  width: 100%;
  max-width: 360px;
  text-align: center;
  color: #fff;
}

@media (min-width: 900px) {
  .panel-inner {
    max-width: 420px;
    padding: 40px;
    border-radius: 18px;
    background: rgba(10,10,15,0.65);
    backdrop-filter: blur(22px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.65);
  }
}

.mobile-close {
  margin-top: 30px;
  font-size: 14px;
  color: #9b51e0;
  font-weight: 600;
  cursor: pointer;
}

/* ------------------------------------------------------ */
/* MOBILE ACTION BUTTONS                                   */
/* ------------------------------------------------------ */

@media (max-width: 899px) {

  .left-col {
    width: 100vw;
    height: 100dvh !important;
  }

  .right-col {
    display: none !important;
  }

  .access-block {
    position: absolute;
    left: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 6vw !important;
    bottom: 100px !important;
    text-align: left !important;
  }

.mobile-actions {
    position: fixed !important;
    bottom: env(safe-area-inset-bottom) !important;

    /* THE FIX — replace width with left+right anchoring */
    left: 12px !important;
    right: 12px !important;
    width: auto !important;

    padding: 12px 0 !important;   /* keep your vertical padding, remove horizontal */
    display: flex !important;
    gap: 12px !important;

    z-index: 1000000000 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-sizing: border-box !important;
}


  .mobile-btn {
    flex: 1;
    line-height: 38px;
    border-radius: .5rem;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    border: none;
  }

  .btn-login { background: #fff; color: #000; }
  .btn-subscribe { background: #9b51e0; color: #fff; }
}

/* ------------------------------------------------------ */
/* UNIVERSAL BUTTON BASE (WP STYLE)                        */
/* ------------------------------------------------------ */

.btn-base {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 48px;
  padding: 0 28px;
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  font-weight: 300;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
  box-sizing: border-box;
}
.btn-primary {
  background: #9b51e0 !important;
  color: #ffffff !important;
}


/* ------------------------------------------------------ */
/* MISC FIXES                                              */
/* ------------------------------------------------------ */

.mobile-panel h2,
.panel-inner h2 {
  color: #ffffff !important;
}

#mobileSubscribePanel .panel-inner p:first-of-type {
  margin-bottom: 20px !important;
}
