@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --bg: #050816;
  --bg-soft: #0b1021;
  --panel: rgba(9, 16, 35, 0.72);
  --panel-strong: rgba(12, 18, 41, 0.92);
  --panel-border: rgba(163, 184, 255, 0.14);
  --panel-border-strong: rgba(120, 140, 255, 0.26);
  --text: #f7f9ff;
  --text-soft: rgba(236, 240, 255, 0.78);
  --text-dim: rgba(206, 214, 244, 0.48);
  --primary: #7c5cff;
  --secondary: #20c6ff;
  --accent: #ff5db1;
  --success: #57f287;
  --danger: #ff6b8b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(124, 92, 255, 0.28), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(32, 198, 255, 0.18), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(255, 93, 177, 0.16), transparent 28%),
    linear-gradient(180deg, #040611 0%, #07101f 48%, #040715 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.bg-aurora,
.bg-nebula {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 15% 5%, rgba(124, 92, 255, 0.22), transparent 32%),
    radial-gradient(circle at 85% 72%, rgba(32, 198, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(255, 93, 177, 0.12), transparent 34%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.045;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at center, black 58%, transparent 100%);
}

.glow-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.46;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: rgba(124, 92, 255, 0.48);
  top: -120px;
  left: -80px;
}

.orb-2 {
  width: 620px;
  height: 620px;
  background: rgba(32, 198, 255, 0.34);
  right: -180px;
  bottom: -220px;
  animation-delay: -5s;
}

.orb-3 {
  width: 380px;
  height: 380px;
  background: rgba(255, 93, 177, 0.26);
  left: 55%;
  top: 40%;
  animation-delay: -10s;
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(70px, 90px, 0) scale(1.12);
  }
}

.custom-cursor,
.custom-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

.custom-cursor {
  width: 10px;
  height: 10px;
  background: #fff;
  mix-blend-mode: difference;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.custom-cursor.hovering {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.custom-cursor-glow {
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.2) 0%, rgba(124, 92, 255, 0) 72%);
  opacity: 0.9;
}

.nav-header {
  display: flex;
  justify-content: center;
  padding: 28px 5% 12px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(18px);
}

.nav-logo-img-small {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.layout {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 0 92px;
}

.hero-section {
  position: relative;
  padding: 64px 0 24px;
}

.hero-content {
  position: relative;
  overflow: hidden;
  padding: 54px clamp(24px, 4vw, 48px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.55), rgba(32, 198, 255, 0.18), rgba(255, 93, 177, 0.38));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(165, 180, 252, 0.22);
  background: rgba(124, 92, 255, 0.08);
  color: #ddd7ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.hero-section h1 {
  background: linear-gradient(180deg, #ffffff 0%, #d9e3ff 52%, #a7bbff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text {
  background: linear-gradient(135deg, #7c5cff 0%, #25d7ff 55%, #ff72bb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(8, 13, 30, 0.66);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.hero-stats .glass-card {
  min-height: 146px;
  padding: 24px 22px;
  text-align: left;
}

.hero-stats .glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-stats span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-stats strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--text);
}

.form-section {
  margin-top: 30px;
}

.form-wrapper {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 42px clamp(20px, 4vw, 42px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--panel-border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--panel-strong);
  backdrop-filter: blur(22px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.card-glow {
  position: absolute;
  inset: auto auto 0 -10%;
  width: 42%;
  height: 32%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.24), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
}

.form-head {
  margin-bottom: 34px;
}

.form-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 10px;
}

.form-head p {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--text-soft);
}

.progress-wrapper {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.028);
}

