/* ══════════════════════════════════════════
   ABOUT PAGE STYLES
   ══════════════════════════════════════════ */

.about-hero {
  width: 100%;
  /* Locks the height to precisely match the 1920x800 banner proportion anywhere */
  aspect-ratio: 1920 / 800;
  position: relative;
  background-image: url('/assets/img/banner/about_us.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .about-hero {
    /* If it becomes too tiny on iPads/Mobile, we increase the size but 
       allow the sides to be cut organically while keeping center focus */
    aspect-ratio: auto;
    height: 400px;
  }
}

@media (max-width: 500px) {
  .about-hero {
    height: 350px;
    /* To prevent cutting the sides entirely on mobile, we can use contain, 
       but cover + center is standard for mobile hero sections. */
    background-size: cover;
    background-position: center;
  }
}

/* Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.story-text {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.story-text p {
  margin-bottom: 30px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid rgba(225, 6, 0, 0.2);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-glow);
}

.tl-year {
  font-family: var(--fa);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.tl-event {
  font-family: var(--fd);
  font-size: 24px;
  color: #fff;
  letter-spacing: 1px;
}

/* Stats Section */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  background: rgba(225, 6, 0, 0.03);
  border-color: rgba(225, 6, 0, 0.2);
  transform: translateY(-5px);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.stat-card:hover::after {
  width: 100%;
}

.s-num {
  display: block;
  font-family: var(--fd);
  font-size: 64px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 15px;
}

.s-label {
  font-family: var(--fa);
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* Purpose (Mission/Vision) */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.purpose-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  padding: 60px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.purpose-card .p-type {
  font-family: var(--fa);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 25px;
  display: block;
}

.purpose-card h3 {
  font-family: var(--fd);
  font-size: 42px;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.purpose-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  padding: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.value-card:hover {
  background: #080808;
  border-color: rgba(225, 6, 0, 0.2);
}

.v-icon {
  font-size: 40px;
  color: var(--red);
  margin-bottom: 30px;
  display: block;
}

.v-title {
  font-family: var(--fd);
  font-size: 32px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.v-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .story-grid, .purpose-grid, .values-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .purpose-card, .value-card {
    padding: 40px;
  }
}

@media (max-width: 650px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  
  /* Discord Responsiveness Fix */
  #discord {
    padding: 100px 20px !important;
  }
  .d-title {
    font-size: 42px !important;
    letter-spacing: 2px !important;
  }
  .d-sub {
    font-size: 14px !important;
    margin-bottom: 35px !important;
    padding: 0 10px;
  }
  .btn-disc {
    padding: 18px 40px !important;
    font-size: 12px !important;
    width: 100%;
    justify-content: center;
  }
}
