/* ============================================================
   ABOUT PAGE STYLES
   Depends on: main.css (all base styles, hero-section, divider, mc-btn, etc.)
============================================================ */

/* ===== HERO STAT PANELS (below hero description) ===== */
.about-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}
.about-hero-stat {
  background: var(--night-panel);
  border: 4px solid #000;
  box-shadow: inset 2px 2px 0 var(--panel-hi), 5px 5px 0 #000;
  padding: 14px 28px;
  text-align: center;
  min-width: 120px;
}
.about-hero-stat span {
  display: block;
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--accent-aqua);
  text-shadow: 2px 2px 0 #000;
  line-height: 1.4;
}
.about-hero-stat small {
  display: block;
  font-family: var(--font-vt);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ===== HOW IT WORKS — Sandy section ===== */
.about-works-section {
  background: linear-gradient(to bottom, var(--sand-bright), var(--sand-dark));
  padding: 100px 32px 110px;
  position: relative;
}

/* Dark headline text on sandy background */
.about-dark-headline {
  color: var(--text-dark) !important;
  text-shadow: 3px 3px 0 rgba(255,255,255,0.3) !important;
}
.about-dark-headline::after {
  background: var(--wood-brown) !important;
}

.about-concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.about-concept-card {
  background: rgba(10, 16, 32, 0.94);
  border: 4px solid #000;
  box-shadow:
    inset 3px 3px 0 var(--panel-hi),
    inset -3px -3px 0 var(--panel-sh),
    7px 7px 0 rgba(0,0,0,0.5);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}
.fade-up.about-concept-card { opacity: 0; transform: translateY(28px); }
.about-concept-card.in-view { opacity: 1; transform: translateY(0); }
.about-concept-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-aqua));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.about-concept-card:hover { transform: translateY(-6px); box-shadow: 0 0 28px rgba(227,74,47,0.25), inset 3px 3px 0 var(--panel-hi), inset -3px -3px 0 var(--panel-sh), 9px 9px 0 rgba(0,0,0,0.4); }
.about-concept-card:hover::before { transform: scaleX(1); }

.about-concept-icon {
  font-size: 2.5rem;
  color: var(--accent-red);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 6px rgba(227,74,47,0.3));
}
.about-concept-title {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--text-sand);
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.about-concept-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #9ABEDC;
  line-height: 1.7;
}

/* ===== PHILOSOPHY — Stone section ===== */
.about-philosophy-section {
  background: linear-gradient(to bottom, #2E2E2E, #1A1A1A);
  padding: 100px 32px;
  position: relative;
}
.about-philosophy-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(0,0,0,0.08) 20px, rgba(0,0,0,0.08) 21px),
    repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0,0,0,0.05) 20px, rgba(0,0,0,0.05) 21px);
  pointer-events: none;
}

.about-philosophy-block {
  background: rgba(8, 14, 28, 0.94);
  border: 4px solid #000;
  box-shadow:
    inset 3px 3px 0 var(--panel-hi),
    inset -3px -3px 0 var(--panel-sh),
    7px 7px 0 rgba(0,0,0,0.5);
  padding: 48px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.about-philosophy-block::before {
  content: '"';
  position: absolute; top: 20px; left: 30px;
  font-size: 5rem; color: rgba(227,74,47,0.12);
  font-family: serif; pointer-events: none;
}
.about-philosophy-block::after {
  content: '"';
  position: absolute; bottom: 10px; right: 30px;
  font-size: 5rem; color: rgba(227,74,47,0.12);
  font-family: serif; pointer-events: none;
}

.about-section-title {
  font-family: var(--font-pixel);
  font-size: clamp(13px, 2.2vw, 18px);
  color: var(--text-sand);
  text-shadow: 3px 3px 0 #000;
  margin-bottom: 24px;
  letter-spacing: 1.5px;
}
.about-philosophy-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #9ABEDC;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 32px;
}
.about-philosophy-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px;
}
.about-pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,74,47,0.15);
  border: 2px solid rgba(227,74,47,0.25);
  padding: 8px 18px;
  font-family: var(--font-pixel); font-size: 8px;
  color: #FFB5A5; text-shadow: 1px 1px 0 #000;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}
.about-pill-badge:hover { background: rgba(227,74,47,0.25); border-color: rgba(227,74,47,0.45); transform: translateY(-2px); }
.about-pill-badge i { color: var(--accent-red); font-size: 9px; }

