﻿@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --primary: #3b82f6;
  --primary-soft: #7db1ff;
  --primary-deep: #1d4ed8;
  --primary-glow: rgba(59, 130, 246, 0.26);
  --accent: #f59e0b;
  --accent-soft: #ffd166;
  --accent-deep: #b96b00;
  --accent-glow: rgba(245, 158, 11, 0.24);
  --success: #16c784;
  --danger: #ef4444;
  --warning: #f59e0b;
  --bg-base: #06080d;
  --bg-ink: #090d14;
  --bg-surface: #0d121b;
  --bg-card: #111722;
  --bg-elevated: #171f2d;
  --bg-hover: #1e2a3c;
  --text-primary: #f7f9fc;
  --text-secondary: #b3bdcc;
  --text-muted: #748093;
  --border: rgba(143, 162, 189, 0.16);
  --border-light: rgba(174, 194, 224, 0.28);
  --border-gold: rgba(245, 158, 11, 0.28);
  --line-blue: rgba(59, 130, 246, 0.18);
  --line-gold: rgba(245, 158, 11, 0.16);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(135deg, #8bbcff 0%, #3b82f6 38%, #f59e0b 100%);
  --gradient-text: linear-gradient(90deg, #95c2ff 0%, #f8c15c 100%);
  --gradient-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 28px 84px rgba(0, 0, 0, 0.42);
  --shadow-blue: 0 20px 54px rgba(59, 130, 246, 0.12);
  --shadow-gold: 0 20px 54px rgba(245, 158, 11, 0.12);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --radius-full: 999px;
  --font-display: 'Sora', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-base);
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--bg-base);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.12), transparent 28%),
    linear-gradient(225deg, rgba(245, 158, 11, 0.08), transparent 34%),
    var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.13), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(245, 158, 11, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.06), transparent 44%, rgba(245, 158, 11, 0.045));
  opacity: 0.78;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(6, 8, 13, 0.12), rgba(6, 8, 13, 0.82) 72%);
  mix-blend-mode: screen;
  opacity: 0.35;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

a {
  color: var(--primary-soft);
  text-decoration: none;
  transition: color 180ms ease;
}

a:hover {
  color: var(--accent-soft);
}

img,
video,
svg {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
}

.gradient-text,
.gradient-text-hero {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-hero {
  position: relative;
  z-index: 0;
  display: inline-block;
  isolation: isolate;
  padding: 0 0.1em 0.04em;
  background: none;
  color: #fff;
  font-family: 'Caveat', 'Segoe Print', cursive;
  font-size: 1.14em;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.28),
    0 18px 48px rgba(255, 209, 102, 0.16);
  -webkit-text-fill-color: #fff;
  animation: none;
}

.gradient-text-hero::before {
  content: '';
  position: absolute;
  left: -0.06em;
  right: -0.08em;
  bottom: 0.13em;
  z-index: -1;
  height: 0.38em;
  border-radius: 999px 42% 52% 999px;
  background: linear-gradient(90deg, rgba(255, 209, 102, 0.08), rgba(255, 209, 102, 0.72) 18%, rgba(245, 158, 11, 0.58) 78%, rgba(255, 209, 102, 0.12));
  filter: blur(0.5px);
  transform: rotate(-1.5deg);
}

.gradient-text-hero::after {
  content: '';
  position: absolute;
  left: 0.02em;
  right: 0.04em;
  bottom: 0.2em;
  z-index: -1;
  height: 0.12em;
  border-radius: 50%;
  background: rgba(255, 243, 163, 0.48);
  filter: blur(5px);
}

.svg-icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.icon,
.icon-tile,
.feature-card .icon,
.empty-state .icon,
.upload-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(245, 158, 11, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 16px 42px rgba(0, 0, 0, 0.18);
  color: var(--primary-soft);
  line-height: 0;
}

.icon .svg-icon,
.icon-tile .svg-icon,
.feature-card .icon .svg-icon,
.empty-state .icon .svg-icon,
.upload-icon .svg-icon {
  width: 25px;
  height: 25px;
}

.section-icon {
  color: var(--accent-soft);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 10px;
  padding: 12px 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transform: translateX(-60%);
  transition: transform 520ms ease, opacity 220ms ease;
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(60%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .svg-icon {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 36px rgba(59, 130, 246, 0.18), 0 10px 30px rgba(245, 158, 11, 0.14);
  color: #07101d;
}

.btn-primary:hover {
  color: #07101d;
  box-shadow: 0 20px 54px rgba(59, 130, 246, 0.24), 0 14px 40px rgba(245, 158, 11, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  border-color: rgba(149, 194, 255, 0.54);
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  box-shadow: var(--shadow-blue);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-color: rgba(255, 209, 102, 0.38);
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.22);
  color: #151006;
}

.btn-accent:hover {
  color: #151006;
  box-shadow: 0 24px 60px rgba(245, 158, 11, 0.28);
}

.btn-sm {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 0.84rem;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.36);
  color: #ff9a9a;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.56);
  color: #ffd1d1;
  box-shadow: 0 16px 42px rgba(239, 68, 68, 0.13);
}

.btn-approve {
  background: rgba(22, 199, 132, 0.14);
  border-color: rgba(22, 199, 132, 0.38);
  color: #8df2c9;
}

.btn-approve:hover {
  background: rgba(22, 199, 132, 0.2);
  border-color: rgba(22, 199, 132, 0.58);
  box-shadow: 0 16px 42px rgba(22, 199, 132, 0.12);
}

.btn-reject {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.36);
  color: #ffaaaa;
}

.btn-reject:hover {
  background: rgba(239, 68, 68, 0.16);
}

.btn-discord,
.btn-discord-ticket {
  background: linear-gradient(135deg, #5865f2, #3b82f6);
  border-color: rgba(139, 149, 255, 0.42);
  box-shadow: 0 18px 44px rgba(88, 101, 242, 0.22);
  color: #fff;
}

.btn-discord:hover,
.btn-discord-ticket:hover {
  color: #fff;
  box-shadow: 0 24px 60px rgba(88, 101, 242, 0.3);
}

.card,
.glass-card,
.dashboard-panel,
.review-card,
.admin-review-card,
.showcase-card,
.cta-card,
.ticket-card,
.modal,
.login-card,
.avg-rating {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.02)),
    rgba(13, 18, 27, 0.84);
  box-shadow: var(--shadow-sm);
}

.card,
.dashboard-panel {
  padding: 28px;
}

.card::before,
.dashboard-panel::before,
.review-card::before,
.admin-review-card::before,
.showcase-card::before,
.cta-card::before,
.ticket-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(149, 194, 255, 0.7), rgba(255, 209, 102, 0.55), transparent);
  opacity: 0.78;
}

.card:hover,
.dashboard-panel:hover,
.review-card:hover,
.admin-review-card:hover,
.showcase-card:hover,
.portfolio-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 11px;
  border: 1px solid rgba(125, 177, 255, 0.24);
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.11);
  color: #b9d6ff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.tag-accent {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.12);
  color: #ffd166;
}

.section-header {
  margin-bottom: 58px;
  text-align: center;
}

.section-header .label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-header .label .svg-icon {
  width: 16px;
  height: 16px;
}

.section-header h2 {
  margin-bottom: 14px;
  font-size: 2.75rem;
}

.section-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.04rem;
}

.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  width: min(calc(100% - 32px), 1200px);
  transform: translateX(-50%);
  border: 1px solid rgba(174, 194, 224, 0.18);
  border-radius: var(--radius-full);
  background: rgba(9, 13, 20, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.navbar.scrolled {
  background: rgba(6, 8, 13, 0.94);
  border-color: rgba(174, 194, 224, 0.28);
  box-shadow: 0 8px 42px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.nav-shell {
  display: flex !important;
  align-items: center;
  gap: 4px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 8px 20px;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 6px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.navbar-logo:hover {
  opacity: 0.8;
  color: var(--text-primary);
}

.navbar-logo .logo-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.navbar-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.navbar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px;
  list-style: none;
  min-width: 0;
}

.navbar-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.navbar-links a:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-primary);
}

.navbar-links a.active {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navbar-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 6px;
}

.mobile-menu-close,
.modal-close,
.remove-upload {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.navbar-mobile-toggle {
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.navbar-mobile-toggle:hover,
.mobile-menu-close:hover,
.modal-close:hover,
.remove-upload:hover {
  border-color: rgba(149, 194, 255, 0.5);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 80px 24px 32px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), transparent 42%),
    rgba(6, 8, 13, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  width: min(320px, 80vw);
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 132px 24px 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(125, 177, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(8, 13, 21, 0.98), rgba(6, 8, 13, 0.96) 90%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 13, 0), rgba(6, 8, 13, 0.62)),
    radial-gradient(circle at 50% 110%, rgba(6, 8, 13, 0.8), transparent 45%);
  z-index: 2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 45%, transparent 0 44%, rgba(6, 8, 13, 0.2) 82%);
  opacity: 0.34;
  mix-blend-mode: screen;
}

