/**
 * ior — Increase Online Reach
 * style.css
 * Made by BufferClick
 * Complete stylesheet — all views, components, animations, responsive design.
 */

/* ============================================ */
/* SECTION: CSS Custom Properties               */
/* ============================================ */

:root {
  /* Colors */
  --bg: #08080b;
  --surface: #111116;
  --surface-2: #18181f;
  --surface-3: #1e1e28;
  --border: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.12);
  --text: #f0f0f5;
  --text-muted: #6b6b80;
  --text-dim: #4a4a5a;
  --accent: #7c3aed;
  --accent-2: #6d28d9;
  --accent-hover: #8b5cf6;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --accent-glow-strong: rgba(124, 58, 237, 0.55);
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --info: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.12);

  /* Gateway theme — overridden dynamically */
  --gw-accent: #7c3aed;
  --gw-glow: rgba(124, 58, 237, 0.4);

  /* Fonts */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --nav-height: 56px;
  --bottom-bar-height: 64px;
  --container-max: 1280px;
  --sidebar-width: 300px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Z-indexes */
  --z-base: 1;
  --z-sticky: 100;
  --z-navbar: 1000;
  --z-drawer: 1100;
  --z-modal: 1200;
  --z-toast: 1300;
  --z-offline: 1400;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* Glass */
  --glass-bg: rgba(14, 14, 20, 0.85);
  --glass-bg-lighter: rgba(20, 20, 30, 0.75);
  --glass-blur: blur(20px) saturate(1.2);
}

/* ============================================ */
/* SECTION: Reset & Base                        */
/* ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--accent-hover);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
}

.required {
  color: var(--error);
}

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ============================================ */
/* SECTION: Typography                          */
/* ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.page-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* ============================================ */
/* SECTION: Offline Banner                      */
/* ============================================ */

.offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-offline);
  background: var(--warning);
  color: #000;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================ */
/* SECTION: Navbar                              */
/* ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-navbar);
  background: rgba(8, 8, 11, 0.88);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: text-shadow var(--transition-base);
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 30px var(--accent-glow-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--surface);
}

.nav-link--discord {
  color: #5865F2;
}

.nav-link--discord:hover {
  color: #7289da;
  background: rgba(88, 101, 242, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-signin {
  white-space: nowrap;
}

.nav-avatar-wrap {
  position: relative;
}

.avatar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: var(--radius-full);
  transition: box-shadow var(--transition-fast);
}

.avatar-btn:hover {
  box-shadow: 0 0 0 2px var(--accent);
}

.avatar {
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border);
}

.avatar--sm {
  width: 34px;
  height: 34px;
}

.avatar--md {
  width: 48px;
  height: 48px;
}

.avatar--lg {
  width: 80px;
  height: 80px;
}

.avatar--xl {
  width: 100px;
  height: 100px;
}

.avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.8em;
}

.avatar--fallback.avatar--lg {
  font-size: 1.6rem;
}

.avatar--fallback.avatar--md {
  font-size: 1.1rem;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all var(--transition-base);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-header {
  padding: 10px 12px 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.dropdown-menu a,
.dropdown-signout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition-fast);
  text-decoration: none;
  width: 100%;
  text-align: left;
}

.dropdown-menu a:hover,
.dropdown-signout:hover {
  background: var(--surface-2);
  color: var(--text);
}

.dropdown-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.dropdown-signout {
  color: var(--error);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--surface);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================ */
/* SECTION: Mobile Drawer                       */
/* ============================================ */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  z-index: var(--z-drawer);
  background: var(--surface);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__close {
  font-size: 1.2rem;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.mobile-drawer__close:hover {
  background: var(--surface-2);
  color: var(--text);
}

.mobile-drawer__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__username {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 2px;
  flex: 1;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  transition: background var(--transition-fast);
  text-decoration: none;
}

.mobile-drawer__link:hover {
  background: var(--surface-2);
  color: var(--text);
}

.mobile-drawer__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

/* ============================================ */
/* SECTION: Mobile Bottom Bar                   */
/* ============================================ */

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  z-index: var(--z-sticky);
  background: rgba(8, 8, 11, 0.92);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
  min-width: 52px;
}

