:root {
  color-scheme: dark;
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-soft: #faf7f1;
  --text: #121212;
  --muted: #6f6a63;
  --line: #e5ddd0;
  --dark: #0d0d0d;
  --dark-soft: #181818;
  --dark-card: #131313;
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.14);
  --gold-strong: #f0cb5f;
  --white-soft: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-body {
  background: var(--bg);
}

.home-body {
  background: var(--dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  backdrop-filter: blur(14px);
}

.site-header-home,
.site-header-inner {
  background: rgba(10, 10, 10, 0.94);
}

.site-header .navbar {
  padding: 0.95rem 0;
}

.header-shell {
  align-items: center;
}

.brand {
  font-weight: 700;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
}

.brand-logo img {
  width: min(112px, 20vw);
  min-width: 76px;
  height: auto;
}

.site-header .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(212, 175, 55, 0.14);
}

.navbar-actions .nav-user {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.inline-form {
  margin: 0;
}

.nav-cta {
  min-width: 110px;
  border-radius: 999px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #111;
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-weight: 700;
}

.btn-gold:hover,
.btn-gold:focus {
  background: linear-gradient(135deg, var(--gold-strong) 0%, #ffdc7b 100%);
  color: #111;
  border-color: rgba(255, 220, 123, 0.85);
}

.page-section {
  padding: 3rem 0 4rem;
}

.app-auth-body {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 22%),
    linear-gradient(180deg, #f5f1e8 0%, #f1ece2 100%);
}

.app-shell {
  padding-top: 2rem;
}

.app-shell-container {
  max-width: 1460px;
}

.app-layout {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.app-sidebar {
  position: sticky;
  top: 108px;
  z-index: 20;
}

.app-sidebar-panel {
  background: linear-gradient(180deg, #0f0f0f 0%, #171717 100%);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 1.5rem;
  padding: 1.1rem;
  box-shadow: 0 22px 50px rgba(10, 10, 10, 0.24);
}

.app-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.app-sidebar-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem;
}

.app-sidebar-brand-copy {
  display: grid;
  min-width: 0;
}

.app-sidebar-brand-copy span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-sidebar-brand-copy strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
}

.app-sidebar-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 0.95rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.app-sidebar-toggle span {
  display: block;
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: var(--gold);
}

.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

.app-sidebar-close {
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
}

.app-sidebar-usercard {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-sidebar-usercard .page-kicker {
  margin-bottom: 0;
}

.app-sidebar-usercard strong {
  color: #fff;
  font-size: 1rem;
}

.app-sidebar-usercard span,
.app-sidebar-usercard p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.app-sidebar-usercard p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.app-sidebar-nav {
  display: grid;
  gap: 1rem;
}

.app-sidebar-section {
  display: grid;
  gap: 0.65rem;
}

.app-sidebar-section-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-sidebar-links {
  display: grid;
  gap: 0.55rem;
}

.app-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.app-sidebar-link:hover,
.app-sidebar-link.active {
  color: #fff;
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.24);
  transform: translateX(2px);
}

.app-sidebar-link-text {
  font-weight: 600;
}

.app-sidebar-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  color: rgba(212, 175, 55, 0.95);
}

.app-sidebar-link-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.app-sidebar-link-disabled {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.app-sidebar-link-disabled small {
  color: rgba(255, 255, 255, 0.42);
}

.app-sidebar-footer {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar-logout {
  margin: 0;
}

.app-sidebar-logout-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.96), rgba(240, 203, 95, 0.96));
  color: #111;
  font-weight: 800;
}

.app-main {
  min-width: 0;
}

.app-page-intro {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12) 0%, transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 241, 0.98) 100%);
  box-shadow: 0 16px 42px rgba(18, 18, 18, 0.05);
}

.app-mobile-toolbar {
  display: none;
}

.app-sidebar-backdrop {
  display: none;
}

.app-layout.sidebar-collapsed {
  grid-template-columns: 112px minmax(0, 1fr);
}

