/* Global Styles */
:root {
  --bg-color: #000000;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --accent-color: #fa2d48;
  /* Apply Music Red */
  --glass-bg: rgba(30, 30, 30, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --player-bg: rgba(40, 40, 40, 0.85);
  --border-radius: 12px;
  --transition-speed: 0.3s;
  --safe-area-bottom: env(safe-area-inset-bottom);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  /* Prevent body scroll, custom scroll containers */
  display: flex;
  flex-direction: column;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Layout */
.app-container {
  display: flex;
  height: 100%;
  width: 100%;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background-color: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.brand {
  padding: 0 15px 20px;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.brand i {
  color: var(--accent-color);
}

.nav-menu {
  list-style: none;
  overflow-y: auto;
  flex: 1;
}

.nav-item {
  padding: 10px 15px;
  margin-bottom: 5px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-item:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  color: var(--accent-color);
  background-color: rgba(250, 45, 72, 0.1);
}

.nav-header {
  padding: 15px 15px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  font-weight: 700;
}

.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 10px 15px;
  list-style: none;
}

.nav-item i {
  width: 20px;
  text-align: center;
}

/* Sidebar Toggle & Collapsed State */
.sidebar-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .sidebar-toggle-btn {
    display: none;
  }
}

.sidebar-toggle-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar.collapsed .brand span {
  display: none;
}

.sidebar.collapsed .brand {
  justify-content: center;
  padding: 0 0 20px;
}

.sidebar.collapsed .sidebar-toggle-btn {
  margin-left: 0;
}

.sidebar.collapsed .nav-item span {
  display: none;
}

.sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 15px 0;
}

.sidebar.collapsed .nav-item i {
  font-size: 20px;
  width: auto;
}

/* Sidebar About Section */
.sidebar-about {
  padding: 20px 15px;
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
  font-size: 13px;
  color: var(--text-secondary);
  animation: fadeIn 0.5s ease;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-domain {
  margin: 0;
  display: flex;
  align-items: center;
}

.about-domain a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.about-domain a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.about-domain i {
  color: var(--accent-color);
  margin-right: 8px;
}

.github-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
  border: 1px solid transparent;
}

.github-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gh-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gh-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.gh-name {
  font-weight: 700;
  font-size: 14px;
}

.gh-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.about-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
  margin-top: 5px;
}

.sidebar.collapsed .sidebar-about {
  display: none;
}

/* Main Content */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 40px 120px;
  /* Bottom padding for player */
  background: linear-gradient(180deg, rgba(40, 40, 40, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0;
  background: rgba(40, 40, 40, 0.8);
  /* Match gradient start roughly */
  backdrop-filter: blur(10px);
  margin-top: -20px;
  padding-top: 20px;
}

.header-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  padding: 10px;
  margin-right: 15px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .header-toggle-btn {
    display: block;
  }
}

.search-box {
  position: relative;
  width: 300px;
}

.search-box input {
  width: 100%;
  padding: 10px 15px 10px 40px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 14px;
  transition: background-color 0.2s;
}

.search-box input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  outline: none;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 14px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Music Grid */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.music-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 12px;
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.music-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.card-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.music-card:hover .card-image {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.music-card:hover .play-overlay {
  opacity: 1;
  transform: translateY(0);
}

.play-overlay i {
  color: white;
  font-size: 16px;
  margin-left: 2px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

/* Marquee / Scrolling Text */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  padding-right: 20px;
  /* Gap between duplicates */
}

/* Single direction loop */
@keyframes scroll-loop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-content.animate {
  animation: scroll-loop linear infinite;
}

/* Card specific overrides */
.card-title,
.card-subtitle {
  white-space: nowrap;
  overflow: hidden;
}

.music-card:hover .marquee-content.scrolling-card {
  animation: scroll-loop 8s linear infinite;
}

/* Mini Player (Bottom Bar) */
.mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--player-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 100;
  transition: transform 0.3s ease;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 30%;
  /* Default width, can be overridden */
  cursor: pointer;
  flex: 1;
  /* allow growth */
  min-width: 0;
  /* flex fix */
}

/* Override width 30% if we want flexible */
@media (max-width: 768px) {
  .player-track-info {
    width: 50%;
  }
}


.mini-cover {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.player-track-info:hover .mini-cover {
  transform: scale(1.1);
}

/* Track Details in Mini Player */
.track-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* Crucial for constraining children */
  flex: 1;
  /* Take remaining space in info section */
  min-width: 0;
  /* Flexbox overflow fix */
}

.track-details h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-details p {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
}

.control-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
}

.ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 18px;
  transition: color 0.2s, transform 0.2s;
}

.ctrl-btn:hover {
  color: var(--text-primary);
}

.ctrl-btn.main-play {
  font-size: 36px;
  color: var(--text-primary);
}

