/* ─────────────────────────────────────────────────────────────────────
   about.css — About section, skills list, and viewer corner frames
───────────────────────────────────────────────────────────────────── */

.about {
  padding-block:    6rem;
  background-color: var(--bg-card);
  background-image: radial-gradient(ellipse 65% 80% at 50% 50%, rgba(90, 50, 170, 0.12) 0%, transparent 70%);
  border-top:       1px solid var(--border);
  border-bottom:    1px solid var(--border);
}

.about__inner {
  display:     grid;
  grid-template-columns: 1fr 1fr;
  gap:         4rem;
  align-items: center;
}

.about__text {
  display:        flex;
  flex-direction: column;
  gap:            1rem;
}
.about__text p { color: var(--text-muted); }

.about__skills {
  display:    flex;
  flex-wrap:  wrap;
  gap:        0.5rem;
  margin-top: 0.5rem;
}
.about__skills li {
  background:    var(--bg-elevated);
  border:        1px solid var(--border);
  border-radius: var(--radius-sm);
  padding:       0.3rem 0.8rem;
  font-size:     0.82rem;
  font-family:   var(--font-mono);
  color:         var(--text-muted);
  transition:    all var(--t);
}

/* Gem indicator before each skill */
.about__skills li::before {
  content:        '✦ ';
  color:          var(--flourish);
  font-size:      0.55rem;
  vertical-align: middle;
  opacity:        0.75;
}
.about__skills li:hover {
  border-color: var(--accent);
  color:        var(--text);
  background:   rgba(179, 141, 255, 0.12);
  box-shadow:   0 0 14px rgba(179, 141, 255, 0.22);
}

.about__viewer {
  aspect-ratio:  1;
  border-radius: var(--radius);
  background:    var(--bg-elevated);
  border:        1px solid var(--border);
  box-shadow:    inset 0 0 0 1px rgba(179, 141, 255, 0.28), 0 0 50px rgba(179, 141, 255, 0.1);
}


/* ─── VIEWER CORNER FRAMES ───────────────────────────────────────────── */
.about__viewer::before {
  content:    '';
  position:   absolute;
  top: 0; left: 0;
  width:      80px;
  height:     80px;
  pointer-events: none;
  z-index:    2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none'%3E%3Cpath d='M76,4 L24,4 Q4,4 4,24 L4,76' stroke='%23b38dff' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M4,4 C12,10 20,7 18,19 C16,29 8,27 11,37 C13,45 20,43 19,52' stroke='%23e8b4ff' stroke-width='1.1' stroke-linecap='round'/%3E%3Ccircle cx='76' cy='4' r='3.2' fill='%23b38dff'/%3E%3Ccircle cx='4' cy='76' r='3.2' fill='%23b38dff'/%3E%3Ccircle cx='19' cy='52' r='2.2' fill='%23e8b4ff'/%3E%3C/svg%3E") no-repeat;
  background-size: 80px 80px;
}
.about__viewer::after {
  content:    '';
  position:   absolute;
  bottom: 0; right: 0;
  width:      80px;
  height:     80px;
  pointer-events: none;
  z-index:    2;
  transform:  rotate(180deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none'%3E%3Cpath d='M76,4 L24,4 Q4,4 4,24 L4,76' stroke='%23b38dff' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M4,4 C12,10 20,7 18,19 C16,29 8,27 11,37 C13,45 20,43 19,52' stroke='%23e8b4ff' stroke-width='1.1' stroke-linecap='round'/%3E%3Ccircle cx='76' cy='4' r='3.2' fill='%23b38dff'/%3E%3Ccircle cx='4' cy='76' r='3.2' fill='%23b38dff'/%3E%3Ccircle cx='19' cy='52' r='2.2' fill='%23e8b4ff'/%3E%3C/svg%3E") no-repeat;
  background-size: 80px 80px;
}


/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about { padding-block: 4rem; }

  .about__inner {
    grid-template-columns: 1fr;
  }
  .about__viewer {
    max-width:     320px;
    margin-inline: auto;
  }
}