.app-layout.sidebar-collapsed .app-sidebar-brand-copy,
.app-layout.sidebar-collapsed .app-sidebar-usercard strong,
.app-layout.sidebar-collapsed .app-sidebar-usercard span,
.app-layout.sidebar-collapsed .app-sidebar-usercard p,
.app-layout.sidebar-collapsed .app-sidebar-section-title,
.app-layout.sidebar-collapsed .app-sidebar-link-text,
.app-layout.sidebar-collapsed .app-sidebar-link-disabled small {
  display: none;
}

.app-layout.sidebar-collapsed .app-sidebar-panel {
  padding-inline: 0.75rem;
}

.app-layout.sidebar-collapsed .app-sidebar-usercard {
  display: none;
}

.app-layout.sidebar-collapsed .app-sidebar-top,
.app-layout.sidebar-collapsed .app-sidebar-usercard,
.app-layout.sidebar-collapsed .app-sidebar-link,
.app-layout.sidebar-collapsed .app-sidebar-link-disabled,
.app-layout.sidebar-collapsed .app-sidebar-logout-button {
  justify-items: center;
  justify-content: center;
  text-align: center;
}

.app-layout.sidebar-collapsed .app-sidebar-brand {
  justify-content: center;
}

.app-layout.sidebar-collapsed .app-sidebar-link,
.app-layout.sidebar-collapsed .app-sidebar-link-disabled {
  padding-inline: 0.55rem;
}

.app-layout.sidebar-collapsed .app-sidebar-link,
.app-layout.sidebar-collapsed .app-sidebar-link-disabled,
.app-layout.sidebar-collapsed .app-sidebar-logout-button {
  min-height: 52px;
}

.app-layout.sidebar-collapsed .app-sidebar-link-icon {
  width: 1.35rem;
  min-width: 1.35rem;
  height: 1.35rem;
}

.app-layout.sidebar-collapsed .app-sidebar-link-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.card,
.hero-card,
.filter-card,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(18, 18, 18, 0.05);
}

.page-title-row,
.section-heading {
  margin-bottom: 1.5rem;
}

.page-intro {
  margin-bottom: 2rem;
}

.app-page-stack {
  display: grid;
  gap: 1.5rem;
}

.app-page-intro-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.app-page-intro-copy {
  min-width: 0;
}

.app-page-intro .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.app-page-intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.app-page-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.intro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(212, 175, 55, 0.18);
  color: var(--text);
  font-weight: 600;
}

.intro-pill strong {
  font-size: 0.94rem;
}

.intro-pill span {
  color: var(--muted);
  font-size: 0.88rem;
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.page-intro p {
  max-width: 760px;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.page-kicker {
  display: inline-flex;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b08615;
}

.page-title-row h1,
.section-heading h2,
.card h1,
.card h2,
.card h3 {
  margin-top: 0;
}

.page-title-row p,
.section-heading p,
.helper-text,
.nav-user {
  color: var(--muted);
}

.filter-card {
  padding: 1.5rem;
  margin: 1.25rem 0 2rem;
}

.panel-card {
  padding: 1.6rem;
}

.panel-card.surface-soft {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
}

.panel-heading {
  margin-bottom: 1.25rem;
}

.panel-heading.compact {
  margin-bottom: 1rem;
}

.panel-heading h2 {
  margin-bottom: 0.35rem;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
}

.filter-grid,
.stack-form {
  display: grid;
  gap: 1rem;
}

.stack-form.form-sectioned {
  gap: 1.25rem;
}

.form-section {
  padding: 1.15rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 241, 0.88) 100%);
}

.form-section-heading {
  margin-bottom: 1rem;
}

.form-section-heading h3 {
  margin: 0.2rem 0 0.3rem;
  font-size: 1.1rem;
}

.form-section-heading p {
  margin: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asset-preview-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.03);
}

.asset-preview-card h4 {
  margin: -0.1rem 0 0;
  font-size: 1rem;
}

.asset-preview-card p {
  margin: 0;
}

