/* ============================================================
   ~*~ xX_D4RKN3SS_Xx ~*~ | style.css
   Dark Emo/Anime Theme — No stealing!! >:(
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,400&family=VT323&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg-deep: #030008;
  --bg-mid: #080015;
  --bg-panel: rgba(8, 0, 22, 0.93);
  --clr-primary: #8800ee;
  --clr-secondary: #bb0022;
  --clr-accent: #00bbee;
  --clr-text: #b899dd;
  --clr-highlight: #ee1144;
  --clr-gold: #ddaa00;
  --clr-white: #e8e0ff;
  --glow-primary: 0 0 12px rgba(136, 0, 238, 0.8);
  --glow-accent: 0 0 12px rgba(0, 187, 238, 0.8);
  --glow-secondary: 0 0 12px rgba(187, 0, 34, 0.8);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Comic Neue', cursive, sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(136, 0, 238, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(187, 0, 34, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 20, 0.95) 0%, transparent 100%),
    url('../assets/backgrounds/wallpaper.png') no-repeat center / cover fixed;
  color: var(--clr-text);
  min-height: 100vh;
  cursor: url('../assets/cursors/cursor-default.png'), auto;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.6;
}

a, button {
  cursor: url('../assets/cursors/cursor-pointer.png'), pointer;
}

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: var(--clr-white);
  text-shadow: var(--glow-accent);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-mid);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--clr-primary), var(--clr-secondary));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #aa00ff, #dd0033);
}

/* ============================================================
   COLOR STRIPE (replaces rainbow-border)
   ============================================================ */
.color-stripe {
  height: 5px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--clr-primary),
    var(--clr-secondary),
    var(--clr-accent),
    var(--clr-primary),
    var(--clr-highlight),
    var(--clr-accent),
    var(--clr-primary)
  );
  background-size: 200% 100%;
  animation: stripe-scroll 4s linear infinite;
}

@keyframes stripe-scroll {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ============================================================
   TOP MARQUEE
   ============================================================ */
.top-marquee {
  background: linear-gradient(90deg, #1a0005, #2a0010, #1a0005);
  color: var(--clr-gold);
  font-family: 'VT323', monospace;
  font-size: 18px;
  padding: 6px 0;
  border-top: 2px solid var(--clr-primary);
  border-bottom: 2px solid var(--clr-primary);
  letter-spacing: 1px;
}

/* ============================================================
   PROFILE HEADER
   ============================================================ */
.profile-header {
  text-align: center;
  padding: 30px 20px 20px;
}

.profile-name {
  font-family: 'VT323', monospace;
  font-size: 58px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent), var(--clr-highlight), var(--clr-primary));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: name-cycle 5s linear infinite;
  line-height: 1.1;
  margin: 10px 0;
}

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

.profile-subtitle {
  color: #c8b0ee;
  font-size: 16px;
  font-style: italic;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(136, 0, 238, 0.5);
  margin: 8px 0;
}

.decorative-line {
  color: var(--clr-secondary);
  font-size: 15px;
  letter-spacing: 3px;
  margin: 6px 0;
  text-shadow: var(--glow-secondary);
}

/* ============================================================
   MOOD / VISITOR BAR
   ============================================================ */
.mood-visitor-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.mood-box,
.visitor-box {
  background: var(--bg-panel);
  border: 1px solid var(--clr-primary);
  box-shadow: var(--glow-primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--clr-text);
}

