/* Global Styles */
* {
  box-sizing: border-box;
}


body {
  margin: 0;
  padding: 0;     /* REMOVE BOTTOM PADDING */
  background: #0d0d0d;
  color: #e5e5e5;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}


/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 325px;
  height: 100vh;
  background: #111;
  padding: 2.5rem 2rem;         /* ← More padding = cleaner spacing */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid #1f1f1f;
  z-index: 1000;
}

.sidebar-header {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 3rem;
}

.sidebar-header .name {
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 0 0.3rem 0;
}

.sidebar-header .title {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.sidebar-nav {
  flex: 1;
  margin-bottom: 8rem;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-nav li {
  margin: 0;
}

.sidebar-nav a {
  color: #d6d6d6;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* --------------------------------------------- */
/* SIDEBAR: Smooth Spotify-Green Hover Styling   */
/* --------------------------------------------- */

/* Normal link styling */
.sidebar-nav a {
  color: #d6d6d6;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: 0.25s ease;
}

/* Icon size + transition */
.sidebar-nav a img {
  width: 22px;
  height: 22px;
  transition: 0.25s ease;
}

/* Hover: background pops + text green */
.sidebar-nav a:hover {
  background: #1c1c1c;
  color: #1DB954;
  transform: scale(1.03);
}

/* Hover: convert PNG icon to pure Spotify green */
.sidebar-nav a:hover img {
  filter: invert(54%) sepia(78%) saturate(749%) 
          hue-rotate(94deg) brightness(95%) contrast(90%);
}

/* --------------------------------------------- */
/* ACTIVE PAGE (Home, Projects, Books, etc.)     */
/* --------------------------------------------- */

.sidebar-nav a.active {
  background: #1c1c1c;
  color: #1DB954;
  transform: scale(1.03);
}

.sidebar-nav a.active img {
  filter: invert(54%) sepia(78%) saturate(749%) 
          hue-rotate(94deg) brightness(95%) contrast(90%);
}


.sidebar-footer {
  margin-top: auto;
  padding-top: 1.5rem;   /* increased spacing from the line */
  border-top: 1px solid #7b7b7b;
  display: flex;
  justify-content: center;
  gap: 1.5rem;

  margin-bottom: 65px !important; /* where the whole block sits */
}




.sidebar-footer a {
  color: #bdbdbd;
  text-decoration: none;
  transition: 0.2s ease;
}

.sidebar-footer a:hover {
  color: white;
}

/* Main Content - PERFECTLY CENTERED TO PLAY BUTTON */
main {
  margin-left: 325px;
  width: calc(100vw - 325px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0;
  padding-right: 15px;
  padding-bottom: 0; /* remove extra gap */

}

/* Card Base */
.card {
  background: #1b1b1b;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  margin-bottom: 32px;
  width: 100%;
  max-width: 1150px;
}

.card-inner {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for Spotify and Strava cards */
.grid .card:hover .card-inner {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.card-inner strong {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #b3b3b3;
  font-weight: 600;
}

.card-badge img {
  height: 16px;
  width: 16px;
  object-fit: contain;
  opacity: 0.85;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px;
  margin-bottom: 32px;
    margin-top: 100px;   /* adjust bigger/smaller */

}

.hero-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.pfp-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.pfp {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
}

.pfp-badge {
  position: absolute;
  bottom: 0;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent !important;
  padding: 0;  /* optional — prevents extra black halo if PNG already has padding */
  box-shadow: none; /* optional — remove glow if you want pure clean icon */
}


.hero-info {
  flex: 1;
}

.hero-name {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.hero-title {
  margin: 8px 0 16px 0;
  color: #b3b3b3;
  font-size: 1rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Reset any unwanted glow on the text */
.hero-bullets li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #d9d9d9;
  position: relative;
  padding-left: 16px;
  text-shadow: none !important;     /* ← stops glowing text */
}

/* Glow only the bullet, not the text */
.hero-bullets li::before {
  content: "●";
  color: #1DB954;
  position: absolute;
  left: 0;
  font-size: 10px;

  /* Optional glow for bullet only */
  text-shadow: 0 0 6px #1DB954;      /* ← glowing bullet */
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  flex-shrink: 0;
}

.hero-stat {
  text-align: right;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: #b3b3b3;
  display: block;
  margin-top: 2px;
}

.projects-section {
  margin-bottom: 32px;
  width: 100%;
  max-width: 1150px;
}

.projects-section h2 {
  margin: 0 0 6px 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.projects-subtitle {
  margin: 0 0 24px 0;
  font-size: 0.95rem;
  color: #b3b3b3;
}

.project-carousel-container,
.proj-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0 60px;
}

.proj-carousel {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding: 0 60px;
}

.proj-carousel::-webkit-scrollbar {
  display: none;
}

/* Project Cards */
.proj-card {
  min-width: 230px;
  width: 230px;
  flex-shrink: 0;
  background: #111;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.proj-img-wrap {
  width: 230px;
  height: 230px;
  background: #222;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* SPOTIFY GREEN PLAY BUTTON */
.proj-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  background: #1DB954;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.proj-card:hover .proj-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.proj-card:hover .proj-img-wrap img {
  opacity: 0.3;
}
.proj-play img {
  opacity: 1 !important;
}

.proj-info {
  padding: 16px;
}

.proj-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #fff;
}

.proj-card:hover .proj-title {
  color: #1DB954;
  transition: color 0.3s ease;
}

.proj-sub {
  font-size: 0.85rem;
  color: #b3b3b3;
  margin: 0 0 10px 0;
}

.proj-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  font-weight: 600;
}

.proj-skills::before {
  content: "";
  display: none;
}

.tag {
  display: inline-block;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  color: #ccc;
  margin-right: 4px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.proj-skills span,
.proj-skills .tag {
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  color: #ccc;
  font-weight: 500;
}

.proj-date {
  font-size: 0.75rem;
  color: #888;
  margin: 4px 0 0 0;
}

/* Navigation Arrows */
.proj-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.9);
  cursor: pointer;
  font-size: 20px;
  color: white;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.proj-arrow:hover {
  background: rgba(50, 50, 50, 0.95);
  transform: translateY(-50%) scale(1.05);
}

.proj-arrow.proj-left {
  left: 8px;
}

.proj-arrow.proj-right {
  right: 8px;
}

/* Fade edges */
.project-carousel-container::before,
.project-carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

.project-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #1b1b1b 30%, transparent);
}

.project-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #1b1b1b 30%, transparent);
}

/* Grid for Strava + Spotify */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
  width: 100%;
  max-width: 1150px;
}

.grid > .card {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Spotify & Strava Headers */
.card h2 {
  margin: 0 0 16px 0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* NOW PLAYING */
.now-playing {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 20px;
}

.now-playing img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.history-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.history-artist {
  font-size: 0.9rem;
  opacity: 0.75;
}

.now-playing-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1DB954;
  white-space: nowrap;
}

.np-divider {
  border: none;
  border-top: 1px solid #333;
  margin: 16px 0;
}

/* SPOTIFY HISTORY */
#history {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.history-left img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.history-time {
  font-size: 0.8rem;
  opacity: 0.7;
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}

.strava-list {

  display: flex;
  flex-direction: column;
  gap: 35px;      /* your spacing stays */
  flex-grow: 1;   /* pushes content downward */
  padding-top: 10px;   /* <— add this */

  padding-bottom: 0;  /* <<< FIX: removes unwanted space */
}


.strava-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;

    /* ✨ animation */
    opacity: 0;
    transform: translateY(12px);
    animation: stravaFade 0.45s ease-out forwards;
}
@keyframes stravaFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.strava-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.strava-left img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.strava-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strava-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.strava-sub {
  font-size: 0.9rem;
  opacity: 0.75;
}

.strava-time {
  font-size: 0.8rem;
  opacity: 0.7;
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}

#strava-summary {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #333;
  text-align: center;
}

