/* ============================================
   FamTubeX — Homepage Stripchat-Style Theme
   Wine-red header, red-accent tabs, yellow CTA
   Scoped via body.home-sc on index.html
   ============================================ */

body.home-sc {
  --sc-red: #c41230;
  --sc-red-dark: #7a0d18;
  --sc-red-deep: #4a0810;
  --sc-yellow: #f0c419;
  --sc-yellow-dark: #d9ad15;
  --sc-bg: #000000;
  --sc-card: #18181c;
  --sc-tab-bg: #1f1f24;
  --sc-text: #ffffff;
  --sc-muted: #9d97a3;

  background: var(--sc-bg);
  background-image: none;
}
body.home-sc::before { display: none; }

/* Hide bottom nav on home (reference layout has none) */
body.home-sc .bottom-nav { display: none !important; }
body.home-sc .app-container { padding-bottom: 24px; }

/* ── Top Bar ── */
body.home-sc .top-bar.sc-top-bar {
  background: linear-gradient(180deg, #7a0d18 0%, #4a0810 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  height: 52px;
  padding: 0 8px 0 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Honour the [hidden] HTML attribute even when our rules set display:flex */
body.home-sc [hidden] { display: none !important; }

body.home-sc .top-bar .logo {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  filter: none;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

body.home-sc .top-bar .logo::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-color: #ffffff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M12 10h32a8 8 0 0 1 8 8v22a8 8 0 0 1-8 8H26l-12 10V18a8 8 0 0 1 8-8z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M12 10h32a8 8 0 0 1 8 8v22a8 8 0 0 1-8 8H26l-12 10V18a8 8 0 0 1 8-8z'/></svg>") no-repeat center / contain;
}

/* hamburger / 3-dot icon buttons */
.sc-icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.sc-icon-btn svg { width: 22px; height: 22px; }
.sc-icon-btn:hover { background: rgba(255,255,255,0.08); }
.sc-icon-btn:active { background: rgba(255,255,255,0.14); }

/* right-side cluster */
.sc-top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Join Free pill */
.sc-join-free {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #1a0509;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 7px 18px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
  white-space: nowrap;
  height: 32px;
  line-height: 1;
}
.sc-join-free:hover { background: #f5f5f5; color: #1a0509; }

/* Credits badge override (logged-in state) */
body.home-sc .top-bar .credits-badge,
body.home-sc .top-bar .credits-badge:has(.credits-empty) {
  background: #ffffff !important;
  border: none !important;
  color: #1a0509 !important;
  padding: 6px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.78rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  animation: none !important;
}
body.home-sc .top-bar .credits-badge .coin,
body.home-sc .top-bar .credits-badge .coin svg { color: #d4a017 !important; }

/* Hide search panel on home (reference has none) */
body.home-sc #topbar-search { display: none; }

/* ── Category Tabs (Girls/Couples/Guys/Trans) ── */
body.home-sc .sc-category-tabs {
  display: flex;
  align-items: stretch;
  background: var(--sc-tab-bg);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  height: 44px;
  position: sticky;
  top: 52px;
  z-index: 90;
}

.sc-cat-tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--sc-muted);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  letter-spacing: 0.1px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.sc-cat-tab:hover { color: #fff; }
.sc-cat-tab.active {
  color: #ffffff;
  font-weight: 700;
  border-bottom-color: var(--sc-red);
}

.sc-cat-search {
  margin-left: auto;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--sc-muted);
  cursor: pointer;
  position: relative;
}
.sc-cat-search svg { width: 18px; height: 18px; }
.sc-cat-search:hover { color: #fff; }
.sc-cat-search-spark {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  color: #ff6b9d;
  text-shadow: 0 0 6px rgba(255,107,157,0.6);
}

/* Hide the original All/Live/Online tabs on this theme */
body.home-sc .filter-tabs[hidden] { display: none !important; }

/* ── Special-for-You Promo Banner ── */
.sc-promo {
  position: relative;
  margin: 14px 12px 18px;
  padding: 18px 16px 18px 96px;
  border-radius: 8px;
  background: linear-gradient(120deg, #b3001a 0%, #6a0814 60%, #4a0610 100%);
  color: #fff;
  overflow: hidden;
  min-height: 130px;
  box-shadow: 0 4px 18px rgba(176, 0, 32, 0.28);
}

.sc-promo-gift {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.sc-promo-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}

.sc-promo-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 14px;
  line-height: 1.3;
}
.sc-promo-sub strong { color: var(--sc-yellow); font-weight: 800; }

.sc-promo-cta {
  background: var(--sc-yellow);
  color: #1a0509;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 9px 22px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
}
.sc-promo-cta:hover { background: var(--sc-yellow-dark); }
.sc-promo-cta:active { transform: scale(0.97); }

.sc-promo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.95);
  font-size: 1.4rem;
  font-weight: 300;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1;
}
.sc-promo-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Filter Chips Row ── */
.sc-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.sc-chips::-webkit-scrollbar { display: none; }

.sc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 100px;
  background: #1c1c22;
  border: 1px solid rgba(255,255,255,0.05);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  min-height: 36px;
}
.sc-chip:hover { background: #25252c; border-color: rgba(255,255,255,0.1); }

.sc-chip svg { flex-shrink: 0; width: 16px; height: 16px; }

.sc-chip-grid { padding: 8px 12px; }
.sc-chip-flag { padding: 6px 12px; }
.sc-chip-flag .sc-flag { line-height: 1; font-size: 1.15rem; }

.sc-chip-divider {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.14);
  flex-shrink: 0;
  margin: 0 2px;
}

/* ── Section headers ── */
body.home-sc .home-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  margin-bottom: 8px;
}
body.home-sc .home-section-header:has(.sc-see-all) > .home-section-label {
  margin-right: auto;
}