.hero-aurora {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 118vw;
  height: 58vh;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.72;
  transform-origin: center;
  mix-blend-mode: screen;
  animation: auroraDrift 16s ease-in-out infinite alternate;
}

.hero-aurora-one {
  background:
    radial-gradient(ellipse at 24% 50%, rgba(59, 130, 246, 0.72), transparent 42%),
    radial-gradient(ellipse at 74% 42%, rgba(245, 158, 11, 0.5), transparent 40%);
  transform: translate(-52%, -56%) rotate(-10deg);
}

.hero-aurora-two {
  top: 35%;
  width: 92vw;
  height: 44vh;
  background:
    radial-gradient(ellipse at 18% 42%, rgba(125, 177, 255, 0.48), transparent 42%),
    radial-gradient(ellipse at 68% 50%, rgba(255, 209, 102, 0.34), transparent 44%);
  opacity: 0.56;
  transform: translate(-46%, -42%) rotate(16deg);
  animation-delay: -7s;
  animation-duration: 19s;
}

.hero-aurora-three {
  top: 62%;
  width: 78vw;
  height: 34vh;
  background:
    radial-gradient(ellipse at 35% 40%, rgba(29, 78, 216, 0.52), transparent 44%),
    radial-gradient(ellipse at 72% 58%, rgba(185, 107, 0, 0.4), transparent 46%);
  opacity: 0.44;
  transform: translate(-55%, -36%) rotate(-24deg);
  animation-delay: -3s;
  animation-duration: 22s;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(960px, 100%);
  text-align: center;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: 5.05rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  animation: fadeInUp 700ms var(--ease) 80ms both;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 34px;
  color: var(--text-secondary);
  font-size: 1.15rem;
  animation: fadeInUp 700ms var(--ease) 160ms both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 700ms var(--ease) 240ms both;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  width: min(720px, 100%);
  margin: 70px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(9, 13, 20, 0.62);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: fadeInUp 700ms var(--ease) 340ms both;
}

.hero-stat {
  padding: 22px 18px;
  text-align: center;
}

.hero-stat .number {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat .label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 74px;
  background: var(--border);
}

.features-section,
.how-section,
.showcase-section,
.cta-section {
  position: relative;
  padding: 110px 0;
}

.features-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 252px;
}

.feature-card .icon {
  margin-bottom: 22px;
  transition: transform 220ms var(--ease), border-color 220ms ease, color 220ms ease;
}

.feature-card:hover .icon {
  border-color: rgba(255, 209, 102, 0.5);
  color: var(--accent-soft);
  transform: translateY(-3px);
}

.feature-card h3,
.step-card h3,
.showcase-card-body h3,
.portfolio-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.feature-card p,
.step-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  position: relative;
  padding: 32px 28px;
}

.freelancer-steps {
  align-self: stretch;
}

.freelancer-steps .step-card {
  min-height: 224px;
}

.step-card-icon {
  position: absolute;
  top: 32px;
  right: 28px;
  width: 24px;
  height: 24px;
  color: rgba(255, 209, 102, 0.74);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.showcase-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
}

.showcase-card-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(245, 158, 11, 0.12)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
}

.showcase-card-image img,
.showcase-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease), filter 420ms ease;
}

.showcase-card:hover .showcase-card-image img,
.showcase-card:hover .showcase-card-image video {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.showcase-card-placeholder {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  color: var(--accent-soft);
}

.showcase-card-placeholder .svg-icon {
  width: 30px;
  height: 30px;
}

.showcase-card-body {
  padding: 22px;
}

.showcase-card-body p {
  display: -webkit-box;
  min-height: 48px;
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.91rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.showcase-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.showcase-card-author,
.showcase-card-author a {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--text-secondary);
}

.showcase-card-author img,
.review-card-author img,
.admin-review-meta .reviewer img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid var(--border-light);
  border-radius: 50%;
}

.showcase-card-author span {
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-card-tags,
.portfolio-skills,
.profile-info .profile-skills,
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.showcase-card-tags {
  justify-content: flex-end;
}

.showcase-card-tags .tag {
  min-height: 23px;
  padding: 3px 9px;
  font-size: 0.7rem;
}

.cta-card {
  overflow: hidden;
  padding: 62px 48px;
  text-align: center;
}

.cta-card h2 {
  margin-bottom: 14px;
  font-size: 2.65rem;
}

.cta-card p {
  max-width: 580px;
  margin: 0 auto 28px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.footer {
  position: relative;
  padding: 76px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(6, 8, 13, 0.62);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.72), rgba(245, 158, 11, 0.6), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(140px, 1fr));
  gap: 34px;
  margin-bottom: 52px;
}

.footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.footer-brand h3 img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-brand p {
  max-width: 340px;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  transition: transform 180ms ease, color 180ms ease;
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.footer-socials a:hover {
  border-color: var(--border-light);
  background: rgba(59, 130, 246, 0.12);
  color: var(--text-primary);
}

.footer-socials .svg-icon {
  width: 18px;
  height: 18px;
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: 142px 0 58px;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(59, 130, 246, 0.16), transparent 44%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 48px);
  opacity: 0.8;
}

.page-header .container {
  position: relative;
}

.page-header h1 {
  margin-bottom: 12px;
  font-size: 3.25rem;
}

.page-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.search-bar {
  position: relative;
  max-width: 560px;
  margin: 0 auto 36px;
}

.search-bar input {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px 14px 50px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(13, 18, 27, 0.78);
  color: var(--text-primary);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-bar input:focus {
  border-color: rgba(125, 177, 255, 0.58);
  background: rgba(17, 23, 34, 0.92);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-icon .svg-icon {
  width: 18px;
  height: 18px;
}

.portfolios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 36px 0 110px;
}

.portfolio-card {
  display: block;
  min-height: 276px;
  text-align: center;
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-avatar,
.profile-avatar {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-blue);
}

.portfolio-avatar {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
}

.portfolio-avatar img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card .bio {
  display: -webkit-box;
  min-height: 48px;
  margin-bottom: 17px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolio-skills {
  justify-content: center;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 142px 0 56px;
}

.profile-avatar {
  width: 138px;
  height: 138px;
  flex: 0 0 auto;
}

.profile-info h1 {
  margin-bottom: 10px;
  font-size: 2.8rem;
}

.profile-info .bio {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--text-secondary);
  font-size: 1.04rem;
}

.profile-section,
.profile-showcases,
.profile-reviews,
.ticket-section {
  padding: 38px 0;
}

.profile-section h2,
.profile-showcases h2,
.profile-reviews h2 {
  margin-bottom: 24px;
  font-size: 1.78rem;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.profile-link:hover {
  border-color: var(--border-light);
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.profile-link .svg-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-soft);
}

.reviews-grid {
  display: grid;
  gap: 16px;
}

.review-card {
  padding: 22px;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.review-card-author {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.review-card-author-info {
  display: grid;
}

.review-card-author-info .name {
  color: var(--text-primary);
  font-size: 0.94rem;
  font-weight: 800;
}

.review-card-author-info .date {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--border-light);
}

.review-stars .svg-icon {
  width: 17px;
  height: 17px;
}

.review-stars .star-filled {
  color: var(--accent-soft);
}

.review-stars .star-empty {
  color: rgba(116, 128, 147, 0.58);
}

.review-card-body {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.avg-rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px 18px;
}

.avg-rating .big-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.avg-rating .rating-details {
  display: grid;
  gap: 3px;
}

.avg-rating .count {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.ticket-section {
  padding-bottom: 110px;
}

.ticket-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  overflow: hidden;
}

.ticket-card-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.42rem;
}

.ticket-card-content h3 .svg-icon {
  width: 23px;
  height: 23px;
  color: var(--accent-soft);
}

.ticket-card-content p {
  max-width: 620px;
  color: var(--text-secondary);
}

.dashboard-container,
.admin-container,
.give-review-container {
  padding: 122px 0 88px;
}

.give-review-container {
  max-width: 720px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.dashboard-header h1,
.admin-container h1,
.give-review-container h1 {
  margin-bottom: 8px;
  font-size: 2.25rem;
}

.dashboard-header p,
.admin-container > p,
.give-review-container > p {
  color: var(--text-secondary);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: start;
}

.dashboard-side {
  display: grid;
  gap: 22px;
}

.dashboard-panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 1.18rem;
}

.dashboard-panel h2 .svg-icon {
  width: 21px;
  height: 21px;
  color: var(--accent-soft);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label,
.links-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select,
.link-row input {
  width: 100%;
  min-height: 45px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.45);
  color: var(--text-primary);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-group textarea {
  min-height: 124px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.link-row input:focus {
  border-color: rgba(125, 177, 255, 0.58);
  background: rgba(9, 13, 20, 0.78);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-group small {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.link-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(180px, 1.6fr) auto;
  gap: 8px;
  margin-bottom: 8px;
}

.link-row .remove-link {
  width: 42px;
  padding: 0;
}

.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 188px;
  padding: 28px;
  overflow: hidden;
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(245, 158, 11, 0.07)),
    rgba(6, 8, 13, 0.38);
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: rgba(255, 209, 102, 0.58);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(245, 158, 11, 0.12)),
    rgba(6, 8, 13, 0.5);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  margin-bottom: 14px;
}

.upload-text {
  color: var(--text-primary);
  font-size: 0.94rem;
  font-weight: 800;
}

.upload-hint {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.upload-preview-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.upload-preview-item img,
.upload-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-item .remove-upload {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(6, 8, 13, 0.72);
  color: #ffb3b3;
}

.showcase-list {
  display: grid;
  gap: 12px;
}

.showcase-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.36);
}