#strava-summary h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.summary-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 0.9rem;
}

.summary-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label {
  font-size: 0.75rem;
  opacity: 0.7;
}

.summary-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.cover-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 200px;
}

.player-text {
  display: flex;
  flex-direction: column;
}

.track-name {
  font-weight: bold;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.artist-name {
  font-size: 0.8rem;
  color: #aaa;
}

/* Center controls absolutely */
.player-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.play-icon {
  height: 50px;
}

.player-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 200px;
  margin-left: auto;
}

.time-label {
  font-size: 0.75rem;
  color: #aaa;
}

.progress-bar {
  flex-grow: 1;
  height: 4px;
  border-radius: 5px;
  background: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
  background: transparent;
  border: none;
}

.progress-bar::-moz-range-thumb {
  appearance: none;
  width: 0;
  height: 0;
  background: transparent;
  border: none;
}

/* Play button overlay */
.proj-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;

  /* Your PNG already contains the circle + border */
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Dim image on hover */
.proj-card:hover .proj-img-wrap img {
  opacity: 0.3;
}

/* Disabled arrow style */
.proj-arrow.disabled {
  opacity: 0.25;
  pointer-events: none;
  filter: grayscale(100%);
}
.sidebar-nav li:first-child {
  margin-top: 40px;   /* adjust this number until it looks perfect */
}

/* COMING SOON badge */
.proj-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);

  background: #1DB954;                 /* black background */
  color: #000;                   /* spotify green text */
  
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;

  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 12px rgba(29, 185, 84, 0.4);   /* green glow */
}

/* show on hover */
.proj-card:hover .proj-soon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* dim image on hover (same as play button cards) */
.proj-card:hover .proj-img-wrap img {
  opacity: 0.3;
}

/* Center controls */
.player-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Icons */
.control-icon {
  height: 32px;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.15s ease;
}

.control-icon:hover {
  opacity: 1;
}

/* Bigger play/pause button */
.play-icon {
  height: 50px;
}


/* Progress bar styling */
.player-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 200px;
  margin-left: auto;
}

/* Time text */
.time-label {
  font-size: 0.75rem;
  color: #aaa;
}

/* Slider track */
.progress-bar {
  flex-grow: 1;
  height: 4px;
  border-radius: 5px;
  background: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

/* GREEN progress fill (Chrome) */
.progress-bar::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    #1DB954 var(--progress, 0%),
    #333 var(--progress, 0%)
  );
  height: 4px;
  border-radius: 4px;
}

/* GREEN progress fill (Firefox) */
.progress-bar::-moz-range-track {
  background: #333;
  height: 4px;
  border-radius: 4px;
}

.progress-bar::-moz-range-progress {
  background: #1DB954;
  height: 4px;
  border-radius: 4px;
}

/* Hide slider thumb */
.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 0;
  background: transparent;
}

.progress-bar::-moz-range-thumb {
  width: 0;
  height: 0;
  background: transparent;
}
.player-controls img {
  pointer-events: auto;
  cursor: pointer;
  z-index: 9999;
}


/* --- FINAL FIX: PERFECTLY MATCHED PLAY & PAUSE BUTTONS --- */

#play-btn,
#pause-btn {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain;
  flex-shrink: 0 !important;
}

/* Make arrows slightly spaced */
#prev-btn,
#next-btn {
  margin: 0 25px;
}


/* --- LOCK ARROW SPACING --- */
.player-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;

  gap: 40px; /* was 28–30, now wider */
}


.control-icon {
  height: 32px;
  width: 32px;
  object-fit: contain;
}
.progress-bar::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    #1DB954 var(--progress, 0%),
    #333 var(--progress, 0%)
  );
  height: 4px;
  border-radius: 4px;
}
.progress-bar::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    #1DB954 var(--progress, 0%),
    #333 var(--progress, 0%)
  );
  height: 4px;
  border-radius: 4px;
}
/* --- BIGGER & CLEANER STICKY PLAYER --- */
.sticky-player {
  position: fixed;
  bottom: 0;
  left: 325px;
  right: 0;
  height: 110px;                  /* ⬆️ was 72px */
  background-color: #111;
  display: flex;
  align-items: center;
  padding: 18px 32px;             /* ⬆️ larger padding */
  z-index: 999;
  border-top: 1px solid #333;
}

/* Larger album cover */
.cover-img {
  width: 72px;                    /* ⬆️ was 48px */
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

/* Track text more readable */
.player-text .track-name {
  font-size: 1.2rem;              /* ⬆️ was 0.95rem */
  font-weight: 700;
  max-width: 200px;
}

.player-text .artist-name {
  font-size: 0.95rem;             /* ⬆️ was 0.8rem */
  opacity: 0.85;
}

/* Center controls - made bigger */
.player-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 45px;                      /* ⬆️ spacing between arrows */
}