.asset-preview-media {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: linear-gradient(180deg, #171717 0%, #232323 100%);
  aspect-ratio: 16 / 10;
}

.asset-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-actions > * {
  width: auto;
}

.filter-grid {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.admin-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

label span {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

input,
select,
textarea,
button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0.85rem 1rem;
  font: inherit;
}

input,
select,
textarea {
  background: #fff;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-in-out 0s;
}

textarea {
  resize: vertical;
}

button,
.button-link {
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0.85rem 1.1rem;
  border-radius: 0.95rem;
}

.secondary-link,
.button-muted {
  background: #ece7dc;
  color: #111;
}

.button-danger {
  background: #b91c1c;
  color: #fff;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  box-shadow: 0 10px 26px rgba(18, 18, 18, 0.04);
}

.alert-error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

.creator-card,
.profile-card {
  overflow: hidden;
}

.creator-card img,
.profile-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body,
.profile-content {
  padding: 1.25rem;
}

.button-row,
.action-row,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.back-link,
.text-link {
  color: #111;
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: 0.9rem;
}

.info-list.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.info-item {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(18, 18, 18, 0.03);
  border: 1px solid rgba(18, 18, 18, 0.06);
}

.info-item strong {
  font-size: 0.92rem;
}

.info-item span {
  color: var(--muted);
}

.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.verification-badge,
.price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.verification-badge {
  border: 1px solid transparent;
}

.verification-non_verificato {
  background: rgba(120, 120, 120, 0.14);
  border-color: rgba(120, 120, 120, 0.2);
  color: #5b5b5b;
}

.verification-in_verifica {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.3);
  color: #8f6900;
}

.verification-verificato {
  background: rgba(33, 150, 83, 0.14);
  border-color: rgba(33, 150, 83, 0.28);
  color: #1d7c47;
}

.price-pill {
  width: fit-content;
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--line);
}

.private-note,
.privacy-note {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
}

.verification-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.verification-checklist {
  display: grid;
  gap: 0.75rem;
}

.check-item {
  display: grid;
  gap: 0.24rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.check-item strong {
  font-size: 0.92rem;
}

.check-item span {
  color: var(--muted);
}

.check-item.check-ok {
  border-color: rgba(33, 150, 83, 0.28);
  background: rgba(33, 150, 83, 0.06);
}

.verification-links,
.verification-meta {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1rem;
  border-radius: 1.15rem;
  background: rgba(18, 18, 18, 0.03);
  border: 1px solid var(--line);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.checkbox-line input {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.checkbox-line span {
  margin: 0;
}

.table-primary-cell {
  display: grid;
  gap: 0.2rem;
}

.table-badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
}

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

.data-table thead {
  background: rgba(18, 18, 18, 0.03);
}

.data-table th,
.data-table td {
  padding: 0.95rem 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-actions-cell {
  min-width: 320px;
}

.admin-table-actions {
  display: grid;
  grid-template-columns: repeat(4, 48px);
  gap: 0.7rem;
  align-items: stretch;
  justify-content: start;
}

.app-layout:not(.sidebar-collapsed) .admin-actions-cell {
  min-width: 180px;
}

.app-layout:not(.sidebar-collapsed) .admin-table-actions {
  grid-template-columns: repeat(3, 48px);
}

.app-layout.sidebar-collapsed .admin-actions-cell {
  min-width: 235px;
}

.admin-table-actions form {
  margin: 0;
}

.admin-table-actions form,
.admin-table-actions a {
  min-width: 0;
}

.admin-table-actions button,
.admin-table-actions .button-link {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 0.95rem;
  text-align: center;
}

.admin-summary-actions {
  align-items: stretch;
}

.admin-summary-actions form {
  margin: 0;
}

.icon-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 0.95rem;
}

.icon-action-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.icon-action-glyph svg {
  width: 20px;
  height: 20px;
}

.admin-summary-actions form button,
.admin-summary-actions .button-link {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
}

.admin-summary-actions .button-danger {
  width: 48px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-approvato {
  background: #dcfce7;
  color: #166534;
}

.status-in_attesa {
  background: #fef3c7;
  color: #92400e;
}

.status-bloccato {
  background: #fee2e2;
  color: #991b1b;
}

.site-footer {
  padding: 1.5rem 0 2.25rem;
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.footer-shell {
  font-size: 0.95rem;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: stretch;
}

.auth-aside {
  padding: 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.24) 0%, transparent 30%),
    linear-gradient(135deg, #0a0a0a 0%, #17130d 100%);
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.auth-aside h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.auth-aside p {
  margin: 1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.76);
}

.auth-aside .page-kicker {
  color: var(--gold-strong);
}

.auth-aside .info-item span {
  color: rgba(255, 255, 255, 0.72);
}

.auth-card {
  padding: 2rem;
  align-self: center;
}

.auth-submit {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.stat-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.admin-stats-grid .metric-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.3rem;
  min-height: 150px;
  aspect-ratio: 1 / 1;
}

.app-layout:not(.sidebar-collapsed) .admin-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.metric-card strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.table-panel {
  padding: 1.6rem;
}

.empty-inline {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--surface-soft);
  color: var(--muted);
  border: 1px dashed rgba(18, 18, 18, 0.14);
}

.list-creator-card .card-body {
  display: grid;
  gap: 0.65rem;
}

.creator-summary {
  color: var(--muted);
  margin: 0;
}

.creator-feature-price {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.public-profile-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
}

.public-profile-card .profile-cover {
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.2rem;
}

.profile-bio {
  color: var(--muted);
  font-size: 1.02rem;
}

.profile-meta-top {
  margin-bottom: 0.85rem;
}

.home-page {
  color: #fff;
}

.home-hero-section {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.22) 0%, transparent 28%),
    radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.12) 0%, transparent 34%),
    linear-gradient(135deg, #070707 0%, #111111 52%, #17120a 100%);
}