.visitor-count {
  color: var(--clr-gold);
  font-family: 'VT323', monospace;
  font-size: 20px;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.main-layout {
  display: flex;
  max-width: 1200px;
  margin: 18px auto;
  padding: 0 15px;
  gap: 15px;
  align-items: flex-start;
}

/* ============================================================
   SIDEBAR & NAV
   ============================================================ */
.sidebar {
  width: 190px;
  flex-shrink: 0;
  background: var(--bg-panel);
  border-left: 3px solid var(--clr-primary);
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  position: sticky;
  top: 15px;
}

.nav-tabs {
  display: flex;
  flex-direction: column;
}

.nav-tab {
  display: block;
  padding: 11px 14px;
  background: rgba(10, 0, 30, 0.85);
  border-right: 3px solid transparent;
  border-bottom: 1px solid rgba(136, 0, 238, 0.2);
  color: var(--clr-text);
  font-family: 'Comic Neue', cursive;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.nav-tab::before {
  content: '❯ ';
  color: rgba(136, 0, 238, 0.4);
  transition: color 0.2s;
}

.nav-tab:hover {
  background: rgba(0, 187, 238, 0.08);
  border-right-color: var(--clr-accent);
  box-shadow: inset 0 0 10px rgba(0, 187, 238, 0.1);
  color: var(--clr-white);
  text-shadow: var(--glow-accent);
}

.nav-tab:hover::before {
  color: var(--clr-accent);
}

.nav-tab.active {
  background: rgba(187, 0, 34, 0.25);
  border-right-color: var(--clr-secondary);
  color: var(--clr-gold);
  text-shadow: 0 0 8px rgba(221, 170, 0, 0.7);
  box-shadow: inset 0 0 12px rgba(187, 0, 34, 0.2);
}

.nav-tab.active::before {
  content: '❯ ';
  color: var(--clr-gold);
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-section {
  background: var(--bg-panel);
  border: 2px solid var(--clr-primary);
  border-radius: 12px;
  box-shadow: var(--glow-primary), inset 0 0 30px rgba(136, 0, 238, 0.05);
  padding: 25px;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-family: 'VT323', monospace;
  font-size: 32px;
  color: var(--clr-accent);
  text-shadow: var(--glow-accent);
  border-bottom: 2px dashed var(--clr-secondary);
  padding-bottom: 8px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.section-title::before {
  content: ' ≺≺ ';
  color: var(--clr-secondary);
}

.section-title::after {
  content: ' ≻≻ ';
  color: var(--clr-secondary);
}

/* ============================================================
   ABOUT ME PAGE
   ============================================================ */
.about-text {
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-text .highlight {
  color: var(--clr-gold);
  text-shadow: 0 0 8px rgba(221, 170, 0, 0.6);
  font-weight: 700;
}

.about-list {
  margin: 10px 0 10px 10px;
}

.about-list li {
  color: var(--clr-text);
  margin: 6px 0;
  line-height: 1.7;
}

.about-list li::before {
  content: '⟶ ';
  color: var(--clr-secondary);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.stat-box {
  background: rgba(136, 0, 238, 0.1);
  border: 1px solid rgba(136, 0, 238, 0.4);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.stat-label {
  font-size: 11px;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: var(--clr-gold);
  display: block;
  margin-top: 3px;
}

/* ============================================================
   FRIENDS PAGE
   ============================================================ */
.friends-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.friend-card {
  background: rgba(10, 0, 30, 0.9);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 2px solid transparent;
}

.friend-card:nth-child(4n+1) { border-color: var(--clr-primary); }
.friend-card:nth-child(4n+2) { border-color: var(--clr-secondary); }
.friend-card:nth-child(4n+3) { border-color: var(--clr-accent); }
.friend-card:nth-child(4n+4) { border-color: var(--clr-gold); }

.friend-card:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: var(--glow-secondary);
}

.friend-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: linear-gradient(135deg, rgba(136, 0, 238, 0.3), rgba(187, 0, 34, 0.3));
  border: 2px solid rgba(136, 0, 238, 0.5);
}

.friend-name {
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 4px;
  text-shadow: 0 0 6px rgba(0, 187, 238, 0.5);
}

.friend-status {
  color: var(--clr-text);
  font-size: 11px;
  opacity: 0.85;
  font-style: italic;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-post {
  background: rgba(10, 0, 30, 0.85);
  border: 1px solid var(--clr-primary);
  border-left: 4px solid var(--clr-secondary);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.blog-post:last-child {
  margin-bottom: 0;
}

.blog-date {
  font-size: 11px;
  color: rgba(184, 153, 221, 0.55);
  margin-bottom: 6px;
  font-family: 'VT323', monospace;
  letter-spacing: 1px;
}

.blog-title-text {
  font-family: 'VT323', monospace;
  font-size: 26px;
  color: var(--clr-gold);
  text-shadow: 0 0 8px rgba(221, 170, 0, 0.6);
  margin-bottom: 10px;
  line-height: 1.2;
}

.blog-body {
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 10px;
}

.blog-mood {
  color: var(--clr-accent);
  font-size: 12px;
  font-style: italic;
}

/* ============================================================
   PHOTOS PAGE
   ============================================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.photo-box {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid transparent;
}

.photo-box:nth-child(3n+1) { border-color: var(--clr-primary); }
.photo-box:nth-child(3n+2) { border-color: var(--clr-secondary); }
.photo-box:nth-child(3n+3) { border-color: var(--clr-accent); }

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.photo-box:hover img {
  transform: scale(1.07);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(136, 0, 238, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(3, 0, 8, 0.88));
  color: var(--clr-white);
  font-size: 11px;
  padding: 20px 8px 7px;
  text-align: center;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-box {
  background: rgba(0, 20, 40, 0.6);
  border: 2px solid var(--clr-accent);
  box-shadow: var(--glow-accent);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.contact-intro {
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 6px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--clr-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(5, 0, 20, 0.9);
  border: 1px solid var(--clr-primary);
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--clr-accent);
  font-family: 'Comic Neue', cursive;
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: var(--glow-accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.submit-btn {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--clr-secondary), var(--clr-primary));
  border: 2px solid var(--clr-gold);
  border-radius: 8px;
  color: var(--clr-gold);
  font-family: 'VT323', monospace;
  font-size: 24px;
  padding: 10px 24px;
  letter-spacing: 2px;
  cursor: url('../assets/cursors/cursor-pointer.png'), pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.submit-btn:hover {
  transform: scale(1.04);
  box-shadow: var(--glow-primary), var(--glow-secondary);
}

.success-box {
  background: rgba(0, 187, 238, 0.1);
  border: 2px solid var(--clr-accent);
  box-shadow: var(--glow-accent);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-family: 'VT323', monospace;
  font-size: 28px;
  color: var(--clr-gold);
  text-shadow: 0 0 10px rgba(221, 170, 0, 0.8);
  margin-bottom: 20px;
}

/* ============================================================
   MUSIC PAGE — EQ BARS
   ============================================================ */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
  margin-right: 10px;
}

.eq-bar {
  width: 5px;
  border-radius: 2px 2px 0 0;
  animation: eq-bounce 0.6s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { background: var(--clr-primary); animation-duration: 0.5s; height: 60%; }
.eq-bar:nth-child(2) { background: var(--clr-accent);  animation-duration: 0.7s; height: 100%; }
.eq-bar:nth-child(3) { background: var(--clr-secondary); animation-duration: 0.4s; height: 80%; }
.eq-bar:nth-child(4) { background: var(--clr-primary); animation-duration: 0.9s; height: 45%; }
.eq-bar:nth-child(5) { background: var(--clr-accent);  animation-duration: 0.6s; height: 90%; }
.eq-bar:nth-child(6) { background: var(--clr-gold);    animation-duration: 0.5s; height: 70%; }
.eq-bar:nth-child(7) { background: var(--clr-highlight); animation-duration: 0.8s; height: 55%; }

@keyframes eq-bounce {
  from { transform: scaleY(0.3); opacity: 0.7; }
  to   { transform: scaleY(1);   opacity: 1;   }
}

.now-playing-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 0, 30, 0.8);
  border: 1px solid var(--clr-primary);
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 16px;
}

.now-playing-label {
  color: var(--clr-secondary);
  font-family: 'VT323', monospace;
  font-size: 18px;
  white-space: nowrap;
}

.now-playing-text {
  color: var(--clr-gold);
  font-size: 13px;
  font-style: italic;
}

/* ============================================================
   YOUTUBE CAROUSEL
   ============================================================ */
.yt-carousel {
  background: rgba(5, 0, 18, 0.95);
  border: 2px solid var(--clr-primary);
  border-radius: 12px;
  box-shadow: var(--glow-primary);
  overflow: hidden;
}

.yt-frame-wrap {
  position: relative;
  width: 100%;
  background: #000;
}

.yt-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: none;
}

.yt-now-info {
  padding: 14px 18px 8px;
  border-top: 1px solid rgba(136, 0, 238, 0.3);
}

.yt-now-title {
  font-family: 'VT323', monospace;
  font-size: 26px;
  color: var(--clr-gold);
  text-shadow: 0 0 8px rgba(221, 170, 0, 0.6);
  line-height: 1.2;
}

.yt-now-artist {
  color: var(--clr-accent);
  font-size: 13px;
  margin-top: 2px;
}

.yt-track-pos {
  color: rgba(184, 153, 221, 0.5);
  font-family: 'VT323', monospace;
  font-size: 16px;
  margin-top: 4px;
}

.yt-controls {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid rgba(136, 0, 238, 0.2);
}

.yt-btn {
  flex: 1;
  background: linear-gradient(135deg, rgba(187, 0, 34, 0.3), rgba(136, 0, 238, 0.3));
  border: 1px solid var(--clr-primary);
  border-radius: 6px;
  color: var(--clr-white);
  font-family: 'VT323', monospace;
  font-size: 20px;
  padding: 7px 10px;
  cursor: url('../assets/cursors/cursor-pointer.png'), pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  letter-spacing: 1px;
}

.yt-btn:hover {
  background: linear-gradient(135deg, rgba(187, 0, 34, 0.6), rgba(136, 0, 238, 0.5));
  box-shadow: var(--glow-primary);
  transform: scale(1.04);
}

.yt-dropdown {
  padding: 10px 18px 16px;
  border-top: 1px solid rgba(136, 0, 238, 0.2);
}

.yt-dropdown label {
  display: block;
  color: var(--clr-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.yt-dropdown select {
  width: 100%;
  background: rgba(5, 0, 20, 0.95);
  border: 1px solid var(--clr-accent);
  border-radius: 6px;
  color: var(--clr-text);
  font-family: 'Comic Neue', cursive;
  font-size: 13px;
  padding: 7px 10px;
  outline: none;
  cursor: url('../assets/cursors/cursor-pointer.png'), pointer;
  transition: box-shadow 0.2s;
}

.yt-dropdown select:focus {
  box-shadow: var(--glow-accent);
}

/* ============================================================
   SPARKLES
   ============================================================ */
#sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  top: -30px;
  font-size: 18px;
  opacity: 0;
  animation: sparkle-fall linear forwards;
  pointer-events: none;
  user-select: none;
}

@keyframes sparkle-fall {
  0%   { opacity: 0;   transform: translateY(0)    rotate(0deg); }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.6; }
  100% { opacity: 0;   transform: translateY(105vh) rotate(360deg); }
}

/* ============================================================
   CURSOR TRAIL
   ============================================================ */
.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  font-size: 16px;
  animation: trail-fade 0.7s ease-out forwards;
  user-select: none;
  line-height: 1;
}

@keyframes trail-fade {
  0%   { opacity: 1; transform: scale(1.2) translateY(0); }
  100% { opacity: 0; transform: scale(0.5) translateY(-12px); }
}

/* ============================================================
   PAGE FOOTER
   ============================================================ */
.page-footer {
  text-align: center;
  padding: 20px;
  border-top: 2px dashed var(--clr-primary);
  margin-top: 10px;
  color: rgba(184, 153, 221, 0.45);
  font-size: 12px;
  line-height: 2;
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .main-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
    border-left: none;
    border-top: 3px solid var(--clr-primary);
    border-radius: 0 0 8px 8px;
  }

  .nav-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-tab {
    flex: 1 0 auto;
    text-align: center;
    border-right: none;
    border-bottom: 2px solid rgba(136, 0, 238, 0.2);
    font-size: 12px;
    padding: 9px 8px;
  }

  .profile-name {
    font-size: 36px;
  }

  .friends-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: 1;
  }

  .submit-btn {
    grid-column: 1;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .yt-float {
    width: 240px;
    bottom: 10px;
    right: 10px;
  }

  .photo-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ============================================================
   FLOATING YOUTUBE PLAYER
   ============================================================ */
.yt-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 20000;
  width: 288px;
  background: rgba(4, 0, 14, 0.97);
  border: 2px solid var(--clr-primary);
  border-radius: 10px;
  box-shadow: var(--glow-primary), 0 8px 32px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.yt-float-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: linear-gradient(90deg,
    rgba(136, 0, 238, 0.25),
    rgba(187, 0,  34, 0.25)
  );
  border-bottom: 1px solid rgba(136, 0, 238, 0.4);
  cursor: grab;
  user-select: none;
}

.yt-float-header:active {
  cursor: grabbing;
}

.yt-float-header-label {
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--clr-gold);
  letter-spacing: 1px;
}

.yt-float-header-btns {
  display: flex;
  gap: 4px;
}

.yt-float-hbtn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(136, 0, 238, 0.4);
  border-radius: 4px;
  color: var(--clr-text);
  font-size: 14px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  padding: 0;
  line-height: 1;
}