/* Larger arrow icons */
.control-icon {
  height: 40px;                   /* ⬆️ was 32px */
  width: 40px;
  opacity: 0.9;
}

.control-icon:hover {
  opacity: 1;
}

/* Huge play/pause button like Salem’s */
#play-btn,
#pause-btn {
  width: 80px !important;          /* ⬆️ was 60px */
  height: 80px !important;
  object-fit: contain;
}

/* Progress bar area larger */
.player-progress {
  display: flex;
  align-items: center;
  gap: 12px;                       /* more space */
  width: 280px;                    /* ⬆️ was ~200px */
  margin-left: auto;
}

/* Bigger time label text */
.time-label {
  font-size: 0.9rem;               /* ⬆️ was 0.75rem */
}

/* Thicker progress bar */
.progress-bar {
  flex-grow: 1;
  height: 6px;                     /* ⬆️ was 4px */
  border-radius: 6px;
  background: #333;
}


.marker {
    position: absolute;
    width: 6px;              /* THICKER line */
    height: 55px;            /* much bigger */
    background: #00ff99;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,255,150,0.8);
    cursor: pointer;
    opacity: 0;
    transition: 0.25s ease;
}

/* circle on top or bottom */
.marker::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: #00ff99;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,255,150,0.8);
}

/* UP marker (circle on top) */
.marker.up {
    transform: translateY(-140px);
}
.marker.up::before {
    top: -20px;  /* circle above */
    left: 50%;
    transform: translateX(-50%);
}

/* DOWN marker (circle on bottom) */
.marker.down {
    transform: translateY(140px);
}
.marker.down::before {
    bottom: -20px; /* circle below */
    left: 50%;
    transform: translateX(-50%);
}

/* Hover effect */
.marker:hover {
    height: 75px;
    background: #00ffcc;
    box-shadow: 0 0 18px rgba(0,255,190,1);
}
.marker:hover::before {
    background: #00ffcc;
}

/* Tooltip */
.marker::after {
    content: attr(data-label);
    position: absolute;
    bottom: 130%;
    left: 50%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    background: rgba(0,0,0,0.75);
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

.marker.down::after {
    top: 130%;
    bottom: auto;
}

.marker:hover::after {
    opacity: 1;
}

/* Reveal when visible */
.journey-section.visible .marker {
    opacity: 1;
}
#journey-wave {
    filter: drop-shadow(0 0 8px #00ff99aa);
    
}
.proj-card {
  min-width: 280px;      /* ⬅️ Salem size */
  width: 280px;
}
.proj-img-wrap {
  width: 280px;
  height: 280px;         /* ⬅️ square and bigger */
}
.hero {
  margin-bottom: 60px;  /* ⬅️ matches salem.dev layout */
}
.project-carousel-container {
  padding: 0 80px;       /* wider, cleaner spacing */
}
.proj-info {
  position: relative;        /* enable anchoring */
  padding-bottom: 32px;      /* space so date doesn’t overlap */
  min-height: 140px;         /* ensures uniform height across cards */
}

.proj-date {
  position: absolute;
  bottom: 0;
  left: 16px;                /* aligns perfectly with title padding */
  margin: 0;
}
/* SECTION WRAPPER */
.bring-section {
    width: 100%;
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TITLE */
.bring-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}
.bring-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* INNER GRID — left stays still, right slides in */
.bring-inner {
    width: 1150px;
    display: grid;
    grid-template-columns: 1fr 420px;
    column-gap: 120px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}
.bring-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

/* LEFT LIST */
.bring-left {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.bring-row {
    display: grid;
    grid-template-columns: 30px 1fr 40px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}
.bring-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.bring-num {
    font-size: 16px;
    opacity: 0.6;
}

.bring-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.bring-info p {
    margin: 3px 0 0;
    opacity: 0.8;
}

/* ICON ANIMATION */
.icon-wrap {
    width: 26px;
    height: 26px;
    position: relative;
}

.plus, .checkmark {
    position: absolute;
    width: 26px;
    left: 0;
    top: 0;
    transition: 0.35s ease;
}

.plus { opacity: 1; }
.checkmark { opacity: 0; }

.icon-wrap.checked .plus { opacity: 0; }
.icon-wrap.checked .checkmark { opacity: 1; }

/* CONFETTI */
.confetti-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.confetti {
    width: 6px;
    height: 6px;
    border-radius: 2px;
    position: absolute;
    animation: confettiPop 0.75s forwards ease-out;
}

@keyframes confettiPop {
    0%   { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)) scale(.4); opacity: 0; }
}

/* RIGHT SIDE */
.skills-area {
    opacity: 0;
    transform: translateX(50px);
    transition: 0.8s ease;
}

.skills-area.visible {
    opacity: 1;
    transform: translateX(0);
}

.skills-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 110px);
    gap: 35px 40px;
}

.skill-icon {
    width: 110px;
    opacity: 0.92;
}
/* -------------------------------------------
   BRING SECTION — FINAL FIXES
------------------------------------------- */

/* Title */
.bring-title {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease;
}
.bring-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main wrapper (WAS INVISIBLE FOREVER) */
.bring-inner {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.8s ease;
}
.bring-inner.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Left-side rows */
.bring-row {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}
.bring-row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Icons (plus/check swap) */
.icon-wrap {
    position: relative;
    width: 26px;
    height: 26px;
}
.plus, .checkmark {
    position: absolute;
    width: 26px;
    top: 0;
    left: 0;
    transition: 0.35s ease;
}
.plus { opacity: 1; }
.checkmark { opacity: 0; }
.icon-wrap.checked .plus { opacity: 0; }
.icon-wrap.checked .checkmark { opacity: 1; }

/* Confetti animation */
.confetti {
    width: 6px;
    height: 6px;
    border-radius: 2px;
    position: absolute;
    animation: confettiPop 0.75s forwards ease-out;
}

@keyframes confettiPop {
    0%   { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)) scale(.4); opacity: 0; }
}

/* Skills section sliding in */
.skills-area {
    opacity: 0;
    transform: translateX(60px);
    transition: 0.8s ease;
}
.skills-area.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== BRING SECTION — FINAL CLEAN VERSION ========== */