.progress-text {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.progress-bar-bg {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.progress-bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  box-shadow: 0 0 24px rgba(32, 198, 255, 0.3);
  transition: width 0.35s ease;
}

.login-section {
  display: flex;
  justify-content: center;
}

.auth-box {
  width: min(520px, 100%);
  padding: 54px 32px;
  text-align: center;
}

.auth-icon-wrapper {
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(88, 101, 242, 0.25);
  background: radial-gradient(circle, rgba(88, 101, 242, 0.24), rgba(88, 101, 242, 0.06));
  box-shadow: 0 0 44px rgba(88, 101, 242, 0.24);
}

.auth-box h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.auth-box p {
  margin-bottom: 28px;
  color: var(--text-soft);
}

.discord-btn,
.cyber-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.discord-btn {
  padding: 16px 28px;
  background: linear-gradient(135deg, #5865f2 0%, #6c7cff 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(88, 101, 242, 0.35);
}

.cyber-btn {
  padding: 18px 40px;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #7c5cff 0%, #935dff 32%, #ff5db1 100%);
  box-shadow: 0 18px 48px rgba(124, 92, 255, 0.34);
}

.discord-btn:hover,
.cyber-btn:hover {
  transform: translateY(-3px);
}

.application-form {
  display: grid;
  gap: 26px;
}

.field-grid {
  display: grid;
  gap: 18px;
}

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

.field-group {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.group-label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7defd;
}

.input-group {
  position: relative;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 30px 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(7, 12, 27, 0.88);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.input-group textarea {
  min-height: 118px;
}

.input-group label {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
  transform-origin: top left;
  transition: transform 0.18s ease, color 0.18s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: rgba(32, 198, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(32, 198, 255, 0.32), 0 18px 34px rgba(5, 12, 32, 0.42);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-8px) scale(0.72);
  color: #8fe3ff;
}

.input-border {
  display: none;
}

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

.game-checkbox {
  position: relative;
  cursor: pointer;
}

.game-checkbox input {
  display: none;
}

.box-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 13, 29, 0.86);
  color: var(--text-soft);
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.game-checkbox:hover .box-content {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.34);
}

.game-checkbox input:checked ~ .box-content {
  color: #fff;
  border-color: rgba(124, 92, 255, 0.6);
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.28), rgba(32, 198, 255, 0.14)),
    rgba(8, 13, 29, 0.9);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.28), 0 14px 30px rgba(124, 92, 255, 0.22);
}

#categoryQuestionsList {
  display: grid;
  gap: 16px;
}

.question-panel {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(8, 13, 29, 0.8);
}

.question-title {
  font-weight: 700;
  color: var(--text);
}

.question-note {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.screenshot-panel {
  border-color: rgba(32, 198, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(32, 198, 255, 0.08), rgba(124, 92, 255, 0.06)),
    rgba(8, 13, 29, 0.84);
}

.upload-container {
  width: 100%;
}

.hidden-file-input {
  display: none;
}

.upload-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 32px 20px;
  border-radius: 24px;
  border: 1.5px dashed rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(32, 198, 255, 0.06)),
    rgba(7, 12, 27, 0.85);
  cursor: pointer;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.upload-ui:hover,
.upload-container.dragover .upload-ui {
  transform: translateY(-2px);
  border-color: rgba(32, 198, 255, 0.48);
  box-shadow: 0 20px 50px rgba(8, 18, 44, 0.42);
}

.upload-icon-box {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 20px;
  color: #8fe3ff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-main-text {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.upload-sub-text {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.screenshot-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.preview-item {
  position: relative;
  min-height: 112px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -40px 70px rgba(0, 0, 0, 0.35);
}

.remove-pic {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(4, 8, 18, 0.8);
  color: #fff;
  cursor: pointer;
}

.consent-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.consent-box input {
  display: none;
}

.consent-indicator {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.consent-box input:checked + .consent-indicator {
  border-color: rgba(87, 242, 135, 0.7);
  background: rgba(87, 242, 135, 0.18);
  box-shadow: 0 0 0 1px rgba(87, 242, 135, 0.18);
}

.consent-box input:checked + .consent-indicator::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.consent-box span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(12, 18, 41, 0.92), rgba(4, 7, 18, 0.98));
  transition: opacity 0.65s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.spinner {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--secondary);
  animation: spin 0.9s linear infinite;
}

.loading-text {
  color: var(--text-soft);
  font-weight: 600;
}

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

