@font-face {
  font-family: "Badcoma";
  src: url("https://www.lolame.studio/BadComa.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --fg: #fcfcfc;
  --fg-80: rgba(255, 255, 255, 0.8);
  --fg-70: rgba(255, 255, 255, 0.7);
  --fg-50: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.15);
  --card: rgba(255, 255, 255, 0.05);

  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --grad-orange: linear-gradient(135deg, rgba(249, 115, 22, 0.92), rgba(234, 88, 12, 0.96));
  --grad-text: linear-gradient(to right, var(--orange-400), var(--orange-600));

  --discord-1: #5763f5;
  --discord-2: #7289da;
  --grad-discord: linear-gradient(135deg, rgba(87, 99, 245, 0.92), rgba(114, 137, 218, 0.96));

  --danger: #f87171;
  --success: #22c55e;
  --radius: 6px;
  --radius-lg: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

main {
  flex: 1;
}

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

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

[hidden] {
  display: none !important;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

html { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }

::selection {
  background: rgba(249, 115, 22, 0.35);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
}

.center { text-align: center; }
.orange { color: var(--orange-500); }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-discord {
  background: linear-gradient(to right, var(--discord-1), var(--discord-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 0.6rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 2.5rem;
}

.logo {
  display: flex;
  align-items: center;
  font-family: Badcoma, sans-serif;
  line-height: 1;
  flex-shrink: 0;
}

.logo-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.25rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-70);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.25s, background 0.25s, transform 0.15s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }

.btn:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--grad-orange);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.7);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(249, 115, 22, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(249, 115, 22, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-70);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-discord {
  background: var(--grad-discord);
  padding: 0 2rem;
  box-shadow: 0 0 15px rgba(87, 99, 245, 0.5);
}

.btn-discord:hover {
  box-shadow: 0 0 25px rgba(87, 99, 245, 0.7);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.discord-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.section {
  position: relative;
  padding: 5rem 0;
}

.positions-page {
  padding: 5.25rem 0 1.25rem;
}

.positions-page .section-sub {
  margin-bottom: 1.5rem;
}

.glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.glow-orange {
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.1), transparent 70%);
}

.glow-discord {
  background: radial-gradient(ellipse at center, rgba(87, 99, 245, 0.1), transparent 70%);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-title > .icon {
  color: var(--orange-400);
}

.section-sub {
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  color: var(--fg-70);
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.reveal {
  animation: fadeUp 0.8s ease backwards;
  animation-delay: var(--delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}

.positions-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.position {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  transition: transform 0.5s, border-color 0.3s, box-shadow 0.3s, opacity 1s;
}

.position::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--role-glow), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s;
}

.position:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: color-mix(in srgb, var(--role) 40%, transparent);
  box-shadow: 0 0 30px -10px var(--role);
}

.position:hover::before {
  opacity: 1;
}

.position.closed {
  filter: grayscale(0.8);
}

.position.closed:hover {
  transform: none;
  box-shadow: none;
}

.position-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.role-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--role);
  background: color-mix(in srgb, var(--role) 18%, transparent);
  transition: transform 0.5s;
}

.position:hover .role-icon {
  transform: scale(1.1) rotate(-6deg);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.pill-open {
  color: var(--success);
  background: rgba(34, 197, 94, 0.15);
}

.pill-closed {
  color: var(--fg-50);
  background: rgba(255, 255, 255, 0.08);
}

.position h3 {
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.position p {
  position: relative;
  margin-bottom: 1rem;
  color: var(--fg-70);
}

.position-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--fg-50);
}

.position-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.position .btn {
  position: relative;
  width: 100%;
}

.discord {
  padding: 0.5rem 0 1rem;
}

.discord-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.discord-row p {
  font-size: 1.0625rem;
  color: var(--fg-70);
}

.discord-row .btn {
  height: 2.75rem;
}

.form-page {
  position: relative;
  padding: 7rem 0 4rem;
  min-height: 100vh;
}

.form-container {
  max-width: 48rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--fg-70);
  transition: color 0.2s, gap 0.2s;
}

.back-link:hover {
  color: var(--orange-400);
  gap: 0.75rem;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-header .role-icon {
  width: 4rem;
  height: 4rem;
  font-size: 1.75rem;
}

.form-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.form-header p {
  margin-top: 0.25rem;
  color: var(--fg-70);
}

.stepper {
  margin-bottom: 2rem;
}

.stepper-labels {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
}

.stepper-labels button {
  all: unset;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-50);
  cursor: pointer;
  transition: color 0.2s;
}

.stepper-labels button[disabled] {
  cursor: default;
}