.bring-section {
    width: 100%;
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title */
.bring-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}
.bring-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main Grid */
.bring-inner {
    width: 1150px;
    display: grid;
    grid-template-columns: 1fr 500px;
    column-gap: 120px;
    opacity: 1; /* keep visible */
}

/* LEFT LIST */
.bring-left {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.bring-row {
    display: grid;
    grid-template-columns: 30px 1fr 40px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}
.bring-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.bring-num {
    font-size: 16px;
    opacity: 0.6;
}

.bring-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.bring-info p {
    opacity: 0.75;
    margin-top: 4px;
}

/* CHECKMARK ANIMATION */
.icon-wrap {
    width: 26px;
    height: 26px;
    position: relative;
}

.plus, .checkmark {
    position: absolute;
    width: 26px;
    top: 0;
    left: 0;
    transition: 0.35s ease;
}

.plus { opacity: 1; }
.checkmark { opacity: 0; }

.icon-wrap.checked .plus { opacity: 0; }
.icon-wrap.checked .checkmark { opacity: 1; }

/* Confetti */
.confetti-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.confetti {
    width: 6px;
    height: 6px;
    border-radius: 2px;
    position: absolute;
    animation: confettiPop 0.75s forwards ease-out;
}

@keyframes confettiPop {
    0% { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)) scale(.4); opacity: 0; }
}

/* RIGHT SIDE CARD */
.skills-area {
    opacity: 0;
    transform: translateX(50px);
    transition: 0.8s ease;
}
.skills-area.visible {
    opacity: 1;
    transform: translateX(0);
}

.skills-card {
    background: #151515;
    border: 1px solid #333;
    padding: 28px;
    border-radius: 16px;
}

.skills-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.skills-section {
    margin-bottom: 26px;
}

.skills-section h4 {
    font-size: 15px;
    margin-bottom: 10px;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 8px;
    background: #222;
    border: 1px solid #333;
    font-size: 0.85rem;
}

/* ===== LUGGAGE BELT ===== */
.luggage-belt {
    margin-top: 100px;
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
}

.belt-track {
    display: flex;
    gap: 40px;
    animation: beltMove 18s linear infinite;
}

.belt-track img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    opacity: 0.95;
}

.badge {
    background: #222;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #333;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.badge:hover {
    animation: shake 0.25s ease-in-out 1;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-1px); }
    100% { transform: translateX(0); }
}
.luggage-belt {
    position: relative;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 35px 0;
    scrollbar-width: none;
}
.luggage-belt::-webkit-scrollbar { display: none; }

#belt-track {
    display: inline-flex;
    align-items: center;
    gap: 55px;
}

#belt-track img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    opacity: 0.9;
    pointer-events: none;
}
/* ============================
   INFINITE BELT (FINAL VERSION)
===============================*/

#infinite-belt {
    position: relative;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 35px 0;
    scrollbar-width: none;
}
#infinite-belt::-webkit-scrollbar {
    display: none;
}

.belt-track {
    display: inline-flex;
    align-items: center;
    gap: 55px;
}

.belt-track img {
    width: 95px;
    height: 95px;
    object-fit: contain;
    opacity: 0.92;
    pointer-events: none;
    user-select: none;
}

/* Makes drag scrolling smoother */
#infinite-belt.dragging {
    cursor: grabbing;
    scroll-behavior: auto !important;
}
/* ======================================
   INFINITE BELT — ONE SET OF IMAGES
   Perfect seamless loop
======================================*/

#infinite-belt {
    width: 100%;
    overflow: hidden;
    padding: 35px 0;
}

.belt-track {
    display: inline-flex;       /* important: inline-flex = wraps naturally */
    align-items: center;
    gap: 55px;
    animation: beltScroll 16s linear infinite;
    white-space: nowrap;        /* prevents line breaks */
}

.belt-track img {
    width: 95px;
    height: 95px;
    object-fit: contain;
    opacity: 0.92;
    pointer-events: none;
    user-select: none;
}

/* 🔥 True infinite scroll WITHOUT duplicating HTML */
@keyframes beltScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);  /* slide entire belt width out */
    }
}


.luggage-belt {
    width: 100%;
    overflow: hidden;
    padding: 35px 0;
}

.belt-wrapper {
    display: flex;
    flex-direction: row;
    width: max-content;
    will-change: transform;
}

.belt-track {
    display: inline-flex;
    gap: 55px;
    align-items: center;
}

.belt-track img {
    width: 95px;
    height: 95px;
    object-fit: contain;
    opacity: 0.92;
    pointer-events: none;
    user-select: none;
}

.luggage-belt {
    width: 100%;
    overflow: hidden;
    padding: 35px 0;
}

.belt-wrapper {
    display: flex;
    flex-direction: row;
    width: max-content;
    will-change: transform;
}

.belt-track {
    display: inline-flex;
    gap: 55px;
    align-items: center;

    /* FIXES YOUR GAP — ADD THIS */
    padding-left: 55px;
}

.belt-track img {
    width: 95px;
    height: 95px;
    object-fit: contain;
    opacity: 0.92;
    pointer-events: none;
    user-select: none;
}
.belt-track, .belt-track img {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.belt-track img {
    image-rendering: -webkit-optimize-contrast;
}
/* -------------------------------------------------------- */
/*   SMOOTH PLUS → CHECKMARK (slowed for Spotify smoothness) */
/* -------------------------------------------------------- */

.icon-wrap {
    position: relative;
    width: 26px;
    height: 26px;
}

.icon-wrap img {
    transition: opacity 0.42s ease,
                transform 0.42s cubic-bezier(.22, .61, .36, 1);
}


/* plus icon default */
.icon-wrap .plus {
    opacity: 1;
    transform: scale(1);
}

/* plus fades + shrinks */
.icon-wrap.checked .plus {
    opacity: 0;
    transform: scale(0.5);
}

/* checkmark starts tiny + transparent */
.icon-wrap .checkmark {
    opacity: 0;
    transform: scale(0.4);
}

/* checkmark becomes visible smoothly */
.icon-wrap.checked .checkmark {
    opacity: 1;
    transform: scale(1);
}

/* confetti container */
.confetti-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    top: 0;
    left: 0;
}


/* ------------------------------------------- */
/*   SPOTIFY BURST CONFETTI (SLOW, SMOOTH)     */
/* ------------------------------------------- */