.showcase-list-item h4 {
  margin-bottom: 3px;
  font-size: 0.98rem;
}

.showcase-list-item p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.star-input {
  display: flex;
  gap: 8px;
}

.star-input .star-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(116, 128, 147, 0.72);
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.star-input .star-btn:hover,
.star-input .star-btn.active {
  border-color: rgba(255, 209, 102, 0.55);
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-soft);
  transform: translateY(-2px);
}

.star-input .svg-icon {
  width: 21px;
  height: 21px;
}

.admin-tabs,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-bar {
  justify-content: center;
}

.admin-tab,
.filter-btn {
  min-height: 39px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.admin-tab:hover,
.admin-tab.active,
.filter-btn:hover,
.filter-btn.active {
  border-color: rgba(125, 177, 255, 0.5);
  background: rgba(59, 130, 246, 0.12);
  color: var(--text-primary);
}

.admin-review-card {
  margin-bottom: 14px;
  padding: 20px;
}

.admin-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-review-meta .meta-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
  flex-wrap: wrap;
}

.admin-review-meta .reviewer {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-primary);
  font-weight: 800;
}

.admin-review-meta .arrow {
  display: inline-grid;
  place-items: center;
  color: var(--text-muted);
}

.admin-review-meta .arrow .svg-icon {
  width: 16px;
  height: 16px;
}

.admin-review-meta .freelancer-name {
  color: var(--primary-soft);
  font-weight: 800;
}

.admin-review-body {
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.38);
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.admin-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.review-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-status-badge.pending {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-soft);
}

.review-status-badge.approved {
  border-color: rgba(22, 199, 132, 0.34);
  background: rgba(22, 199, 132, 0.12);
  color: #9df5d0;
}

.review-status-badge.rejected {
  border-color: rgba(239, 68, 68, 0.34);
  background: rgba(239, 68, 68, 0.12);
  color: #ffb4b4;
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 10000;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(13, 18, 27, 0.94);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  border-color: rgba(22, 199, 132, 0.38);
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.42);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 4, 8, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(720px, 100%);
  max-height: 86vh;
  overflow: auto;
  transform: translateY(14px) scale(0.98);
  transition: transform 220ms var(--ease);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.22rem;
}

.modal-close {
  width: 38px;
  height: 38px;
}

.modal-body {
  padding: 22px;
}

.modal-body img,
.modal-body video {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.modal-body img {
  margin-bottom: 20px;
}

.empty-state {
  display: grid;
  place-items: center;
  padding: 70px 24px;
  color: var(--text-muted);
  text-align: center;
}

.empty-state .icon {
  margin-bottom: 18px;
}

.empty-state h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.empty-state p {
  max-width: 460px;
  color: var(--text-secondary);
}

.tos-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 24px 110px;
}

.tos-content h2 {
  margin: 42px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 1.38rem;
}

.tos-content h2:first-of-type {
  margin-top: 12px;
  border-top: none;
}

.tos-content p,
.tos-content ul {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.tos-content p {
  margin-bottom: 15px;
}

.tos-content ul {
  margin: 0 0 15px 22px;
}

.tos-content li {
  margin-bottom: 7px;
}

.login-container {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 132px 24px 80px;
}

.login-card {
  width: min(440px, 100%);
  padding: 48px 36px;
  text-align: center;
}

.login-card h1 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.login-card p {
  margin-bottom: 28px;
  color: var(--text-secondary);
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.role-switch {
  display: flex;
  width: min(420px, 100%);
  margin: -26px auto 34px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.56);
  box-shadow: var(--shadow-sm);
}

.role-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.role-switch-btn .svg-icon {
  width: 17px;
  height: 17px;
}

.role-switch-btn:hover,
.role-switch-btn.active {
  border-color: rgba(149, 194, 255, 0.38);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(245, 158, 11, 0.11));
  color: var(--text-primary);
}

.role-panels {
  position: relative;
}

.role-panel {
  display: none;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.role-panel.active {
  display: grid;
}

.role-panel-copy {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.16), rgba(245, 158, 11, 0.08)),
    rgba(13, 18, 27, 0.78);
  box-shadow: var(--shadow-sm);
}

.role-panel-copy::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(149, 194, 255, 0.7), rgba(255, 209, 102, 0.55), transparent);
}

.role-panel-copy h3 {
  margin-bottom: 12px;
  font-size: 1.64rem;
}

.role-panel-copy p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.role-panel-copy .panel-kicker {
  margin-bottom: 14px;
}

.role-steps {
  display: grid;
  gap: 14px;
  align-content: start;
}

.role-steps .step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 0;
  padding: 20px 22px;
}

.role-steps .step-number {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .role-panel {
    grid-template-columns: 1fr;
  }
}

.dashboard-shell {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 126px 0 92px;
}

.dashboard-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(59, 130, 246, 0.16), transparent 48%),
    linear-gradient(300deg, rgba(245, 158, 11, 0.12), transparent 40%),
    rgba(10, 14, 22, 0.8);
  box-shadow: var(--shadow-md);
}

.dashboard-command-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
}

.dashboard-command h1 {
  margin-bottom: 8px;
  font-size: 2.55rem;
}

.dashboard-command p {
  max-width: 700px;
  color: var(--text-secondary);
}

.dashboard-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--shadow-blue);
}

.dashboard-avatar-lg {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
}

.dashboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.metric-card {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(13, 18, 27, 0.72);
  box-shadow: var(--shadow-sm);
}

.metric-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.dashboard-rail {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.dashboard-profile-card,
.dashboard-checklist {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(13, 18, 27, 0.78);
  box-shadow: var(--shadow-sm);
}

.dashboard-profile-main {
  text-align: center;
}

.dashboard-profile-main h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.dashboard-profile-main p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.dashboard-skill-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.panel-heading h2 {
  margin-bottom: 0;
}

.panel-heading strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.56);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.checklist-items {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 800;
}

.checklist-item.done {
  color: var(--text-primary);
}

.check-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--success);
}

.check-dot .svg-icon {
  width: 13px;
  height: 13px;
}

.dashboard-workspace {
  display: grid;
  gap: 22px;
}

.dashboard-form {
  display: grid;
  gap: 18px;
}

.dashboard-form .form-group {
  margin-bottom: 0;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.links-stack {
  display: grid;
  gap: 8px;
}

.dashboard-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: 22px;
  align-items: start;
}

.showcase-compose,
.showcase-library,
.profile-editor-panel {
  overflow: hidden;
}

.showcase-list {
  gap: 10px;
}

.showcase-list-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  padding: 12px;
}

.showcase-list-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(245, 158, 11, 0.1)),
    rgba(6, 8, 13, 0.42);
  color: var(--accent-soft);
}

.showcase-list-thumb img,
.showcase-list-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-list-thumb .svg-icon {
  width: 24px;
  height: 24px;
}

.showcase-list-copy {
  min-width: 0;
}

.showcase-list-copy h4,
.showcase-list-copy p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-list-copy h4 {
  white-space: nowrap;
}

.compact-empty {
  padding: 36px 18px;
}

.admin-shell {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 126px 0 92px;
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(59, 130, 246, 0.14), transparent 46%),
    linear-gradient(300deg, rgba(245, 158, 11, 0.12), transparent 42%),
    rgba(10, 14, 22, 0.82);
  box-shadow: var(--shadow-md);
}

.admin-hero h1 {
  margin-bottom: 8px;
  font-size: 2.55rem;
}

.admin-hero p {
  max-width: 720px;
  color: var(--text-secondary);
}

.admin-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-soft);
  font-weight: 900;
  white-space: nowrap;
}

.admin-hero-badge .svg-icon {
  width: 18px;
  height: 18px;
}

.admin-review-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.metric-card.status-pending {
  border-color: rgba(245, 158, 11, 0.26);
}

.metric-card.status-approved {
  border-color: rgba(22, 199, 132, 0.26);
}

.metric-card.status-rejected {
  border-color: rgba(239, 68, 68, 0.3);
}

.admin-review-board {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(13, 18, 27, 0.78);
  box-shadow: var(--shadow-sm);
}

.admin-review-board .panel-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
}

.admin-review-board .panel-heading h2 .svg-icon {
  width: 21px;
  height: 21px;
  color: var(--accent-soft);
}

.admin-review-board .admin-tabs {
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.42);
}

