:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #171717;
  --muted: #64748b;
  --line: #dce3ee;
  --soft: #f7faff;
  --gold: #00c2ff;
  --blue: #2563eb;
  --red: #ff2d75;
  --green: #047857;
  --rose: #ff2d75;
  --teal: #13c296;
  --violet: #7c3aed;
  --cyan: #00c2ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 194, 255, 0.11), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.1), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(19, 194, 150, 0.09), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 44%, #eef6ff 100%);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background: #f8fafc;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(245, 185, 56, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

nav {
  display: grid;
  gap: 6px;
}

nav button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 900;
}

nav button:hover,
nav button.active {
  background: #ecfdf5;
  color: var(--green);
}

.logout-button {
  width: 100%;
  margin-top: auto;
  border: 1px solid #fee2e2;
  border-radius: 12px;
  background: #fff7f7;
  color: #be123c;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 1000;
}

.logout-button:hover {
  border-color: #fecdd3;
  background: #ffe4e6;
}

.content {
  padding: 32px;
}

.public-shell {
  min-height: 100vh;
}

.public-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.88);
  padding: 16px clamp(18px, 4vw, 54px);
  backdrop-filter: blur(18px);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: left;
}

.public-brand span:last-child {
  display: grid;
  gap: 2px;
}

.public-brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

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

.public-nav button {
  width: auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
  color: #334155;
  white-space: nowrap;
}

.public-nav button:hover,
.public-nav button.active {
  border-color: rgba(0, 194, 255, 0.3);
  background: #eaf8ff;
  color: #075985;
}

.public-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.route-strip {
  display: none;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 12px 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 1000;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.creator-landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  min-height: calc(100vh - 96px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(115deg, rgba(0, 194, 255, 0.16), transparent 34%),
    linear-gradient(285deg, rgba(255, 45, 117, 0.16), transparent 38%),
    #08111f;
  padding: clamp(28px, 5vw, 68px);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22);
}

.creator-landing-hero::before {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: min(52vw, 620px);
  height: 96%;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(0, 194, 255, 0.24), rgba(124, 58, 237, 0.18) 45%, rgba(255, 45, 117, 0.2));
  transform: skewY(-8deg);
  animation: panelSweep 8s ease-in-out infinite alternate;
}

.hero-story {
  position: relative;
  z-index: 1;
}

.hero-story h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.94;
}

.hero-story h1::after {
  content: "";
  display: block;
  width: min(280px, 46vw);
  height: 7px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--rose), var(--teal));
  animation: colorSlide 4.5s ease-in-out infinite alternate;
}

.hero-story .hero-copy {
  max-width: 650px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
}

.large {
  min-height: 52px;
  padding: 0 24px;
  font-size: 14px;
}

.hero-stats,
.creator-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.hero-stats div,
.creator-proof div {
  border: 1px solid rgba(125, 233, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
}

.hero-stats strong,
.hero-stats span,
.creator-proof strong,
.creator-proof span {
  display: block;
}

.hero-stats strong,
.creator-proof strong {
  color: var(--white);
  font-size: 22px;
}

.hero-stats span,
.creator-proof span {
  margin-top: 4px;
  color: #b7c4d8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.creator-stage {
  position: relative;
  z-index: 1;
  min-height: 590px;
}

.pro-device {
  position: absolute;
  right: 6%;
  top: 4%;
  width: min(360px, 82vw);
  filter: drop-shadow(0 42px 90px rgba(0, 0, 0, 0.34));
  animation: floatPhone 5.2s ease-in-out infinite;
}

.device-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, #4b5563, #111827 16%, #030712 100%);
  padding: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    inset 0 0 0 9px rgba(2, 6, 23, 0.94);
}

