/* ==========================================================================
   SHEMAX STYLE — SheMax
   Simplified 50/50 split-screen restricted-access checkpoint.

   Design rule: the red Continue button is the sole strong color accent.
   Everything else is intentionally grayscale and low-competition.
   ========================================================================== */

:root {
  --smx-bg: #161616;
  --smx-panel: #121212;
  --smx-accent: #f01c00;
  --smx-accent-hover: #e74630;
  --smx-white: #ffffff;
  --smx-copy: #d9d9d9;
  --smx-muted: #929292;
  --smx-line: rgba(255, 255, 255, 0.12);
}

html.smx-lock,
body.smx-lock {
  overflow: hidden !important;
}

body.smx-lock > :not(.smx_shell) {
  pointer-events: none;
  user-select: none;
}

.smx_shell,
.smx_shell * {
  box-sizing: border-box;
}

.smx_shell {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  color: var(--smx-white);
  background: rgba(0, 0, 0, 0.12);
}

.smx_shell:focus {
  outline: none;
}

.smx_shell.is-hidden {
  display: none;
}

/* LEFT HALF
   The underlying page is still visible, but heavily softened.
   The outlined 18+ is the only content in this half. */
.smx_visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: rgba(18, 18, 18, 0.50);
  -webkit-backdrop-filter: blur(11px) brightness(0.68) saturate(0.62);
  backdrop-filter: blur(11px) brightness(0.68) saturate(0.62);
}

.smx_visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(12, 12, 12, 0.08),
    rgba(12, 12, 12, 0.18) 70%,
    rgba(12, 12, 12, 0.34)
  );
}

.smx_age_mark {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  line-height: 0.72;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.48);
  text-shadow: 0 20px 58px rgba(0, 0, 0, 0.36);
}

.smx_age_number {
  font-size: clamp(190px, 23vw, 370px);
  font-weight: 900;
  letter-spacing: -0.09em;
}

.smx_age_plus {
  margin: 0.10em 0 0 0.08em;
  font-size: clamp(72px, 8vw, 132px);
  font-weight: 900;
}

/* RIGHT HALF
   Simple, neutral, full-height content area. */
.smx_access {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  background: rgba(18, 18, 18, 0.985);
  box-shadow: -18px 0 54px rgba(0, 0, 0, 0.34);
}

.smx_access_inner {
  width: min(590px, calc(100% - 80px));
  margin: 0 auto;
  transform: translateY(6px);
}