.ctrl-btn.main-play:hover {
  transform: scale(1.1);
}

.progress-area {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-secondary);
}

.progress-bar-bg {
  flex: 1;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--text-secondary);
  border-radius: 2px;
  transition: background-color 0.2s;
}

.progress-bar-bg:hover .progress-bar-fill {
  background-color: var(--accent-color);
}

.player-volume {
  width: 30%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.volume-slider {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}

/* Full Screen Player Overlay */
.fullscreen-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.fullscreen-player.active {
  transform: translateY(0);
}

.fs-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.blurred-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(80px) brightness(0.4);
  transform: scale(1.2);
}

/* Fullscreen Header & Mobile Top Bar */
.fs-header {
  padding: 40px 30px 20px;
  display: flex;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  /* Prevent header from shrinking */
  min-height: 20px;
}

.close-fs-btn {
  position: absolute;
  left: 30px;
  top: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.close-fs-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fs-mobile-header {
  display: none;
  align-items: center;
  gap: 12px;
  width: 60%;
  justify-content: center;
}

.fs-mobile-cover {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.fs-mobile-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 100%;
}

.fs-mobile-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.fs-mobile-artist {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Fullscreen Content Layout */
.fs-content {
  flex: 1;
  /* Occupy remaining space */
  min-height: 0;
  /* Crucial for scrolling inside flex items */
  display: flex;
  padding: 10px 60px 20px;
  gap: 60px;
  width: 100%;
}

.fs-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  /* Align closer to center gap */
  max-width: 45%;
}

.fs-cover-container {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1/1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
  /* Ensure aspect ratio stays squares */
  flex-shrink: 0;
}

.fs-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  max-width: 45%;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  padding: 100px 0;
}

/* Lyrics Styling inherited from AMLL or fallback logic in script.js */

/* Controls in Fullscreen */
.fs-controls {
  padding: 20px 60px 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  flex-shrink: 0;
}

.fs-progress-area {
  margin-bottom: 30px;
}

.fs-control-buttons {
  justify-content: space-between;
}

.main-transport {
  display: flex;
  align-items: center;
  gap: 40px;
}

.placeholder-balance {
  width: 40px;
  /* match mode btn width to center transport */
}

/* About Page Styles */
.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  animation: fadeIn 0.5s ease;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.about-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
}

.about-item h3 {
  margin-bottom: 15px;
  color: var(--accent-color);
}

.about-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.about-link {
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.2s;
}

.about-link:hover {
  background: var(--accent-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Splash Screen */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  transition: opacity 0.8s ease, visibility 0.8s;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  animation: splashFadeIn 1.5s ease-out;
}

.splash-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fallback for webkit text fill */
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.splash-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

.splash-footer {
  position: absolute;
  bottom: 40px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.loading-container {
  margin-top: 40px;
  width: 300px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.loading-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-progress {
  width: 0%;
  height: 100%;
  background: var(--accent-color);
  border-radius: 2px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-color);
}

.loading-text {
  margin-top: 10px !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.enter-prompt {
  margin-top: 40px;
  animation: fadeIn 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.enter-prompt p {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.enter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.enter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes splashFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Story Page Styles - Redesigned */
.story-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 120px;
  animation: fadeIn 0.8s ease;
  grid-column: 1 / -1;
  /* Ensure it spans full width of music-grid */
}

.story-hero {
  text-align: center;
  margin-bottom: 60px;
}

.story-hero h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  margin-bottom: 10px;
  background: linear-gradient(to right, #fff, var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.story-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.story-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  /* Increased gap for better separation */
}

.story-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(250, 45, 72, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.story-image-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.story-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .story-cover-img {
  transform: scale(1.05);
}

.story-body {
  padding: 30px;
  position: relative;
}

.story-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
  font-family: 'Courier New', Courier, monospace;
}

.story-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}

.story-text {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  font-size: 1.05rem;
  text-align: justify;
}

/* Horizontal Music Strip */
.story-music-strip {
  margin: 0 30px 30px;
  padding: 15px 25px;
  background: rgba(250, 45, 72, 0.1);
  border: 1px solid rgba(250, 45, 72, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s;
}

.story-music-strip:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.02);
}

.strip-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.strip-song-name {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.strip-artist {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-music-strip:hover .strip-artist {
  color: rgba(255, 255, 255, 0.8);
}

.strip-play-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.story-music-strip:hover .strip-play-icon {
  background: #fff;
  color: var(--accent-color);
  transform: rotate(360deg);
  transition: transform 0.5s;
}

@media (max-width: 600px) {
  .story-body {
    padding: 20px;
  }

  .story-music-strip {
    margin: 0 20px 20px;
    padding: 12px 18px;
  }

  .story-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .story-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .splash-content h1 {
    font-size: 2rem;
    padding: 0 20px;
  }
}