﻿/* NSFW Nation — clearance / rubber-stamp menu drawer (unique vs other sites) */

.home-menu-drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  touch-action: pan-y;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.home-menu-drawer-shell.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.home-menu-drawer-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 20%, rgba(220, 20, 38, 0.22), transparent 55%),
    rgba(4, 2, 2, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.home-menu-drawer-shell .home-menu-drawer,
.home-menu-drawer {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(90vw, 21.5rem);
  height: 100%;
  flex-direction: column;
  border-right: 2px solid #dc1426;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 11px,
      rgba(220, 20, 38, 0.035) 11px,
      rgba(220, 20, 38, 0.035) 12px
    ),
    linear-gradient(180deg, #141416 0%, #0a0a0c 42%, #070607 100%);
  box-shadow:
    18px 0 40px rgba(0, 0, 0, 0.65),
    8px 0 0 rgba(90, 0, 10, 0.35);
  transform: translateX(-104%);
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.2, 1);
  overflow: hidden;
}

.home-menu-drawer-shell.is-open .home-menu-drawer {
  transform: translateX(0);
}

.home-menu-drawer__tape {
  flex: 0 0 auto;
  height: 0.72rem;
  background:
    repeating-linear-gradient(
      -45deg,
      #dc1426 0 10px,
      #0a0a0c 10px 20px
    );
  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.45);
}

.home-menu-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(240, 238, 236, 0.08);
  background: linear-gradient(180deg, rgba(220, 20, 38, 0.08), transparent);
}

.home-menu-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
}

.home-menu-brand__clearance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  padding: 0.15rem 0.4rem;
  border: 1.5px solid #dc1426;
  background: rgba(220, 20, 38, 0.12);
  color: #dc1426;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  box-shadow: 2px 2px 0 rgba(90, 0, 10, 0.45);
  transform: rotate(-3deg);
}

.home-menu-close-button {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1.5px solid #dc1426;
  border-radius: 0;
  background: #0a0a0c;
  color: #f0eeec;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.5);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.home-menu-close-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(90, 0, 10, 0.5);
  background: #dc1426;
  color: #0a0a0c;
}

.home-menu-drawer-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.85rem 0.85rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
  scrollbar-width: none;
}

.home-menu-drawer-scroll::-webkit-scrollbar {
  display: none;
}

.home-menu-section-stamp {
  margin: 0.35rem 0 0.55rem;
  color: rgba(220, 20, 38, 0.85);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

.home-menu-section-stamp:first-child {
  margin-top: 0;
}

/* ── Conta (passaporte / member card) ── */
.home-menu-account-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 0 0.85rem;
  padding: 0.95rem 0.9rem 0.85rem;
  border: 1.5px solid rgba(240, 238, 236, 0.16);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(220, 20, 38, 0.1), transparent 42%),
    #101012;
  box-shadow: 5px 5px 0 rgba(90, 0, 10, 0.4);
  overflow: hidden;
}

.home-menu-account-card::before {
  content: "NATION";
  position: absolute;
  right: -0.15rem;
  top: 0.55rem;
  color: rgba(220, 20, 38, 0.18);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  transform: rotate(12deg);
  pointer-events: none;
  user-select: none;
}

.home-menu-account-card--guest {
  align-items: stretch;
}