.bottom-bar__item svg {
  stroke: currentColor;
}

.bottom-bar__item:hover,
.bottom-bar__item.active {
  color: var(--accent);
}

.bottom-bar__item--create {
  color: var(--accent);
}

.bottom-bar__item--create svg {
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

/* ============================================ */
/* SECTION: Layout Containers                   */
/* ============================================ */

.app-main {
  min-height: calc(100vh - var(--nav-height));
}

.view {
  animation: fadeIn var(--transition-base) ease;
}

.view--fullpage {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-height));
}

.view--auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height));
}

.view--gateway {
  padding-top: 0;
}

.view--embed {
  min-height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.page-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.page-container--sidebar {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 24px;
}

.page-content {
  min-width: 0;
}

.page-content--full {
  grid-column: 1 / -1;
}

.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================ */
/* SECTION: Glass Card                          */
/* ============================================ */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ============================================ */
/* SECTION: Buttons                             */
/* ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.btn:active {
  transform: scale(0.96);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--border-light);
}

.btn--danger {
  background: var(--error);
  color: #fff;
  border-color: var(--error);
}

.btn--danger:hover {
  background: #dc2626;
}

.btn--auth {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text);
}

.btn--auth:hover {
  background: var(--surface-2);
  border-color: var(--accent);
}

.btn--google {
  border-color: rgba(66, 133, 244, 0.3);
}

.btn--google:hover {
  border-color: #4285F4;
  background: rgba(66, 133, 244, 0.08);
}

.btn--github {
  border-color: rgba(255, 255, 255, 0.15);
}

.btn--github:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--email {
  border-color: rgba(124, 58, 237, 0.3);
}

.btn--email:hover {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.08);
}

.btn--glow {
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn--glow:hover {
  box-shadow: 0 0 30px var(--accent-glow-strong);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  min-height: 36px;
}

.btn--xs {
  padding: 4px 10px;
  font-size: 0.75rem;
  min-height: 28px;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn__icon {
  flex-shrink: 0;
}

.btn__loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================ */
/* SECTION: Form Elements                       */
/* ============================================ */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  outline: none;
  min-height: 44px;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--error);
}

.form-input--disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--surface-2);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-prefix {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.form-input--prefixed {
  padding-left: 28px;
}

.slug-prefix ~ .form-input--prefixed {
  padding-left: 120px;
}

.form-input-toggle {
  position: absolute;
  right: 8px;
  padding: 6px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.form-input-toggle:hover {
  color: var(--text);
}

.eye-icon {
  font-size: 0.9rem;
}

.form-input-status {
  position: absolute;
  right: 12px;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.form-input-status.available::after {
  content: '✅';
}

.form-input-status.taken::after {
  content: '❌';
}

.form-input-status.checking::after {
  content: '⏳';
}

.form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-warning {
  padding: 8px 12px;
  background: var(--warning-bg);
  color: var(--warning);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 8px;
}

.form-sub-group {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}

.form-color-input {
  width: 48px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  margin-top: 8px;
  padding: 2px;
}

.form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 8px var(--accent-glow);
  cursor: pointer;
  transition: box-shadow var(--transition-fast);
}

.form-range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 16px var(--accent-glow-strong);
}

.form-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 8px var(--accent-glow);
  cursor: pointer;
}

.task-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.task-slider-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 30px;
  text-align: center;
}

.task-earnings-est {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--success-bg);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--success);
}

/* Toggle Switch */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  border-radius: 13px;
  transition: background var(--transition-fast);
  border: 1px solid var(--border);
  cursor: pointer;
}

.toggle__slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  bottom: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.toggle input:checked + .toggle__slider {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle input:checked + .toggle__slider::before {
  transform: translateX(22px);
  background: #fff;
}

/* Theme Picker */
.theme-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-option:hover {
  background: var(--surface);
}

.theme-option.selected {
  border-color: var(--accent);
  background: var(--surface);
}

.theme-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.theme-swatch--custom {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--surface-2);
}

.theme-name {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
}

/* Emoji Picker */
.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.emoji-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  background: var(--surface);
}

