:root {
  --ink: #070713;
  --ink-soft: #101026;
  --panel: rgba(17, 17, 40, 0.88);
  --panel-solid: #14142f;
  --line: rgba(125, 252, 0, 0.2);
  --line-soft: rgba(187, 181, 255, 0.16);
  --purple: #4b32ae;
  --purple-bright: #7654f6;
  --cyan: #05d6dd;
  --cyan-dark: #009da6;
  --lime: #7dfc00;
  --lime-soft: #c7ff66;
  --text: #f6f6ff;
  --muted: #aaa8cc;
  --danger: #ff5f75;
  --warning: #ffd25b;
  --radius: 26px;
  --shadow: 0 24px 80px rgba(2, 2, 12, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% -10%, rgba(118, 84, 246, 0.42), transparent 32rem),
    radial-gradient(circle at 92% 22%, rgba(5, 214, 221, 0.14), transparent 28rem),
    linear-gradient(160deg, #09091b 0%, #070713 56%, #101020 100%);
  font-family: "Chakra Petch", sans-serif;
}

button, input, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(143, 130, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 130, 255, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: min(1480px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: rgba(8, 8, 22, 0.78);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.brand span { display: grid; }
.brand strong { font-family: "Russo One", sans-serif; font-size: 1.18rem; letter-spacing: 0.08em; }
.brand small { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

.topbar nav, footer nav { display: flex; align-items: center; gap: 8px; }
.topbar nav > a, .nav-form button {
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  color: #d8d7eb;
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.topbar nav > a:hover, .nav-form button:hover { color: var(--lime-soft); background: rgba(125, 252, 0, 0.08); }
.topbar .nav-join { border: 1px solid rgba(5, 214, 221, 0.38); color: var(--cyan); }
.nav-form { margin: 0; }

.notice {
  width: min(1100px, calc(100% - 40px));
  margin: 18px auto -8px;
  padding: 14px 18px;
  border: 1px solid rgba(5, 214, 221, 0.38);
  border-radius: 14px;
  background: rgba(5, 214, 221, 0.1);
  font-weight: 700;
}
.notice-error { border-color: rgba(255, 95, 117, 0.5); background: rgba(255, 95, 117, 0.1); }
.notice-success { border-color: rgba(125, 252, 0, 0.48); background: rgba(125, 252, 0, 0.1); }

main, footer { width: min(1480px, calc(100% - 40px)); margin-inline: auto; }
.hero {
  display: grid;
  min-height: 750px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: 80px 3vw 70px;
}

.kicker {
  display: inline-flex;
  color: var(--lime-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1, .page-intro h1, .listing-hero h1, .auth-pitch h1, .error-main h1 {
  margin: 18px 0 22px;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.hero h1 { font-size: clamp(3.8rem, 7.8vw, 8.2rem); }
.hero h1 em { color: var(--cyan); font-style: normal; text-shadow: 5px 5px 0 rgba(75, 50, 174, 0.65); }
.hero-copy > p { max-width: 700px; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #071014; background: linear-gradient(135deg, var(--lime), var(--cyan)); box-shadow: 0 12px 34px rgba(5, 214, 221, 0.2); }
.button.ghost { border-color: var(--line-soft); background: rgba(255, 255, 255, 0.035); }
.button.approve { color: #071014; background: var(--lime); }
.button.reject { color: white; background: #a72d52; }
.button.wide { width: 100%; }

.hero-art { position: relative; display: grid; min-height: 540px; place-items: center; }
.hero-art img {
  position: relative;
  z-index: 2;
  width: min(470px, 88%);
  border: 1px solid rgba(5, 214, 221, 0.35);
  border-radius: 38px;
  box-shadow: 20px 26px 0 rgba(5, 214, 221, 0.08), var(--shadow);
  transform: rotate(3deg);
}
.orbit { position: absolute; border: 1px solid rgba(125, 252, 0, 0.35); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit::before { position: absolute; width: 16px; height: 16px; border-radius: 5px; background: var(--lime); content: ""; }
.orbit-one { width: 560px; height: 300px; transform: rotate(-20deg); }
.orbit-two { width: 410px; height: 560px; border-color: rgba(5, 214, 221, 0.2); animation-direction: reverse; }
.approval-chip { position: absolute; z-index: 3; right: 2%; bottom: 12%; padding: 13px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--lime-soft); background: #101023; font-weight: 700; box-shadow: var(--shadow); }
@keyframes spin { to { rotate: 360deg; } }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(14, 14, 33, 0.82);
}
.metric-strip div { display: grid; padding: 30px; border-right: 1px solid var(--line-soft); }
.metric-strip div:last-child { border-right: 0; }
.metric-strip strong { color: var(--cyan); font-family: "Russo One", sans-serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; }
.metric-strip span { color: var(--muted); font-weight: 600; }

.content-section { padding: 95px 0 20px; }
.section-heading { display: flex; margin-bottom: 28px; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin: 8px 0 0; font-family: "Russo One", sans-serif; font-size: clamp(2.1rem, 4vw, 4.2rem); font-weight: 400; }
.text-link { color: var(--cyan); font-weight: 700; text-underline-offset: 5px; }

.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.listing-card {
  display: flex;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  flex-direction: column;
  background:
    linear-gradient(135deg, rgba(118, 84, 246, 0.09), transparent 45%),
    var(--panel);
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, transform 180ms ease;
}
.listing-card:hover { border-color: rgba(5, 214, 221, 0.48); transform: translateY(-5px); }
.listing-card-head { display: flex; align-items: center; gap: 12px; }
.listing-card-head img { width: 48px; height: 48px; border: 1px solid rgba(5, 214, 221, 0.38); border-radius: 14px; object-fit: cover; }
.listing-card-head > div { display: grid; gap: 6px; }
.listing-card-head small, .listing-card p, .listing-card-foot, .handle { color: var(--muted); }
.core-tag { display: inline-flex; width: fit-content; padding: 5px 9px; border: 1px solid rgba(125, 252, 0, 0.3); border-radius: 999px; color: var(--lime-soft); background: rgba(125, 252, 0, 0.06); font-size: 0.72rem; font-weight: 700; }
.listing-card h3 { margin: 26px 0 12px; font-family: "Russo One", sans-serif; font-size: 1.65rem; font-weight: 400; }
.listing-card h3 a { text-decoration: none; }
.listing-card p { margin: 0 0 25px; line-height: 1.6; }
.listing-card-foot { display: flex; margin-top: auto; align-items: center; justify-content: space-between; gap: 16px; }
.listing-card-foot a { font-weight: 600; text-decoration: none; }
.arrow-link { color: var(--cyan); }
.arrow-link span { display: inline-grid; width: 25px; height: 25px; margin-left: 5px; place-items: center; border: 1px solid rgba(5, 214, 221, 0.35); border-radius: 8px; }

.process-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 100px 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--line-soft); }
.process-section > div { padding: 36px; background: var(--ink-soft); }
.process-section span { color: var(--cyan); font-family: "Russo One", sans-serif; font-size: 2.4rem; }
.process-section h3 { margin: 34px 0 10px; font-family: "Russo One", sans-serif; font-weight: 400; }
.process-section p { margin: 0; color: var(--muted); line-height: 1.65; }

.narrow-main, .form-main, .policy-main { width: min(1180px, calc(100% - 40px)); padding: 90px 0 110px; }
.page-intro { max-width: 900px; margin-bottom: 42px; }
.page-intro h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
.page-intro p { color: var(--muted); font-size: 1.2rem; }
.search-bar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 32px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 20px; background: rgba(12, 12, 30, 0.76); }

input, textarea {
  width: 100%;
  border: 1px solid rgba(187, 181, 255, 0.2);
  border-radius: 12px;
  outline: 0;
  color: var(--text);
  background: rgba(4, 4, 15, 0.68);
}
input { min-height: 50px; padding: 0 14px; }
textarea { padding: 14px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(5, 214, 221, 0.11); }
input[type="file"] { padding: 12px; }
input[type="checkbox"] { width: 18px; min-height: 18px; accent-color: var(--lime); }

.auth-shell { display: grid; min-height: 760px; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; padding: 70px 2vw 100px; }
.compact-auth { min-height: 650px; }
.auth-pitch h1 { font-size: clamp(3rem, 6vw, 6.2rem); }
.auth-pitch p { max-width: 650px; color: var(--muted); font-size: 1.14rem; line-height: 1.7; }
.auth-pitch img { width: 190px; margin-top: 32px; border-radius: 24px; transform: rotate(-4deg); }
.form-card { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.form-card h2 { margin: 8px 0 28px; font-family: "Russo One", sans-serif; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 400; }
.form-card form { display: grid; gap: 20px; }
label { display: grid; gap: 8px; color: #e7e6f7; font-weight: 700; }
label > span, label small, .form-hint { color: var(--muted); font-weight: 500; }
.check-row { display: flex; align-items: start; gap: 10px; }
.check-row a, .form-switch a { color: var(--cyan); }
.form-switch { margin: 22px 0 0; color: var(--muted); text-align: center; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.publish-card { max-width: 920px; }
.form-main { display: grid; grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr); gap: 60px; align-items: start; }
.form-main .page-intro { position: sticky; top: 120px; }

.dashboard-hero, .profile-hero, .listing-hero {
  display: flex;
  padding: clamp(25px, 5vw, 56px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, rgba(75, 50, 174, 0.26), rgba(5, 214, 221, 0.05)), var(--panel);
}
.dashboard-hero > img, .profile-hero > img { width: 130px; height: 130px; border: 3px solid var(--cyan); border-radius: 34px; object-fit: cover; }
.dashboard-hero h1, .profile-hero h1 { margin: 8px 0; font-family: "Russo One", sans-serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; }
.dashboard-hero p, .profile-hero p { margin: 5px 0; color: var(--muted); }
.dashboard-actions { display: flex; margin-left: auto; flex-wrap: wrap; gap: 10px; }
.submission-list { display: grid; gap: 12px; }
.submission-row { display: flex; padding: 22px; border: 1px solid var(--line-soft); border-radius: 18px; align-items: center; justify-content: space-between; gap: 20px; background: var(--panel); }
.submission-row h3, .submission-row p { margin: 0 0 5px; overflow-wrap: anywhere; }
.submission-row > div:last-child { display: grid; justify-items: end; gap: 8px; }
.submission-row small { color: var(--muted); }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; }
.status-pending { color: var(--warning); background: rgba(255, 210, 91, 0.11); }
.status-approved { color: var(--lime-soft); background: rgba(125, 252, 0, 0.1); }
.status-rejected { color: #ff8c9d; background: rgba(255, 95, 117, 0.11); }
.mod-note { color: var(--warning); }
.danger-link { padding: 0; border: 0; color: #ff8c9d; background: transparent; text-decoration: underline; cursor: pointer; }

.avatar-preview { display: flex; margin-bottom: 28px; align-items: center; gap: 16px; }
.avatar-preview img { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; }
.profile-form { max-width: 760px; }
.profile-hero { align-items: start; }
.profile-hero > div { max-width: 730px; }
.profile-hero small { display: inline-block; margin-top: 18px; color: var(--cyan); }

.listing-main { padding: 100px 0 130px; }
.listing-hero { min-height: 560px; align-items: stretch; }
.listing-hero > div { display: flex; flex: 1; padding: clamp(10px, 3vw, 38px); flex-direction: column; justify-content: center; }
.listing-hero h1 { font-size: clamp(3.4rem, 8vw, 8rem); overflow-wrap: anywhere; }
.listing-hero > div > p { max-width: 820px; color: var(--muted); font-size: 1.18rem; line-height: 1.8; white-space: pre-wrap; }
.listing-hero aside { display: flex; width: min(310px, 35%); padding: 30px; border-left: 1px solid var(--line-soft); flex-direction: column; justify-content: end; }
.listing-hero aside img { width: 110px; height: 110px; margin-bottom: 20px; border-radius: 30px; object-fit: cover; }
.listing-hero aside span, .listing-hero aside small { color: var(--muted); }
.listing-hero aside a { margin: 6px 0 20px; color: var(--cyan); font-size: 1.3rem; font-weight: 700; }

.review-list { display: grid; gap: 18px; }
.review-card { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 30px; padding: 28px; border: 1px solid var(--line-soft); border-radius: 22px; background: var(--panel); }
.review-card h3 { margin: 15px 0 10px; font-family: "Russo One", sans-serif; font-size: 2rem; font-weight: 400; }
.review-card p { color: var(--muted); line-height: 1.6; white-space: pre-wrap; }
.review-card dl { display: grid; gap: 10px; }
.review-card dl div { display: grid; grid-template-columns: 90px 1fr; }
.review-card dt { color: var(--muted); }
.review-card dd { margin: 0; overflow-wrap: anywhere; }
.review-card dd a { color: var(--cyan); }
.review-card form { display: flex; flex-direction: column; gap: 12px; }
.review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.empty-state { padding: 50px 28px; border: 1px dashed rgba(5, 214, 221, 0.35); border-radius: 20px; text-align: center; background: rgba(5, 214, 221, 0.035); }
.empty-state strong { font-family: "Russo One", sans-serif; font-size: 1.5rem; font-weight: 400; }
.empty-state p { margin-bottom: 0; color: var(--muted); }

.policy-main { max-width: 900px; }
.policy-main header { padding-bottom: 38px; border-bottom: 1px solid var(--line-soft); }
.policy-main h1 { margin: 15px 0; font-family: "Russo One", sans-serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; }
.policy-main header p, .policy-main section p { color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.policy-main section { padding: 30px 0; border-bottom: 1px solid var(--line-soft); }
.policy-main section h2 { font-family: "Russo One", sans-serif; font-weight: 400; }
.error-main { min-height: 650px; padding: 120px 0; text-align: center; }
.error-main h1 { font-size: clamp(3rem, 8vw, 7rem); }
.error-main p { color: var(--muted); font-size: 1.2rem; }
.error-code { color: var(--cyan); font-family: "Russo One", sans-serif; letter-spacing: 0.2em; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 38px 0 48px; border-top: 1px solid var(--line-soft); color: var(--muted); }
footer > div { display: flex; flex-direction: column; }
footer strong { color: var(--text); font-family: "Russo One", sans-serif; letter-spacing: 0.08em; }
footer a { color: var(--cyan); }
footer p { grid-column: 1 / -1; margin: 0; font-size: 0.82rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.reveal { animation: reveal 650ms both; }
.delay-1 { animation-delay: 140ms; }
@keyframes reveal { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-art { min-height: 450px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-main { grid-template-columns: 1fr; }
  .form-main .page-intro { position: static; }
  .review-card { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .topbar { position: relative; width: calc(100% - 24px); margin-top: 12px; flex-direction: column; align-items: stretch; }
  .topbar nav { overflow-x: auto; padding-bottom: 3px; }
  .topbar nav > a, .nav-form button { white-space: nowrap; }
  main, footer, .narrow-main, .form-main, .policy-main { width: min(100% - 24px, 1480px); }
  .hero { min-height: auto; padding: 70px 0 45px; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 5.5rem); }
  .hero-art { min-height: 390px; }
  .orbit-one { width: 380px; height: 220px; }
  .orbit-two { width: 280px; height: 390px; }
  .metric-strip, .process-section { grid-template-columns: 1fr; }
  .metric-strip div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .metric-strip div:last-child { border-bottom: 0; }
  .listing-grid { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; padding-inline: 0; }
  .auth-pitch img { display: none; }
  .field-grid { grid-template-columns: 1fr; }
  .dashboard-hero, .profile-hero { align-items: flex-start; flex-direction: column; }
  .dashboard-actions { margin-left: 0; }
  .submission-row { align-items: flex-start; flex-direction: column; }
  .submission-row > div:last-child { justify-items: start; }
  .listing-hero { flex-direction: column; }
  .listing-hero aside { width: 100%; border-top: 1px solid var(--line-soft); border-left: 0; }
  footer { grid-template-columns: 1fr; }
  footer p { grid-column: auto; }
}

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