.home-menu-account-kicker {
  margin: 0;
  color: #dc1426;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-menu-account-guest .home-menu-account-mail {
  margin: 0.28rem 0 0;
  color: rgba(240, 238, 236, 0.55);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.home-menu-account-guest .home-menu-account-login {
  align-self: stretch;
  margin-top: 0.8rem;
  min-height: 2.15rem;
  padding: 0 0.95rem;
  border: 1.5px solid #dc1426;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none;
  animation: none !important;
}

.home-menu-account-guest .home-menu-account-login:hover {
  background: rgba(220, 20, 38, 0.14);
}

.home-menu-account-guest .home-menu-account-signup,
.home-menu-account-guest .home-header-signup-button {
  align-self: stretch;
  margin-top: 0.45rem;
  min-height: 2.15rem;
  padding: 0 0.95rem;
  border: 0;
  border-radius: 0;
  background: #dc1426;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.45);
}

.home-menu-account-logged-in {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

#menu-account-guest[hidden],
#menu-account-logged-in[hidden],
#menu-admin-item[hidden],
.home-menu-item[hidden] {
  display: none !important;
}

.home-menu-account-email {
  margin: 0.22rem 0 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-all;
}

.home-menu-account-id-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.08rem;
}

.home-menu-account-id {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: rgba(240, 238, 236, 0.4);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.home-menu-account-copy-id {
  display: grid;
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1.5px solid rgba(220, 20, 38, 0.45);
  border-radius: 0;
  background: rgba(220, 20, 38, 0.12);
  color: #f0eeec;
  box-shadow: 2px 2px 0 rgba(90, 0, 10, 0.35);
  transition: transform 0.14s ease, background 0.14s ease;
}

.home-menu-account-copy-id:active {
  transform: translate(1px, 1px);
  background: rgba(220, 20, 38, 0.28);
}

.home-menu-account-copy-id .material-symbols-outlined {
  font-size: 0.95rem;
  line-height: 1;
}

.home-menu-account-copy-id.is-copied {
  color: #0a0a0c;
  background: #dc1426;
  border-color: #dc1426;
}

.home-menu-account-logout {
  align-self: flex-start;
  margin-top: 0.5rem;
  border: 1px solid rgba(240, 238, 236, 0.18);
  background: transparent;
  padding: 0.28rem 0.55rem;
  color: rgba(240, 238, 236, 0.55);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.home-menu-account-logout:active {
  color: #fff;
  border-color: #dc1426;
  background: rgba(220, 20, 38, 0.12);
}

/* ── Moedas (stamp CTA) ── */
.home-menu-coins-card {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  padding: 0.85rem 0.85rem;
  border: 1.5px solid #dc1426;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(220, 20, 38, 0.22), rgba(220, 20, 38, 0.05) 55%, transparent),
    #120c0c;
  box-shadow: 5px 5px 0 rgba(90, 0, 10, 0.45);
  color: #fff;
  text-align: left;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.home-menu-coins-card:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(90, 0, 10, 0.45);
  filter: brightness(1.06);
}

.home-menu-coins-card__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.12rem;
}

.home-menu-coins-card__title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.1;
}

.home-menu-coins-card__hint {
  color: rgba(220, 20, 38, 0.9);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
}

.home-menu-coins-card__badge {
  display: grid;
  min-width: 1.85rem;
  height: 1.7rem;
  flex-shrink: 0;
  place-items: center;
  padding: 0 0.45rem;
  border-radius: 0;
  background: #dc1426;
  color: #0a0a0c;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.45);
}

.home-menu-coins-card__badge--recharge {
  min-width: auto;
  height: auto;
  padding: 0.35rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-menu-coins-card__chevron {
  display: none;
}

/* ── OPS grid (stamps, not list rows) ── */
.home-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.home-menu-list--ops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.home-menu-item {
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(240, 238, 236, 0.85);
  background: transparent;
}

.home-menu-item--stamp {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 5.1rem;
  padding: 0.75rem 0.7rem 0.7rem;
  border: 1.5px solid rgba(240, 238, 236, 0.14);
  background: #0e0e10;
  box-shadow: 4px 4px 0 rgba(90, 0, 10, 0.32);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.home-menu-item--stamp:hover,
.home-menu-item--stamp:active {
  border-color: #dc1426;
  background: rgba(220, 20, 38, 0.1);
  color: #fff;
}

.home-menu-item--stamp:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(90, 0, 10, 0.32);
}

.home-menu-item--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 3.15rem;
  padding: 0.7rem 0.8rem;
}

.home-menu-item-icon {
  display: inline-flex;
  width: 1.7rem;
  min-width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 20, 38, 0.45);
  background: rgba(220, 20, 38, 0.12);
  color: #dc1426;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
}