.admin-review-board .admin-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: transparent;
}

.admin-tab span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.admin-review-list {
  display: grid;
  gap: 14px;
}

.admin-review-card {
  display: grid;
  gap: 16px;
  margin-bottom: 0;
  padding: 20px;
  overflow: hidden;
}

.admin-review-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-review-route {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-person {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.admin-person img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid var(--border-light);
  border-radius: 50%;
}

.admin-person div {
  display: grid;
  min-width: 0;
}

.admin-person strong {
  overflow: hidden;
  max-width: 190px;
  color: var(--text-primary);
  font-size: 0.94rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-review-route .arrow {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
}

.admin-review-route .arrow .svg-icon {
  width: 14px;
  height: 14px;
}

.admin-review-meta-side {
  display: grid;
  justify-items: end;
  gap: 7px;
  flex: 0 0 auto;
}

.admin-review-meta-side time {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-review-content {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.38);
}

.admin-review-content .review-stars {
  margin-bottom: 10px;
}

.admin-review-content p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

.admin-tab-empty {
  display: none;
}

@keyframes shimmerText {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes auroraDrift {
  0% {
    translate: -1.8vw -1.4vh;
    scale: 1;
  }

  50% {
    translate: 1.2vw 1.6vh;
    scale: 1.04 0.96;
  }

  100% {
    translate: 2.2vw -0.8vh;
    scale: 0.98 1.05;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 80ms;
}

.animate-on-scroll.delay-2 {
  transition-delay: 160ms;
}

.animate-on-scroll.delay-3 {
  transition-delay: 240ms;
}

.animate-on-scroll.delay-4 {
  transition-delay: 320ms;
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible > *:nth-child(1) {
  transition-delay: 40ms;
}

.stagger-children.visible > *:nth-child(2) {
  transition-delay: 80ms;
}

.stagger-children.visible > *:nth-child(3) {
  transition-delay: 120ms;
}

.stagger-children.visible > *:nth-child(4) {
  transition-delay: 160ms;
}

.stagger-children.visible > *:nth-child(5) {
  transition-delay: 200ms;
}

.stagger-children.visible > *:nth-child(6) {
  transition-delay: 240ms;
}

@media (max-width: 1040px) {
  .hero h1 {
    font-size: 4.1rem;
  }

  .features-grid,
  .steps-grid,
  .dashboard-grid,
  .dashboard-layout,
  .dashboard-split,
  .role-panel {
    grid-template-columns: 1fr;
  }

  .dashboard-rail {
    position: static;
  }

  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-review-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-header {
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 34px, 1240px);
  }

  .navbar-links,
  .navbar-auth {
    display: none;
  }

  .navbar-mobile-toggle {
    display: inline-grid;
  }

  .hero {
    min-height: auto;
    padding: 126px 17px 72px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .hero-buttons,
  .dashboard-actions,
  .admin-review-actions {
    width: 100%;
  }

  .hero-buttons .btn,
  .dashboard-actions .btn,
  .admin-review-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat-divider {
    width: 100%;
    height: 1px;
  }

  .section-header h2,
  .cta-card h2,
  .page-header h1,
  .profile-info h1 {
    font-size: 2.35rem;
  }

  .features-section,
  .how-section,
  .showcase-section,
  .cta-section {
    padding: 78px 0;
  }

  .dashboard-shell {
    width: min(100% - 34px, 1280px);
    padding: 116px 0 78px;
  }

  .dashboard-command {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .admin-shell {
    width: min(100% - 34px, 1240px);
    padding: 116px 0 78px;
  }

  .admin-hero,
  .admin-review-topline {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-review-meta-side {
    justify-items: start;
  }

  .dashboard-command-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-command h1 {
    font-size: 2.25rem;
  }

  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .showcase-grid,
  .portfolios-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom,
  .dashboard-header,
  .ticket-card,
  .admin-review-meta,
  .review-card-header,
  .profile-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .profile-header {
    text-align: center;
    align-items: center;
  }

  .profile-info .profile-skills,
  .profile-links {
    justify-content: center;
  }

  .ticket-card {
    text-align: center;
  }

  .ticket-card-content h3 {
    justify-content: center;
  }

  .role-switch {
    margin-top: -18px;
  }

  .link-row {
    grid-template-columns: 1fr;
  }

  .link-row .remove-link {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .dashboard-shell {
    width: min(100% - 28px, 1280px);
  }

  .admin-shell {
    width: min(100% - 28px, 1240px);
  }

  .navbar-logo {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .btn {
    width: 100%;
  }

  .card,
  .dashboard-panel,
  .review-card,
  .admin-review-card,
  .cta-card,
  .ticket-card,
  .login-card,
  .dashboard-command,
  .dashboard-profile-card,
  .dashboard-checklist,
  .role-panel-copy {
    padding: 22px;
  }

  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .admin-review-stats {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    border-radius: var(--radius-lg);
  }

  .admin-review-board .admin-tab {
    width: 100%;
  }

  .showcase-list-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .showcase-list-item .delete-showcase {
    grid-column: 1 / -1;
  }

  .page-header {
    padding-top: 124px;
  }

  .profile-avatar {
    width: 112px;
    height: 112px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
  }
}

.health-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 197, 94, 0.26);
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 197, 94, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(13, 18, 27, 0.78);
}

.health-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 28px;
  transform: rotate(10deg);
}

.paper-health-value {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: none !important;
  color: #dffbea;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  -webkit-text-fill-color: currentColor !important;
}

.paper-health-value .svg-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.05)),
    rgba(255, 255, 255, 0.06);
  color: #49f0a4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(16, 185, 129, 0.16);
}

.paper-health-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.paper-health-title .svg-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.05);
  color: #49f0a4;
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.14);
}

.status-card .icon {
  border-color: rgba(34, 197, 94, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(10, 18, 24, 0.72);
  color: #49f0a4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(16, 185, 129, 0.16);
}

.status-card .icon .svg-icon {
  width: 30px;
  height: 30px;
}

.status-card.warning .icon {
  border-color: rgba(245, 158, 11, 0.34);
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(16, 15, 9, 0.72);
  color: #ffd166;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(245, 158, 11, 0.15);
}

.status-card.danger .icon {
  border-color: rgba(239, 68, 68, 0.34);
  background:
    linear-gradient(180deg, rgba(239, 68, 68, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(24, 10, 12, 0.72);
  color: #ff8a8a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(239, 68, 68, 0.15);
}

html {
  color-scheme: dark;
}

::selection {
  background: rgba(255, 209, 102, 0.32);
  color: #fff8d9;
}


.navbar-links a,
.btn,
.icon-btn,
.nav-user,
.premium-portfolio-card,
.showcase-card,
.detail-panel,
.dashboard-panel,
.metric-card,
.content-item-card {
  will-change: transform;
}

.navbar-links a:focus-visible,
.btn:focus-visible,
.icon-btn:focus-visible,
.nav-user:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(255, 209, 102, 0.6);
  outline-offset: 3px;
}

.navbar-links a {
  position: relative;
  overflow: hidden;
}

.navbar-links a::before {
  content: "";
  position: absolute;
  inset: 4px 8px auto;
  height: 1px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.58), transparent);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 180ms ease, transform 260ms ease;
}

.navbar-links a:hover::before,
.navbar-links a.active::before {
  opacity: 1;
  transform: translateX(0);
}

.hero {
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(620px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.35), rgba(88, 166, 255, 0.32), transparent);
  opacity: 0.72;
  transform: translateX(-50%);
}

.hero-aurora {
  mix-blend-mode: screen;
  will-change: transform;
}

.premium-portfolio-card,
.showcase-card,
.detail-panel,
.dashboard-panel,
.metric-card,
.content-item-card {
  transform-origin: center top;
}

.premium-portfolio-card:hover,
.showcase-card:hover,
.detail-panel:hover,
.dashboard-panel:hover,
.metric-card:hover,
.content-item-card:hover {
  border-color: rgba(149, 194, 255, 0.32);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), 0 12px 36px rgba(59, 130, 246, 0.09);
}

.admin-tab,
.role-switch-btn {
  position: relative;
  overflow: hidden;
}

.admin-tab::after,
.role-switch-btn::after {
  content: "";
  position: absolute;
  inset: auto 16px 6px;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary-soft), var(--accent-soft));
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 220ms ease;
}

.admin-tab:hover::after,
.admin-tab.active::after,
.role-switch-btn:hover::after,
.role-switch-btn.active::after {
  opacity: 0.95;
  transform: scaleX(1);
}

.content-admin-list {
  scrollbar-color: rgba(149, 194, 255, 0.35) rgba(255, 255, 255, 0.04);
}