.confetti {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.8px);
    opacity: 1;

    animation: spotifyBurst 1000ms cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes spotifyBurst {
    0% {
        transform: translate(0,0) scale(0.55);
        opacity: 1;
    }
    40% {
        opacity: 0.9;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0.32);
        opacity: 0;
    }
}
.confetti {
    width: 4.5px;  /* thicker but not cartoon */
    height: 4.5px;
    border-radius: 2px;
    position: absolute;
    opacity: 1;
    animation: spotifyBurst 1400ms cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes spotifyBurst {
    0% {
        transform: translate(0,0) scale(1);
        opacity: 1;
    }
    60% {
        opacity: 0.85;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0.5);
        opacity: 0;
    }
}
/* EXPERIENCE SECTION */
.experience-section {
    width: 100%;
    max-width: 1400px;
    margin: 90px auto 40px auto;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

/* Slide-in animation */
.slide-in-left {
    opacity: 0;
    transform: translateX(-35px);
    animation: slideInLeft 0.7s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Experience card styling */
.exp-card {
    background: #181818;
    border: 1px solid #2b2b2b;
    padding: 30px;
    border-radius: 14px;
    margin-bottom: 35px;
}

/* Header */
.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.exp-role {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.exp-company {
    margin: 4px 0 0 0;
    color: #bbb;
    font-size: 0.95rem;
}

.exp-date {
    color: #aaa;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Summary paragraph */
.exp-summary {
    margin: 18px 0;
    color: #ccc;
    font-size: 0.96rem;
    line-height: 1.5;
}

/* CONSISTENT TAG STYLE ACROSS PORTFOLIO */
.exp-tags span {
    display: inline-block;
    background: #222;
    border: 1px solid #333;
    padding: 6px 12px;
    border-radius: 8px;
    margin-right: 8px;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #d0d0d0;
    transition: 0.2s ease;
}

.exp-tags span:hover {
    background: #2c2c2c;
    border-color: #3d3d3d;
}
.section-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 40px 0;    /* tighter than before */
}
.bring-section {
    padding-bottom: 40px;   /* was huge before */
}
.bring-inner {
    margin-top: 40px;   /* reduce from 80px or whatever it was */
}
/* tighten top+bottom around bring section */
.bring-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

/* remove giant dead space before experience */
.experience-section {
    margin-top: 30px; /* was way too big */
    margin-bottom: 40px;
}

/* belt spacing small & clean */
.belt-section {
    margin-top: 25px;
    margin-bottom: 25px;
}
/* --- CENTER THE "WHAT I BRING TO THE TEAM" TITLE --- */
.bring-title {
    text-align: center;
    width: 100%;
    margin: 0 auto 40px auto; /* reduced spacing */
}

/* --- FIX GAP BETWEEN SECTIONS --- */
.bring-section {
    margin-bottom: 60px !important; /* used to be 120–150px */
}

.experience-section {
    margin-top: 40px !important;  /* pulls it upward */
    padding-top: 0 !important;
}

/* --- ALIGN EXPERIENCE SECTION WITH 1500PX CARD WIDTH --- */
.experience-section {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* --- EXPERIENCE CARD SPACING MATCH PROJECT CARDS --- */
.exp-card {
    margin-top: 20px !important;
    padding: 32px !important;
    border-radius: 14px !important;
    background: #111 !important;
    border: 1px solid #222;
}

/* --- HOVER EFFECT TO MATCH YOUR PROJECT CARDS --- */
.exp-card:hover {
    transform: translateY(-2px);
    transition: all 0.25s ease;
    border-color: rgba(255,255,255,0.08);
    background: #161616;
}

/* --- FADE IN FROM LEFT (same timing as skills-card) --- */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.experience-section,
.experience-section .exp-card {
    animation: fadeInLeft 0.9s ease-out forwards;
    opacity: 0;
}

/* Stagger card animation slightly */
.experience-section .exp-card {
    animation-delay: 0.25s;
}
/* ========================================================= */
/* ⭐ EXPERIENCE SECTION — REMOVE HUGE GAP + ALIGN CLEAN ⭐ */
/* ========================================================= */

/* Pull experience section up tighter */
.experience-section {
    margin-top: 60px !important;   /* was massive before */
    padding-top: 0 !important;
}

/* Align experience card container to same width as other cards */
.experience-section .exp-card {
    width: 1150px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px !important;   /* tighten gap above card */
}

/* Fade-in from left animation */
.experience-section {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.experience-section.visible {
    opacity: 1;
    transform: translateX(0);
}


/* ========================================================= */
/* ⭐ WHAT I BRING TO THE TEAM — CENTER + TIGHTER GAP ⭐ */
/* ========================================================= */


.bring-title {
    text-align: center;
    width: 100%;
    margin-bottom: 40px !important;
}


/* ========================================================= */
/* ⭐ TYPEWRITER EFFECT FOR THE SECTION TITLE ⭐ */
/* ========================================================= */

.typewriter {
    display: inline-block;
    border-right: 3px solid #fff;
    white-space: nowrap;
    overflow: hidden;
    font-size: 42px;
    animation: caret 0.75s step-end infinite;
}

@keyframes caret {
    50% { border-color: transparent; }
}
.section-container {
    padding-bottom: 40px !important;
}
/* ============================
   FIX 1 — REMOVE GIANT GAP
   ============================ */
.bring-section {
    margin-top: 40px !important;        /* was 180px → causing huge black void */
    padding-top: 0 !important;
}

.section-container {
    padding-bottom: 40px !important;    /* was 120px → pushing content downward */
}


/* ============================
   FIX 2 — CENTER TITLE PERFECTLY
   ============================ */
.bring-title {
    text-align: center !important;
    width: 100%;
    display: block;
    margin: 0 auto 40px auto !important;
}


/* ============================
   FIX 3 — ALIGN EXPERIENCE BELOW
   ============================ */
.experience-section {
    margin-top: 60px !important;  /* removes gap */
    padding-top: 0 !important;
}

.exp-card {
    width: 1150px;           /* matches skills + projects width */
    margin: 0 auto;          /* center perfectly */
    animation: expSlide 0.8s ease forwards;
    opacity: 0;
}

@keyframes expSlide {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}


/* ============================
   FIX 4 — CONSISTENT SPACING
   ============================ */
.bring-inner {
    max-width: 1150px !important;
    margin: 0 auto !important;
}

.skills-area {
    margin-top: 20px !important;
}


/*   FINAL GAP TIGHTENING FIXES    */
/* =============================== */

/* Pull "What I Bring to the Team" higher */
#bring-section {
    margin-top: -18px !important;  /* slightly more lift than before */
}

/* Tighter layout inside */
.bring-section .section-container {
    margin-top: -12px !important;  /* small squeeze */
}

/* Title adjustment (very slight pull-up) */
.bring-title {
    margin-top: -6px !important;
}

/* =============================== */
/*   EXPERIENCE SECTION FIX        */
/* =============================== */

/* Pull entire Experience block up so it sits just under “6” */
.experience-section {
    margin-top: -75px !important;   /* THIS is the magic tightening */
}

/* Pull the “Experience” title up even more */
.experience-section .section-title {
    margin-top: -6px !important;
}

/* Reduce dead space before the exp card */
.exp-card {
    margin-top: 4px !important;      /* was 10 — now sits snug */
}
/* =============================== */
/*   EXPERIENCE FADE-IN ANIMATION */
/* =============================== */

/* Fade + slide from the left */
@keyframes expFadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply the animation to the Experience card container */
.experience-section .exp-card {
    opacity: 0;                    /* start invisible */
    animation: expFadeInLeft 1s ease-out forwards;
    animation-delay: 0.3s;         /* slight delay for smooth reveal */
}
/* Hidden before scroll */
/* EXPERIENCE — hidden before scroll */
.exp-card {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1.4s ease, transform 1.4s ease; /* slower fade */
}

.exp-card.go {
    opacity: 1;
    transform: translateX(0);
}
/* Make Experience card full-width like others */
.experience-section .exp-card {
    width: 100%;
    max-width: 1150px;    /* match other cards */
    margin: 0 auto;       /* center it */
}
/* TIGHTEN GAP BETWEEN EXPERIENCE CARD AND BELT */
.belt-section {
    margin-top: -35px !important;   /* pull belt upward */
    padding-top: 0 !important;
}

.luggage-belt {
    margin-top: 0 !important;
}

.exp-card {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 2s ease-out, transform 2s ease-out;
}


.exp-card.go {
    opacity: 1;
    transform: translateX(0);
}
#bw-type {
    border-right: 3px solid #fff;
    padding-right: 4px;
    animation: blinkCursor 0.8s step-end infinite;
}

@keyframes blinkCursor {
    50% { border-color: transparent; }
}
/* ============================
   MUSIC CARD HEADER
===============================*/
.music-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.music-header-icon {
  width: 32px;
  height: 32px;
  opacity: 0.9;
  object-fit: contain;
}

.music-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

/* subtitle under title */
.music-subtitle {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: 14px;
}

/* Divider */
.music-divider {
  border: none;
  border-top: 1px solid #444;
  margin: 6px 0 16px 0;
}

/* ============================
   TRACK LIST
===============================*/
.music-track-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Track Row */
.toptrack-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.toptrack-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* album + text */
.toptrack-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* album img wrapper */
.toptrack-img-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
}

.toptrack-img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* 1,2,3,4,5 icon */
.toptrack-rank {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 24px;
  height: 24px;
}

/* hover forward arrow */
.toptrack-arrow img {
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s ease;
}

.toptrack-row:hover .toptrack-arrow img {
  opacity: 1;
  transform: translateX(0);
}

/* ============================
   FOOTER
===============================*/
.music-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  opacity: 0.8;
}

.music-footer-logo {
  width: 18px;
  height: 18px;
}

.footer-dot {
  display: none; /* REMOVE GREEN DOT */
}

/* ============================
   COMING SOON
===============================*/

.music-comingsoon {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 12px;
}

.music-comingsoon li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #ff7a19;
}

