@import url('https://api.9-8-9.org/Fonts/fonts.css');

:root {
  --bg:           #0a0c0e;
  --bg-2:         #0f1214;
  --bg-3:         #141719;
  --surface:      #171b1e;
  --surface-2:    #1d2226;
  --border:       rgba(255,255,255,0.07);
  --border-md:    rgba(255,255,255,0.11);
  --border-lg:    rgba(255,255,255,0.18);
  --text:         #e8eaec;
  --text-soft:    rgba(232,234,236,0.55);
  --text-muted:   rgba(232,234,236,0.3);
  --accent:       #4e9d72;
  --accent-dim:   rgba(78,157,114,0.15);
  --accent-glow:  rgba(78,157,114,0.25);
  --gold:         #c9a84c;
  --gold-dim:     rgba(201,168,76,0.12);
  --red:          #c0504a;
  --red-dim:      rgba(192,80,74,0.12);
  --display:      'Playfair Display', Georgia, serif;
  --body:         'Outfit', sans-serif;
  --nav-h:        68px;
  --max-w:        1100px;
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   0.2s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

nav {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(10,12,14,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-cta {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--accent) !important;
  border: 1px solid rgba(78,157,114,0.35) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius) !important;
  transition: background var(--transition), border-color var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent-dim) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(78,157,114,0.25);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.05s forwards;
}

.hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3.4rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
}

.hero-title-italic {
  font-style: italic;
  color: var(--accent);
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  margin: 1.8rem auto;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.25s forwards;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: #5aad7f;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border-md);
}

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

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: var(--max-w);
  margin: 0 auto 5rem;
  padding: 0 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.pillar {
  background: var(--surface);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background var(--transition);
}

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

.pillar-icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.pillar-name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

.pillar-desc {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.staff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}

.staff-card:hover {
  border-color: var(--border-md);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.staff-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-md);
  object-fit: cover;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--text-muted);
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.staff-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}

.staff-rank {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(78,157,114,0.2);
}

.profile-wrap {
  max-width: 480px;
  margin: 5rem auto;
  padding: 0 2rem;
  text-align: center;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-md);
  margin: 0 auto 1.5rem;
  background: var(--surface);
}

.profile-name {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.profile-rank {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(78,157,114,0.22);
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.profile-bio {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.doc-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.doc-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.doc-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.doc-section {
  margin-bottom: 2.8rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--border);
}

.doc-section:last-of-type { border-bottom: none; }

.doc-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.doc-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.doc-body {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.doc-list li {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.7;
  padding-left: 1.4rem;
  position: relative;
}

.doc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 400;
}

.doc-list.warn li::before { color: var(--red); }

.doc-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.doc-list a:hover { opacity: 0.75; }

.doc-actions {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.form-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.field { margin-bottom: 1.6rem; }

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.55rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(78,157,114,0.5);
  background: var(--surface-2);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field select option { background: var(--surface); }

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

.field input[type="file"] {
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 100px;
  background: var(--surface);
  border: 1px dashed var(--border-md);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  padding: 1.5rem;
  text-align: center;
}

.file-upload:hover {
  border-color: rgba(78,157,114,0.4);
  background: var(--surface-2);
  color: var(--text-soft);
}

.file-upload #fileText {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

input[type="file"] { display: none; }

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
  border-radius: 4px;
}

.tos-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.tos-field:focus-within { border-color: rgba(78,157,114,0.4); }

.tos-field label {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-soft);
  line-height: 1.6;
  cursor: pointer;
  margin: 0;
}

.tos-field label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.tos-field label a:hover { opacity: 0.75; }

#form-status {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: var(--accent);
}

.banned-wrap {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.banned-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.banned-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.banned-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.banned-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.banned-timer-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.banned-timer {
  font-size: 3rem;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: var(--red);
  line-height: 1;
  transition: color 0.6s ease;
  margin-bottom: 0.5rem;
}

.banned-timer.expired { color: var(--accent); }

.banned-subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text-soft); }

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

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .nav-logo { font-size: 1.25rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
  .pillars { padding: 0 1.25rem; }
  .staff-grid { padding: 0 1.25rem; grid-template-columns: 1fr 1fr; }
  .doc-wrap, .form-wrap { padding: 2.5rem 1.25rem 4rem; }
  footer { padding: 1.5rem 1.25rem; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