@media (max-width: 1040px) {
  .nav-shell {
    display: flex !important;
    justify-content: space-between !important;
  }

  .navbar-auth {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}






.content-admin-head {
  align-items: flex-end;
}

.content-compose-grid {
  margin-bottom: 16px;
}

.content-manager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.content-manager-panel {
  min-width: 0;
}

.content-admin-list {
  display: grid;
  gap: 12px;
  max-height: 820px;
  overflow: auto;
  padding-right: 4px;
}

.content-item-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(9, 13, 20, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.content-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.content-type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-item-top time {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.content-item-card .form-group {
  margin-bottom: 0;
}

.content-item-card textarea {
  min-height: 118px;
}

.content-item-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}



@media (max-width: 1120px) {
  .content-manager-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .content-admin-head {
    align-items: stretch;
  }

  .content-item-top,
  .content-item-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .content-item-actions .btn {
    width: 100%;
  }
}

.health-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 197, 94, 0.26);
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 197, 94, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(13, 18, 27, 0.78);
}

.health-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 28px;
  transform: rotate(10deg);
}

.paper-health-value {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: none !important;
  color: #dffbea;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  -webkit-text-fill-color: currentColor !important;
}

.paper-health-value .svg-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.05)),
    rgba(255, 255, 255, 0.06);
  color: #49f0a4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(16, 185, 129, 0.16);
}

.paper-health-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.paper-health-title .svg-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.05);
  color: #49f0a4;
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.14);
}

.status-card .icon {
  border-color: rgba(34, 197, 94, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(10, 18, 24, 0.72);
  color: #49f0a4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(16, 185, 129, 0.16);
}

.status-card .icon .svg-icon {
  width: 30px;
  height: 30px;
}

.footer-socials a[aria-label="Discord"],
.btn-primary .svg-icon:first-child {
  color: currentColor;
}




body,
.navbar,
.card,
.dashboard-panel,
.detail-panel,
.showcase-card,
.premium-portfolio-card,
.metric-card,
.admin-row,
.market-toolbar,
input,
textarea,
select,
.btn,
.icon-btn,
.nav-user {
  transition:
    background 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease,
    transform 220ms var(--ease);
}

.navbar.scrolled {
  background: rgba(6, 8, 13, 0.92);
  border-color: rgba(174, 194, 224, 0.26);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


.icon-btn,
.nav-user {
  width: 38px;
  height: 38px;
  border-color: transparent;
  background: transparent;
}

.icon-btn:hover,
.icon-btn.active,
.nav-user:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav-btn {
  color: #ffd166;
}

.dashboard-nav-btn {
  color: #95c2ff;
}

.settings-nav-btn {
  color: #b3bdcc;
}

.nav-user {
  margin-left: 2px;
}

.navbar-mobile-toggle {
  justify-self: end;
}

.icon-btn::after,
.nav-user::after {
  content: attr(title);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.92);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  white-space: nowrap;
  transition: opacity 160ms ease, transform 160ms ease;
}

.icon-btn:hover::after,
.nav-user:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.animate-on-scroll {
  filter: blur(5px);
  transform: translateY(26px) scale(0.99);
}

.animate-on-scroll.visible {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.stagger-children > * {
  filter: blur(4px);
  transform: translateY(18px) scale(0.985);
}

.stagger-children.visible > * {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.btn-primary,
.btn-accent {
  background-size: 180% 180%;
  animation: gradientDrift 8s ease infinite;
}

.hero-aurora {
  animation-duration: 13s;
}

.hero h1,
.marketplace-header h1,
.dashboard-command h1,
.admin-hero h1 {
  text-wrap: balance;
}













@keyframes gradientDrift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 1100px) {
  .navbar-links .nav-wide {
    display: none;
  }
}

@media (max-width: 900px) {
  .navbar-links .nav-extra {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.premium-portfolio-card::after,
.showcase-card::after,
.detail-panel::after,
.dashboard-panel::after,
.admin-row::after {
  content: none !important;
  display: none !important;
}

.premium-portfolio-banner,
.portfolio-hero-banner,
.preview-banner {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.premium-portfolio-card.no-banner {
  min-height: 392px;
}

.premium-portfolio-card.no-banner .premium-portfolio-body {
  padding-top: 24px;
}

.premium-portfolio-card.no-banner .premium-avatar-wrap {
  margin-top: 0;
}

.premium-portfolio-card.has-banner .premium-avatar-wrap {
  margin-top: -48px;
}

.premium-portfolio-banner {
  height: 132px;
}

.portfolio-hero-card.no-banner {
  padding-top: 0;
}

.portfolio-hero-card.no-banner .portfolio-hero-content {
  align-items: center;
  padding-top: 38px;
}

.portfolio-hero-card.no-banner .portfolio-avatar-xl {
  margin-top: 0;
}

.portfolio-hero-card.has-banner .portfolio-avatar-xl {
  margin-top: -58px;
}

.portfolio-hero-banner {
  height: min(220px, 26vw);
  min-height: 170px;
}

.portfolio-hero-content {
  grid-template-columns: auto minmax(0, 1fr);
}

.portfolio-hero-copy {
  min-width: 0;
}

.portfolio-rate-panel,
.portfolio-rate {
  display: none !important;
}

.preview-card.no-banner {
  padding-top: 24px;
}

.preview-card.no-banner .dashboard-avatar-lg {
  margin-top: 0;
}

.preview-card.has-banner .dashboard-avatar-lg {
  margin-top: -48px;
}

.about-slice {
  position: relative;
  padding: 96px 0 108px;
  overflow: hidden;
}

.about-slice::before {
  content: '';
  position: absolute;
  inset: 14% auto auto 50%;
  width: min(820px, 86vw);
  height: 280px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 22% 50%, rgba(59, 130, 246, 0.18), transparent 54%),
    radial-gradient(ellipse at 80% 45%, rgba(245, 158, 11, 0.16), transparent 50%);
  filter: blur(22px);
  opacity: 0.8;
  transform: translateX(-50%) rotate(-4deg);
  pointer-events: none;
}

.about-slice-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.about-slice-copy,
.about-mini-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    rgba(13, 18, 27, 0.78);
  box-shadow: var(--shadow-sm);
}

.about-slice-center {
  display: flex;
  justify-content: center;
  text-align: center;
}

.about-slice-copy {
  display: grid;
  align-content: center;
  max-width: 800px;
  padding: 38px;
}

.about-slice-copy h2 {
  margin-bottom: 16px;
  font-size: 2.25rem;
}

.about-slice-copy p {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.about-slice-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-mini-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
}

.about-mini-card .svg-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-soft);
}

.about-mini-card h3 {
  font-size: 1.05rem;
}

.about-mini-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hero-content > * {
  animation-name: heroEntrance;
  animation-duration: 860ms;
  animation-timing-function: var(--ease);
  animation-fill-mode: both;
}

.hero-content > *:nth-child(1) {
  animation-delay: 80ms;
}

.hero-content > *:nth-child(2) {
  animation-delay: 210ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 340ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 470ms;
}

.navbar-logo {
  animation: navDrop 620ms var(--ease) 80ms both;
}

.navbar-links {
  animation: navDrop 620ms var(--ease) 140ms both;
}

.navbar-auth {
  animation: navDrop 620ms var(--ease) 200ms both;
}

.hero-bg::before {
  animation: heroVeil 1200ms ease both;
}

.hero-aurora-one {
  animation: auroraDrift 12s ease-in-out infinite alternate, auroraBloom 1300ms ease both;
}

.hero-aurora-two {
  animation: auroraDrift 16s ease-in-out infinite alternate, auroraBloom 1600ms ease 120ms both;
}

.hero-aurora-three {
  animation: auroraDrift 18s ease-in-out infinite alternate, auroraBloom 1800ms ease 180ms both;
}


@keyframes heroEntrance {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navDropCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -64%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes heroVeil {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes auroraBloom {
  from {
    opacity: 0;
    filter: blur(54px);
  }
}

@media (max-width: 1120px) {
  .about-slice-grid,
  .about-slice-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .navbar-links {
    position: static;
    transform: none;
    animation: none;
  }

  .about-slice {
    padding: 72px 0;
  }

  .about-slice-copy {
    padding: 28px;
  }
}

.nav-shell {
  position: relative;
}

.navbar-auth {
  align-items: center;
  gap: 9px;
}

.icon-btn,
.nav-user {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.icon-btn:hover,
.icon-btn.active,
.nav-user:hover {
  border-color: var(--border-light);
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.icon-btn .svg-icon {
  width: 18px;
  height: 18px;
}

.nav-user {
  overflow: visible;
  padding: 0;
}

.nav-user img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.presence-dot {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  background: #6b7280;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.presence-dot.online {
  background: var(--success);
  box-shadow: 0 0 0 1px rgba(22, 199, 132, 0.34), 0 0 18px rgba(22, 199, 132, 0.45);
}

.presence-dot.offline {
  background: #6b7280;
}

.marketplace-header {
  padding-bottom: 44px;
}

.marketplace-header::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(59, 130, 246, 0.18), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(245, 158, 11, 0.14), transparent 30%);
}

.marketplace-header .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-soft);
  font-weight: 900;
}

.marketplace-header h1 {
  max-width: 860px;
  margin: 0 auto 14px;
  color: var(--text-primary);
}

.market-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 220px) minmax(170px, 220px);
  gap: 12px;
  margin: 0 auto 28px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.02)),
    rgba(13, 18, 27, 0.7);
  box-shadow: var(--shadow-sm);
}

