/* ─── CSS VARS ────────────────────────────────────────────────────────────── */
:root {
  --bg:          #07090f;
  --surface:     #0f1520;
  --surface2:    #141c2b;
  --border:      #1e2d42;
  --border2:     #253650;
  --text:        #e2eaf8;
  --muted:       #4e6280;
  --muted2:      #6b82a0;
  --accent:      #ff5500;
  --accent2:     #ff7733;
  --green:       #00e5a0;
  --gold:        #ffd700;
}

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

/* ─── BACKGROUND — bg3.jpg, same settings as leaderboard ─────────────────── */
.about-body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* bg3.jpg — covers entire page, blurred (same as leaderboard bg2 settings) */
.about-body::before {
  content: '';
  position: fixed;
  inset: -40px;
  background: url('/img/bg3.jpg') center / cover no-repeat;
  filter: blur(2px);          /* ← same blur as leaderboard */
  opacity: 1;                 /* ← same opacity as leaderboard */
  transform: scale(1.05);
  z-index: -2;
}

/* Dark tint — same darkness as leaderboard (rgba 0.2) */
.about-body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.2);
  z-index: -1;
}

/* ─── FLOATING HEADER ────────────────────────────────────────────────────── */
.about-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
}

.about-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s, filter 0.15s;
}
.about-logo-link:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(200,0,20,0.7));
}
.about-logo {
  height: 77px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(200,0,20,0.55));
}

.about-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.about-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.about-nav-link:hover { color: rgba(255,255,255,0.9); }

.about-nav-link--vip {
  background: linear-gradient(135deg, #cc0018, #880010);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 0 22px rgba(200,0,24,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: all 0.2s ease;
}
.about-nav-link--vip:hover {
  background: linear-gradient(135deg, #e8001e, #aa0014);
  box-shadow: 0 0 38px rgba(200,0,24,0.8), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px) scale(1.02);
  color: #fff;
}

/* ─── MAIN ───────────────────────────────────────────────────────────────── */
.about-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8rem 2rem 5rem;
}

/* ─── GLASS PANEL ────────────────────────────────────────────────────────── */
.about-panel {
  width: 100%;
  max-width: 780px;
  background: rgba(10, 15, 26, 0.62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  box-shadow:
    0 8px 48px rgba(0,0,0,0.55),
    0 1px 0 rgba(255,255,255,0.04) inset;
  overflow: hidden;
  animation: panel-in 0.5s ease both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Panel top header bar */
.about-panel-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 2.25rem 1.5rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-panel-logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(200,0,20,0.6));
  flex-shrink: 0;
}

.about-panel-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about-panel-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-accent { color: var(--accent); }

.about-panel-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted2);
}

/* Divider */
.about-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0 2.25rem;
}

/* ─── CONTENT ────────────────────────────────────────────────────────────── */
.about-content {
  padding: 1.75rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.about-section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted2);
}

.about-label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  flex-shrink: 0;
}
.about-label-dot--accent {
  background: var(--accent2);
  box-shadow: 0 0 6px var(--accent2);
}
.about-label-dot--green {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.about-body-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(226, 234, 248, 0.72);
}

/* ─── WHAT WE DO CARDS ───────────────────────────────────────────────────── */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  transition: border-color 0.15s, background 0.15s;
}
.about-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

.about-card-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255,85,0,0.08);
  border: 1px solid rgba(255,85,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
}

.about-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.about-card-desc {
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(226,234,248,0.52);
}

/* ─── CTA ROW ─────────────────────────────────────────────────────────────── */
.about-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 11px 28px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-cta--primary {
  background: linear-gradient(135deg, #cc0018, #880010);
  color: #fff;
  box-shadow: 0 4px 22px rgba(200,0,24,0.45);
}
.about-cta--primary:hover {
  background: linear-gradient(135deg, #e8001e, #aa0014);
  box-shadow: 0 4px 36px rgba(200,0,24,0.7);
  transform: translateY(-2px);
}

.about-cta--outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.18);
}
.about-cta--outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

.about-cta--ghost {
  background: transparent;
  color: var(--muted2);
  border: 1px solid rgba(255,255,255,0.07);
}
.about-cta--ghost:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ─── SCROLLBAR ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ─── MOBILE ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-header { padding: 0.75rem 1rem; }
  .about-logo { height: 46px; }
  .about-nav-link:not(.about-nav-link--vip) { display: none; }

  .about-main { padding: 6rem 1rem 3rem; }

  .about-panel-header { padding: 1.5rem 1.25rem 1.25rem; gap: 0.875rem; }
  .about-panel-logo { height: 44px; }

  .about-content { padding: 1.25rem 1.25rem 1.75rem; gap: 1.5rem; }

  .about-cards { grid-template-columns: 1fr; }

  .about-cta-row { flex-direction: column; }
  .about-cta { justify-content: center; }
}