.device-frame::before,
.device-frame::after {
  content: "";
  position: absolute;
  left: -5px;
  width: 5px;
  border-radius: 99px;
  background: linear-gradient(180deg, #d1d5db, #475569);
}

.device-frame::before {
  top: 128px;
  height: 74px;
}

.device-frame::after {
  top: 222px;
  height: 112px;
}

.device-island {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: 50%;
  width: 112px;
  height: 32px;
  border-radius: 999px;
  background: #030712;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
}

.device-cameras {
  position: absolute;
  z-index: 5;
  right: -18px;
  top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 42px);
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(15, 23, 42, 0.88);
  padding: 10px;
  backdrop-filter: blur(16px);
}

.device-cameras i {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 34%, rgba(255, 255, 255, 0.9) 0 5%, transparent 6%),
    radial-gradient(circle at 50% 50%, #111827 0 34%, #1e293b 35% 52%, #020617 53% 100%);
  box-shadow: inset 0 0 0 2px rgba(125, 233, 255, 0.18);
}

.device-cameras i:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
}

.creator-screen {
  display: flex;
  position: relative;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.88)),
    radial-gradient(circle at 32% 22%, rgba(0, 194, 255, 0.72), transparent 28%),
    radial-gradient(circle at 78% 38%, rgba(255, 45, 117, 0.76), transparent 27%),
    linear-gradient(135deg, #00c2ff 0%, #7c3aed 36%, #ff2d75 72%, #13c296 100%);
  background-size: 100% 100%, 180% 180%;
  padding: 72px 18px 18px;
  color: var(--white);
  animation: creatorGradient 7s ease-in-out infinite alternate;
}

.screen-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.28);
  padding: 12px;
  backdrop-filter: blur(14px);
}

.screen-status span,
.screen-status strong,
.creator-reel span,
.creator-reel strong,
.screen-overlay span,
.screen-overlay strong {
  display: block;
}

.screen-status span,
.creator-reel span,
.screen-overlay span {
  color: #c8f7ff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.screen-status strong {
  border-radius: 999px;
  background: rgba(19, 194, 150, 0.2);
  color: #99f6e4;
  padding: 6px 10px;
  font-size: 11px;
}

.creator-reel {
  margin-top: auto;
  padding: 18px 0;
}

.creator-reel strong {
  max-width: 260px;
  margin-top: 8px;
  font-size: 31px;
  line-height: 1;
}

.screen-overlay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.screen-overlay div {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
  backdrop-filter: blur(14px);
}

.screen-overlay strong {
  margin-top: 6px;
  font-size: 25px;
}

.device-home {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transform: translateX(-50%);
}

.creator-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 4px 4px;
  color: var(--white);
}

.creator-caption.premium {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.7);
  margin-top: 12px;
  padding: 14px;
  backdrop-filter: blur(16px);
}

.creator-caption span,
.creator-caption strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.creator-caption span {
  color: #d1d5db;
}

.floating-ticket {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px 18px;
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.16);
  backdrop-filter: blur(12px);
  animation: riseTicket 4.8s ease-in-out infinite;
}

.floating-ticket span,
.floating-ticket strong {
  display: block;
}

.floating-ticket span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-ticket strong {
  margin-top: 6px;
  font-size: 22px;
}

.ticket-a {
  left: 2%;
  top: 18%;
}

.ticket-b {
  right: 0;
  bottom: 12%;
  animation-delay: 1.1s;
}

.earning-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.earning-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 28px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.earning-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--rose), var(--teal));
  transform: rotate(-36deg);
}

.earning-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.34);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.13);
}

.earning-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, #1e293b);
  color: #7de9ff;
  font-weight: 1000;
}

.earning-card h3 {
  margin-top: 28px;
  font-size: 24px;
}

.earning-card p {
  color: var(--muted);
  line-height: 1.7;
}

.public-section,
.apply-band {
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.07);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.feature-band h2,
.apply-band h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.feature-band {
  align-items: center;
}

.feature-band p {
  color: var(--muted);
  line-height: 1.8;
}

.apply-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  background:
    linear-gradient(135deg, rgba(0, 194, 255, 0.14), rgba(255, 45, 117, 0.12)),
    #101828;
  color: var(--white);
}

.apply-band p {
  color: #cbd5e1;
}

.apply-band .secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--white);
}