.market-search,
.select-control {
  display: flex;
  align-items: center;
  min-height: 50px;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.36);
}

.market-search {
  padding: 0 15px;
}

.market-search .svg-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.market-search input,
.select-control select {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  outline: none;
}

.select-control {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 7px 12px;
}

.select-control span {
  color: var(--text-muted);
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
  gap: 22px;
  padding: 18px 0 110px;
}

.premium-portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 478px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    rgba(9, 15, 23, 0.9);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.premium-portfolio-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
  transform: translateY(-5px);
}

.premium-portfolio-banner,
.preview-banner,
.portfolio-hero-banner,
.banner-uploader-preview {
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.48), transparent 30%),
    radial-gradient(circle at 72% 18%, rgba(245, 158, 11, 0.36), transparent 28%),
    linear-gradient(135deg, #13243b, #271a0b 68%, #090d14);
  background-position: center;
  background-size: cover;
}

.premium-portfolio-banner {
  height: 156px;
}

.premium-portfolio-body {
  position: relative;
  padding: 0 24px 24px;
}

.premium-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-top: -48px;
  margin-bottom: 16px;
  border: 7px solid rgba(9, 15, 23, 0.96);
  border-radius: 28px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-blue);
}

.premium-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.portfolio-rate {
  position: absolute;
  top: -34px;
  right: 24px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.62);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.premium-title-row,
.portfolio-title-line,
.showcase-list-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.premium-title-row h2,
.portfolio-title-line h1 {
  overflow-wrap: anywhere;
}

.verified-mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 209, 102, 0.48);
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-soft);
}

.verified-mark.large {
  width: 32px;
  height: 32px;
}

.portfolio-handle {
  margin: 4px 0 14px;
  color: var(--text-muted);
  font-weight: 800;
}

.portfolio-bio,
.portfolio-lead {
  color: var(--text-secondary);
}

.portfolio-bio {
  display: -webkit-box;
  min-height: 56px;
  margin-bottom: 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolio-tags,
.inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-card-stats,
.showcase-card-meta,
.creator-metrics,
.showcase-stat-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-card-stats {
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 900;
}

.portfolio-card-stats span,
.showcase-card-meta span,
.creator-metrics span,
.showcase-stat-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.portfolio-card-stats .svg-icon,
.showcase-card-meta .svg-icon,
.creator-metrics .svg-icon,
.showcase-stat-strip .svg-icon {
  width: 15px;
  height: 15px;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(125, 177, 255, 0.28);
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.1);
  color: #b9d6ff;
  font-size: 0.76rem;
  font-weight: 900;
}

.availability-pill.available {
  border-color: rgba(22, 199, 132, 0.36);
  background: rgba(22, 199, 132, 0.12);
  color: #94f2cd;
}

.availability-pill.busy {
  border-color: rgba(245, 158, 11, 0.36);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-soft);
}

.availability-pill.closed {
  border-color: rgba(239, 68, 68, 0.34);
  background: rgba(239, 68, 68, 0.1);
  color: #ffb4b4;
}

.portfolio-detail-shell,
.showcase-detail-shell,
.content-page-shell,
.settings-shell {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 126px 0 96px;
}

.portfolio-hero-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(9, 15, 23, 0.86);
  box-shadow: var(--shadow-md);
}

.portfolio-hero-banner {
  height: min(280px, 32vw);
  min-height: 210px;
}

.portfolio-hero-content {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  padding: 0 42px 36px;
}

.portfolio-avatar-xl {
  position: relative;
  width: 132px;
  height: 132px;
  margin-top: -66px;
  border: 8px solid rgba(9, 15, 23, 0.96);
  border-radius: 32px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-blue);
}

.portfolio-avatar-xl img {
  width: 100%;
  height: 100%;
  border-radius: 23px;
  object-fit: cover;
}

.portfolio-hero-copy h1 {
  font-size: 2.3rem;
}

.portfolio-lead {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: 1.08rem;
}

.portfolio-rate-panel {
  display: grid;
  justify-items: end;
  gap: 10px;
  align-self: center;
}

.portfolio-rate-panel span {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.portfolio-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.portfolio-main-column,
.portfolio-side-column {
  display: grid;
  gap: 22px;
}

.portfolio-side-column {
  position: sticky;
  top: 94px;
}

.detail-panel,
.comments-panel,
.creator-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    rgba(13, 18, 27, 0.78);
  box-shadow: var(--shadow-sm);
}

.detail-panel h2,
.comments-panel h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.detail-panel h3 {
  margin: 24px 0 12px;
  font-size: 1.1rem;
}

.detail-panel p,
.detail-panel li {
  color: var(--text-secondary);
}

.detail-rule {
  height: 1px;
  margin: 14px 0 20px;
  background: linear-gradient(90deg, var(--border-light), transparent);
}

.side-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.side-stat-grid span,
.quick-info-list dt,
.profile-output-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.side-stat-grid strong,
.quick-info-list dd,
.profile-output-grid strong {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 900;
}

.commission-button {
  width: 100%;
  margin-bottom: 14px;
}

.commission-panel p {
  text-align: center;
  font-size: 0.86rem;
}

.side-link-list {
  display: grid;
  gap: 8px;
}

.side-link-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 900;
}

.side-link-list a:hover {
  color: var(--text-primary);
}

.quick-info-list {
  display: grid;
  gap: 14px;
}

.quick-info-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quick-info-list dd,
.quick-info-list dt {
  margin: 0;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.34);
}

.review-summary > strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
}

.showcase-card {
  color: var(--text-primary);
}

.showcase-card:hover {
  color: var(--text-primary);
}

.showcase-card-meta {
  margin: 10px 0 14px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.showcase-cover-tags {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.showcase-cover-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 209, 102, 0.32);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.62);
  color: var(--accent-soft);
  font-size: 0.7rem;
  font-weight: 900;
}

.inline-tags {
  position: static;
  margin-bottom: 14px;
}

.compact-showcase-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.showcase-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 24px;
  align-items: stretch;
}

.showcase-media-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 13, 0.72);
  box-shadow: var(--shadow-md);
}

.showcase-main-media {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 560px;
  transition: opacity 140ms ease;
}

.showcase-main-media img,
.showcase-main-media video {
  width: 100%;
  height: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.showcase-empty-media {
  display: grid;
  place-items: center;
  min-height: 560px;
  color: var(--accent-soft);
}

.showcase-empty-media .svg-icon {
  width: 64px;
  height: 64px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.72);
  color: var(--text-primary);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.showcase-thumbnails {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86px;
  gap: 10px;
  overflow-x: auto;
  padding: 14px;
  border-top: 1px solid var(--border);
}

.showcase-thumbnails button {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.showcase-thumbnails button.active {
  border-color: rgba(255, 209, 102, 0.7);
}

.showcase-thumbnails img,
.showcase-thumbnails video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-info-panel {
  align-self: stretch;
}

.showcase-info-panel h1 {
  margin-bottom: 14px;
  font-size: 2.1rem;
}

.showcase-info-panel p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.showcase-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.showcase-stat-strip {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 900;
}

.showcase-detail-layout {
  display: grid;
  grid-template-columns: minmax(290px, 370px) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.rectangle-creator-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  color: var(--text-primary);
}

.rectangle-creator-card:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

.rectangle-creator-card > img {
  width: 78px;
  height: 78px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  object-fit: cover;
}

.rectangle-creator-card .presence-dot {
  left: 86px;
  top: 86px;
  right: auto;
  bottom: auto;
}

.rectangle-creator-card h2 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.rectangle-creator-card p {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.creator-metrics {
  margin: 14px 0;
  color: var(--text-secondary);
  font-weight: 900;
}

.comments-panel {
  display: grid;
  gap: 18px;
}

.comment-form {
  display: grid;
  gap: 10px;
}

.comment-form textarea {
  width: 100%;
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.42);
  color: var(--text-primary);
  resize: vertical;
  outline: none;
}

.comment-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.comment-login-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

.comment-list,
.reply-list {
  display: grid;
  gap: 14px;
}

.reply-list {
  margin-top: 14px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.comment-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.34);
}

.comment-card.reply {
  background: rgba(255, 255, 255, 0.035);
}

.comment-author {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.comment-author img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  object-fit: cover;
}

.comment-author .presence-dot {
  left: 26px;
  right: auto;
}

.comment-author strong,
.comment-author time {
  display: block;
}

.comment-author time {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.comment-card p {
  color: var(--text-secondary);
}

.comment-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.text-button {
  border: none;
  background: transparent;
  color: var(--primary-soft);
  cursor: pointer;
  font-weight: 900;
}

.text-button.danger {
  color: #ffaaa8;
}

.preview-card {
  overflow: hidden;
  padding-top: 0;
}

.preview-banner {
  height: 108px;
  margin: -24px -24px 0;
}

.preview-card .dashboard-avatar-lg {
  position: relative;
  margin-top: -48px;
  border: 6px solid rgba(13, 18, 27, 0.96);
}

.banner-uploader {
  margin-bottom: 22px;
}

.banner-uploader-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  overflow: hidden;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  cursor: pointer;
}

.banner-uploader-preview div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.62);
  font-weight: 900;
}