.ai-assistant-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(32, 198, 255, 0.85));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.fab-tooltip {
  position: absolute;
  right: 76px;
  width: 240px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 34, 0.94);
  color: var(--text-soft);
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ai-assistant-fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.text-center {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .field-grid.two-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .layout {
    width: min(100vw - 18px, 100%);
  }

  .hero-content,
  .form-wrapper {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .upload-ui {
    min-height: 180px;
    padding: 24px 16px;
  }

  .ai-assistant-fab {
    right: 16px;
    bottom: 16px;
  }

  .fab-tooltip {
    display: none;
  }
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  text-align: left;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #edf2ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(32, 198, 255, 0.08) 60%, rgba(255, 93, 177, 0.12)),
    rgba(7, 11, 27, 0.88);
  border: 1px solid rgba(154, 172, 255, 0.2);
}

.hero-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.hero-side-top {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-side-label {
  color: #9be5ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-side-top strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero-side-stack {
  display: grid;
  gap: 14px;
}

.hero-side-card {
  position: relative;
  padding: 18px 18px 18px 64px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-side-card span {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(32, 198, 255, 0.7));
  color: #fff;
  font-weight: 800;
}

.hero-side-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-content {
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(32, 198, 255, 0.14), transparent 22%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel);
}

.form-wrapper {
  overflow: hidden;
}

.form-shell-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.7;
}

.form-shell-glow-a {
  width: 260px;
  height: 260px;
  top: -60px;
  right: -70px;
  background: rgba(124, 92, 255, 0.28);
}

.form-shell-glow-b {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: 20%;
  background: rgba(32, 198, 255, 0.18);
}

.form-kicker {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #dce3ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.application-form {
  gap: 22px;
}

.form-block {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(6, 11, 27, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.28), rgba(255, 255, 255, 0.02), rgba(32, 198, 255, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-block-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.form-block-step {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7c5cff 0%, #1bcfff 100%);
  box-shadow: 0 16px 36px rgba(62, 116, 255, 0.28);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.form-block-head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.form-block-head p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.game-selector-card,
.question-stage,
.upload-stage {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(11, 17, 38, 0.95);
  border-color: rgba(160, 178, 255, 0.14);
}

.game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.box-content {
  min-height: 76px;
  position: relative;
  overflow: hidden;
  font-size: 1.02rem;
}

.box-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%);
  opacity: 0.5;
}

.game-checkbox input:checked ~ .box-content {
  transform: translateY(-3px) scale(1.01);
}

.input-group input,
.input-group textarea {
  border-radius: 20px;
  border-color: rgba(173, 188, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(4, 9, 23, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.input-group input:hover,
.input-group textarea:hover {
  border-color: rgba(124, 92, 255, 0.26);
}

.question-panel {
  padding: 22px;
  border-radius: 22px;
}

.question-title {
  font-size: 1rem;
  line-height: 1.55;
}

.upload-ui {
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.upload-ui-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(32, 198, 255, 0.1), transparent 34%),
    radial-gradient(circle at bottom right, rgba(124, 92, 255, 0.14), transparent 30%);
  pointer-events: none;
}

.upload-icon-box,
.upload-info {
  position: relative;
  z-index: 1;
}

.upload-main-text {
  font-size: 1.16rem;
}

.preview-item {
  min-height: 132px;
  border-radius: 22px;
}

.remove-pic {
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.consent-box {
  padding: 20px 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(9, 14, 31, 0.95);
}

.cyber-btn {
  min-width: 280px;
}

.cyber-btn::before,
.discord-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  opacity: 0.45;
}

.btn-text,
.discord-btn svg,
.discord-btn {
  position: relative;
  z-index: 1;
}

.ai-assistant-fab {
  font-size: 0;
}

.fab-label {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-chip-row {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .form-block {
    padding: 18px;
  }

  .form-block-head {
    grid-template-columns: 1fr;
  }

  .form-block-step {
    width: 48px;
    height: 48px;
  }
}