.home-menu-item--wide .home-menu-item-icon {
  width: 1.85rem;
  min-width: 1.85rem;
  height: 1.85rem;
}

.home-menu-item-main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
}

.home-menu-item-title {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

html[lang^="ja"] .home-menu-item-title,
html[lang^="zh"] .home-menu-item-title {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.home-menu-item--wide .home-menu-item-title {
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.home-menu-item-chevron {
  display: none;
}

.home-menu-item--action {
  width: 100%;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

a.home-menu-utility-card,
a.home-menu-item {
  text-decoration: none;
  color: #fff !important;
}

a.home-menu-item .home-menu-item-title,
a.home-menu-item .home-menu-item-main,
#menu-affiliate-cta,
#menu-affiliate-cta .home-menu-item-title {
  color: #fff !important;
}

#menu-affiliate-cta .home-menu-item-icon {
  color: #dc1426 !important;
}

.home-menu-item--highlight {
  border-color: #dc1426;
  background: rgba(220, 20, 38, 0.14);
}

/* ── Afiliado ── */
.home-menu-affiliate {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0.85rem 0.85rem 0.9rem;
  border: 1.5px solid rgba(220, 20, 38, 0.4);
  border-radius: 0;
  background: linear-gradient(180deg, #161215 0%, #0c0a0b 100%);
  box-shadow: 4px 4px 0 rgba(90, 0, 10, 0.35);
}

.home-menu-affiliate[hidden] {
  display: none !important;
}

.home-menu-affiliate__kicker {
  margin: 0;
  color: #dc1426;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-menu-affiliate__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.home-menu-affiliate__stats[hidden] {
  display: none !important;
}

.home-menu-affiliate__stat {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(240, 238, 236, 0.1);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.28);
}

.home-menu-affiliate__stat span {
  color: rgba(240, 238, 236, 0.5);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-menu-affiliate__stat strong {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.home-menu-affiliate__stat:first-child strong {
  color: #f0eeec;
}

.home-menu-affiliate__field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  color: rgba(240, 238, 236, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
}

.home-menu-affiliate__row {
  display: flex;
  gap: 0.4rem;
  min-width: 0;
  align-items: center;
}

.home-menu-affiliate__row input {
  min-width: 0;
  flex: 1;
  height: 2.1rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(240, 238, 236, 0.14);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
}

.home-menu-affiliate__copy,
.home-menu-affiliate__edit {
  flex: 0 0 auto;
  height: 2.1rem;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 0;
  background: rgba(240, 238, 236, 0.12);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.home-menu-affiliate__edit {
  background: rgba(220, 20, 38, 0.22);
}

.home-menu-affiliate__warn {
  color: rgba(240, 238, 236, 0.42);
  font-size: 0.62rem;
  line-height: 1.35;
}

.home-menu-affiliate__status {
  margin: 0;
  color: #c8c4c0;
  font-size: 0.68rem;
  font-weight: 700;
}

.home-menu-affiliate__status[hidden] {
  display: none !important;
}

.home-menu-affiliate__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0 0.85rem;
  border: 0;
  background: #dc1426;
  color: #0a0a0c !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.45);
}

/* ── GEAR tiles ── */
.home-menu-utility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.home-menu-utility-card {
  display: flex;
  min-height: 4.6rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.65rem 0.55rem 0.6rem;
  border: 1.5px solid rgba(240, 238, 236, 0.12);
  border-radius: 0;
  background: #0e0e10;
  color: #fff;
  text-align: left;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.28);
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
  cursor: pointer;
  font: inherit;
}

.home-menu-utility-card:active {
  transform: translate(2px, 2px);
  border-color: #dc1426;
  box-shadow: 1px 1px 0 rgba(90, 0, 10, 0.28);
}

.home-menu-utility-icon {
  color: #dc1426;
  font-size: 1.15rem !important;
  line-height: 1;
}

.home-menu-utility-label {
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.home-menu-utility-subtitle {
  color: rgba(220, 20, 38, 0.75);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

body.menu-drawer-open {
  overflow: hidden;
}