.stepper-labels button.current {
  color: #fff;
  font-weight: 500;
}

.stepper-labels button.done {
  color: var(--orange-400);
}

.stepper-labels .num {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.75rem;
  border: 1px solid currentColor;
}

.stepper-labels button.current .num {
  background: var(--grad-orange);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.stepper-labels button.done .num {
  background: rgba(249, 115, 22, 0.15);
  border-color: transparent;
}

@media (max-width: 640px) {
  .stepper-labels .label { display: none; }
  .stepper-labels button.current .label { display: inline; }
}

.progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(to right, var(--orange-400), var(--orange-600));
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.8);
  transition: width 0.5s ease;
}

.form-card {
  padding: 2rem;
}

@media (max-width: 640px) {
  .form-card { padding: 1.25rem; }
}

.form-step {
  animation: stepIn 0.45s ease;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}

.form-step h2 {
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
  font-weight: 700;
}

.field {
  margin-bottom: 1.5rem;
}

.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.req {
  color: var(--orange-500);
  margin-left: 0.15rem;
}

.field-help {
  margin: -0.25rem 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--fg-50);
}

.field-link {
  color: var(--orange-500);
  font-weight: 500;
  text-decoration: underline;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.6;
}

.select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffffb3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1rem;
  cursor: pointer;
}

.select option {
  background: #111;
}

.input-prefix {
  position: relative;
}

.input-prefix .icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--discord-2);
  pointer-events: none;
}

.input-prefix .input {
  padding-left: 2.5rem;
}

.counter {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  text-align: right;
  color: var(--fg-50);
}

.counter.warn {
  color: var(--orange-400);
}

.options {
  display: grid;
  gap: 0.625rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}

.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.option:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option .mark {
  display: grid;
  place-items: center;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  transition: all 0.2s;
}

.option input[type="radio"] + .mark {
  border-radius: 50%;
}

.option .mark svg {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}

.option:has(input:checked) {
  border-color: var(--orange-500);
  background: rgba(249, 115, 22, 0.1);
}

.option input:checked + .mark {
  background: var(--orange-500);
  border-color: var(--orange-500);
}

.option input:checked + .mark svg {
  opacity: 1;
  transform: none;
}

.option input:focus-visible + .mark {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.35);
}

.scale {
  display: flex;
  gap: 0.5rem;
}

.scale .option {
  flex: 1;
  justify-content: center;
  padding: 0.75rem 0;
  font-weight: 600;
}

.scale .option .mark {
  display: none;
}

.scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: var(--fg-50);
}

.field.invalid .input,
.field.invalid .textarea,
.field.invalid .select,
.field.invalid .option {
  border-color: rgba(248, 113, 113, 0.6);
}

.field-error {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--danger);
}

.field-error:empty {
  display: none;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-actions .spacer {
  flex: 1;
}

.draft-note {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--fg-50);
  justify-content: center;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.spinner {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success {
  padding: 3rem 2rem;
  text-align: center;
  animation: stepIn 0.5s ease;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  font-size: 2.5rem;
  color: #fff;
  background: var(--grad-orange);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.6);
  animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success h2 {
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-weight: 800;
}

.success p {
  max-width: 28rem;
  margin: 0 auto 2rem;
  color: var(--fg-70);
}

.success .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.notice {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--fg-70);
}

.notice h2 {
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.5rem;
}

.notice .btn {
  margin-top: 1.5rem;
}

.credit {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.75rem;
  color: var(--fg-70);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.credit img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.5s;
}

.credit strong {
  color: #fff;
  font-weight: 600;
}

.credit:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 20px -6px rgba(249, 115, 22, 0.6);
  transform: translateY(-2px);
}

.credit:hover img {
  transform: scale(1.1);
}

.credit:hover strong {
  color: var(--orange-400);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 100;
  max-width: calc(100% - 2rem);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(248, 113, 113, 0.4);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.9375rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0;
}

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.25;
  filter: blur(2px);
  transform: scale(1.25);
  pointer-events: none;
  user-select: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

.footer-social a {
  transition: transform 0.2s, filter 0.2s;
}

.footer-social a:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.footer-social a:active {
  transform: scale(0.9);
}

.footer-social svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--fg-50);
}

.reqs {
  position: relative;
  margin: 0 0 1rem;
  text-align: left;
}

.reqs-title {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--role, var(--orange-500));
}

.reqs ul {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reqs li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--fg-50);
}

.reqs li svg {
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.1rem;
  color: var(--role, var(--orange-500));
}

.position .reqs {
  flex: 1;
}