body.home-sc .home-section-label {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.18rem;
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0.1px;
}

body.home-sc .home-section-label.live-label {
  color: #ff3344;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

body.home-sc .home-section { margin-bottom: 14px; padding: 0 10px; }
body.home-sc .home-section .home-section-header { padding: 0; }

/* Hide the circular live-now scroll — the rectangular profile grid below is the "Indian" content */
body.home-sc #live-now-scroll { display: none; }

/* Also hide "Stories" and "Upcoming Shows" rows on this theme */
body.home-sc #stories-row,
body.home-sc #upcoming-shows-row { display: none !important; }

/* Hide the homepage greeting ("Your evening awaits") to match the reference */
body.home-sc .home-greeting { display: none; }

.sc-flag { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }

.sc-see-all {
  color: var(--sc-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 4px;
}
.sc-see-all:hover { color: #fff; }

/* ── Greeting tweaks ── */
body.home-sc .greeting-name { color: #fff; }
body.home-sc .greeting-time { color: var(--sc-muted); }

/* ── Card grid ── */
body.home-sc .home-grid,
body.home-sc #profile-grid {
  padding: 0 10px;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}

body.home-sc .profile-card,
body.home-sc .home-card {
  background: var(--sc-card);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: none;
}
body.home-sc .profile-card .card-placeholder { border-radius: 0; }

body.home-sc .profile-card .live-badge,
body.home-sc .home-card .live-badge {
  background: #e11030;
  border-radius: 4px;
  padding: 3px 8px 3px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  top: 8px;
  left: 8px;
  text-transform: uppercase;
}

/* Hide existing LIVE / Available pill on this theme — replaced with icon chips */
body.home-sc .profile-card .status-badge-wrap { display: none !important; }
body.home-sc .profile-card .status-dot { display: none !important; }

/* Device-indicator chips (top-left) */
body.home-sc .card-device-chips {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
  z-index: 4;
}

body.home-sc .card-device-chip {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 5px;
  color: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
body.home-sc .card-device-chip svg { width: 13px; height: 13px; }

/* Heart button: clean outline, no dark circle background, top-right */
body.home-sc .profile-card .card-fav-btn {
  background: transparent !important;
  border: none !important;
  width: 30px;
  height: 30px;
  top: 8px;
  right: 8px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.home-sc .profile-card .card-fav-btn svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* CTA bar (Join Live / Say Hi) hide on home theme — reference cards have no CTA */
body.home-sc .profile-card .card-cta-bar { display: none !important; }

/* Card overlay — bottom-left name + location, no top gradient */
body.home-sc .profile-card .card-overlay {
  padding: 10px 10px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.85) 100%);
}
body.home-sc .profile-card .card-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}
body.home-sc .profile-card .card-location {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.78);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Card name overlay (bottom-left) */
body.home-sc .profile-card .card-name,
body.home-sc .profile-card .name-overlay,
body.home-sc .profile-card [class*="name"] {
  font-size: 1rem;
  font-weight: 700;
}

/* Live-now ring */
body.home-sc .live-now-tile { border-color: var(--sc-red); }

/* Offline banner — push the top bar below it so the wine header stays visible */
body.home-sc:has(#ftx-offline-banner) .top-bar.sc-top-bar { top: 26px; }
body.home-sc:has(#ftx-offline-banner) .sc-category-tabs { top: 78px; }
body.home-sc:has(#ftx-offline-banner) .app-container { padding-top: 26px; }
body.home-sc #ftx-offline-banner { background: var(--sc-red) !important; z-index: 200 !important; padding: 4px 10px !important; font-size: 0.72rem !important; }

/* ============================================
   Horizontal scroll grids — 2 rows × N cols
   (Indian / Top Free / Couples)
   ============================================ */
body.home-sc #profile-grid,
body.home-sc .sc-h-grid {
  display: grid !important;
  grid-template-columns: unset;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: calc((100vw - 32px) / 1.9);
  gap: 8px;
  padding: 0 10px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body.home-sc #profile-grid::-webkit-scrollbar,
body.home-sc .sc-h-grid::-webkit-scrollbar { display: none; }

/* Cards: snap on every other card so each scroll page shows 2 columns */
body.home-sc #profile-grid > .profile-card,
body.home-sc .sc-h-grid > .profile-card {
  scroll-snap-align: start;
}

/* Hide the load-more spinner on this layout */
body.home-sc #load-more-spinner { display: none !important; }

/* Shimmer placeholders */
body.home-sc #profile-grid > .shimmer { aspect-ratio: 4/3; }

/* ============================================
   Overlay scrim (backdrop)
   ============================================ */
.sc-overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.sc-overlay-backdrop.sc-open { opacity: 1; }
html.sc-overlay-on { overflow: hidden; }

/* ============================================
   Hamburger Drawer (left slide-in)
   ============================================ */
.sc-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 86%;
  max-width: 320px;
  background: #1a1a1f;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow-y: auto;
  font-family: var(--font);
}
.sc-drawer.sc-open { transform: translateX(0); }

.sc-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(180deg, #7a0d18 0%, #4a0810 100%);
  height: 52px;
}
.sc-drawer-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sc-drawer-logo::before {
  content: '';
  width: 22px;
  height: 22px;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M12 10h32a8 8 0 0 1 8 8v22a8 8 0 0 1-8 8H26l-12 10V18a8 8 0 0 1 8-8z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M12 10h32a8 8 0 0 1 8 8v22a8 8 0 0 1-8 8H26l-12 10V18a8 8 0 0 1 8-8z'/></svg>") no-repeat center / contain;
}
.sc-drawer-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 50%;
  font-family: inherit;
}
.sc-drawer-close:hover { background: rgba(255,255,255,0.1); }

.sc-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
}
.sc-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 500;
  transition: background 0.15s;
}
.sc-nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sc-nav-item.active { background: rgba(196, 18, 48, 0.12); color: #ff3344; }
.sc-nav-item.active .sc-nav-icon { color: #ff3344; }
.sc-nav-icon { width: 22px; display: flex; align-items: center; justify-content: center; color: #ddd; }

.sc-drawer-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 8px 16px; }
.sc-drawer-section-title {
  padding: 6px 24px 8px;
  color: #8a8590;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sc-drawer-specials { display: flex; flex-direction: column; padding: 0 12px; }
.sc-special-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
}
.sc-special-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.sc-special-flag { font-size: 1.2rem; line-height: 1; width: 22px; text-align: center; }
.sc-special-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.sc-special-icon.sc-vr-icon {
  background: #1565c0;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.sc-special-count {
  margin-left: auto;
  color: #b8b3bc;
  font-size: 0.85rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.sc-all-cats-btn {
  margin: 16px 16px 24px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: #b8b3bc;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.6px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
}
.sc-all-cats-btn:hover { background: rgba(255,255,255,0.04); color: #fff; }

/* ============================================
   3-Dots Right Panel
   ============================================ */
.sc-more-panel {
  position: fixed;
  top: 60px;
  right: 8px;
  width: 86%;
  max-width: 320px;
  background: #1f1f24;
  z-index: 999;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: #fff;
  font-family: var(--font);
}
.sc-more-panel.sc-open { opacity: 1; transform: translateY(0) scale(1); }

.sc-more-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}
.sc-more-cta {
  width: 100%;
  background: #4caf50;
  color: #fff;
  border: none;
  padding: 13px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 12px;
}
.sc-more-cta:hover { background: #5cb95f; }
.sc-more-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sc-more-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px;
  font-size: 0.86rem;
  color: #b8b3bc;
}
.sc-more-features li svg { color: #b8b3bc; flex-shrink: 0; }
.sc-more-features li strong { color: #fff; font-weight: 600; }

.sc-more-login {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 13px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 14px;
}
.sc-more-login:hover { background: rgba(255,255,255,0.06); }

.sc-more-links {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 6px;
}
.sc-more-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
}
.sc-more-links li a:hover { background: rgba(255,255,255,0.05); border-radius: 8px; }
.sc-more-links svg { color: #b8b3bc; flex-shrink: 0; }
.sc-arrow { margin-left: auto; color: #b8b3bc; }

/* ============================================
   Create Free Account modal
   ============================================ */
.sc-modal-backdrop { background: rgba(0,0,0,0.7); }

.sc-signup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 88%;
  max-width: 380px;
  background: linear-gradient(180deg, #2d0a13 0%, #1a0509 100%);
  border-radius: 10px;
  padding: 28px 26px 22px;
  z-index: 999;
  color: #fff;
  font-family: var(--font);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.sc-signup-modal.sc-open { opacity: 1; transform: translate(-50%, -50%); }

.sc-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  font-family: inherit;
}
.sc-modal-close:hover { background: rgba(255,255,255,0.1); }

.sc-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 22px;
  text-align: left;
  color: #fff;
}

.sc-modal-input-wrap {
  position: relative;
  margin-bottom: 14px;
}
.sc-modal-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 13px 48px 13px 22px;
  color: #fff;
  font-size: 0.96rem;
  font-family: inherit;
  outline: none;
}
.sc-modal-input:focus { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); }
.sc-modal-input::placeholder { color: #b8b3bc; }
.sc-modal-magic {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #b8b3bc;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-modal-magic:hover { color: #fff; }

.sc-modal-create {
  width: 100%;
  background: #4caf50;
  color: #fff;
  border: none;
  padding: 13px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 18px;
}
.sc-modal-create:hover { background: #5cb95f; }

.sc-modal-or {
  text-align: center;
  font-size: 0.86rem;
  color: #c2bcc8;
  margin-bottom: 12px;
}

.sc-modal-social {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.sc-social-btn {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 11px 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  color: #1a0509;
  font-weight: 600;
  font-size: 0.92rem;
}
.sc-social-btn:hover { background: #f1f1f1; }
.sc-social-label { color: #1a0509; }

.sc-modal-noemail {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 12px 18px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.94rem;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 16px;
}
.sc-modal-noemail:hover { background: rgba(255,255,255,0.04); }

.sc-modal-terms {
  font-size: 0.78rem;
  color: #b8b3bc;
  text-align: center;
  margin: 0 0 14px;
}
.sc-modal-terms a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.sc-modal-login {
  font-size: 0.86rem;
  color: #b8b3bc;
  text-align: center;
  margin: 0;
}
.sc-modal-login a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