.banner-uploader-preview input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.check-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.45);
  color: var(--text-secondary);
  font-weight: 900;
}

.profile-output-panel {
  padding: 26px;
}

.profile-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-output-grid > div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.34);
}

.profile-output-grid p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.sortable-preview .upload-preview-item {
  aspect-ratio: 4 / 3;
}

.upload-order-controls {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 5px;
}

.upload-order,
.upload-order-controls span {
  display: grid;
  place-items: center;
  min-height: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.72);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 900;
}

.upload-order {
  cursor: pointer;
}

.enhanced-showcase-item {
  grid-template-columns: 74px minmax(0, 1fr) auto;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.control-tabs {
  position: sticky;
  top: 76px;
  z-index: 20;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(9, 13, 20, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.admin-grid,
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.compact-search {
  width: min(340px, 100%);
}

.admin-table {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(13, 18, 27, 0.72);
}

.admin-row p {
  color: var(--text-secondary);
}

.admin-row-meta,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-row-meta span:not(.availability-pill) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-limit-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-limit-form input,
.category-form input {
  min-height: 38px;
  width: 96px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.42);
  color: var(--text-primary);
}

.category-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 16px;
}

.category-form input {
  width: 100%;
}

.tag-manager-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-category {
  gap: 8px;
}

.admin-category button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 900;
}

.stat-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: 220px;
  gap: 8px;
}

.stat-bars h2,
.stat-bars .panel-kicker {
  grid-column: 1 / -1;
}

.stat-bars div {
  height: var(--value);
  min-height: 34px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.content-page-shell {
  max-width: 1040px;
}

.policy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.policy-tabs a {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 900;
}

.policy-tabs a:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.content-section,
.faq-list,
.timeline-list {
  margin-bottom: 18px;
}

.policy-heading-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.policy-heading-icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid rgba(255, 209, 102, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.16), rgba(255, 255, 255, 0.025)),
    rgba(6, 8, 13, 0.52);
  color: var(--accent-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 34px rgba(245, 158, 11, 0.12);
}

.policy-list {
  display: grid;
  gap: 8px;
  margin-left: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-list,
.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-item time {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
}

.settings-shell {
  max-width: 920px;
}

.settings-panel {
  margin-top: 22px;
}

.status-shell {
  display: grid;
  place-items: center;
  min-height: 72vh;
  padding: 132px 24px 80px;
}

.status-card {
  width: min(520px, 100%);
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.02)),
    rgba(13, 18, 27, 0.88);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.status-card .icon {
  margin: 0 auto 18px;
}

.status-card h1 {
  margin-bottom: 10px;
}

.status-card p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.footer-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-mini-stats span {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .market-toolbar,
  .portfolio-detail-layout,
  .showcase-detail-hero,
  .showcase-detail-layout,
  .profile-output-grid,
  .admin-grid,
  .admin-grid.two,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-side-column {
    position: static;
  }

  .portfolio-hero-content {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .portfolio-rate-panel {
    grid-column: 1 / -1;
    justify-items: start;
  }
}

@media (max-width: 780px) {
  .premium-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-detail-shell,
  .showcase-detail-shell,
  .content-page-shell,
  .settings-shell {
    width: min(100% - 34px, 1240px);
    padding-top: 116px;
  }

  .portfolio-hero-content {
    grid-template-columns: 1fr;
    padding: 0 24px 28px;
  }

  .portfolio-avatar-xl {
    margin-top: -64px;
  }

  .portfolio-title-line {
    align-items: flex-start;
  }

  .showcase-main-media,
  .showcase-empty-media {
    min-height: 340px;
  }

  .rectangle-creator-card,
  .enhanced-showcase-item,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-section-head,
  .comment-login-prompt {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-row-meta,
  .admin-actions {
    justify-content: flex-start;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .market-toolbar,
  .detail-panel,
  .comments-panel,
  .creator-card,
  .status-card {
    padding: 20px;
  }

  .side-stat-grid,
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .showcase-detail-actions .btn,
  .comment-form-actions .btn,
  .category-form,
  .admin-limit-form {
    width: 100%;
  }

  .category-form,
  .admin-limit-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-limit-form input {
    width: 100%;
  }
}





.admin-review-stats .health-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 197, 94, 0.26);
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 197, 94, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(13, 18, 27, 0.78);
}

.admin-review-stats .health-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 28px;
  transform: rotate(10deg);
}

.metric-card .paper-health-value {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: none !important;
  color: #dffbea;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  -webkit-text-fill-color: currentColor !important;
}

.metric-card .paper-health-value .svg-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.05)),
    rgba(255, 255, 255, 0.06);
  color: #49f0a4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(16, 185, 129, 0.16);
}

.detail-panel .paper-health-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-panel .paper-health-title .svg-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.05);
  color: #49f0a4;
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.14);
}

.status-card .icon {
  border-color: rgba(34, 197, 94, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(10, 18, 24, 0.72);
  color: #49f0a4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(16, 185, 129, 0.16);
}

.status-card .icon .svg-icon {
  width: 30px;
  height: 30px;
}

.status-card.warning .icon {
  border-color: rgba(245, 158, 11, 0.34);
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(16, 15, 9, 0.72);
  color: #ffd166;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(245, 158, 11, 0.15);
}

.status-card.danger .icon {
  border-color: rgba(239, 68, 68, 0.34);
  background:
    linear-gradient(180deg, rgba(239, 68, 68, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(24, 10, 12, 0.72);
  color: #ff8a8a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 46px rgba(239, 68, 68, 0.15);
}

.navbar-auth .icon-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(6, 8, 13, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(0, 0, 0, 0.18);
}

.navbar-auth .icon-btn .svg-icon {
  width: 19px;
  height: 19px;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.34));
}

.navbar-auth .admin-nav-btn {
  color: #ffd166;
}

.navbar-auth .dashboard-nav-btn {
  color: #9cc8ff;
}

.navbar-auth .settings-nav-btn {
  color: #c5cede;
}

.navbar-auth .admin-nav-btn::before,
.navbar-auth .dashboard-nav-btn::before,
.navbar-auth .settings-nav-btn::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 180ms ease, transform 220ms ease;
  z-index: -1;
}

.navbar-auth .admin-nav-btn::before {
  background: radial-gradient(circle, rgba(255, 209, 102, 0.3), rgba(245, 158, 11, 0.08) 58%, transparent 72%);
}

.navbar-auth .dashboard-nav-btn::before {
  background: radial-gradient(circle, rgba(88, 166, 255, 0.28), rgba(20, 184, 166, 0.08) 58%, transparent 72%);
}

.navbar-auth .settings-nav-btn::before {
  background: radial-gradient(circle, rgba(197, 206, 222, 0.22), rgba(89, 106, 130, 0.08) 58%, transparent 72%);
}

.navbar-auth .admin-nav-btn:hover::before,
.navbar-auth .dashboard-nav-btn:hover::before,
.navbar-auth .settings-nav-btn:hover::before,
.navbar-auth .admin-nav-btn.active::before,
.navbar-auth .dashboard-nav-btn.active::before,
.navbar-auth .settings-nav-btn.active::before {
  opacity: 1;
  transform: scale(1.1);
}

.navbar-auth .admin-nav-btn:hover,
.navbar-auth .admin-nav-btn.active {
  border-color: rgba(255, 209, 102, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.13), rgba(255, 255, 255, 0.025)),
    rgba(6, 8, 13, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 34px rgba(245, 158, 11, 0.18);
}

.navbar-auth .dashboard-nav-btn:hover,
.navbar-auth .dashboard-nav-btn.active {
  border-color: rgba(149, 194, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(88, 166, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(6, 8, 13, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 34px rgba(59, 130, 246, 0.17);
}

.navbar-auth .settings-nav-btn:hover,
.navbar-auth .settings-nav-btn.active {
  border-color: rgba(197, 206, 222, 0.34);
  background:
    linear-gradient(180deg, rgba(197, 206, 222, 0.105), rgba(255, 255, 255, 0.025)),
    rgba(6, 8, 13, 0.62);
}

.admin-jump-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-jump-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 136px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 209, 102, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(10, 14, 22, 0.76);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.admin-jump-card:hover,
.admin-jump-card.active {
  border-color: rgba(255, 209, 102, 0.32);
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 209, 102, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(245, 158, 11, 0.1)),
    rgba(10, 14, 22, 0.82);
  transform: translateY(-2px);
}

.admin-jump-card .svg-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-soft);
}

.admin-jump-card span {
  color: var(--text-secondary);
  font-weight: 900;
}

.admin-jump-card strong {
  align-self: end;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
}

.portfolio-admin-grid {
  margin-bottom: 16px;
}