.smx_title {
  margin: 0 0 21px;
  color: var(--smx-white);
  font-size: clamp(46px, 4.5vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.smx_intro {
  max-width: 550px;
  margin: 0 0 34px;
  color: var(--smx-copy);
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 300;
  line-height: 1.52;
}

.smx_requirements {
  border-top: 1px solid var(--smx-line);
}

.smx_requirement {
  padding: 20px 0;
  border-bottom: 1px solid var(--smx-line);
}

.smx_requirement strong {
  display: block;
  margin: 0 0 6px;
  color: #efefef;
  font-size: 15px;
  font-weight: 500;
}

.smx_requirement p {
  margin: 0;
  color: var(--smx-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.smx_actions {
  margin-top: 38px;
}

.smx_continue,
.smx_leave {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.smx_continue {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 0 23px 0 26px;
  border: 0;
  border-radius: 0;
  background: var(--smx-accent);
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.005em;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.smx_continue:hover,
.smx_continue:focus-visible {
  background: var(--smx-accent-hover);
}

.smx_arrow {
  flex: 0 0 auto;
  margin-left: 18px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.smx_leave {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  margin: 18px auto 0;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #979797;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.smx_leave:hover,
.smx_leave:focus-visible {
  color: var(--smx-white);
  text-decoration: underline;
}

.smx_continue:focus-visible,
.smx_leave:focus-visible {
  outline: 2px solid var(--smx-white);
  outline-offset: 4px;
}

/* Tablet */
@media screen and (max-width: 991px) {
  .smx_access_inner {
    width: min(520px, calc(100% - 54px));
  }

  .smx_title {
    font-size: clamp(42px, 5.4vw, 60px);
  }

  .smx_intro {
    font-size: 17px;
  }

  .smx_age_number {
    font-size: clamp(155px, 22vw, 250px);
  }

  .smx_age_plus {
    font-size: clamp(60px, 8vw, 92px);
  }
}

/* MOBILE
   Both regions remain visible within a single viewport.
   No scrolling should be necessary to reach the Continue action. */
@media screen and (max-width: 767px) {
  .smx_shell {
    grid-template-columns: 1fr;
    grid-template-rows: 40dvh 60dvh;
    height: 100dvh;
    overflow: hidden;
  }

  .smx_visual {
    min-height: 0;
    -webkit-backdrop-filter: blur(8px) brightness(0.66) saturate(0.58);
    backdrop-filter: blur(8px) brightness(0.66) saturate(0.58);
  }

  .smx_visual::after {
    background: rgba(12, 12, 12, 0.18);
  }

  .smx_age_mark {
    -webkit-text-stroke-width: 1.4px;
  }

  .smx_age_number {
    font-size: clamp(112px, 34vw, 175px);
  }

  .smx_age_plus {
    font-size: clamp(46px, 12vw, 68px);
  }

  .smx_access {
    align-items: stretch;
    min-height: 0;
    height: 60dvh;
    overflow: hidden;
    box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.30);
  }

  .smx_access_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 18px 22px 17px;
    transform: none;
  }

  .smx_title {
    margin-bottom: 10px;
    font-size: clamp(36px, 10vw, 46px);
    line-height: 0.98;
  }

  .smx_intro {
    margin-bottom: 14px;
    font-size: 14.5px;
    line-height: 1.38;
  }

  .smx_requirement {
    padding: 10px 0;
  }

  .smx_requirement strong {
    margin-bottom: 3px;
    font-size: 13.5px;
  }

  .smx_requirement p {
    font-size: 12.5px;
    line-height: 1.38;
  }

  .smx_actions {
    margin-top: 16px;
  }

  .smx_continue {
    min-height: 60px;
    padding-left: 19px;
    padding-right: 18px;
    font-size: 15px;
  }

  .smx_arrow {
    margin-left: 13px;
    font-size: 25px;
  }

  .smx_leave {
    margin-top: 20px;
    padding: 9px 12px;
    font-size: 12.5px;
  }
}

/* Short phones: give the access half more room instead of shrinking text
   and controls to uncomfortable sizes. */
@media screen and (max-width: 767px) and (max-height: 700px) {
  .smx_shell {
    grid-template-rows: 35dvh 65dvh;
  }

  .smx_age_number {
    font-size: clamp(100px, 30vw, 145px);
  }

  .smx_age_plus {
    font-size: clamp(40px, 10.5vw, 57px);
  }

  .smx_access {
    height: 65dvh;
  }

  .smx_access_inner {
    padding: 13px 19px 12px;
  }

  .smx_title {
    margin-bottom: 7px;
    font-size: 34px;
  }

  .smx_intro {
    margin-bottom: 9px;
    font-size: 13.5px;
    line-height: 1.32;
  }

  .smx_requirement {
    padding: 7px 0;
  }

  .smx_requirement strong {
    margin-bottom: 2px;
    font-size: 12.8px;
  }

  .smx_requirement p {
    font-size: 11.8px;
    line-height: 1.31;
  }

  .smx_actions {
    margin-top: 11px;
  }

  .smx_continue {
    min-height: 56px;
    font-size: 14px;
  }

  .smx_leave {
    margin-top: 17px;
    padding: 7px 10px;
    font-size: 11.8px;
  }
}

/* Very short mobile screens: preserve readable text and a real touch target
   by using a smaller visual region rather than tiny typography. */
@media screen and (max-width: 767px) and (max-height: 580px) {
  .smx_shell {
    grid-template-rows: 30dvh 70dvh;
  }

  .smx_age_number {
    font-size: 88px;
  }

  .smx_age_plus {
    font-size: 35px;
  }

  .smx_access {
    height: 70dvh;
  }

  .smx_access_inner {
    padding: 9px 17px 8px;
  }

  .smx_title {
    margin-bottom: 5px;
    font-size: 30px;
  }

  .smx_intro {
    margin-bottom: 7px;
    font-size: 12.5px;
    line-height: 1.25;
  }

  .smx_requirement {
    padding: 5px 0;
  }

  .smx_requirement strong {
    margin-bottom: 1px;
    font-size: 12px;
  }

  .smx_requirement p {
    font-size: 11px;
    line-height: 1.24;
  }

  .smx_actions {
    margin-top: 8px;
  }

  .smx_continue {
    min-height: 52px;
    font-size: 13.5px;
  }

  .smx_arrow {
    font-size: 22px;
  }

  .smx_leave {
    margin-top: 14px;
    padding: 6px 9px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smx_continue {
    transition: none;
  }
}
