/* Base styles */
html, body {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overscroll-behavior: auto;
  -webkit-overscroll-behavior: auto;
  opacity: 0;
  animation: easeIn 0.8s ease-out forwards;
}

@keyframes easeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Main container */
.about-container {
  width: 100vw;
  min-height: 100vh;
  background: linear-gradient(135deg, #000000 0%, #0f0820 25%, #0d1425 50%, #081a35 75%, #1f1a40 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  padding: 2rem;
  box-sizing: border-box;
}

/* Add dot pattern overlay similar to reference image */
.about-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Title */
.about-title {
  position: relative;
  margin: -1rem 0 2rem -1rem;
  z-index: 100;
}

.about-text {
  font-size: min(8rem, 15vw, 13vh);
  font-weight: 400;
  font-family: 'Anton', Arial, sans-serif;
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
  letter-spacing: 0.05em;
  text-transform: none;
  margin: 0;
  line-height: 0.9;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeInTitle 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes fadeInTitle {
  to {
    opacity: 1;
  }
}

.title-subtitle {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', Arial, sans-serif;
  color: #ffffff;
  text-align: left;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* Hover effect for underlined links */
.profile-text a:hover {
  color: #00ffff !important;
  transition: color 0.3s ease;
}

.about-text div {
  font-size: min(8rem, 15vw, 13vh);
  font-weight: 400;
  font-family: 'Anton', Arial, sans-serif;
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
  letter-spacing: 0.05em;
  text-transform: none;
  margin: 0;
}

/* Content area */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 3rem;
  z-index: 10;
  position: relative;
}

/* Profile section */
.profile-section {
  display: block;
  width: 100%;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.profile-image {
  float: right;
  width: 400px;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 2rem 0 2rem 2rem;
}

.profile-image:hover {
  transform: scale(1.02);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text {
  color: #ffffff;
  font-family: 'Inter', Arial, sans-serif;
}

.profile-text p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 2rem 0;
  line-height: 1.6;
  letter-spacing: normal;
  opacity: 0.9;
}

/* Info sections */
.info-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.info-section:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 255, 0.3);
  transform: translateY(-2px);
}

.info-section h3 {
  font-family: 'Anton', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: 0.05em;
}

.info-section p {
  color: #ffffff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.skill-category {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #00ffff;
  margin: 0 0 1rem 0;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-family: 'Fira Mono', monospace;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  border-color: #ff00ff;
  color: #ff00ff;
  transform: scale(1.05);
}

/* Stack section styles */
.stack-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.stack-section {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stack-section:hover {
  border-color: rgba(255, 0, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
}

.stack-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stack-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stack-header h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.stack-arrow {
  color: #ffffff;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.stack-section.active .stack-arrow {
  transform: rotate(180deg);
}

.stack-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 1.5rem;
}

.stack-section.active .stack-content {
  max-height: 300px;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.icon-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stack-content img {
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
  filter: brightness(1) saturate(1);
}

.icon-container:hover img {
  filter: brightness(0.8) saturate(0.9);
  transform: scale(1.1);
}

.icon-tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-container:hover .icon-tooltip {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Values/interests section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-item h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* SCROLL PROGRESS INDICATOR */
.scroll-progress {
  position: fixed;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 6px;
  height: 100px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 100;
}
.scroll-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ff00ff 0%, #00ffff 100%);
  border-radius: 3px;
  transform: translateY(-100%);
  transition: transform 0.1s ease-out;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Hide scrollbar like experience page */
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Hide scrollbar for all elements */
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html, body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Mobile menu button styles */
.mobile-menu-btn {
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.5) !important;
  border-color: rgba(255, 0, 255, 0.3) !important;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
  background: #ff00ff;
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
  background: #ff00ff;
}

/* Responsive design */
@media (orientation: portrait), (max-width: 768px) {
  /* Show mobile menu button and hide navigation */
  .mobile-menu-btn {
    display: flex !important;
  }

  /* Hide hamburger when menu is open */
  .mobile-menu-btn.active {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .bottom-nav {
    transform: translateX(200px) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
  }

  .bottom-nav.show {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }

  /* Close button in navigation */
  .nav-close-btn {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
  }

  .bottom-nav.show .nav-close-btn {
    display: flex !important;
  }

  .nav-close-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
  }

  .nav-close-btn::before,
  .nav-close-btn::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
  }

  .nav-close-btn::before {
    transform: rotate(45deg);
  }

  .nav-close-btn::after {
    transform: rotate(-45deg);
  }
  .about-title {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    margin-bottom: 2rem;
  }

  .about-content {
    padding-top: 2rem;
  }

  .profile-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .profile-image {
    max-width: 250px;
    margin: 0 auto;
  }

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

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Hide navigation bar completely in vertical mode */
  .bottom-nav {
    display: none !important;
  }
}

/* Hide custom cursor and use natural cursor */
* {
  cursor: auto !important;
}

#custom-cursor {
  display: none !important;
}

/* Profile text styling improvements */
.profile-text h2 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: min(1.8rem, 3.5vw);
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 2rem 0;
  line-height: 1.6;
  letter-spacing: normal;
}

.profile-text p {
  font-family: 'Inter', Arial, sans-serif;
  font-size: min(1.8rem, 3.5vw);
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 2rem 0;
  line-height: 1.6;
  letter-spacing: normal;
  opacity: 0.9;
}

/* Image positioning adjustments */
.profile-image {
  float: right;
  width: 40vw;
  max-width: 350px;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 2rem 1rem 2rem 3rem;
  shape-outside: circle(50%);
}


/* Mute container hover effects */
.mute-container:hover .mute-icon {
  fill: #ff00ff !important;
  filter: drop-shadow(0 0 15px rgba(255, 0, 255, 0.8)) !important;
}

.mute-container:hover .mute-text {
  color: #ff00ff !important;
  text-shadow: 0 0 15px rgba(255, 0, 255, 0.5) !important;
}

/* Mute icon and vaporwave text */
.mute-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.mute-icon {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  transition: all 0.3s ease;
}

.mute-text {
  color: #ffffff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.mute-container:hover .mute-icon {
  fill: #ff00ff;
  filter: drop-shadow(0 0 15px rgba(255, 0, 255, 0.8));
}

.mute-container:hover .mute-text {
  color: #ff00ff;
  text-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}