@font-face {
    font-family: 'AlphaFridge';
    src: url('../fonts/AlphaFridgeMagnets.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'AlphaFridge';
    src: url('../fonts/AlphaFridgeMagnetsAllCaps.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'HighVoltage';
    src: url('../fonts/HighVoltage Rough.ttf') format('truetype');
    font-weight: 700;
}

/* 🔹 General Page Styles */
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(105, 115, 124); /* Fallback color */
    background-image: url('../backgrounds/homepage-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    min-height: 100vh;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

/* Homepage: lock viewport so record stays centered */
body.homepage {
    height: 100vh;
    overflow: hidden;
}

/* 🔹 Fallback for Older Browsers */
@supports not (background-image: url('../backgrounds/homepage-bg.webp')) {
    body {
        background-image: url('../backgrounds/homepage-bg.png');
    }
}


body.fade-out {
    opacity: 0;
}


/* 🔹 Header Navigation */
.header {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 5rem; /* Responsive gap between links */
    padding: 20px 0;
    background-color: transparent;
}

.header a {
    font-family: 'HighVoltage', sans-serif;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 60px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.header a:hover {
    color: #61808d; /* Muted blue-gray */
    text-shadow: 3px 3px 10px rgba(117, 156, 172, 0.783); /* Soft glow */
    -webkit-text-stroke: 1px #AFC9D6;
}

/* 🔹 Nav Brand */
.header a.nav-brand {
  color: #9ecbff;
}

.header a.nav-brand:hover {
  color: #fff;
  text-shadow: 3px 3px 10px rgba(255, 255, 255, 0.4);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

/* 🔹 Record Container - Centers the Record */
.record-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

/* 🔹 Record Image */
.record {
    position: relative;
    width: min(1100px, 80vw);
    height: min(1100px, 80vw);
    background-image: url('../images/WebsiteDesignIdea.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-in-out;
}

/* 🔹 Record Enlarge on Hover */
.record:hover {
    transform: scale(1.05);
}

/* 🔹 Yin-Yang SVG Overlay */
.yin-yang-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* 🔹 Music & Tech Clickable Areas */
.music-side, .tech-side {
    fill: transparent;
    cursor: pointer;
}

/* 🔹 Glow Effects */
.outer-music-glow, .outer-tech-glow {
    stroke: transparent;
    stroke-width: 2px; /* Keep it rendered */
    visibility: visible;
    pointer-events: none;
    transition: stroke-width 0.3s ease-in-out, stroke 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* 🔹 Hover Effects (Brighter & Wider Glow) */
.music-side:hover ~ .outer-music-glow {
    stroke: #FFFFFF; /* Pure white */
    stroke-width: 10px; /* Slightly thicker */
    filter: drop-shadow(0px 0px 25px white) blur(12px); /* Wider glow */
}

.tech-side:hover ~ .outer-tech-glow {
    stroke: #baf0f3; /* Pure white */
    stroke-width: 10px; /* Slightly thicker */
    filter: drop-shadow(0px 0px 25px white) blur(12px); /* Wider glow */
}


/* 🔹 Record Spinning Effect */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 2s linear infinite;
    transform-origin: center center;
}

body.music-page {
    background-color: black; /* Fallback color */
    background-image: url('../backgrounds/Music_bg_v1.webp');
    background-size: cover;
    background-position: center 40%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.blog {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.post {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.post-img {
  width: 180px;
  height: auto;
  margin-right: 20px;
  border-radius: 6px;
  object-fit: cover;
}

.post-content {
  flex: 1;
}

.post-content h2 {
  margin: 0 0 5px;
  font-size: 20px;
}

.post-meta {
  font-size: 14px;
  color: gray;
  margin-bottom: 10px;
}

.post-summary {
  font-size: 16px;
  line-height: 1.5;
}

.about-page {
  background-color: rgb(105, 115, 124);
  background-image: url('../backgrounds/homepage-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.header a.active {
  font-weight: bold;
  border-bottom: 2px solid white;
}


/* Dark overlay across the whole About page */
.about-page::before {
  content: "";
  position: fixed;   /* covers the viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.627);  /* adjust opacity */
  z-index: 0; /* behind everything else */
}

/* Ensure page content sits above overlay */
.about-page > * {
  position: relative;
  z-index: 1;
}

/* Constrain Bio text nicely in the middle */
.content.bio {
  max-width: 900px;   /* keep line length readable */
  margin: 80px auto;  /* center horizontally with top/bottom spacing */
  padding: 20px 30px; /* inner breathing space */
  color: #fff;
  font-size: 18px;
  line-height: 1.7;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.96); /* soft black shadow for pop */
}

.content.bio h1 {
  font-size: 32px;
  margin-bottom: 24px;
  text-align: center;
}

/* ========== Music Hub ========== */
.music-hub {
  max-width: 800px;
  margin: 10px auto;
  padding: 10px 30px;
  text-align: center;
  color: #fff;
}

.music-hub h1 {
  font-family: 'HighVoltage', sans-serif;
  font-size: 48px;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 16px;
}

.music-hub-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #b8d8f8;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 24px;
}

.music-subnav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.music-subnav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid rgba(158, 203, 255, 0.3);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.music-subnav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(158, 203, 255, 0.4);
  border-bottom-color: rgba(158, 203, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(158, 203, 255, 0.15);
}

.subnav-icon {
  font-size: 36px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.subnav-label {
  font-family: 'HighVoltage', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.subnav-desc {
  font-size: 14px;
  color: #aaa;
  line-height: 1.4;
}

/* ========== Gear Page ========== */
.gear-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px 30px;
  color: #fff;
}

.gear-container h1 {
  font-family: 'HighVoltage', sans-serif;
  font-size: 42px;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 12px;
}

.gear-section {
  margin-bottom: 50px;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gear-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: block;
}

.gear-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(158, 203, 255, 0.3);
  transform: translateY(-3px);
}

.gear-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(158, 203, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.gear-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.gear-card-body {
  padding: 14px 16px;
}

.gear-card-name {
  font-size: 16px;
  font-weight: bold;
  color: #eee;
  margin-bottom: 4px;
}

.gear-card-sub {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}

.gear-feature-img {
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gear-feature-img img {
  width: 100%;
  display: block;
}

.gear-sub-heading {
  font-family: 'HighVoltage', sans-serif;
  font-size: 22px;
  color: #9ecbff;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  margin-top: 28px;
  margin-bottom: 12px;
}

.gear-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.gear-list li {
  padding: 12px 16px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 15px;
  color: #ddd;
  line-height: 1.5;
}

.gear-list li strong {
  color: #eee;
}

.gear-list-note {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

.gear-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .gear-list-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.gear-placeholder-text {
  text-align: center;
  font-size: 16px;
  color: #888;
  padding: 30px 0;
  line-height: 1.6;
}

/* ========== Gear Responsive: Tablet (768px) ========== */
@media (max-width: 768px) {
  .gear-container {
    padding: 15px;
    margin: 30px auto;
  }

  .gear-container h1 {
    font-size: 32px;
  }

  .gear-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ========== Gear Responsive: Mobile (480px) ========== */
@media (max-width: 480px) {
  .gear-container {
    padding: 12px;
    margin: 20px auto;
  }

  .gear-container h1 {
    font-size: 26px;
  }

  .gear-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gear-card-name {
    font-size: 15px;
  }
}

/* ========== Arrangements Page ========== */
.arrangements-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 30px;
  color: #fff;
}

.arrangements-container h1 {
  font-family: 'HighVoltage', sans-serif;
  font-size: 42px;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 12px;
}

.arrangements-intro {
  text-align: center;
  font-size: 16px;
  color: #aaa;
  margin-bottom: 40px;
  line-height: 1.5;
}

.artist-section {
  margin-bottom: 36px;
}

.artist-name {
  font-family: 'HighVoltage', sans-serif;
  font-size: 26px;
  color: #9ecbff;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(158, 203, 255, 0.25);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.tab-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.tab-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tab-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.tab-title {
  font-size: 16px;
  font-weight: bold;
  color: #eee;
}

.tab-artist {
  font-size: 13px;
  color: #888;
}

.tab-downloads {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 16px;
}

.download-btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.download-btn:hover {
  transform: translateY(-1px);
}

.download-btn.pdf {
  background: rgba(220, 80, 80, 0.25);
  color: #ff9e9e;
  border: 1px solid rgba(220, 80, 80, 0.35);
}

.download-btn.pdf:hover {
  background: rgba(220, 80, 80, 0.4);
}

.download-btn.gp {
  background: rgba(80, 160, 220, 0.25);
  color: #9ecbff;
  border: 1px solid rgba(80, 160, 220, 0.35);
}

.download-btn.gp:hover {
  background: rgba(80, 160, 220, 0.4);
}

/* ========== Responsive: Tablet (768px) ========== */
@media (max-width: 768px) {
  .header {
    gap: 2rem;
    padding: 15px 10px;
    flex-wrap: wrap;
  }

  .header a {
    font-size: 36px;
  }

  .record-container {
    height: auto;
    padding: 20px 0;
  }

  .content.bio {
    max-width: 95%;
    padding: 15px;
    margin: 40px auto;
    font-size: 16px;
  }

  .content.bio h1 {
    font-size: 26px;
  }

  .blog {
    padding: 15px;
  }

  .post {
    flex-direction: column;
  }

  .post-img {
    width: 100%;
    max-width: 300px;
    margin: 0 0 15px 0;
  }

  .music-hub {
    margin: 10px auto;
    padding: 10px;
  }

  .music-hub h1 {
    font-size: 36px;
  }

  .music-subnav {
    gap: 14px;
    max-width: 480px;
  }

  .music-subnav-link {
    padding: 18px 16px;
  }

  .arrangements-container {
    padding: 15px;
    margin: 30px auto;
  }

  .arrangements-container h1 {
    font-size: 32px;
  }

  .artist-name {
    font-size: 22px;
  }

  .tab-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }

  .tab-downloads {
    margin-left: 0;
  }

  footer {
    margin-top: 30px;
  }
}

/* ========== Responsive: Mobile (480px) ========== */
@media (max-width: 480px) {
  .header {
    gap: 1rem;
    padding: 12px 8px;
  }

  .header a {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .content.bio {
    margin: 20px auto;
    padding: 12px;
    font-size: 15px;
    line-height: 1.6;
  }

  .content.bio h1 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .post-content h2 {
    font-size: 17px;
  }

  .post-summary {
    font-size: 14px;
  }

  .music-hub h1 {
    font-size: 28px;
  }

  .music-hub-intro {
    font-size: 15px;
  }

  .music-subnav {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 300px;
  }

  .music-subnav-link {
    padding: 16px 20px;
  }

  .subnav-label {
    font-size: 22px;
  }

  .arrangements-container {
    padding: 12px;
    margin: 20px auto;
  }

  .arrangements-container h1 {
    font-size: 26px;
  }

  .artist-name {
    font-size: 20px;
  }

  .tab-title {
    font-size: 14px;
  }

  .download-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ========== Listen & Watch Page ========== */
.listen-watch-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px 30px;
  color: #fff;
}

.listen-watch-container h1 {
  font-family: 'HighVoltage', sans-serif;
  font-size: 42px;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 12px;
}

.lw-section {
  margin-bottom: 50px;
}

.lw-section-title {
  font-family: 'HighVoltage', sans-serif;
  font-size: 34px;
  color: #9ecbff;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(158, 203, 255, 0.25);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(158, 203, 255, 0.2);
  border-radius: 10px;
  padding: 20px;
}

.video-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.video-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(158, 203, 255, 0.3);
  transform: translateY(-3px);
}

.yt-channel-link {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 20px;
}

.yt-channel-link a {
  color: #9ecbff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.yt-channel-link a:hover {
  color: #fff;
  text-decoration: underline;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.4);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  font-size: 15px;
  font-weight: bold;
  color: #eee;
  margin: 12px 14px 6px;
}


/* Playlist Player */
.playlist-player {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(158, 203, 255, 0.2);
}

.pp-controls {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pp-track-display {
  font-size: 18px;
  font-weight: bold;
  color: #eee;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.pp-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  line-height: 1;
}

.pp-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.pp-btn-play {
  font-size: 28px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(158, 203, 255, 0.15);
  color: #9ecbff;
}

.pp-btn-play:hover {
  background: rgba(158, 203, 255, 0.3);
  color: #fff;
}

.pp-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pp-time {
  font-size: 12px;
  color: #999;
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.pp-seek {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  background: transparent;
  outline: none;
  cursor: pointer;
  position: relative;
}

.pp-seek::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.pp-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #9ecbff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  margin-top: -5px;
}

.pp-seek::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  border: none;
}

.pp-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #9ecbff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.pp-tracklist {
  display: flex;
  flex-direction: column;
}

.pp-track {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.2s ease;
}

.pp-track:last-child {
  border-bottom: none;
}

.pp-track:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pp-track.active {
  background: rgba(158, 203, 255, 0.12);
  border-left: 3px solid #9ecbff;
  padding-left: 15px;
}

.pp-track-num {
  font-size: 13px;
  color: #666;
  min-width: 20px;
  text-align: center;
}

.pp-track.active .pp-track-num {
  color: #9ecbff;
}

.pp-track-name {
  flex: 1;
  font-size: 15px;
  color: #ccc;
}

.pp-track.active .pp-track-name {
  color: #fff;
  font-weight: bold;
}

.pp-track-meta {
  font-weight: normal;
  font-size: 13px;
  color: #888;
  font-style: italic;
}

.pp-track-dur {
  font-size: 13px;
  color: #666;
  font-variant-numeric: tabular-nums;
}

/* ========== Listen & Watch Responsive: Tablet (768px) ========== */
@media (max-width: 768px) {
  .listen-watch-container {
    padding: 15px;
    margin: 30px auto;
  }

  .listen-watch-container h1 {
    font-size: 32px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pp-controls {
    padding: 16px;
  }

  .pp-track-display {
    font-size: 16px;
  }
}

/* ========== Listen & Watch Responsive: Mobile (480px) ========== */
@media (max-width: 480px) {
  .listen-watch-container {
    padding: 12px;
    margin: 20px auto;
  }

  .listen-watch-container h1 {
    font-size: 26px;
  }

  .lw-section-title {
    font-size: 28px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .video-title {
    font-size: 14px;
  }

  .pp-controls {
    padding: 14px;
  }

  .pp-buttons {
    gap: 14px;
  }

  .pp-btn-play {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .pp-track {
    padding: 10px 14px;
    gap: 10px;
  }

  .pp-track.active {
    padding-left: 11px;
  }

  .pp-track-name {
    font-size: 14px;
  }
}

/* ========== Coming Soon Page ========== */
.coming-soon-container {
  max-width: 600px;
  margin: 120px auto;
  padding: 40px 30px;
  text-align: center;
  color: #fff;
}

.coming-soon-title {
  font-family: 'HighVoltage', sans-serif;
  font-size: 48px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
}

.coming-soon-text {
  font-family: 'HighVoltage', sans-serif;
  font-size: 36px;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

.coming-soon-sub {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .coming-soon-container {
    margin: 60px auto;
    padding: 30px 20px;
  }

  .coming-soon-title {
    font-size: 32px;
  }

  .coming-soon-text {
    font-size: 26px;
  }
}

/* Tech page: light theme */
.tech-page {
  background-color: #f0f2f5;
  background-image: url('../backgrounds/tECH_BACKGROUND.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.tech-page .header a {
  color: #1a1a1a;
  text-shadow: none;
  -webkit-text-stroke: none;
}

.tech-page .header a:hover {
  color: #2a5a8a;
  text-shadow: none;
  -webkit-text-stroke: none;
}

.tech-page .header a.nav-brand {
  color: #2a5a8a;
}

.tech-page .header a.nav-brand:hover {
  color: #1a1a1a;
}

.tech-page footer {
  color: #666;
  text-shadow: none;
}

/* ========== Tech Page: Bio Header ========== */
.tech-bio {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px 30px;
  color: #222;
}

.tech-bio-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 24px;
}

.tech-avatar {
  width: 120px;
  height: 120px;
  min-width: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(40, 80, 140, 0.25);
}

.tech-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% top;
  display: block;
}

.tech-bio-name {
  font-family: 'HighVoltage', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  color: #1a1a1a;
  text-shadow: none;
  margin: 0 0 4px;
}

.tech-bio-title {
  font-size: 16px;
  color: #2a5a8a;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

.tech-bio-text {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

.tech-card-section {
  margin-bottom: 16px;
}

.tech-card-label {
  font-size: 14px;
  font-weight: bold;
  color: #2a5a8a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.tech-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-card-list li {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.tech-card-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #2a5a8a;
  font-weight: bold;
}

.tech-card-list a {
  color: #2a5a8a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tech-card-list a:hover {
  color: #1a3a5a;
  text-decoration: underline;
}

.tech-card-note {
  display: block;
  font-size: 13px;
  color: #777;
  font-style: italic;
  margin-top: 2px;
}

.tech-card-text {
  font-size: 15px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

.tech-card-text a {
  color: #2a5a8a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tech-card-text a:hover {
  color: #1a3a5a;
  text-decoration: underline;
}

.tech-connect-links {
  display: flex;
  gap: 16px;
}

.tech-connect-links a {
  font-size: 15px;
  color: #2a5a8a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tech-connect-links a:hover {
  color: #1a3a5a;
  text-decoration: underline;
}

/* ========== Tech Page: Blog Section ========== */
.tech-blog {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 30px;
  color: #222;
}

.tech-blog-title {
  font-family: 'HighVoltage', sans-serif;
  font-size: 28px;
  color: #2a5a8a;
  letter-spacing: 1px;
  text-shadow: none;
  border-bottom: 1px solid rgba(40, 80, 140, 0.2);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.tech-blog-subtitle {
  font-size: 15px;
  color: #666;
  margin: -12px 0 24px;
}

.tech-post {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tech-post-img {
  width: 160px;
  min-width: 160px;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(40, 80, 140, 0.06);
  border: 1px solid rgba(40, 80, 140, 0.12);
}

.tech-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-post-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #aaa;
  letter-spacing: 1px;
}

.tech-post-content {
  flex: 1;
}

.tech-post-content h2 {
  color: #1a1a1a;
  font-size: 20px;
  margin: 0 0 5px;
}

.tech-post-content h2 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tech-post-content h2 a:hover {
  color: #2a5a8a;
}

.tech-post-summary {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.tech-post-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 6px;
}

/* ========== Tech Page Responsive: Tablet (768px) ========== */
@media (max-width: 768px) {
  .tech-bio {
    padding: 15px;
    margin: 30px auto 0;
  }

  .tech-bio-header {
    gap: 20px;
  }

  .tech-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    font-size: 28px;
  }

  .tech-bio-name {
    font-size: 28px;
  }

  .tech-blog {
    padding: 0 15px;
  }
}

/* ========== Tech Page Responsive: Mobile (480px) ========== */
@media (max-width: 480px) {
  .tech-bio {
    padding: 12px;
    margin: 20px auto 0;
  }

  .tech-bio-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .tech-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    font-size: 28px;
  }

  .tech-bio-name {
    font-size: 24px;
  }

  .tech-interests {
    justify-content: center;
  }

  .tech-bio-links {
    justify-content: center;
  }

  .tech-blog {
    padding: 0 12px;
  }

  .tech-blog-title {
    font-size: 22px;
  }

  .tech-post {
    flex-direction: column;
    gap: 12px;
  }

  .tech-post-img {
    width: 100%;
    min-width: unset;
    max-width: 240px;
  }
}

/* ========== Blog Post Page ========== */
.blog-post {
  max-width: 720px;
  margin: 40px auto;
  padding: 20px 30px;
  color: #333;
  line-height: 1.8;
  font-size: 17px;
}

.blog-post-title {
  font-family: 'HighVoltage', sans-serif;
  font-size: 36px;
  color: #1a1a1a;
  letter-spacing: 1px;
  text-shadow: none;
  margin: 0 0 8px;
  line-height: 1.2;
}

.blog-post-meta {
  font-size: 14px;
  color: #777;
  margin: 0 0 28px;
}

.blog-post p {
  margin: 0 0 18px;
}

.blog-post-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 28px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-post-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .blog-post {
    padding: 15px;
    margin: 30px auto;
  }

  .blog-post-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .blog-post {
    padding: 12px;
    margin: 20px auto;
    font-size: 16px;
  }

  .blog-post-title {
    font-size: 24px;
  }
}

footer {
  text-align: center;
  margin-top: 60px;
  padding: 20px 0;
  font-size: 14px;
  color: #ddd; /* softer white/gray */
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

footer a {
  color: #9ecbff; /* soft blue link */
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #fff; /* brighten on hover */
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
  padding-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