.home-hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.home-hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-copy-wrap {
  max-width: 650px;
}

.home-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-kicker,
.section-kicker-dark {
  color: var(--gold-strong);
}

.section-kicker {
  color: #b08615;
}

.home-hero-lead {
  max-width: 580px;
  color: var(--white-soft);
  font-size: 1.1rem;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-card {
  height: 100%;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(10px);
}

.hero-stat-card strong,
.hero-stat-card span {
  display: block;
}

.hero-stat-card strong {
  font-size: 1.7rem;
  color: #fff;
  line-height: 1;
}

.hero-stat-card span {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.hero-stage-image {
  position: relative;
  height: 100%;
  min-height: 560px;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.hero-stage-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.36) 100%);
}

.hero-stage-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  right: -1.5rem;
  bottom: 2rem;
  width: min(290px, 78%);
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: rgba(17, 17, 17, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.hero-floating-label {
  margin: 0 0 0.85rem;
  color: var(--gold-strong);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-floating-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-floating-user img {
  width: 88px;
  height: 112px;
  border-radius: 1rem;
  object-fit: cover;
}

.hero-floating-user h2 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  color: #fff;
}

.hero-floating-user p {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.68);
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-strong);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: capitalize;
}

.home-section {
  padding: 4.5rem 0;
}

.home-section-light {
  background: var(--bg);
  color: var(--text);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.section-heading-row h2,
.home-cta-panel h2 {
  margin: 0;
  font-size: clamp(1.95rem, 2vw, 2.5rem);
  line-height: 1.1;
}

.category-visual-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.18);
}

.category-visual-media,
.creator-feature-media {
  position: absolute;
  inset: 0;
}

.category-visual-media img,
.creator-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.category-visual-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.2rem;
  color: #fff;
}

.category-visual-count {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-visual-copy h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.category-visual-copy p {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
}

.category-visual-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-strong);
  font-weight: 700;
}

.how-it-works-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.05);
}

.how-it-works-step {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-strong);
  font-weight: 700;
}

.how-it-works-card p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.future-categories-panel {
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.09) 0%, rgba(17, 17, 17, 0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.16);
}