.auth-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.auth-copy,
.auth-card {
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.auth-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.auth-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.auth-card {
  display: grid;
  gap: 16px;
}

.application-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.application-hero > div,
.application-hero aside,
.application-benefits {
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.07);
}

.application-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
}

.application-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.application-hero aside {
  background:
    linear-gradient(145deg, rgba(23, 23, 23, 0.96), rgba(124, 58, 237, 0.82), rgba(255, 45, 117, 0.72)),
    #171717;
  color: var(--white);
}

.application-hero aside span {
  display: block;
  color: #7de9ff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.application-hero aside strong {
  display: block;
  margin-top: 18px;
  font-size: 36px;
  line-height: 1.05;
}

.application-hero aside p {
  color: #d1d5db;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 22px;
}

.creator-form {
  margin-bottom: 0;
}

.application-benefits {
  align-self: start;
  position: sticky;
  top: 100px;
}

.application-benefits h2 {
  font-size: 28px;
}

.application-benefits div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.application-benefits strong,
.application-benefits span {
  display: block;
}

.application-benefits span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.hero,
.page-head,
.panel,
.card,
.table-wrap,
.notice {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.hero {
  padding: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-copy,
.page-head p,
.card p,
.panel p,
.notice,
.task-list {
  color: var(--muted);
  line-height: 1.7;
}

.actions,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary,
.secondary {
  min-height: 44px;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 1000;
}

.primary {
  border: 0;
  background: linear-gradient(135deg, #101828, #2563eb 52%, #7c3aed);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.primary:hover,
.secondary:hover {
  transform: translateY(-2px);
}

.primary:hover {
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.28);
}

.secondary:hover {
  border-color: rgba(0, 194, 255, 0.34);
  box-shadow: 0 12px 28px rgba(0, 194, 255, 0.12);
}

.hero-panel {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(0, 194, 255, 0.2), rgba(124, 58, 237, 0.18)),
    #111827;
  color: var(--white);
  padding: 28px;
}

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

.hero-panel span {
  margin-bottom: 16px;
  color: #7de9ff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  max-width: 340px;
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1;
}

.hero-panel p {
  color: #d1d5db;
}

.page-head {
  margin-bottom: 24px;
  padding: 32px;
}

.page-head h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4vw, 48px);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
}

.dashboard-hero > div,
.earnings-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.dashboard-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 4vw, 56px);
}

.dashboard-hero p,
.earnings-card p {
  color: var(--muted);
  line-height: 1.7;
}

.earnings-card {
  background:
    linear-gradient(145deg, rgba(23, 23, 23, 0.96), rgba(15, 118, 110, 0.9)),
    #171717;
  color: var(--white);
}

.earnings-card span {
  display: block;
  color: #7de9ff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.earnings-card strong {
  display: block;
  margin-top: 16px;
  font-size: 42px;
  line-height: 1;
}

.earnings-card p {
  color: #d1d5db;
}

.spark-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 80px;
  margin-top: 26px;
}

.spark-bars i {
  flex: 1;
  min-width: 18px;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #00c2ff, #7c3aed 58%, #ff2d75);
}

.spark-bars i:nth-child(1) { height: 34%; }
.spark-bars i:nth-child(2) { height: 58%; }
.spark-bars i:nth-child(3) { height: 42%; }
.spark-bars i:nth-child(4) { height: 76%; }
.spark-bars i:nth-child(5) { height: 64%; }
.spark-bars i:nth-child(6) { height: 92%; }

.market-scope-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 194, 255, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 194, 255, 0.12), rgba(19, 194, 150, 0.08)),
    var(--white);
  padding: 14px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
}

.market-scope-bar > div,
.market-scope-bar select {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px 16px;
}

.market-scope-bar span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-scope-bar strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
}

.market-scope-bar button,
.market-scope-bar select {
  align-self: stretch;
  white-space: nowrap;
}

.creator-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.creator-work-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
}

.creator-work-card > span {
  display: inline-flex;
  border-radius: 999px;
  background: #eaf8ff;
  color: #075985;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 1000;
}

