:root {
    --ds-dark: #1A1A1A;
    --ds-sunset: #FF6B6B;
    --ds-light: #E0E0E0;
    --ds-gray: #404040;
}

/* Base Styles */
body {
    background-color: var(--ds-dark);
    color: var(--ds-light);
    /* Default text color */
}

/* Branded Utility Classes (to support HTML without custom Tailwind config) */
.text-ds-sunset {
    color: var(--ds-sunset) !important;
}

.text-ds-light {
    color: var(--ds-light) !important;
}

.text-ds-dark {
    color: var(--ds-dark) !important;
}

.text-ds-purple {
    color: #C084FC !important;
}

.text-shadow-glow {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.bg-ds-dark {
    background-color: var(--ds-dark) !important;
}

.bg-ds-sunset {
    background-color: var(--ds-sunset) !important;
}

.border-ds-gray {
    border-color: var(--ds-gray) !important;
}

.border-ds-sunset {
    border-color: var(--ds-sunset) !important;
}

.main-content-transition {
    transition: opacity 0.3s ease-in-out;
}

/* Custom button style for primary CTA */
.btn-ds-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease-in-out;
    border-radius: 0.125rem;
    background-color: var(--ds-sunset);
    color: var(--ds-dark);
    text-decoration: none;
}

.btn-ds-primary:hover {
    background-color: var(--ds-light);
    color: var(--ds-dark);
}

/* Hollow box button style */
.btn-ds-box {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ds-gray);
    border-radius: 0.125rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    background-color: transparent;
    color: var(--ds-light);
}

.btn-ds-box:hover {
    background-color: var(--ds-sunset);
    color: var(--ds-dark);
    border-color: var(--ds-sunset);
}

/* Artist Card Hover Effect */
.artist-card-image {
    filter: grayscale(80%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.artist-link:hover .artist-card-image {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* Style for the active navigation link */
.nav-link.active {
    color: var(--ds-sunset) !important;
}

.nav-link.active:not(.nav-logo) {
    border-bottom: 2px solid var(--ds-sunset);
}

/* Ensure Store button text is readable on hover */
.nav-link.text-ds-sunset:hover {
    color: var(--ds-dark) !important;
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 2px solid var(--ds-sunset);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--ds-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--ds-sunset);
}

/* Glassmorphism Effect */
.glass-panel {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Integrated Content Layout (Replacing Bento) */
.integrated-section {
    padding: 2rem 0;
}

.hero-greeting {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Intro Zoom Effect */
#intro-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    /* Above header */
    background: var(--ds-dark);
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 1s ease;
}

.scroll-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--ds-light);
    opacity: 0.7;
    animation: pulse 2s infinite ease-in-out;
    pointer-events: none;
    z-index: 10001;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .scroll-hint {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        bottom: 60px;
        white-space: normal;
        line-height: 1.4;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(-5px);
    }
}

#intro-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

#intro-bg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: 65.5% 47%;
    /* Fine-tuned to hit logo dot down and right */
    transition: opacity 0.5s ease;
    will-change: transform;
    transform: scale(1);
}

#scroll-spacer {
    height: 200vh;
    /* Controlled scroll length */
}

#main-content-reveal {
    position: relative;
    z-index: 6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

/* Navigation Reveal Styles */
header {
    transition: opacity 0.8s ease, transform 0.8s ease, background 0.3s ease;
}

.intro-active header {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.intro-complete #intro-viewport {
    display: none !important;
}

/* Lyrics Toggle Styles */
.lyric-container {
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

.lyric-container:not(.hidden) {
    max-height: 5000px;
    /* Sufficiently large for lyrics */
    opacity: 1;
}

.lyric-container.hidden {
    max-height: 0;
    opacity: 0;
}

/* Track item scroll margin to account for sticky header */
#content-container li {
    scroll-margin-top: 80px;
}