.coming-dot {
  width: 7px;
  height: 7px;
  background: #ff7a19;
  border-radius: 50%;
}

/* match template spacing */
.music-inner {
  padding: 28px 30px;
}
.music-header {
  display: flex;
  flex-direction: column;   /* ⬅ THIS stacks icon above title */
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}
/* Adjust photography card header spacing */
.music-card .music-header {
  margin-bottom: 6px;      /* was 8 px */
  padding-top: 4px;        /* new – adds small top breathing room */
}
.music-header-icon {
  width: 32px;
  height: 32px;
}
/* ============================
   MORE THAN CODING — UNIQUE
=============================*/

.morecoding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.morecoding-card {
    background: #1a1a1a;
    border-radius: 14px;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
    min-height: 480px; /* 🎯 FORCE SAME HEIGHT */
    display: flex;
}

.morecoding-card:hover {
    background: #222;
    transform: translateY(-3px);
}

.morecoding-inner {
    padding: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.morecoding-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.morecoding-header-icon {
    width: 50px;
    height: 50px;
    opacity: 0.9;
}

.morecoding-title {
    font-size: 1.35rem;
    font-weight: 600;
}

/* Subtitle */
.morecoding-subtitle {
    font-size: 0.9rem;
    opacity: 0.65;
    margin-top: 6px;
}

/* Divider */
.morecoding-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 16px 0;
}

/* Track List */
.morecoding-track-list {
    flex-grow: 1; /* 🎯 Ensures perfect vertical alignment */
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Footer */
.morecoding-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    margin-top: 20px;
}

.morecoding-footer-logo {
    width: 18px;
}

/* Coming Soon */
.morecoding-comingsoon {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.morecoding-comingsoon li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff7a19;
    font-size: 1rem;
}

.morecoding-dot {
    width: 8px;
    height: 8px;
    background: #ff7a19;
    border-radius: 50%;
}
/* Fix header alignment */
.music-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

/* Icon size / alignment */
.music-header-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    opacity: 0.9;
}

/* Title spacing */
.music-title {
    margin: 0;
    padding: 0;
    transform: translateY(1px); /* centers text better */
}

/* Fix divider alignment */
.music-divider {
    border: none;
    border-top: 1px solid #3a3a3a;
    margin: 10px 0 20px 0;
}

/* Fix inconsistent card heights */
.morecoding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* Ensure both cards match */
.music-card {
    background: #181818;
    border-radius: 12px;
    padding: 0;
    height: 100%;
    display: flex;
}

