:root {
  --bg: #060c18;
  --panel: #0e1728;
  --glass: rgba(16, 26, 41, 0.7);
  --border: #1c2a3d;
  --accent: #2bc2ff;
  --accent-2: #62f5c5;
  --text: #e6f0ff;
  --muted: #95a8c3;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", "Montserrat", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(43, 194, 255, 0.08), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(98, 245, 197, 0.08), transparent 25%),
    radial-gradient(circle at 50% 70%, rgba(43, 194, 255, 0.05), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 270px;
  padding: 28px;
  background: var(--glass);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 200;
}

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

.logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(43, 194, 255, 0.3), rgba(98, 245, 197, 0.25));
  border: 2px solid rgba(43, 194, 255, 0.5);
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand h1 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: 0.2s ease;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nav-link:hover {
  border-color: var(--border);
  transform: translateX(2px);
}

.nav-link.active {
  border-color: rgba(43, 194, 255, 0.5);
  background: linear-gradient(135deg, rgba(43, 194, 255, 0.1), rgba(98, 245, 197, 0.08));
  box-shadow: 0 10px 30px rgba(43, 194, 255, 0.15);
}

.nav-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.sidebar-foot {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.content {
  margin-left: 270px;
  width: calc(100% - 270px);
  padding: 32px 42px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 12px;
  z-index: 150;
}

.menu-toggle {
  background: linear-gradient(135deg, rgba(43, 194, 255, 0.14), rgba(98, 245, 197, 0.14));
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-text h2 {
  margin: 0 0 10px;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-text p {
  margin: 0 0 18px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(43, 194, 255, 0.2), rgba(98, 245, 197, 0.18));
  border-color: rgba(43, 194, 255, 0.5);
  box-shadow: 0 10px 30px rgba(43, 194, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(43, 194, 255, 0.25);
}

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

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--border);
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 194, 255, 0.4);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(43, 194, 255, 0.15);
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 16px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  transition: 0.2s ease;
}

.quick-links a:hover {
  color: var(--accent);
  border-color: rgba(43, 194, 255, 0.4);
  transform: translateY(-3px);
}

.radar-card {
  padding: 16px;
  background: linear-gradient(145deg, rgba(43, 194, 255, 0.12), rgba(14, 23, 40, 0.8));
  border: 1px solid rgba(43, 194, 255, 0.35);
}

.radar-placeholder {
  margin-top: 10px;
  height: 180px;
  border-radius: 14px;
  background: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 10px,
      rgba(255, 255, 255, 0.02) 10px,
      rgba(255, 255, 255, 0.02) 20px
    ),
    rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(43, 194, 255, 0.4);
  display: grid;
  place-items: center;
  color: var(--muted);
}

.section-title {
  margin: 6px 0;
  font-size: 1.4rem;
}

.hero-banner {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: radial-gradient(circle at 30% 40%, rgba(43, 194, 255, 0.14), transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(98, 245, 197, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(10, 18, 30, 0.9), rgba(12, 22, 36, 0.8));
  box-shadow: var(--shadow);
}

.hero-banner h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.hero-banner p {
  margin: 0;
  color: var(--muted);
}

.bot-card ul {
  margin: 10px 0 0 14px;
  padding: 0;
  color: var(--muted);
}

.bot-card li {
  margin-bottom: 6px;
}

.profiles {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.profile-card h4 {
  margin: 0 0 4px;
}

.profile-card .role {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-card p {
  color: var(--muted);
  margin: 0;
}

.apply-card {
  text-align: center;
  padding: 28px;
}

.apply-card p {
  color: var(--muted);
}

.rules {
  display: grid;
  gap: 14px;
}

.rule-block {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.rule-block h4 {
  margin: 0 0 8px;
  color: var(--accent);
}

.rule-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  color: var(--text);
  font-weight: 600;
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: inherit;
}

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

.form-status {
  margin-top: 12px;
  color: var(--accent-2);
  font-weight: 700;
  display: none;
}

.form-status.show {
  display: block;
}

.directory {
  border-collapse: collapse;
  width: 100%;
}

.directory th,
.directory td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.directory th {
  color: var(--muted);
  font-weight: 600;
}

.footer {
  margin-top: auto;
  padding: 12px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 120;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

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

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-110%);
    transition: 0.25s ease;
    border-right: none;
    right: auto;
    width: 260px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .content {
    margin-left: 0;
    width: 100%;
    padding: 18px 16px 32px;
  }

  .mobile-header {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero-text h2 {
    font-size: 1.7rem;
  }

  .hero {
    padding: 18px;
  }

  .brand h1 {
    font-size: 1rem;
  }
}