.creator-work-card h3 {
  margin-top: 18px;
  font-size: 24px;
}

.creator-work-card p {
  color: var(--muted);
  line-height: 1.7;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 20px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
}

.metric-card.gold {
  border-color: rgba(0, 194, 255, 0.34);
}

.metric-card.green {
  border-color: rgba(4, 120, 87, 0.28);
}

.metric-card.blue {
  border-color: rgba(0, 86, 179, 0.28);
}

.metric-card.red {
  border-color: rgba(240, 74, 0, 0.24);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

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

.card,
.panel,
.notice {
  padding: 22px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 1000;
}

.badge.gold {
  background: #eaf8ff;
  color: #075985;
}

.badge.red {
  background: #fff1f2;
  color: #be123c;
}

.badge.blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.section {
  margin-top: 28px;
}

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

.steps div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 18px;
}

.steps strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gold);
  margin-bottom: 14px;
}

.steps span {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  padding: 24px;
  margin-bottom: 18px;
}

.form-grid.embedded {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #334155;
  font-size: 12px;
  font-weight: 1000;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

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

.check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.check input {
  width: auto;
  margin-top: 4px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.task-list {
  margin-bottom: 0;
  padding-left: 20px;
}

.toolbar {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 14px;
  margin-bottom: 18px;
}

.toolbar input {
  flex: 1;
  min-width: 220px;
}

.affiliate-search-shell {
  margin-bottom: 24px;
}

.affiliate-toolbar {
  margin-top: 0;
}

.offer-results {
  display: grid;
  gap: 12px;
}

.offer-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.offer-card.selected {
  border-color: rgba(0, 194, 255, 0.5);
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.09), rgba(255, 255, 255, 0.92));
}

.offer-card img {
  width: 104px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: #f1f5f9;
}

.offer-image-placeholder {
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf8ff, #f8fafc);
  color: #075985;
  font-size: 28px;
  font-weight: 1000;
}

.offer-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.offer-title-row h3 {
  flex: 1;
  min-width: 220px;
  margin-bottom: 4px;
}

.offer-main p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.offer-meta strong {
  color: #065f46;
  font-size: 20px;
}

.offer-meta span {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
}

.product-page-link {
  display: inline-flex;
  width: max-content;
  margin-top: 12px;
  border-bottom: 1px solid rgba(7, 89, 133, 0.35);
  color: #075985;
  font-size: 12px;
  font-weight: 1000;
  text-decoration: none;
}

.empty-state {
  border: 1px dashed rgba(100, 116, 139, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  padding: 22px;
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.empty-state p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.empty-state.error {
  border-color: rgba(190, 18, 60, 0.34);
  background: #fff7f8;
}

.empty-state.error strong {
  color: #be123c;
}

.empty-state.warning {
  border-color: rgba(7, 89, 133, 0.34);
  background: #f0f9ff;
}

.offer-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.offer-actions small {
  color: var(--muted);
  font-weight: 900;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.section-heading p:last-child {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.row-link,
.copy-link {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}

.row-link strong,
.row-link span {
  display: block;
}

.row-link strong {
  color: #0f172a;
}

.row-link span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.row-link:hover strong {
  color: var(--blue);
}

.copy-link {
  border: 1px solid rgba(0, 194, 255, 0.32);
  border-radius: 999px;
  background: #eaf8ff;
  color: #075985;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}

.link-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 194, 255, 0.28);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.12), rgba(19, 194, 150, 0.08)), var(--white);
  padding: 20px;
}

.link-detail-hero span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.link-detail-hero h2 {
  margin: 8px 0;
}

.link-detail-hero p,
.muted-cell {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.table-wrap {
  overflow-x: auto;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  border-bottom: 1px solid #eef2f7;
  padding: 16px;
  text-align: left;
  font-size: 13px;
}

th {
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

td {
  color: #334155;
  font-weight: 700;
}

.notice {
  margin-top: 18px;
  border-color: rgba(0, 86, 179, 0.18);
  background: #eff6ff;
  color: #1e3a8a;
}

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

.toast-stack {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(420px, calc(100vw - 32px));
  gap: 10px;
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.94);
  color: var(--white);
  padding: 14px 16px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  animation: toastIn 180ms ease-out;
}

.toast.success {
  border-color: rgba(19, 194, 150, 0.38);
}

.toast.error {
  border-color: rgba(255, 45, 117, 0.42);
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.video-thumb {
  display: grid;
  min-height: 280px;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.84), rgba(0, 86, 179, 0.62)),
    #111827;
  color: var(--white);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.creator-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green);
  font-weight: 1000;
}