.emoji-btn:hover {
  background: var(--surface-2);
  transform: scale(1.1);
}

.emoji-btn.selected {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Icon Upload */
.icon-selection {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.icon-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.icon-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 24px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-upload-label:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.icon-preview {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  object-fit: cover;
  overflow: hidden;
}

.icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.icon-upload-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.icon-or {
  color: var(--text-dim);
  font-size: 0.82rem;
  padding-top: 20px;
}

/* Turnstile */
.turnstile-wrap {
  margin: 16px 0;
  min-height: 65px;
}

.turnstile-wrap--centered {
  display: flex;
  justify-content: center;
}

/* ============================================ */
/* SECTION: Auth Pages                          */
/* ============================================ */

.auth-container {
  width: 100%;
  max-width: 440px;
  padding: 20px;
}

.auth-card {
  padding: 36px 32px;
}

.auth-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
  text-decoration: none;
  display: block;
  text-align: center;
  margin-bottom: 24px;
}

.auth-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.auth-form {
  margin-bottom: 16px;
}

.auth-forgot {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.auth-forgot:hover {
  color: var(--accent);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-social-buttons {
  display: flex;
  gap: 12px;
}

.auth-switch {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ============================================ */
/* SECTION: Landing Page                        */
/* ============================================ */

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height) - 100px);
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  width: 100%;
  max-width: 600px;
}

.landing__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: 0;
}

.landing__logo {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 60px var(--accent-glow-strong), 0 0 120px var(--accent-glow);
  letter-spacing: -3px;
  position: relative;
  z-index: 1;
  line-height: 1;
  margin-bottom: 12px;
}

.landing__tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.landing__subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.landing__auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 1;
}

.landing__login-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.landing__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  width: 100%;
  padding: 40px 20px 60px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

.feature-card__icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================ */
/* SECTION: Dashboard                           */
/* ============================================ */

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.dash-welcome {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stats-bar--analytics {
  margin-bottom: 24px;
}

.stat-card {
  padding: 20px;
  text-align: center;
}

.stat-card__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-card__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.dash-section {
  margin-bottom: 40px;
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-section-header .section-title {
  margin-bottom: 0;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.empty-state--sm {
  padding: 24px 12px;
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.92rem;
}

/* ============================================ */
/* SECTION: Cards Grid                          */
/* ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.cards-grid--hub {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Link Card */
.link-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.link-card:hover {
  transform: translateY(-4px);
}

.link-card__strip {
  height: 3px;
  width: 100%;
  background: var(--accent);
}

.link-card__body {
  padding: 20px;
}

.link-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.link-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
}

.link-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-card__info {
  flex: 1;
  min-width: 0;
}

.link-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 2px;
}

.link-card__slug {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.link-card__slug:hover {
  color: var(--accent);
}

.link-card__description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.link-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge--tasks {
  color: var(--accent);
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.08);
}

.badge--public {
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.2);
  background: var(--success-bg);
}

.badge--private {
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.2);
  background: var(--warning-bg);
}

.badge--bundle {
  color: var(--info);
  border-color: rgba(59, 130, 246, 0.2);
  background: var(--info-bg);
}

.badge--password {
  color: var(--warning);
}

.link-card__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.link-card__stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.link-card__owner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.link-card__owner-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.link-card__owner-name {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.78rem;
}

.link-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.link-card__stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

.link-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.link-card__actions .btn {
  flex: 1;
  min-width: auto;
}

.link-card__bookmark {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.2rem;
  padding: 4px;
  transition: transform var(--transition-fast);
  z-index: 2;
}

.link-card__bookmark:hover {
  transform: scale(1.2);
}

.link-card__bookmark.bookmarked {
  color: var(--warning);
}

/* Ad Card (inserted in grid) */
.ad-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ============================================ */
/* SECTION: Step Indicator (Create Link)        */
/* ============================================ */

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: opacity var(--transition-base);
}

.step.active {
  opacity: 1;
}

.step.completed {
  opacity: 0.8;
}

.step__num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-base);
}

.step.active .step__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px var(--accent-glow);
}