.future-categories-panel.compact {
  margin-top: 1.5rem;
}

.future-categories-panel h3 {
  margin: 0.2rem 0 0.95rem;
  font-size: 1.2rem;
}

.future-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.future-category-list span,
.pill-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.05);
  color: var(--text);
  font-weight: 600;
}

.category-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-guide-grid.compact-grid {
  margin-bottom: 0;
}

.category-guide-card {
  padding: 1.1rem 1.15rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.04);
}

.category-guide-card.active {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.12);
}

.category-guide-card p,
.category-guide-card small {
  display: block;
  margin: 0.65rem 0 0;
}

.category-guide-card p {
  color: var(--text);
}

.category-guide-card small {
  color: var(--muted);
}

.category-guide-link {
  color: var(--gold-strong);
  font-weight: 700;
  text-decoration: none;
}

.selected-category-banner {
  margin-bottom: 1.5rem;
  padding: 1.3rem 1.4rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
}

.selected-category-banner h2 {
  margin: 0.15rem 0 0.5rem;
}

.register-category-guide {
  padding: 1.25rem;
  border-radius: 1.35rem;
  background: rgba(18, 18, 18, 0.03);
  border: 1px solid var(--line);
}

.register-category-guide-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.register-category-guide-top h3 {
  margin: 0.2rem 0 0;
}

.register-category-guide-text {
  margin: 0.85rem 0 1rem;
  color: var(--text);
}

.register-category-grid,
.category-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.register-category-card strong {
  display: block;
  margin-bottom: 0.8rem;
}

.register-category-card p {
  margin: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.button-link.subtle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.category-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.6rem;
  border-radius: 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.category-page-copy h1 {
  margin: 0.35rem 0 0.8rem;
}

.category-page-lead {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.category-page-visual {
  min-height: 360px;
  border-radius: 1.5rem;
  overflow: hidden;
}

.category-page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-page-example {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.category-section-heading {
  margin-bottom: 1.2rem;
}

.category-insight-card {
  overflow: hidden;
}

.category-insight-block {
  margin-bottom: 1rem;
}

.category-insight-block strong,
.category-insight-item strong {
  display: block;
  margin-bottom: 0.5rem;
}

.category-insight-block p,
.category-insight-item p {
  margin: 0;
}

.category-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-insight-item {
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(18, 18, 18, 0.03);
  border: 1px solid var(--line);
}

.creator-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.76) 100%);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.76) 100%);
}

.creator-feature-content h3 {
  margin: 0.6rem 0 0.4rem;
  font-size: 1.45rem;
}

.creator-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 1.4rem;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.creator-feature-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem;
  color: #fff;
}

.creator-feature-city {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.creator-feature-link {
  color: transparent;
}

.home-empty-state {
  padding: 2rem;
  border-radius: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.home-empty-state p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-cta-section {
  background: linear-gradient(135deg, #090909 0%, #15110a 100%);
}

.home-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.2rem;
  border-radius: 1.8rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.home-cta-panel p {
  margin: 0.8rem 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.narrow {
  max-width: 760px;
}

.media-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.media-stats-grid .metric-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
  padding: 1.2rem 1.25rem;
}

.media-upload-form {
  gap: 1rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.public-media-grid {
  margin-top: 1rem;
}

.media-card {
  display: grid;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 18, 18, 0.05);
}

.media-card-admin {
  min-height: 100%;
}

.media-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #171717 0%, #232323 100%);
}

.media-preview::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.14) 100%);
  pointer-events: none;
}

.media-preview img,
.media-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-body {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.media-card-meta {
  align-items: center;
}

.media-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.media-status-processing {
  color: #7a5500;
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.34);
}

.media-status-ready {
  color: #0d6b40;
  background: rgba(70, 180, 120, 0.18);
  border-color: rgba(70, 180, 120, 0.32);
}

.media-status-failed {
  color: #9f2929;
  background: rgba(214, 58, 58, 0.12);
  border-color: rgba(214, 58, 58, 0.24);
}