.music-inner {
    padding: 26px 32px;
    width: 100%;
}

/* Remove hover border outline */
.music-card:hover {
    box-shadow: none !important;
    outline: none !important;
}

/* Smooth gray hover highlight like Strava/Spotify cards */
.music-card:hover .card-inner {
    background: rgba(255, 255, 255, 0.05);
    transition: 0.2s ease;
    border-radius: 12px;
}
.section-title {
    border: none !important;
    margin-bottom: 22px; /* spacing only */
}
/* Standard spacing below the header for BOTH cards */
.morecoding-header {
    margin-bottom: 0.75rem;
}

/* Remove subtitle spacing so it doesn't push the divider */
.morecoding-subtitle {
    margin: 0;
    padding: 0;
}

/* Force the divider into the exact same spot on both cards */
.morecoding-divider {
    margin-top: 0.75rem;   /* MUST match .morecoding-header margin-bottom */
}

/* Add equivalent empty space where the subtitle would be on cards WITHOUT a subtitle */
.morecoding-card:not(:has(.morecoding-subtitle)) .morecoding-divider {
    margin-top: 1.75rem;  /* adjust this to perfectly match the subtitle height */
}
.morecoding-header {
    display: flex;
    flex-direction: column;   /* stack vertically */
    align-items: flex-start;  /* keep left-aligned */
    gap: 0.35rem;             /* small spacing between icon + title */
}

.morecoding-footer {
    display: flex;
    align-items: center;
    gap: 6px;              /* same spacing as your reference */
}

.morecoding-footer span {
    font-size: 0.9rem;     /* match the reference “Live from Spotify” size */
    font-weight: 600;      /* same as <strong> */
}

.morecoding-footer-logo {
    width: 43px;           /* EXACT size from your reference */
    height: 43px;
}
#strava-summary {
    margin-top: 24px;     /* ⬅ NORMAL spacing */
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
}
#more-than-coding {
    margin-top: -40px !important;   /* pull section upward massively */
    padding-top: 0 !important;      /* remove default internal top padding */
}

#more-than-coding .morecoding-grid {
    margin-top: 0 !important;       /* remove auto grid spacing */
    padding-top: 0 !important;      /* remove invisible top padding */
}
/* Remove ALL glow from the text specifically */
.hero-bullets li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #d9d9d9;
  position: relative;
  padding-left: 16px;

  /* HARD RESET: kills glow even if inherited */
  text-shadow: none !important;
  filter: none !important;
}

/* Glow only the bullet */
.hero-bullets li::before {
  content: "●";
  color: #1DB954;
  position: absolute;
  left: 0;
  font-size: 10px;

  /* glowing bullet */
  text-shadow: 0 0 6px #1DB954;
}


/* =========================================================
   SHRINK "RECENTLY PLAYED" SECTION ONLY
   ========================================================= */

/* Header */
.card h2 {
  font-size: 1.3rem !important;
}

/* "Live from Spotify" subtext */
.card strong {
  font-size: 0.75rem !important;
}

/* Now playing area */
.now-playing img {
  width: 50px !important;
  height: 50px !important;
}

.history-title {
  font-size: 0.85rem !important;
}

.history-artist {
  font-size: 0.75rem !important;
}

.now-playing-time {
  font-size: 0.75rem !important;
}

/* Divider spacing */
.np-divider {
  margin: 10px 0 !important;
}

/* History rows */
.history-item {
  padding: 4px 0 !important;
}

.history-time {
  font-size: 0.75rem !important;
}

/* Album icon for history rows */
.history-left img {
  width: 42px !important;
  height: 42px !important;
}

/* --- TOP TRACKS (the bottom 1–5 list) --- */

.toptrack-img {
  width: 40px !important;
  height: 40px !important;
}

.toptrack-rank {
  width: 18px !important;
  height: 18px !important;
}

.toptrack-row {
  padding: 4px 6px !important;
}

.toptrack-row .history-title {
  font-size: 0.85rem !important;
}

.toptrack-row .history-artist {
  font-size: 0.75rem !important;
}

.toptrack-arrow img {
  width: 16px !important;
  height: 16px !important;
}
/* Wrapper around the title & text */
.spotify-header {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

/* Put Spotify badge EXACTLY in the top-right corner */
.spotify-badge {
  position: absolute;
  right: -4px;      /* adjust horizontally */
  top: -10px;       /* adjust vertically */
  width: 32px;
  height: 32px;
}
/* ============================================================
   CARD HEADER BADGE FIX — STRAVA + SPOTIFY
   ============================================================ */

/* Turn the header row into a positioned container */
.card .card-inner > div[style*="justify-content: space-between"] {
  position: relative;
  padding-right: 40px; /* room for badge */
  align-items: flex-start !important;
}

/* Shared styling for the badge container */
.badge-wrap,
.spotify-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 2px;
}

/* Shared styling for label text next to badges */
.badge-wrap strong,
.spotify-header strong {
  font-size: 0.75rem !important;
  opacity: 0.85;
  margin-right: 2px;
}

/* ============================================================
   SPOTIFY BADGE
   ============================================================ */
.spotify-badge {
  position: absolute;
  right: -34px;
  top: -6px;
  width: 26px;
  height: 26px;
  pointer-events: none;
}

/* ============================================================
   STRAVA BADGE
   ============================================================ */