.step.completed .step__num {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step__line {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 20px;
}

/* Create Step Content */
.create-step {
  padding: 28px;
  margin-bottom: 24px;
}

.create-step__title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.create-step__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.create-step__actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 24px;
}

/* Create Success */
.create-success {
  text-align: center;
  padding: 32px 0;
}

.create-success__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
  animation: pop 0.5s ease;
}

.create-success__title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.create-success__slug {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 24px;
  word-break: break-all;
}

.create-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================ */
/* SECTION: Gateway Page                        */
/* ============================================ */

.gateway {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.gateway__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.gateway__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gw-accent);
  text-shadow: 0 0 20px var(--gw-glow);
  text-decoration: none;
}

.gateway__topbar-text {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.gateway__layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  flex: 1;
  width: 100%;
}

.gateway__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 20px 0 40px;
}

.gateway__card {
  width: 100%;
  max-width: 560px;
  padding: 36px 32px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: visible;
}

.gateway__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--gw-glow) 0%, transparent 50%, var(--gw-glow) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

.gateway__link-info {
  margin-bottom: 28px;
}

.gateway__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 0 24px var(--gw-glow);
  overflow: hidden;
}

.gateway__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gateway__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.gateway__description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.gateway__owner {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.gateway__owner a {
  color: var(--gw-accent);
  font-family: var(--font-mono);
}

.gateway__section {
  margin-top: 8px;
}

.gateway__instruction {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.gateway__task-btn {
  font-size: 1.05rem;
  padding: 16px 32px;
  background: var(--gw-accent);
  border-color: var(--gw-accent);
  box-shadow: 0 0 24px var(--gw-glow);
}

.gateway__task-btn:hover {
  box-shadow: 0 0 36px var(--gw-glow);
}

.gateway__password-form {
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gateway__unlock-success {
  padding: 20px 0;
}

.gateway__unlock-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
  animation: pop 0.5s ease;
}

.gateway__sidebar {
  padding-top: 20px;
}

.gateway__footer {
  text-align: center;
  padding: 20px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.gateway__footer a {
  color: var(--gw-accent);
}

/* Gateway Progress */
.gateway-progress {
  margin-bottom: 20px;
}

.gateway-progress__bar {
  width: 100%;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.gateway-progress__fill {
  height: 100%;
  background: var(--gw-accent, var(--accent));
  border-radius: 4px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px var(--gw-glow, var(--accent-glow));
}

.gateway-progress__text {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.gateway-step-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.gateway-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  transition: all var(--transition-fast);
}

.gateway-step-dot.completed {
  background: var(--gw-accent, var(--accent));
  border-color: var(--gw-accent, var(--accent));
  box-shadow: 0 0 8px var(--gw-glow, var(--accent-glow));
  animation: pop 0.3s ease;
}

.gateway-step-dot.active {
  border-color: var(--gw-accent, var(--accent));
  animation: pulse-ring 1.5s ease-in-out infinite;
}

.gateway-help-text {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Countdown Ring */
.gateway-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 24px auto;
  width: 120px;
  height: 120px;
}

.countdown-ring {
  transform: rotate(-90deg);
}

.countdown-ring__bg {
  fill: none;
  stroke: var(--surface-2);
  stroke-width: 6;
}

.countdown-ring__progress {
  fill: none;
  stroke: var(--gw-accent, var(--accent));
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px var(--gw-glow, var(--accent-glow)));
  transition: stroke-dashoffset 1s linear;
}

.countdown-ring__text {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

/* Gateway Themes */
.gateway[data-theme="neon-purple"] {
  --gw-accent: #7c3aed;
  --gw-glow: rgba(124, 58, 237, 0.4);
}

.gateway[data-theme="electric-blue"] {
  --gw-accent: #2563eb;
  --gw-glow: rgba(37, 99, 235, 0.4);
}

.gateway[data-theme="crimson-red"] {
  --gw-accent: #dc2626;
  --gw-glow: rgba(220, 38, 38, 0.4);
}

.gateway[data-theme="emerald"] {
  --gw-accent: #059669;
  --gw-glow: rgba(5, 150, 105, 0.4);
}

.gateway[data-theme="orange-fire"] {
  --gw-accent: #ea580c;
  --gw-glow: rgba(234, 88, 12, 0.4);
}

.gateway[data-theme="hot-pink"] {
  --gw-accent: #db2777;
  --gw-glow: rgba(219, 39, 119, 0.4);
}

.gateway[data-theme="ice-white"] {
  --gw-accent: #e2e8f0;
  --gw-glow: rgba(226, 232, 240, 0.3);
}

.gateway[data-theme="midnight"] {
  --gw-accent: #4338ca;
  --gw-glow: rgba(67, 56, 202, 0.4);
}

/* ============================================ */
/* SECTION: Hub Page                            */
/* ============================================ */

.hub-hero {
  text-align: center;
  padding: 48px 20px 32px;
}

.hub-hero__title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.hub-hero__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hub-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.hub-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.hub-search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.hub-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.hub-search-input::placeholder {
  color: var(--text-dim);
}

.hub-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hub-sort-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.hub-sort-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.hub-sort-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hub-load-more {
  margin-top: 24px;
}

/* ============================================ */
/* SECTION: Leaderboard                         */
/* ============================================ */

.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 4px;
  border: 1px solid var(--border);
  width: fit-content;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  background: var(--accent);
  color: #fff;
}

.lb-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lb-entry {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base);
}

.lb-entry:hover {
  transform: translateX(4px);
}

.lb-entry--gold {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.04);
}

.lb-entry--silver {
  border-color: rgba(192, 192, 192, 0.3);
  background: rgba(192, 192, 192, 0.04);
}

.lb-entry--bronze {
  border-color: rgba(205, 127, 50, 0.3);
  background: rgba(205, 127, 50, 0.04);
}

.lb-rank {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
  color: var(--text-dim);
}

.lb-entry--gold .lb-rank {
  color: #ffd700;
}

.lb-entry--silver .lb-rank {
  color: #c0c0c0;
}

.lb-entry--bronze .lb-rank {
  color: #cd7f32;
}

.lb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.lb-info {
  flex: 1;
  min-width: 0;
}

.lb-username {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.lb-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.lb-stats {
  text-align: right;
}

.lb-stat-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.lb-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================ */
/* SECTION: Analytics                           */
/* ============================================ */

.analytics-header {
  margin-bottom: 24px;
}

.analytics-slug {
  font-size: 0.88rem;
  color: var(--accent);
}

.analytics-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.analytics-chart {
  padding: 24px;
}

.analytics-chart__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.analytics-chart canvas {
  width: 100% !important;
  height: auto !important;
}

.analytics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.analytics-chart--half {
  padding: 24px;
}

.analytics-info {
  padding: 24px;
  margin-bottom: 24px;
}

.analytics-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.analytics-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.analytics-info-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.analytics-info-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}

.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* ============================================ */
/* SECTION: Profile Page                        */
/* ============================================ */

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.profile-header__avatar-wrap {
  flex-shrink: 0;
}

.profile-header__info {
  flex: 1;
  min-width: 200px;
}

.profile-header__display {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.profile-header__username {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.profile-header__joined {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.profile-header__stats {
  display: flex;
  gap: 24px;
}

.profile-stat {
  text-align: center;
}

.profile-stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.profile-stat__label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.profile-sort-bar .section-title {
  margin-bottom: 0;
}

.profile-sort-buttons {
  display: flex;
  gap: 8px;
}

/* ============================================ */
/* SECTION: Bundle Link Selector                */
/* ============================================ */

.bundle-link-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  padding: 4px;
}

.bundle-link-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bundle-link-option:hover {
  border-color: var(--accent);
}

.bundle-link-option.selected {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.08);
}

.bundle-link-option input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.bundle-link-option__title {
  font-size: 0.88rem;
  font-weight: 600;
}

.bundle-link-option__slug {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================ */
/* SECTION: Admin Panel                         */
/* ============================================ */

.admin-section {
  padding: 24px;
  margin-bottom: 24px;
}

.admin-search-wrap {
  margin-bottom: 16px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  font-size: 0.85rem;
}

.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-table tr:hover td {
  background: var(--surface);
}

.admin-table .badge {
  font-size: 0.68rem;
}

.admin-actions {
  display: flex;
  gap: 6px;
}

/* ============================================ */
/* SECTION: Banned Page                         */
/* ============================================ */

.banned-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px;
}

.banned-card {
  text-align: center;
  padding: 48px 36px;
  max-width: 460px;
  width: 100%;
}

.banned-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 20px;
}

.banned-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.banned-text {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.banned-reason-box {
  background: var(--error-bg);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.banned-reason-box strong {
  color: var(--error);
  font-size: 0.85rem;
}

.banned-contact {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================ */
/* SECTION: 404 Page                            */
/* ============================================ */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  padding: 60px 20px;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 60px var(--accent-glow);
  line-height: 1;
}

.error-page__title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.error-page__text {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

.error-page__actions {
  display: flex;
  gap: 12px;
}

/* ============================================ */
/* SECTION: Embed Widget                        */
/* ============================================ */

.embed-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 320px;
  max-width: 100%;
  padding: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.embed-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--surface);
  flex-shrink: 0;
}

.embed-card__info {
  flex: 1;
  min-width: 0;
}

.embed-card__title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.embed-card__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin-bottom: 6px;
}

.embed-card__meta {
  display: flex;
  gap: 10px;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.embed-card__open {
  flex-shrink: 0;
}

/* ============================================ */
/* SECTION: Modals                              */
/* ============================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  animation: modalIn 0.2s ease;
}

.modal__content--sm {
  max-width: 400px;
}

.modal__content--lg {
  max-width: 600px;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal__title {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.modal__close:hover {
  background: var(--surface-2);
  color: var(--text);
}

.modal__body {
  padding: 24px;
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

/* Embed Code Modal */
.embed-option {
  margin-bottom: 20px;
}

.embed-option:last-child {
  margin-bottom: 0;
}

.embed-option__title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.embed-code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--text-muted);
  margin-bottom: 8px;
  max-height: 140px;
  overflow-y: auto;
}

