body {
  margin: 0;
  background: #0b0b0b;
  color: #eaeaea;
  font-family: monospace;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.fx-text {
  font-size: clamp(2.8rem, 6vw, 4rem);
  margin-bottom: 2rem;
}

.fx-text span {
  display: inline-block;
  transform: translateY(10px);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  min-height: 100vh;
  padding: 4rem;
  gap: 3rem;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}


.slideshow {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #222;
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(20px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.chapters {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}

.chapters a {
  color: #00ffcc;
  font-size: 14px;
}

.page-header {
  padding: 6rem 4rem 2rem;
}

.page-sub {
  color: #aaa;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem 4rem 6rem;
}

.project-card {
  background: #111;
  border: 1px solid #222;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.tag {
  display: inline-block;
  margin-top: 1rem;
  margin-right: 0.5rem;
  color: #00ffcc;
  font-size: 12px;
}

.about-block {
  padding: 3rem 4rem;
  border-left: 2px solid #00ffcc;
  margin: 2rem 0;
}

.quotes-page {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: auto;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 4rem;
  text-align: center;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.quote-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid #222;
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(6px);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.quote-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.quote-text {
  font-size: 1.1rem;
  line-height: 1.6;
}

.quote-author {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

.summary-wrapper {
  max-width: 900px;
  margin: auto;
  padding: 6rem 3rem;
}

.summary-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.summary-text.subtle {
  opacity: 0.6;
  font-size: 0.95rem;
}

.socials-container {
  margin-top: 4rem;
}

.social-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.social-tab {
  padding: 0.6rem 1.1rem;
  background: transparent;
  border: 1px solid #222;
  color: #aaa;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.social-tab:hover {
  border-color: #555;
  color: #fff;
}

.social-tab.active {
  background: #fff;
  color: #000;
}

.social-panel {
  display: none;
  animation: fadeSlide 0.4s ease forwards;
}

.social-panel.active {
  display: block;
}

.social-link {
  color: #6cf;
  font-weight: 500;
}

.music-wrapper {
  max-width: 1000px;
  margin: auto;
  padding: 5rem 2rem 10rem 2rem;
}

.music-desc {
  opacity: 0.6;
  margin-top: 1rem;
  max-width: 600px;
}

.music-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-height: 80vh; 
  overflow-y: auto;
  padding-right: 0.5rem;
}

.song-item {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid #222;
  transition: all 0.3s ease;
}

.song-item:hover {
  transform: scale(1.05);
  border-color: #555;
  background: rgba(255,255,255,0.06);
}

.song-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.song-info {
  padding: 1rem;
  text-align: center;
}

.song-info strong {
  display: block;
  margin-bottom: 0.3rem;
}

.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  z-index: 100;
  color: white;
}

.current-song {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
}

#current-cover {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 1rem;
}

.current-info strong {
  display: block;
  font-size: 1.1rem;
}

.current-info span {
  opacity: 0.7;
  font-size: 0.9rem;
}

.controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.controls button {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.controls button:hover {
  opacity: 1;
}

#play-pause-btn {
  font-size: 2.5rem;
}

.progress-container {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 500px;
  gap: 1rem;
  font-size: 0.9rem;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: #333;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #00ffcc;
  transition: width 0.1s linear;
}

.sales-wrapper {
  max-width: 1000px;
  margin: auto;
  padding: 5rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #222;
  background: rgba(255,255,255,0.03);
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 600;
}

.stat-label {
  opacity: 0.6;
}

.stat-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.15);
}

.stat-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #00ffcc;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .hero-right {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .summary-wrapper,
  .music-wrapper,
  .sales-wrapper {
    padding: 4rem 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.stat-number,
.stat-title,
.stat-label {
  display: block;
  text-align: center;
  width: 100%;
}

.stat-label {
  margin-top: auto;
  opacity: 0.75;
}

button,
.controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.stat-link {
  position: relative;
  overflow: hidden;
}

.stat-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-url);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  filter: saturate(1.05);
}

.stat-link:hover::before {
  opacity: 0.22;
}

.stat-link > * {
  position: relative;
  z-index: 1;
}

.music-library {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-height: 75vh;
}

.song-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
}

.song-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

.song-info strong,
.song-info span {
  text-align: left;
}

.controls {
  justify-content: center;
  min-width: 90px;
}

@media (max-width: 700px) {
  .chapters {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    bottom: 12px;
    padding: 0 12px;
    max-width: calc(100vw - 24px);
  }

  .projects-grid,
  .summary-wrapper,
  .sales-wrapper,
  .quotes-wrapper,
  .about-wrapper,
  main {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .player-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
  }

  .current-song {
    min-width: 0;
    width: 100%;
    justify-content: center;
    gap: 0.8rem;
  }

  .progress-container {
    width: 100%;
  }

  .controls button {
    font-size: 2.3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .song-item img {
    width: 48px;
    height: 48px;
  }
}