.layout-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.layout-choice {
  position: relative;
  cursor: pointer;
}

.layout-choice > input[type="checkbox"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.layout-choice span {
  display: grid;
  gap: 8px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.36);
  color: var(--text-secondary);
  font-weight: 900;
}

.layout-choice span strong {
  display: block;
}

.layout-choice span small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.layout-order {
  width: 64px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.layout-choice > input[type="checkbox"]:checked + span {
  border-color: rgba(255, 209, 102, 0.42);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(245, 158, 11, 0.13));
  color: var(--text-primary);
}

.portfolio-blueprint {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.blueprint-card {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(6, 8, 13, 0.44);
}

.blueprint-card.wide {
  grid-column: span 2;
}

.blueprint-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blueprint-order {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blueprint-card p,
.question-box small,
.question-box em {
  color: var(--text-secondary);
}

.question-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.question-box {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(10, 14, 22, 0.74);
}

.question-box button {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 900;
}

.service-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-select-chip {
  position: relative;
  cursor: pointer;
}

.service-select-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.service-select-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.44);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.service-select-chip:hover span,
.service-select-chip input:checked + span {
  border-color: rgba(255, 209, 102, 0.42);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(245, 158, 11, 0.14));
  color: var(--text-primary);
  transform: translateY(-1px);
}

.empty-inline {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.clean-editor-module {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 13, 0.32);
}

.module-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.module-title-row h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.module-title-row > span {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
}

.mini-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-editor-card {
  display: grid;
  gap: 8px;
}

.faq-editor-stack {
  display: grid;
  gap: 10px;
}

.faq-editor-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.28);
}

.mini-editor-card textarea {
  min-height: 96px;
}

.question-answer-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 13, 0.32);
}

.question-answer-card label {
  font-weight: 900;
}

.question-answer-card small {
  color: var(--text-muted);
}

.question-answer-card textarea {
  min-height: 112px;
}

.question-options-field textarea {
  min-height: 118px;
}

.forced-option-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 209, 102, 0.08);
  color: var(--text-primary);
  font-weight: 900;
  cursor: pointer;
}

.forced-option-toggle input {
  accent-color: var(--accent);
}

.question-box p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.monaco-shell {
  overflow: hidden;
  border: 1px solid rgba(149, 194, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    rgba(6, 8, 13, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 48px rgba(0, 0, 0, 0.22);
}

.monaco-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  border-bottom: 1px solid rgba(149, 194, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(59, 130, 246, 0.12), rgba(245, 158, 11, 0.08)),
    rgba(10, 14, 22, 0.72);
}

.monaco-tool {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-sm);
  background: rgba(6, 8, 13, 0.48);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.monaco-tool.italic {
  font-style: italic;
}

.monaco-tool:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 209, 102, 0.38);
  background: rgba(255, 209, 102, 0.1);
}

.monaco-tool .svg-icon {
  width: 15px;
  height: 15px;
}

.monaco-editor-box {
  width: 100%;
  min-height: 360px;
}

.portfolio-default-preview {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.preview-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preview-service-list article {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.36);
}

.preview-service-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-service-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.preview-service-list p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.public-service-list {
  margin: 14px 0 24px;
}

.portfolio-richtext {
  display: grid;
  gap: 12px;
  color: var(--text-secondary);
}

.portfolio-richtext h1,
.portfolio-richtext h2,
.portfolio-richtext h3 {
  margin: 4px 0 0;
  color: var(--text-primary);
  line-height: 1.08;
}

.portfolio-richtext h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.portfolio-richtext h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.portfolio-richtext h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
}

.portfolio-richtext p {
  margin: 0;
}

.portfolio-richtext strong {
  color: var(--text-primary);
}

.portfolio-richtext em {
  color: #d7e6ff;
}

.portfolio-richtext a {
  color: var(--primary-soft);
  font-weight: 800;
}

.portfolio-richtext ul {
  display: grid;
  gap: 8px;
  margin: 0 0 0 18px;
}

.portfolio-richtext blockquote {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--accent-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 209, 102, 0.08);
}

.changelog-body {
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
}

.changelog-body p {
  margin: 0;
}

.changelog-body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 0 18px;
}

.changelog-body strong {
  color: var(--text-primary);
}

.changelog-body a {
  color: var(--primary-soft);
  font-weight: 800;
}

.compact-richtext {
  gap: 8px;
}

.compact-richtext h1 {
  font-size: 1.45rem;
}

.compact-richtext h2 {
  font-size: 1.25rem;
}

.compact-richtext h3 {
  font-size: 1.08rem;
}

.dashboard-media-panel,
.featured-carousel-panel {
  overflow: hidden;
}

.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 13, 0.42);
  color: var(--text-primary);
  cursor: pointer;
}

.gallery-tile-wrap {
  position: relative;
}

.delete-gallery-item {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(239, 68, 68, 0.42);
  border-radius: var(--radius-full);
  background: rgba(18, 8, 10, 0.82);
  color: #ff8a8a;
  cursor: pointer;
}

.gallery-order-controls {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  gap: 6px;
}

.gallery-move {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  background: rgba(6, 8, 13, 0.72);
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.gallery-move .svg-icon {
  width: 15px;
  height: 15px;
}

.delete-gallery-item .svg-icon {
  width: 15px;
  height: 15px;
}

.gallery-upload-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 16px;
}

.compact-upload-zone {
  min-height: 112px;
}

.gallery-tile img,
.gallery-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-tile span {
  position: absolute;
  inset: auto 8px 8px;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.74);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-tile:hover img,
.gallery-tile:hover video {
  filter: saturate(1.16);
  transform: scale(1.05);
}

.featured-showcase-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.featured-mini-showcase {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 13, 0.38);
  color: var(--text-primary);
  scroll-snap-align: start;
}

.featured-mini-showcase > div {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(245, 158, 11, 0.1));
}

.featured-mini-showcase img,
.featured-mini-showcase video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-mini-showcase strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-mini-showcase span {
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 800;
}

.media-modal[hidden] {
  display: none;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.media-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 20, 0.94);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
}

.media-modal.open .media-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.media-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.media-modal-stage {
  display: grid;
  place-items: center;
  min-height: min(64vh, 620px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.32);
}

.media-modal-stage img,
.media-modal-stage video {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.media-modal-dialog strong {
  display: block;
  margin-top: 12px;
  color: var(--text-primary);
}

.portfolio-section-tabs {
  position: sticky;
  top: 84px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(9, 13, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.portfolio-section-tabs a,
.review-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 900;
}

.portfolio-section-tabs a:hover,
.review-filter:hover,
.review-filter.active {
  border-color: rgba(255, 209, 102, 0.36);
  background: rgba(255, 209, 102, 0.1);
  color: var(--text-primary);
}

.public-question-grid {
  margin-top: 16px;
}

.public-question-box span {
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.public-question-box strong {
  color: var(--text-primary);
}

.public-question-box p {
  color: var(--text-secondary);
}

.public-gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.portfolio-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.portfolio-faq-item,
.faq-item {
  overflow: hidden;
}

.portfolio-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(6, 8, 13, 0.34);
}

.portfolio-faq-item summary,
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.portfolio-faq-item summary {
  padding: 16px;
  font-weight: 900;
}

.portfolio-faq-item summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.portfolio-faq-item summary .svg-icon,
.faq-item summary .svg-icon {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.portfolio-faq-item[open] summary .svg-icon,
.faq-item[open] summary .svg-icon {
  transform: rotate(90deg);
}

.portfolio-faq-item p {
  padding: 0 16px 16px;
  color: var(--text-secondary);
}

.review-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.review-filter {
  background: rgba(6, 8, 13, 0.38);
}

.marketgrid-info-panel {
  margin-bottom: 18px;
}

.market-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.market-info-strip article {
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(9, 13, 20, 0.62);
  box-shadow: var(--shadow-sm);
}

.market-info-strip span {
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.market-info-strip strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.market-info-strip p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.faq-item summary {
  margin: -2px 0 0;
  font-size: 1.08rem;
  font-weight: 900;
}

.faq-item p {
  margin-top: 14px;
}

.not-found-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  text-align: center;
}

.not-found-card {
  width: min(100%, 720px);
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 209, 102, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(245, 158, 11, 0.1)),
    rgba(10, 14, 22, 0.82);
  box-shadow: var(--shadow-lg);
}

.not-found-card .svg-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  color: var(--accent-soft);
}

.not-found-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 7vw, 5.4rem);
}

.not-found-card p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
}

@media (max-width: 1040px) {
  .admin-jump-grid,
  .portfolio-blueprint,
  .market-info-strip,
  .mini-editor-grid,
  .preview-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blueprint-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .admin-jump-grid,
  .portfolio-blueprint,
  .market-info-strip,
  .mini-editor-grid,
  .preview-service-list {
    grid-template-columns: 1fr;
  }

  .blueprint-card.wide {
    grid-column: auto;
  }

  .media-modal {
    padding: 14px;
  }
}