/* QR Code */
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.qr-display {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-md);
}

.modal-qr-url {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  word-break: break-all;
}

/* ============================================ */
/* SECTION: Comments                            */
/* ============================================ */

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 360px;
  overflow-y: auto;
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.comment-item__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comment-item__content {
  flex: 1;
  min-width: 0;
}

.comment-item__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-item__username {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.comment-item__time {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.comment-item__text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

.comment-item__delete {
  font-size: 0.72rem;
  color: var(--error);
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.comment-item:hover .comment-item__delete {
  opacity: 1;
}

.comment-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.comment-form .form-textarea {
  min-height: 44px;
  flex: 1;
}

.comments-login-prompt {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 12px;
}

/* ============================================ */
/* SECTION: Toast Notifications                 */
/* ============================================ */

.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  right: 16px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
  width: calc(100% - 32px);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: slideInRight 0.3s ease;
  pointer-events: all;
  cursor: pointer;
  min-width: 280px;
}

.toast--success {
  border-left: 3px solid var(--success);
}

.toast--error {
  border-left: 3px solid var(--error);
}

.toast--warning {
  border-left: 3px solid var(--warning);
}

.toast--info {
  border-left: 3px solid var(--info);
}

.toast__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast__content {
  flex: 1;
  min-width: 0;
}

.toast__message {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.toast.removing {
  animation: slideOutRight 0.25s ease forwards;
}

/* ============================================ */
/* SECTION: Ad Slots                            */
/* ============================================ */

.ad-slot {
  overflow: hidden;
}

.ad-slot--banner {
  width: 100%;
  min-height: 90px;
  max-width: var(--container-max);
  margin: 12px auto;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot--sidebar {
  width: 100%;
  min-height: 250px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot--sidebar.sticky {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}

/* ============================================ */
/* SECTION: Footer                              */
/* ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding-bottom: 20px;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__made {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ============================================ */
/* SECTION: Animations                          */
/* ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pop {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.15);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--gw-glow, var(--accent-glow));
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.shake {
  animation: shake 0.4s ease;
}

/* ============================================ */
/* SECTION: Responsive — 1200px                 */
/* ============================================ */

@media (max-width: 1200px) {
  .page-container--sidebar {
    grid-template-columns: 1fr 260px;
  }

  .gateway__layout {
    grid-template-columns: 1fr 260px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* ============================================ */
/* SECTION: Responsive — 768px                  */
/* ============================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  body {
    padding-bottom: var(--bottom-bar-height);
  }

  .page-container--sidebar {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    display: none;
  }

  .gateway__layout {
    grid-template-columns: 1fr;
  }

  .gateway__sidebar {
    display: none;
  }

  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stat-card__value {
    font-size: 1.4rem;
  }

  .landing__features {
    grid-template-columns: 1fr;
    padding: 20px 16px 40px;
  }

  .landing__logo {
    font-size: 4.5rem;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-header__stats {
    justify-content: center;
  }

  .profile-sort-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .analytics-row {
    grid-template-columns: 1fr;
  }

  .analytics-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .auth-card {
    padding: 28px 20px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .modal__content {
    max-width: 100%;
    margin: 0 8px;
  }

  .footer__inner {
    padding: 24px 16px;
  }

  .gateway__card {
    padding: 28px 20px;
  }

  .hub-hero__title {
    font-size: 1.8rem;
  }
}

/* ============================================ */
/* SECTION: Responsive — 480px                  */
/* ============================================ */

@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid--hub {
    grid-template-columns: 1fr;
  }

  .landing__logo {
    font-size: 3.5rem;
  }

  .landing__tagline {
    font-size: 1.2rem;
  }

  .landing__subtext {
    font-size: 0.92rem;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .stat-card__value {
    font-size: 1.2rem;
  }

  .stat-card__label {
    margin-top: 0;
  }

  .step-indicator {
    transform: scale(0.85);
  }

  .step__line {
    width: 30px;
  }

  .dash-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-social-buttons {
    flex-direction: column;
  }

  .icon-selection {
    flex-direction: column;
  }

  .icon-or {
    padding-top: 0;
  }

  .theme-picker {
    gap: 6px;
  }

  .theme-name {
    display: none;
  }

  .analytics-info-grid {
    grid-template-columns: 1fr;
  }

  .lb-entry {
    padding: 12px;
    gap: 10px;
  }

  .page-container {
    padding: 16px 12px 80px;
  }

  .create-step {
    padding: 20px 16px;
  }

  .toast-container {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}

/* ============================================ */
/* SECTION: Responsive — 375px                  */
/* ============================================ */

@media (max-width: 375px) {
  .landing__logo {
    font-size: 3rem;
  }

  .nav-logo {
    font-size: 1.4rem;
  }

  .gateway__title {
    font-size: 1.3rem;
  }

  .gateway__icon {
    width: 64px;
    height: 64px;
    font-size: 2.2rem;
  }

  .btn--lg {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .link-card__body {
    padding: 14px;
  }

  .link-card__header {
    gap: 10px;
  }

  .link-card__icon {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .bottom-bar__item {
    padding: 6px 8px;
    min-width: 44px;
  }

  .bottom-bar__item span {
    font-size: 0.6rem;
  }
}

/* ============================================ */
/* SECTION: Utility — Hide elements per state   */
/* ============================================ */

/* Used by JS to hide/show views */
.view[style*="display: none"],
.view[style*="display:none"] {
  display: none !important;
}

/* Gateway / embed hide nav + footer */
.view--gateway ~ .footer,
.view--embed ~ .footer {
  display: none;
}

body.is-gateway .navbar,
body.is-gateway .mobile-bottom-bar,
body.is-gateway .footer {
  display: none;
}

body.is-gateway {
  padding-top: 0;
  padding-bottom: 0;
}

body.is-embed .navbar,
body.is-embed .mobile-bottom-bar,
body.is-embed .footer {
  display: none;
}

body.is-embed {
  padding: 0;
  background: transparent;
  min-height: auto;
}

/* ============================================ */
/* SECTION: Print                               */
/* ============================================ */

@media print {
  .navbar,
  .mobile-bottom-bar,
  .ad-slot,
  .toast-container,
  .modal {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding: 0;
  }
}
