:root {
  --primary: #8a2be2;
  --secondary: #b64cff;
  --text: #f2f2f2;
  --muted: rgba(199, 199, 209, 0.85);
  --panel: rgba(24, 24, 30, 0.94);
  --panel-2: rgba(18, 18, 24, 0.92);
  --stroke: rgba(0, 0, 0, 0.7);
  --good: #2dd36f;
  --bad: #ff4d4f;
  --bg: #0c0c12;
  --glow: rgba(138, 43, 226, 0.25);
}

* {
  box-sizing: border-box;
  font-family: 'Rajdhani', sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #1b1b27, var(--bg));
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}

.orb-1 {
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.8), transparent 70%);
}

.orb-2 {
  bottom: 10%;
  right: -120px;
  background: radial-gradient(circle, rgba(182, 76, 255, 0.7), transparent 70%);
}

.orb-3 {
  top: 30%;
  right: 20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(120, 80, 240, 0.5), transparent 70%);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="2" stitchTiles="stitch"/></filter><rect width="200" height="200" filter="url(%23n)" opacity="0.12"/></svg>');
  mix-blend-mode: soft-light;
  z-index: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 18px 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 12, 18, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: auto;
  height: 30px;
  border-radius: 12px;
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid rgba(138, 43, 226, 0.35);
  padding: 2px 10px;
}

.brand-logo {
  max-height: 24px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px var(--glow));
}

.brand-name {
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

main {
  position: relative;
  z-index: 1;
  padding: 40px 8vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 40px 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
}

.hero-logo {
  margin: 12px 0 6px;
  transform: translateX(-20px);
}

.hero-logo img {
  height: clamp(42px, 6vw, 72px);
  width: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}

.tagline {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid rgba(138, 43, 226, 0.3);
  font-size: 12px;
}

.hero-panel {
  background: linear-gradient(150deg, rgba(28, 28, 36, 0.96), var(--panel-2));
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.45);
  animation: floatIn 1s ease forwards;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.panel-title {
  font-weight: 700;
  font-size: 16px;
}

.panel-sub {
  font-size: 12px;
  color: var(--muted);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 12px rgba(45, 211, 111, 0.8);
  animation: pulse 2s infinite;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-card {
  padding: 12px;
  border-radius: 12px;
  background: rgba(24, 24, 32, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.6);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn {
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(18, 18, 24, 0.85);
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--text);
}

.btn-ghost {
  background: rgba(18, 18, 24, 0.8);
  color: var(--text);
}

.btn-mini {
  padding: 6px 10px;
  font-size: 12px;
}

.section {
  margin-top: 70px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 28px;
}

.section-header p {
  color: var(--muted);
  max-width: 420px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 18px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 14px;
  min-height: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.rule-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  background: var(--panel-2);
  border: 1px solid var(--stroke);
}

.rule-index {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}

.cta-panel {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(138, 43, 226, 0.15), rgba(182, 76, 255, 0.2));
  border: 1px solid rgba(138, 43, 226, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.staff-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--stroke);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(138, 43, 226, 0.8), rgba(182, 76, 255, 0.9));
  display: grid;
  place-items: center;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.gallery-card {
  border-radius: 16px;
  min-height: 160px;
  padding: 16px;
  background: linear-gradient(140deg, rgba(22, 22, 30, 0.9), rgba(48, 28, 64, 0.9));
  border: 1px solid rgba(138, 43, 226, 0.3);
  display: flex;
  align-items: flex-end;
  font-weight: 700;
}

.status-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.status-label {
  color: var(--muted);
  font-size: 12px;
}

.status-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--good);
}

.status-meta {
  font-size: 12px;
  color: var(--muted);
}

.status-actions {
  display: flex;
  gap: 10px;
}

.footer {
  padding: 40px 8vw 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(10, 10, 14, 0.9);
}

.socials {
  display: flex;
  gap: 12px;
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid rgba(138, 43, 226, 0.3);
  color: var(--text);
}

.icon svg {
  width: 18px;
  height: 18px;
}

@keyframes floatIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .nav-actions {
    flex-direction: column;
    width: 100%;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .status-actions {
    flex-direction: column;
    width: 100%;
  }

  .status-actions .btn {
    width: 100%;
  }
}
