/* About Louis Page CSS */

/* Google Fonts Import for Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Inter', sans-serif;
  color: #fff;
}

/* Base Stage overrides for About Page */
.stage {
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-sizing: border-box;
}

/* Header & Back Button */
.about-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  width: 100%;
  margin-bottom: 24px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #72e0aa;
  box-shadow: 0 0 15px rgba(114, 224, 170, 0.3);
  transform: translateY(-2px);
}

/* Secondary logo link on About Page */
.about-logo {
  width: 180px;
  height: 95px;
  background-image: url("istoselida.jpg");
  background-position: -22px -23px;
  background-size: 1000px 667px;
  background-repeat: no-repeat;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.about-logo:hover {
  opacity: 1;
}

/* Main Grid Layout */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
  height: calc(100% - 120px);
  z-index: 5;
}

/* Left side: Photo Column */
.about-photo-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  height: 100%;
  transform-style: preserve-3d;
}

.profile-card-wrapper {
  position: relative;
  width: 82%;
  max-width: 320px;
  aspect-ratio: 1 / 1.15;
  transform: translate3d(calc(var(--shift-x) * -0.6), calc(var(--shift-y) * -0.6), 30px);
  transition: transform 0.1s ease-out;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(114, 224, 170, 0.4);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.6), 
    0 0 30px rgba(114, 224, 170, 0.15);
  transition: border-color 0.5s ease;
}

.profile-card-wrapper::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(114, 224, 170, 0.4), transparent, rgba(114, 224, 170, 0.1));
  z-index: -1;
  pointer-events: none;
}

/* Instagram follow card */
.instagram-card {
  width: 82%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 20px;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translate3d(calc(var(--shift-x) * -0.4), calc(var(--shift-y) * -0.4), 15px);
}

.instagram-card:hover {
  border-color: rgba(225, 48, 108, 0.6);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(225, 48, 108, 0.25);
  transform: translate3d(calc(var(--shift-x) * -0.4), calc(var(--shift-y) * -0.4) - 4px, 20px);
}

.instagram-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.instagram-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(225, 48, 108, 0.25);
}

.instagram-svg {
  width: 16px;
  height: 16px;
}

.instagram-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.instagram-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
}

.instagram-handle {
  font-size: 0.78rem;
  color: #a0a0a0;
  font-weight: 400;
}

.instagram-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-item strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.stat-item span {
  font-size: 0.68rem;
  color: #a0a0a0;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.instagram-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 0;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #72e0aa;
}

.instagram-card:hover .instagram-action {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

/* Right side: Biography Text Column */
.about-text-col {
  height: 95%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 480px;
}

.biography-card {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px;
  height: 100%;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  scrollbar-width: thin;
  scrollbar-color: rgba(114, 224, 170, 0.3) transparent;
}

.biography-card::-webkit-scrollbar {
  width: 6px;
}

.biography-card::-webkit-scrollbar-track {
  background: transparent;
}

.biography-card::-webkit-scrollbar-thumb {
  background-color: rgba(114, 224, 170, 0.3);
  border-radius: 20px;
}

/* Text elements inside Biography Card */
.biography-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: -0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.biography-card h2::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #72e0aa;
  border-radius: 50%;
  box-shadow: 0 0 10px #72e0aa;
}

.biography-card p {
  font-size: 1.15rem;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95); /* Large white text */
  margin-bottom: 22px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.biography-card p strong {
  font-weight: 600;
  color: #fff;
}

.biography-card p:last-child {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: #72e0aa;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  text-shadow: 0 0 12px rgba(114, 224, 170, 0.2);
}

/* Desktop Planet depth glow */
.about-planet-glow {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 224, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: float-slow 12s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, 30px) scale(1.1); }
}

/* ==========================================================================
   Mobile Styles Override (@media max-width: 760px)
   ========================================================================== */
@media (max-width: 760px) {
  /* Override background for mobile about page */
  .mobile-page::before {
    background-image: none !important;
    background: radial-gradient(circle at 50% 15%, rgba(114, 224, 170, 0.18), transparent 55%), #050505 !important;
    opacity: 1 !important;
  }

  .mobile-page::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 90%) !important;
  }

  /* Active navigation highlights */
  .mobile-nav a:first-child {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
  }

  .mobile-nav a:nth-child(2) {
    color: #72e0aa !important; /* Louis green color */
    border-color: rgba(114, 224, 170, 0.7) !important;
    box-shadow: 0 0 10px rgba(114, 224, 170, 0.2);
  }

  /* Content area */
  .mobile-about-content {
    position: relative;
    z-index: 10;
    margin-top: 24px;
    width: 100%;
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 40px;
  }

  .mobile-back-wrapper {
    margin-bottom: 20px;
  }

  .mobile-profile-img-container {
    width: 100%;
    margin-bottom: 24px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
      0 10px 25px rgba(0,0,0,0.6),
      0 0 20px rgba(114, 224, 170, 0.1);
    border: 1px solid rgba(114, 224, 170, 0.3);
  }

  .mobile-profile-image {
    width: 100%;
    aspect-ratio: 1.1 / 1;
    object-fit: cover;
    display: block;
  }

  .mobile-profile-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.85) 100%);
  }

  .mobile-profile-name {
    position: absolute;
    bottom: 16px;
    left: 18px;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-profile-name::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #72e0aa;
    border-radius: 50%;
    box-shadow: 0 0 8px #72e0aa;
  }

  .mobile-biography {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .mobile-biography p {
    font-size: 1.1rem;
    line-height: 1.65;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0;
    margin-bottom: 18px;
  }

  .mobile-biography p strong {
    font-weight: 500;
    color: #fff;
  }

  .mobile-biography p:last-child {
    margin-bottom: 0;
    color: #72e0aa;
    font-size: 1.15rem;
    font-weight: 400;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
  }

  /* Mobile Instagram card overrides */
  .mobile-about-content .instagram-card {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    transform: none !important;
  }
  
  .mobile-about-content .instagram-card:hover {
    transform: translateY(-2px) !important;
  }
}
