:root {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --secondary-text: #a0a0a0;
    --heading-color: #e0e0e0;
    --border-color: #333333;
    --highlight-green: #4caf50; /* Adjust as needed */
    --highlight-orange: #ff9800; /* Adjust as needed */
    --highlight-red: #f44336; /* Adjust as needed */
    --light-bg: #1d1d1d;
}


.back-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);

  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

/* Base Styles */
body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
}

p.section-description {
    color: var(--secondary-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 5px;
}

p.sub-description {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 30px;
}

/* --- HEADER / RHYTHM SECTION --- */

.rhythm-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.rhythm-info {
    max-width: 50%;
}

.eyebrow {
    color: var(--secondary-text);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rhythm-info h1 {
    color: var(--heading-color);
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 10px 0 20px 0;
    font-weight: 500;
}

.rhythm-info p {
    color: var(--secondary-text);
    font-size: 1rem;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 10px;
}

.tag-btn {
    background-color: var(--light-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tag-btn:hover {
    background-color: #2a2a2a;
}

/* Audio Player Styling (Right side of header) */

.audio-player {
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: 5px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.audio-visualization {
    display: flex;
    align-items: flex-end;
    height: 70px; /* Approximate height for the visualization */
    gap: 2px;
    padding: 10px 0;
}

.spectrum-bar {
    width: 2px;
    background-color: var(--text-color);
    /* In a real implementation, height would be dynamic */
    height: 20%; 
    opacity: 0.8;
}

/* Simulate the look of the bar chart */
.audio-visualization > :nth-child(3n) { height: 70%; background-color: var(--highlight-green); opacity: 1;}
.audio-visualization > :nth-child(5n) { height: 50%; }
.audio-visualization > :nth-child(7n) { height: 90%; }
.audio-visualization > :nth-child(11n) { height: 30%; }


.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.control-text {
    font-size: 0.8rem;
    color: var(--secondary-text);
}

.controls-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon {
    font-size: 1.2rem;
    cursor: pointer;
}

.play-icon {
    font-size: 1.8rem;
    color: var(--highlight-green); /* Assuming the play button is highlighted */
}

.audio-caption {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--secondary-text);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}


/* --- AUDIO TRACKS SECTION --- */

.track-list {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.track-card {
    flex: 1;
    background-color: var(--light-bg);
    border-radius: 5px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.track-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.track-label {
    align-self: flex-start;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.orange-label { background-color: rgba(255, 152, 0, 0.2); color: var(--highlight-orange); }
.green-label { background-color: rgba(76, 175, 80, 0.2); color: var(--highlight-green); }
.red-label { background-color: rgba(244, 67, 54, 0.2); color: var(--highlight-red); }

.track-artist {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.track-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--secondary-text);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.time {
    font-weight: bold;
    color: var(--text-color);
}

/* --- COSTUME GALLERY SECTION --- */

.costume-gallery {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.costume-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.image-placeholder {
    width: 100%;
    height: 150px; /* Fixed height for visual consistency */
    background-color: #222;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-size: 0.8rem;
    overflow: hidden; /* To simulate a container for the image */
}

/* You would replace the above with the actual <img> tag */
/* .costume-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */


.costume-name {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.costume-status {
    font-size: 0.75rem;
    color: var(--secondary-text);
}

.costume-tags {
    font-size: 0.75rem;
    color: var(--highlight-green); /* Example highlight color */
}

.costume-artist {
    font-size: 0.75rem;
    color: var(--secondary-text);
    margin-top: 5px;
}


/* --- STORIES AND MAPS SECTION --- */

.stories-maps,
.steps-archive {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.steps-archive {
    border-bottom: none; /* Last section doesn't need border */
}

.text-column {
    flex: 1;
}

.map-title {
    color: var(--highlight-green);
    margin-top: 10px;
}

.map-heading, .archive-heading {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.map-text, .archive-text {
    color: var(--secondary-text);
    margin-bottom: 20px;
    font-size: 1rem;
}

.quote-box {
    background-color: var(--light-bg);
    border-left: 3px solid var(--highlight-green);
    padding: 15px;
    font-size: 0.9rem;
    margin-top: 20px;
    color: var(--text-color);
}

.quote-box p {
    margin: 0;
    color: var(--text-color); /* Overriding parent p style */
}

.image-column {
    flex: 1;
}

.story-image-block {
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: 5px;
}

.story-image {
    width: 100%;
    height: 250px; /* Fixed height for image area */
    background-color: #222;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.image-caption-small {
    font-size: 0.75rem;
    color: var(--secondary-text);
    margin-top: 5px;
}