/* ===== WHAT MAKES IT TICK — Ocean (uses main.css discord-section background) ===== */
.about-tech-section {
  padding: 100px 32px;
}
.about-section-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: -20px auto 48px;
  text-align: center;
  line-height: 1.6;
  position: relative;
}
.about-feature-grid {
  display: flex; flex-wrap: wrap; gap: 28px;
  max-width: 1100px; margin: 0 auto; justify-content: center;
}
.about-feature-box {
  background: rgba(8, 14, 28, 0.92);
  border: 4px solid #000;
  box-shadow: inset 3px 3px 0 var(--panel-hi), inset -3px -3px 0 var(--panel-sh), 5px 5px 0 rgba(0,0,0,0.4);
  padding: 32px 28px;
  flex: 1 1 280px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fade-up.about-feature-box { opacity: 0; transform: translateY(28px); }
.about-feature-box.in-view { opacity: 1; transform: translateY(0); }
.about-feature-box:hover { transform: translateY(-5px); box-shadow: 0 0 24px rgba(227,74,47,0.2), inset 3px 3px 0 var(--panel-hi), inset -3px -3px 0 var(--panel-sh), 7px 7px 0 rgba(0,0,0,0.4); }
.about-feature-box i { font-size: 2.2rem; color: var(--accent-red); margin-bottom: 16px; display: inline-block; }
.about-feature-box h3 { font-family: var(--font-pixel); font-size: 10px; color: var(--text-sand); text-shadow: 2px 2px 0 #000; margin-bottom: 14px; letter-spacing: 0.8px; }
.about-feature-box p { font-family: var(--font-body); font-size: 0.95rem; color: #9ABEDC; line-height: 1.7; }

/* ===== HOW TO JOIN — Sandy section ===== */
.about-join-section {
  background: linear-gradient(to bottom, var(--sand-bright), var(--sand-dark));
  padding: 100px 32px 110px;
}
.about-join-grid {
  display: flex; flex-wrap: wrap; gap: 32px;
  max-width: 1100px; margin: 0 auto 40px; justify-content: center;
}
.about-join-card {
  background: rgba(8, 14, 28, 0.92);
  border: 4px solid #000;
  box-shadow: inset 3px 3px 0 var(--panel-hi), inset -3px -3px 0 var(--panel-sh), 7px 7px 0 rgba(0,0,0,0.5);
  padding: 32px; flex: 1 1 350px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fade-up.about-join-card { opacity: 0; transform: translateY(28px); }
.about-join-card.in-view { opacity: 1; transform: translateY(0); }
.about-join-card:hover { transform: translateY(-5px); box-shadow: 0 0 28px rgba(227,74,47,0.2), inset 3px 3px 0 var(--panel-hi), inset -3px -3px 0 var(--panel-sh), 9px 9px 0 rgba(0,0,0,0.5); }
.about-join-card i { font-size: 2rem; color: var(--accent-red); margin-bottom: 16px; display: inline-block; }
.about-join-card h3 { font-family: var(--font-pixel); font-size: 10px; color: var(--text-sand); text-shadow: 2px 2px 0 #000; margin-bottom: 20px; letter-spacing: 0.8px; }
.about-join-card ul { list-style: none; padding: 0; margin: 0; }
.about-join-card li { font-family: var(--font-body); font-size: 0.95rem; color: #9ABEDC; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); line-height: 1.6; }
.about-join-card li:last-child { border-bottom: none; }
.about-join-card code { background: #1A1E2A; padding: 3px 8px; font-family: var(--font-vt); font-size: 0.9rem; color: var(--accent-aqua); border: 1px solid rgba(34,212,204,0.3); }

.about-info-box {
  background: rgba(8, 14, 28, 0.92);
  border: 4px solid #000;
  box-shadow: inset 3px 3px 0 var(--panel-hi), inset -3px -3px 0 var(--panel-sh), 7px 7px 0 rgba(0,0,0,0.5);
  padding: 28px 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-info-box p { font-family: var(--font-body); font-size: 1rem; color: #9ABEDC; line-height: 1.7; margin-bottom: 12px; }
.about-info-box i { color: var(--accent-red); margin-right: 8px; }
.about-info-box code { background: #1A1E2A; padding: 4px 10px; font-family: var(--font-vt); font-size: 0.9rem; color: var(--accent-aqua); border: 1px solid rgba(34,212,204,0.3); display: inline-block; margin: 4px 0; }
.about-info-note { color: var(--accent-red) !important; font-weight: 600; margin-top: 12px; letter-spacing: 0.5px; }

/* ===== ZERO P2W — Forest (uses main.css rules-section background) ===== */
.about-p2w-section {
  padding: 100px 32px;
}
.about-zero-p2w {
  text-align: center; max-width: 800px; margin: 0 auto; padding: 20px;
}
.about-zero-p2w i { font-size: 3.5rem; color: var(--accent-red); margin-bottom: 20px; display: inline-block; filter: drop-shadow(0 0 10px rgba(227,74,47,0.3)); }
.about-zero-text { font-family: var(--font-body); font-size: 1.1rem; color: #9ABEDC; line-height: 1.8; max-width: 600px; margin: 20px auto 32px; }

/* ===== ACTIVE NAV ===== */
header nav ul li a.active { color: var(--text-sand) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .about-works-section,
  .about-join-section { padding: 60px 24px 70px; }
  .about-philosophy-section,
  .about-tech-section,
  .about-p2w-section { padding: 60px 24px; }
  .about-concept-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-philosophy-block { padding: 32px 24px; }
  .about-join-grid { flex-direction: column; }
  .about-join-card { padding: 24px; }
  .about-info-box { padding: 20px 24px; }
  .about-hero-stats { gap: 12px; }
  .about-hero-stat { padding: 10px 20px; min-width: 90px; }
  .about-hero-stat span { font-size: 11px; }
  .about-feature-grid { flex-direction: column; align-items: stretch; }
}
@media (max-width: 500px) {
  .about-hero-stats { flex-direction: column; align-items: center; }
  .about-hero-stat { width: 100%; max-width: 200px; }
  .about-philosophy-block::before,
  .about-philosophy-block::after { font-size: 3rem; }
}
