.about-main {
  max-width: 900px;
  margin: 64px auto 30px;
  padding: 0 0 24px;
  overflow: hidden;
}

.about-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 24px 24px;
}

.about-hero-img {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-img img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
}

.about-hero-content {
  flex: 1;
}

.about-hero-content h1 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.about-hero-content p {
  font-size: 1em;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-section-block {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 18px 14px 14px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}

.about-details h2 {
  font-size: 1.2em;
  margin: 0 0 10px;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.about-details p,
.about-details ul {
  font-size: 1em;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.about-details ul {
  padding-left: 16px;
  margin-bottom: 0;
  list-style: disc;
}

.about-details li {
  margin-bottom: 4px;
}

.about-values {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.about-values > div {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 14px 12px 10px;
  flex: 1 1 120px;
  min-width: 100px;
  text-align: center;
}

.about-values strong {
  display: block;
  font-size: 1em;
  color: #ffffff;
  margin-bottom: 6px;
}

.about-values p {
  color: var(--text-muted);
  font-size: 0.95em;
  margin-bottom: 0;
}

.about-story-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 1em;
  color: #ffffff;
  font-weight: 600;
  padding: 6px 0;
  width: fit-content;
}

.about-story-badge {
  color: var(--accent);
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 0.5px;
}

.about-numbers-block {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 18px 14px 14px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}

.about-numbers {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 10px;
  flex-wrap: wrap;
}

.about-number {
  font-size: 1.2em;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

.about-number-label {
  font-size: 0.95em;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  display: block;
  text-align: center;
}

.about-numbers > div {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 10px 12px 8px;
  min-width: 70px;
  flex: 1 1 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-discord-widget-horizontal {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 900px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.07);
  color: #ffffff;
  margin: 40px auto;
  overflow: hidden;
}

.discord-server-icon-horizontal {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-hover);
  margin-left: 24px;
  margin-right: 32px;
}

.discord-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  min-width: 0;
  margin-right: 24px;
}

.custom-discord-widget-horizontal h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.custom-discord-widget-horizontal p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-muted);
  overflow-wrap: break-word;
}

.discord-invite-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-discord);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.6);
  transition: background-color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 220px;
  cursor: pointer;
  justify-content: center;
}

.discord-invite-button:hover {
  background: #4752c4;
}

.discord-icon {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 940px) {
  .about-main {
    margin-top: 80px;
    padding: 0 16px 24px;
  }

  .custom-discord-widget-horizontal {
    margin: 40px 0;
    box-sizing: border-box;
  }
}

@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0 12px;
  }

  .about-main {
    padding: 0 16px 16px;
  }

  .about-values {
    flex-direction: column;
    gap: 6px;
  }

  .about-hero-img img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 600px) {
  .custom-discord-widget-horizontal {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
    gap: 24px;
  }

  .discord-server-icon-horizontal {
    width: 120px;
    height: 120px;
    margin: 0 0 16px;
  }

  .discord-info {
    align-items: center;
  }

  .discord-invite-button {
    max-width: none;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .about-hero-content h1 {
    font-size: 1.7rem;
  }

  .about-numbers > div {
    flex: 1 1 calc(50% - 8px);
  }

  .custom-discord-widget-horizontal {
    padding: 20px 16px;
  }
}
