/* === ABOUT PAGE CARD STYLES === */

html, body {
  overflow-x: hidden;
}


.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

/* Speech Bubble Enhancement */
.speech-bubble {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Profile Picture */
.profile-pic {
  text-align: center;
  margin: 0 auto 2rem auto; /* This centers it horizontally */
  display: block; /* Make sure it's a block element */
}

.profile-pic img {
  display: block;
  margin: 0 auto; /* This centers the image itself */
  max-width: 35%;
}

/* Link Cards Grid */
.link-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.link-card {
  background: rgba(255, 255, 255, 0.08) !important; /* Same as speech bubble */
  backdrop-filter: blur(8px) saturate(120%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 1rem !important; /* Smaller padding */
  font-size: 0.9rem !important;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(96, 67, 134, 0.4);
}

.link-card h4 {
  margin: 0 0 0.5rem;
  font-family: 'Countless', sans-serif;
  font-size: 1.1rem;
  color: #ffc9f0;
}

.link-card p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Bio Card */
.bio-card {
  padding: 3rem;
  text-align: center;
  transform: translateY(150px);
}

.bio-card h1 {
  font-family: 'Countless', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #604386;
  text-shadow:1px 1px 3px #2f204368;
}

.bio-content {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.bio-content a {
  color: #ffc9f0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 201, 240, 0.3);
}

.bio-content a:hover {
  border-bottom-color: #ffc9f0;
}

/* Connect Button */
.connect-button {
  margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }
  
  .link-cards {
    grid-template-columns: 1fr;
  }
  
  .bio-card h1 {
    font-size: 2rem;
  }
}

.glass-button {
  background: rgba(255, 201, 240, 0.2)
  border: 1px solid rgba(255, 201, 240, 0.4) 
  padding: .5rem;
}

.connect-ab-button {

      background: rgba(60, 63, 146, 0.8);
    border: 1px solid rgba(255, 201, 240, 0.5);
    color: #ffc9f0;
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 1rem;
    padding: 2rem;
}

h3 {

    text-align: center;
}

.bio-card .bio-content { max-width: 52ch; margin: 0 auto; }
.top-nav ul { flex-wrap: wrap; }



/* Add this to your HUD.css or in a <style> block on the home page */
.project-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.home-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(96, 67, 134, 0.4);
}

.simple-box {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    width: fit-content;
}

body.page-template-about-page,
body.page-template-page-about,
body.page-template-about {
  background: radial-gradient(circle at center right, #a860a2, #3c3f92);
}