/* Move Strava into its own badge-wrap class */
.card .badge-wrap img[alt="Strava Logo"] {
  position: absolute;
  right: -32px;
  top: -6px;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

/* Fix the inline Strava wrapper so it behaves like Spotify's */
.card .badge-wrap {
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ---------------------------------------------------------
   UNIVERSAL CLEAN HEADER FOR STRAVA + SPOTIFY CARDS
   --------------------------------------------------------- */

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.header-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.header-tag strong {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Make both logos the same size */
.header-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-top: 2px; /* small lift for alignment */
}
/* ======================================================
   STRAVA — PERFECT 1:1 MATCH WITH SPOTIFY ROW SPACING
   ====================================================== */

/* ICON (Spotify = 42px) */
.strava-left img {
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  opacity: 0.9;
}

/* REMOVE all extra spacing between rows */
.strava-item {
  padding: 2px 0 !important;     /* Spotify uses 2–4px */
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.1 !important;
}

/* TIGHTEN text block like Spotify */
.strava-text {
  display: flex;
  flex-direction: column;
  gap: 0px !important;            /* Spotify = ZERO gap */
}

/* TITLE (Spotify’s history-title = 0.85rem ≈ 13.6px) */
.strava-title {
  font-size: 0.85rem !important;
  font-weight: 600;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* SUBTEXT (Spotify artist = 0.75rem) */
.strava-sub {
  font-size: 0.75rem !important;
  opacity: 0.75;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* TIMESTAMP (Spotify = .75rem) */
.strava-time {
  font-size: 0.75rem !important;
  opacity: 0.7;
  white-space: nowrap;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

/* REMOVE hidden vertical padding on the container */
.strava-list {
  gap: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* WEEKLY SUMMARY shrunk to match footer-size text */
#strava-summary {
  margin-top: 8px !important;
  padding-top: 10px !important;
}

#strava-summary h3 {
  font-size: 0.85rem !important;
}

.summary-label,
.summary-value {
  font-size: 0.75rem !important;
}
/* ================================================
   FINAL STRAVA OPTIMIZED SPACING + FONT SIZE
   ================================================ */

/* Icon slightly smaller than Spotify */
.strava-left img {
  width: 36px !important;
  height: 36px !important;
  opacity: 0.9;
}

/* Each exercise row — slimmer but not crushed */
.strava-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0 !important;   /* <— THIS is your magic number */
  margin: 0 !important;
  line-height: 1.15 !important;
}

/* Titles slightly smaller */
.strava-title {
  font-size: 0.80rem !important;   /* reduced from 0.85 */
  font-weight: 600;
  margin: 0 !important;
  line-height: 1.15 !important;
}

/* Subtext smaller too */
.strava-sub {
  font-size: 0.70rem !important;
  opacity: 0.75;
  margin: 0 !important;
  line-height: 1.15 !important;
}

/* Timestamp reduced */
.strava-time {
  font-size: 0.70rem !important;
  opacity: 0.7;
  white-space: nowrap;
  margin: 0 !important;
}

/* Remove internal container padding but keep clean stack */
.strava-list {
  display: flex;
  flex-direction: column;
  gap: 4px !important;   /* <— NOT 0. This fixes your "gap rage" */
  margin: 0 !important;
  padding: 0 !important;
}

/* Clean spacing before Weekly Summary */
#strava-summary {
  margin-top: 12px !important;   /* <— space between last workout + summary */
  padding-top: 12px !important;
  border-top: 1px solid rgba(255,255,255,0.08);
}
/* ==== STRAVA — Increase gap + slightly smaller timestamps ==== */

/* Increase spacing between each exercise */
.strava-list {
  display: flex;
  flex-direction: column;
  gap: 22px !important;   /* <— raised from 4px → 10px */
  margin: 0 !important;
  padding: 0 !important;
}

/* Smaller timestamps (but still readable) */
.strava-time {
  font-size: 0.65rem !important;   /* was 0.70 */
  opacity: 0.65;
  white-space: nowrap;
  margin: 0 !important;
  line-height: 1.1 !important;
}

/* ==============================================
   RESPONSIVE STACKED VIEW (NO HTML CHANGES)
   Applies ONLY when window is narrowed
================================================ */

@media (max-width: 1250px) {

    /* Sidebar becomes top bar */
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #1f1f1f;
        padding: 20px;
    }

    .sidebar-nav ul {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    /* Main expands under collapsed sidebar */
    main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 18px;
    }

    /* HERO — stack left + right vertically */
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-right {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    /* PROJECT CAROUSEL — full width */
    .project-carousel-container {
        padding: 0 !important;
    }
/* Always keep cards in a clean horizontal row */
.proj-carousel {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(260px, 1fr) !important;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;   /* hide scrollbar */
}

.proj-carousel::-webkit-scrollbar {
    display: none;
}

/* Allow cards to shrink instead of creating gaps */
.proj-card {
    width: 100% !important;
    min-width: 0 !important;
}


    /* Grid (Spotify + Strava) becomes vertical */
    .grid {
        grid-template-columns: 1fr !important;
    }

    /* What I Bring — stack left and right */
    .bring-inner {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        padding: 0;
        gap: 40px;
    }

    .skills-area {
        margin-top: 20px;
    }

    /* EXPERIENCE spacing */
    .experience-section {
        padding: 0 5px;
    }

    /* Belt full width */
    .belt-section {
        padding: 0 5px;
    }

    /* JOURNEY wave smaller margins */
    .journey-section {
        padding-bottom: 140px !important;
    }

    #journey-wave {
        height: 180px !important;   /* adjust as you like */
    }


    /* STICKY PLAYER auto-align for mobile */
    .sticky-player {
        left: 0 !important;
        height: 90px !important;
        padding: 12px 18px !important;
    }

    .player-controls {
        position: relative;
        left: auto;
        transform: none;
        justify-content: center;
        width: 100%;
    }

    .player-progress {
        width: 180px;
    }
    /* More than Coding — stack vertically */
    .morecoding-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

/* Fix misaligned HOME nav item */
.sidebar-nav ul {
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-nav li {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Normalize icons */
.sidebar-nav a img {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

/* Align icon + text perfectly */
.sidebar-nav a {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
}

    .sidebar-header {
        margin-top: 18px !important;
        margin-bottom: 16px !important;
    }

    .sidebar-nav {
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }
    .sticky-player {
        padding-right: 40px !important;
    }
    #bring-section {
        margin-bottom: 20px !important;
        padding-bottom: 0 !important;
    }

    /* Bring Technical Skills closer to Experience */
    .skills-area {
        margin-bottom: 10px !important;
    }

    /* Reduce spacing inside bring-inner */
    .bring-inner {
        gap: 20px !important;
        margin-bottom: 0 !important;
    }
}

/* VERY SMALL PHONES */
@media (max-width: 650px) {
    .hero-right {
        flex-direction: column;
        gap: 15px;
    }
    .proj-card {
        min-width: 96% !important;
    }

    /* Hide progress bar on tiny screens (optional) */
    .player-progress {
        display: none;
    }
}
/* ================================
   DESKTOP STICKY PLAYER (DEFAULT)
================================ */
@media (min-width: 1101px) {
    .sticky-player {
        left: 325px;
        height: 110px;
        padding: 18px 32px;
    }
}