.yt-float-hbtn:hover {
  background: rgba(136, 0, 238, 0.4);
  color: var(--clr-white);
}

.yt-float-body {
  max-height: 600px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.yt-float-body.minimized {
  max-height: 0;
}

.yt-float-frame {
  background: #000;
  line-height: 0;
}

.yt-float-frame iframe {
  width: 100%;
  height: 152px;
  border: none;
  display: block;
}

.yt-float-err {
  padding: 8px 12px;
  background: rgba(187, 0, 34, 0.18);
  border-top: 1px solid rgba(187, 0, 34, 0.4);
  color: #ffaaaa;
  font-size: 11px;
  line-height: 1.5;
}

.yt-float-info {
  padding: 8px 12px 4px;
  border-top: 1px solid rgba(136, 0, 238, 0.2);
}

.yt-float-title {
  font-family: 'VT323', monospace;
  font-size: 17px;
  color: var(--clr-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.yt-float-artist {
  font-size: 11px;
  color: var(--clr-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.yt-float-pos {
  font-family: 'VT323', monospace;
  font-size: 12px;
  color: rgba(184, 153, 221, 0.4);
  margin-top: 2px;
}

.yt-float-controls {
  display: flex;
  gap: 5px;
  padding: 7px 12px;
  border-top: 1px solid rgba(136, 0, 238, 0.18);
}

.yt-float-btn {
  flex: 1;
  background: rgba(136, 0, 238, 0.14);
  border: 1px solid rgba(136, 0, 238, 0.45);
  border-radius: 5px;
  color: var(--clr-white);
  font-family: 'VT323', monospace;
  font-size: 17px;
  padding: 5px 4px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.yt-float-btn:hover {
  background: rgba(187, 0, 34, 0.4);
  box-shadow: var(--glow-secondary);
}

.yt-float-select-wrap {
  padding: 6px 12px 10px;
  border-top: 1px solid rgba(136, 0, 238, 0.14);
}

.yt-float-select-wrap select {
  width: 100%;
  background: rgba(3, 0, 8, 0.95);
  border: 1px solid rgba(136, 0, 238, 0.35);
  border-radius: 5px;
  color: var(--clr-text);
  font-family: 'Comic Neue', cursive;
  font-size: 11px;
  padding: 4px 8px;
  outline: none;
  cursor: pointer;
}

/* ============================================================
   PHOTO GALLERY — FULL PAGE (photos.html)
   ============================================================ */
.photo-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(136, 0, 238, 0.2);
}

.photo-filter-pill {
  background: rgba(136, 0, 238, 0.1);
  border: 1px solid rgba(136, 0, 238, 0.45);
  border-radius: 20px;
  color: var(--clr-text);
  font-size: 12px;
  font-family: 'Comic Neue', cursive;
  padding: 5px 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.photo-filter-pill:hover,
.photo-filter-pill.active {
  background: rgba(187, 0, 34, 0.3);
  border-color: var(--clr-secondary);
  color: var(--clr-white);
  box-shadow: var(--glow-secondary);
}

.photo-category {
  background: rgba(6, 0, 18, 0.9);
  border: 1px solid rgba(136, 0, 238, 0.35);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.photo-category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  cursor: pointer;
  background: linear-gradient(90deg,
    rgba(136, 0, 238, 0.10),
    rgba(187, 0,  34, 0.07)
  );
  border-bottom: 1px solid rgba(136, 0, 238, 0.25);
  transition: background 0.2s;
  user-select: none;
}

.photo-category-header:hover {
  background: linear-gradient(90deg,
    rgba(136, 0, 238, 0.22),
    rgba(187, 0,  34, 0.14)
  );
}

.photo-category-emoji {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.photo-category-label {
  font-family: 'VT323', monospace;
  font-size: 24px;
  color: var(--clr-accent);
  text-shadow: var(--glow-accent);
  flex: 1;
  line-height: 1.2;
}

.photo-category-count {
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: rgba(184, 153, 221, 0.45);
}

.photo-category-toggle {
  color: var(--clr-primary);
  font-size: 16px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.photo-category.collapsed .photo-category-toggle {
  transform: rotate(-90deg);
}

.photo-category-body {
  max-height: 9999px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.photo-category.collapsed .photo-category-body {
  max-height: 0;
}

.photo-category-desc {
  color: rgba(184, 153, 221, 0.5);
  font-size: 12px;
  font-style: italic;
  padding: 10px 16px 0;
}

.photo-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 14px;
}

.photo-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.photo-card:hover {
  border-color: var(--clr-secondary);
  transform: scale(1.03);
  box-shadow: var(--glow-secondary);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.photo-card:hover img {
  transform: scale(1.08);
}

.photo-card-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(136, 0, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
}

.photo-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(3, 0, 8, 0.92));
  color: var(--clr-white);
  font-size: 11px;
  padding: 20px 6px 5px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-card:hover .photo-card-caption {
  opacity: 1;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 0, 6, 0.96);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lb-in 0.18s ease;
}

@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-overlay.closing {
  animation: lb-out 0.15s ease forwards;
}

@keyframes lb-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 74vh;
  object-fit: contain;
  border: 2px solid var(--clr-primary);
  border-radius: 8px;
  box-shadow: var(--glow-primary), 0 0 60px rgba(136, 0, 238, 0.25);
}

.lightbox-caption {
  color: var(--clr-text);
  font-size: 14px;
  text-align: center;
  max-width: 600px;
}

.lightbox-pos {
  font-family: 'VT323', monospace;
  font-size: 17px;
  color: rgba(184, 153, 221, 0.45);
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(187, 0, 34, 0.45);
  border: 1px solid var(--clr-secondary);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: var(--clr-white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}

.lightbox-close:hover {
  background: var(--clr-secondary);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(136, 0, 238, 0.28);
  border: 1px solid rgba(136, 0, 238, 0.6);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  color: var(--clr-white);
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 30001;
  line-height: 1;
}

.lightbox-nav:hover {
  background: rgba(136, 0, 238, 0.65);
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ============================================================
   ABOUT PAGE — PHOTO MINI PANEL (4×3)
   ============================================================ */
.photo-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.photo-mini-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(136, 0, 238, 0.35);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.photo-mini-card:hover {
  border-color: var(--clr-secondary);
  transform: scale(1.05);
  box-shadow: var(--glow-secondary);
}

.photo-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-mini-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(136, 0, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.photo-mini-viewall {
  display: block;
  text-align: center;
  color: var(--clr-accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px;
  border: 1px dashed rgba(0, 187, 238, 0.35);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.photo-mini-viewall:hover {
  background: rgba(0, 187, 238, 0.08);
  color: var(--clr-white);
  box-shadow: var(--glow-accent);
}

/* ============================================================
   MUSIC PAGE — Page-level playlist controls (no iframe)
   ============================================================ */
.yt-page-info {
  text-align: center;
  padding: 20px 18px 10px;
}

.yt-page-now-label {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--clr-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.yt-page-title {
  font-family: 'VT323', monospace;
  font-size: 30px;
  color: var(--clr-gold);
  text-shadow: 0 0 10px rgba(221, 170, 0, 0.7);
  line-height: 1.2;
}

.yt-page-artist {
  color: var(--clr-accent);
  font-size: 14px;
  margin-top: 3px;
}

.yt-page-pos {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: rgba(184, 153, 221, 0.4);
  margin-top: 4px;
}

.yt-float-hint {
  font-size: 12px;
  color: rgba(184, 153, 221, 0.5);
  font-style: italic;
  text-align: center;
  padding: 0 18px 14px;
}