.creator-line strong,
.creator-line span {
  display: block;
}

.creator-line span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

@keyframes creatorGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes floatPhoneMobile {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); }
  50% { transform: translateX(-50%) translateY(-12px) rotate(1deg); }
}

@keyframes riseTicket {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes colorSlide {
  0% {
    filter: saturate(1);
    transform: scaleX(0.92);
    transform-origin: left;
  }
  100% {
    filter: saturate(1.35);
    transform: scaleX(1);
    transform-origin: left;
  }
}

@keyframes panelSweep {
  0% { transform: translateX(0) skewY(-8deg); opacity: 0.72; }
  100% { transform: translateX(-34px) skewY(-4deg); opacity: 1; }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

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

  .sidebar {
    position: static;
    height: auto;
    padding: 14px;
  }

  .brand {
    margin-bottom: 12px;
  }

  nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  nav button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .hero,
  .creator-landing-hero,
  .dashboard-hero,
  .application-hero,
  .application-layout,
  .metric-grid,
  .steps,
  .card-grid,
  .earning-strip,
  .creator-work-grid,
  .policy-layout,
  .split,
  .market-scope-bar {
    grid-template-columns: 1fr 1fr;
  }

  .creator-stage {
    min-height: 650px;
  }

  .ticket-a {
    left: 0;
  }

  .offer-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .offer-actions {
    grid-column: 1 / -1;
    justify-items: stretch;
  }

  .section-heading,
  .link-detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .content,
  .hero,
  .page-head,
  .form-grid {
    padding: 18px;
  }

  .route-strip {
    display: block;
  }

  nav,
  .hero,
  .creator-landing-hero,
  .dashboard-hero,
  .application-hero,
  .application-layout,
  .metric-grid,
  .steps,
  .card-grid,
  .earning-strip,
  .creator-work-grid,
  .policy-layout,
  .split,
  .form-grid,
  .hero-stats,
  .creator-proof,
  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .market-scope-bar {
    grid-template-columns: 1fr;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-card img {
    width: 100%;
    max-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .offer-title-row h3 {
    min-width: 0;
  }

  .offer-actions .primary,
  .link-detail-hero .primary {
    width: 100%;
  }

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

  .public-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .creator-landing-hero {
    min-height: auto;
    padding: 24px 18px;
  }

  .creator-landing-hero {
    display: flex;
    flex-direction: column;
  }

  .creator-stage {
    order: 1;
  }

  .hero-story {
    order: 2;
  }

  .hero-story h1 {
    font-size: 34px;
    line-height: 0.98;
  }

  .hero-story .hero-copy {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-stats {
    display: none;
  }

  .creator-stage {
    min-height: 430px;
    margin-top: 4px;
  }

  .pro-device {
    left: 50%;
    right: auto;
    top: 0;
    width: min(270px, 76vw);
    transform: translateX(-50%);
    animation: floatPhoneMobile 5.2s ease-in-out infinite;
  }

  .creator-screen {
    min-height: 380px;
    padding-top: 58px;
  }

  .device-cameras {
    right: -10px;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .creator-reel strong {
    font-size: 22px;
  }

  .screen-overlay strong {
    font-size: 21px;
  }

  .floating-ticket {
    display: none;
  }

  .apply-band {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 38px;
  }

  .hero-panel strong {
    font-size: 30px;
  }
}
