/* ========== ABOUT SECTION - CHARACTER SHEET ========== */

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.about-content-container {
  background: rgba(112, 108, 108, 0.1);
  border: .1px solid rgb(208, 226, 184);
  padding: 20px;
  box-shadow:
    0 0 50px rgba(255, 140, 90, 0.15),
    inset 0 0 0 1px rgba(255, 200, 170, 0.12);
  backdrop-filter: blur(10px);
  font-family: 'DotGothic16', sans-serif;
}

.section-title {
  font-family: 'DotGothic16', sans-serif;
  font-size: 14px;
  color: rgb(208, 226, 184);
  text-shadow: 0 0 8px rgba(208, 226, 184, 0.4);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(208, 226, 184, 0.2);
  padding-bottom: 8px;
}

/* ========== CHARACTER HEADER ========== */

.character-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
}

.character-portrait-frame {
  position: relative;
  width: 180px;
  height: 220px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgb(208, 226, 184);
  box-shadow:
    0 0 20px rgba(208, 226, 184, 0.3),
    inset 0 0 40px rgba(0, 0, 0, 0.5);
  overflow: visible;
}

.portrait-corners {
  position: absolute;
  inset: -6px;
  pointer-events: none;
  z-index: 2;
}

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #ff4fd8;
  box-shadow: 0 0 8px rgba(255, 79, 216, 0.6);
}

.corner-tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.corner-tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.corner-bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.corner-br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.profile-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.2), transparent 70%);
  animation: profilePulse 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes profilePulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.profile-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 130%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom;
  z-index: 1;
  filter: drop-shadow(0 0 15px rgba(255, 79, 216, 0.3));
}

.portrait-label {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: rgba(208, 226, 184, 0.6);
  letter-spacing: 0.15em;
  z-index: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 8px;
}

/* Character Basics */

.character-name {
  font-family: 'Jacquard 12', sans-serif;
  font-size: 36px;
  color: #ff4fd8;
  text-shadow:
    0 0 15px rgba(255, 79, 216, 0.8),
    0 0 30px rgba(255, 79, 216, 0.4);
  margin-bottom: 16px;
}

.character-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.info-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(208, 226, 184, 0.3);
  padding: 8px 12px;
  font-size: 11px;
}

.info-label {
  color: rgba(208, 226, 184, 0.6);
  font-size: 9px;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.info-value {
  color: rgb(208, 226, 184);
  font-size: 12px;
}

/* XP Bar */

.xp-bar-container {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(208, 226, 184, 0.3);
  padding: 10px;
}

.xp-label {
  font-size: 9px;
  color: rgba(208, 226, 184, 0.6);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.xp-progress {
  height: 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(208, 226, 184, 0.4);
  margin-bottom: 6px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #4fd8ff, #2a9fcc);
  box-shadow:
    0 0 10px rgba(79, 216, 255, 0.6),
    0 0 20px rgba(79, 216, 255, 0.3);
  animation: xpGlow 2s ease-in-out infinite;
}

@keyframes xpGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.xp-text {
  font-size: 10px;
  color: rgba(208, 226, 184, 0.7);
  text-align: right;
}

/* ========== ABILITY SCORES ========== */

.abilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
}

.ability-score {
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(208, 226, 184, 0.4);
  padding: 16px 12px;
  position: relative;
  box-shadow:
    0 0 15px rgba(208, 226, 184, 0.2),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.ability-name {
  font-family: 'Jacquard 12', sans-serif;
  font-size: 32px;
  color: rgb(208, 226, 184);
  text-shadow: 0 0 8px rgba(208, 226, 184, 0.4);
  margin-bottom: 8px;
}

.ability-value {
  font-size: 28px;
  color: #ff4fd8;
  text-shadow:
    0 0 10px rgba(255, 79, 216, 0.6),
    0 0 20px rgba(255, 79, 216, 0.3);
  font-weight: bold;
  margin-bottom: 4px;
}

.ability-modifier {
  font-size: 14px;
  color: rgba(208, 226, 184, 0.8);
  margin-bottom: 8px;
}

.ability-full {
  font-size: 9px;
  color: rgba(208, 226, 184, 0.5);
  letter-spacing: 0.1em;
}

/* ========== SKILLS ========== */

.skills-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  margin-bottom: 6px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(208, 226, 184, 0.2);
  font-size: 11px;
  transition: all 0.2s ease;
}

.skill-item:hover {
  background: rgba(115, 108, 134, 0.3);
  border-color: rgba(208, 226, 184, 0.4);
}

.skill-item.proficient {
  border-left: 3px solid #ff4fd8;
}

.skill-check {
  color: #ff4fd8;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.skill-item:not(.proficient) .skill-check {
  color: rgba(208, 226, 184, 0.3);
}

.skill-bonus {
  color: rgba(208, 226, 184, 0.7);
  font-size: 11px;
  min-width: 28px;
}

.skill-name {
  color: rgba(208, 226, 184, 0.9);
  flex: 1;
}

/* ========== EQUIPMENT ========== */

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.equipment-slot {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(208, 226, 184, 0.3);
  padding: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.equipment-slot:hover {
  background: rgba(115, 108, 134, 0.3);
  border-color: rgba(208, 226, 184, 0.5);
  box-shadow: 0 0 20px rgba(255, 140, 90, 0.15);
  transform: translateY(-2px);
}

.equipment-icon {
  font-size: 32px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px rgba(255, 140, 90, 0.3));
}

.equipment-name {
  color: rgb(208, 226, 184);
  font-size: 12px;
  margin-bottom: 4px;
  font-weight: bold;
}

.equipment-desc {
  color: rgba(208, 226, 184, 0.6);
  font-size: 10px;
  font-style: italic;
}

/* ========== TRAITS ========== */

.trait-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid #ff4fd8;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.trait-category {
  font-size: 10px;
  color: #ff4fd8;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-shadow: 0 0 8px rgba(255, 79, 216, 0.4);
}

.trait-box p {
  color: rgba(208, 226, 184, 0.85);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

/* ========== CONTACT BUTTONS ========== */

.contact-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(115, 108, 134, 0.25);
  border: 1px solid rgba(208, 226, 184, 0.3);
  color: rgb(208, 226, 184);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(208, 226, 184, 0.1);
}

.contact-btn:hover {
  background: rgba(115, 108, 134, 0.4);
  border-color: rgba(208, 226, 184, 0.6);
  box-shadow:
    0 0 20px rgba(208, 226, 184, 0.3),
    0 0 30px rgba(255, 140, 90, 0.15);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 16px;
}

.btn-text {
  text-transform: lowercase;
}

/* Mobile adjustments */
@media (max-width: 700px) {
  .character-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .skills-two-column {
    grid-template-columns: 1fr;
  }
}