.info-list.compact {
  gap: 0.75rem;
}

.media-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.media-action-stack form {
  margin: 0;
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border-radius: 0.95rem;
}

.public-media-panel {
  margin-top: 1.5rem;
}

@media (max-width: 991.98px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: fixed;
    inset: 92px auto 24px 16px;
    width: min(320px, calc(100vw - 32px));
    transform: translateX(-118%);
    transition: transform 0.22s ease;
  }

  .app-layout.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .app-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.38);
  }

  .app-layout.sidebar-open .app-sidebar-backdrop {
    display: block;
  }

  .app-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1.15rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 34px rgba(18, 18, 18, 0.05);
  }

  .app-mobile-toolbar-copy {
    display: grid;
    justify-items: end;
    text-align: right;
  }

  .app-mobile-toolbar-copy .page-kicker {
    margin-bottom: 0.2rem;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .auth-shell,
  .dashboard-grid,
  .public-profile-card,
  .verification-grid {
    grid-template-columns: 1fr;
  }

  .app-page-intro-bar,
  .app-page-intro-actions,
  .app-page-intro-meta,
  .form-actions {
    display: grid;
  }

  .app-page-intro-actions,
  .form-actions {
    justify-content: stretch;
  }

  .app-page-intro-actions > *,
  .form-actions > * {
    width: 100%;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-stats-grid .metric-card {
    min-height: 128px;
    aspect-ratio: auto;
  }

  .admin-actions-cell {
    min-width: 220px;
  }

  .admin-table-actions {
    grid-template-columns: repeat(3, 48px);
  }

  .site-header .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.16);
  }

  .hero-stage {
    min-height: auto;
    padding-bottom: 5rem;
  }

  .hero-stage-image,
  .hero-stage-image img {
    min-height: 460px;
  }

  .hero-floating-card {
    right: 1rem;
    left: 1rem;
    bottom: 0;
    width: auto;
  }

  .section-heading-row,
  .home-cta-panel {
    display: grid;
    align-items: start;
  }

  .category-guide-grid,
  .form-grid-2,
  .form-grid-3,
  .info-list.info-grid,
  .register-category-grid,
  .category-page-grid,
  .category-insight-grid,
  .category-page-hero {
    grid-template-columns: 1fr;
  }

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

  .media-action-stack > * {
    width: 100%;
  }

  .media-action-stack > * .button-link,
  .media-action-stack > * button {
    width: 100%;
  }

  .register-category-guide-top {
    display: grid;
  }

  .filter-grid,
  .admin-filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .app-shell {
    padding-top: 1.2rem;
  }

  .app-sidebar {
    inset: 82px auto 18px 12px;
    width: min(300px, calc(100vw - 24px));
  }

  .app-mobile-toolbar {
    padding: 0.85rem 0.9rem;
  }

  .app-mobile-toolbar-copy strong {
    font-size: 0.95rem;
  }

  .brand-logo img {
    width: 92px;
    min-width: 0;
  }

  .page-section {
    padding: 2rem 0 3rem;
  }

  .home-hero-section,
  .home-section {
    padding: 2.75rem 0;
  }

  .hero-tag-row {
    gap: 0.55rem;
  }

  .hero-tag-pill {
    width: 100%;
    justify-content: center;
  }

  .hero-stage-image,
  .hero-stage-image img {
    min-height: 390px;
  }

  .hero-floating-user {
    align-items: flex-start;
  }

  .hero-floating-user img {
    width: 76px;
    height: 94px;
  }

  .home-cta-panel {
    padding: 1.6rem;
  }

  .category-visual-copy {
    padding: 1rem;
  }

  .category-page-hero {
    padding: 1.2rem;
  }

  .category-page-visual {
    min-height: 280px;
  }

  .auth-aside,
  .auth-card,
  .panel-card,
  .table-panel {
    padding: 1.25rem;
  }

  .app-page-intro {
    padding: 1.2rem 1.25rem;
  }

  .profile-meta-grid {
    grid-template-columns: 1fr;
  }
}
