:root {
    --font-heading: 'Marcellus', serif;
    --font-body: 'PT Serif', serif;
    --hero-overlay: rgba(0, 0, 0, 0.45);
    --form-focus-border: rgba(255, 255, 255, 0.85);
    --form-focus-ring: rgba(255, 255, 255, 0.35);
    /* Primary brand color tokens */
    --color-primary: rgb(171, 41, 30);
    /* deep brand red */
    --color-primary-alt: rgba(136, 19, 8, 0.873);
    /* alternate red variant */
    /* Dynamic nav hover color; JS updates this based on underlying section */
    --nav-hover-color: var(--color-primary);
    /* Unified desktop content width */
    --section-max: 900px;
    /* Slightly smaller quote text size */
    --quote-size: 0.90rem;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: #ffffff;
    background-color: #000;
}

html,
body {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

p {
    font-family: var(--font-heading);
}


/* Header / Navigation */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

/* Mobile menu button (hidden on desktop) */
.menu-button {
    position: absolute;
    top: 12px;
    right: 20px;
    display: none;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
}

/* .menu-button:hover {
    color: var(--color-primary);
} */

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* left spacer | centered links | right language */
    align-items: center;
    gap: 16px;
}

.nav_list {
    list-style: none;
    display: flex;
    gap: 42px;
    margin: 0;
    padding: 0;
    position: static;
    /* avoid absolute overflow */
    justify-content: center;
    grid-column: 2;
    /* center column */
}

.nav_link {
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    /* increased link size */
    letter-spacing: 0.5px;
    color: #f2f2f2;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav_link:hover,
.nav_link:focus {
    color: var(--nav-hover-color);
}

.nav_link[aria-current="page"] {
    color: var(--nav-hover-color);
}

.lang-switch {
    grid-column: 3;
    justify-self: end;
}

.lang-switch_link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s;
    background: transparent;
}

.lang-switch_link:hover,
.lang-switch_link:focus {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Language dropdown */
.lang-switch {
    position: relative;
}

.lang-toggle {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-block;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    min-width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
}

.lang-menu li {
    margin: 0;
}

.lang-menu a {
    display: block;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.lang-menu a:hover,
.lang-menu a:focus {
    background: var(--color-primary);
    color: #fff;
}



/* Hero Section */

.hero {
    padding-top: 0;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('assets/img/temp_main_upscaled.webp');
    background-size: cover;
    background-position: center 0%;
    background-repeat: no-repeat;

    min-height: 100vh;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 7vw + 0.5rem, 6rem);
    color: var(--color-primary);
    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.title {
    text-align: center;
    position: absolute;
    /* stays fixed while within the hero section */
    top: 50%;
    /* stick when reaching vertical center */
    left: 50%;
    /* center horizontally */
    transform: translate(-50%, -50%);
    /* exact centering */
    width: max-content;
    /* shrink-wrap content so centering is precise */
    margin-left: auto;
    /* ensure proper centering behavior */
    margin-right: auto;
}

.title p {
    font-size: 1.5rem;
    margin: 0;
    color: #ffffff;
}

/* Nudge hero title slightly lower on desktop only */
@media (min-width: 701px) {
    .title {
        top: 56%;
    }
}

/* Drawer styles (full-screen, from above) */
.drawer {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, 0.92);
    z-index: 120;
    transform: translateY(-100%);
}

.drawer:not([hidden]) {
    display: block;
    animation: drawerDown .3s ease forwards;
}

@keyframes drawerDown {
    to {
        transform: translateY(0);
    }
}

.drawer__nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drawer__list {
    list-style: none;
    margin: 0;
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.drawer__link {
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    letter-spacing: 0.5px;
}

.drawer__link:hover,
.drawer__link:focus {
    color: var(--color-primary-alt);
}

/* Responsive switch: nav -> menu button */
@media (max-width: 700px) {
    .nav {
        display: none;
    }

    .menu-button {
        display: inline-block;
    }
}


/* Music Section */

.music {
    min-height: 100vh;
    background-color: var(--color-primary-alt);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 64px 64px;
    box-sizing: border-box;
}

.music h1 {
    width: auto;
    margin: 0;
    font-size: clamp(2rem, 3vw + 0.32rem, 2.8rem);
    line-height: 1.1;
    color: #fff;
    position: static;
    text-align: left;
}

/* Section headers: inline on desktop, stacked on mobile */
.music-wrapper {
    width: min(var(--section-max), 100%);
    margin-inline: auto;
}

.music-header,
.music-header,
.bio-header,
.gallery-header {
    width: 100%;
    margin: 0 auto 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 32px;
    row-gap: 0;
}

.music-header h1,
.bio-header h1,
.gallery-header h1 {
    margin: 0;
    flex: 0 0 auto;
}

.music-quote,
.bio-quote,
.gallery-quote {
    margin: 6px 0 0 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: var(--quote-size);
    font-style: normal;
    line-height: 1.5;
    color: #fff;
    text-align: left;
    opacity: 0.9;
    grid-column: 2;
}

/* Mobile-only line break toggles */
br.mobile-br {
    display: none;
}

@media (max-width: 700px) {
    br.mobile-br {
        display: inline;
    }
}

/* Player shell */
.player {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    width: min(920px, 100%);
    margin-inline: auto;
    padding: 16px 20px 20px;
    /* center player while keeping heading left */
    background: rgba(0, 0, 0, 0.15);
    --accent: rgb(130, 50, 43);
    box-sizing: border-box;
    /* prevent padding/border from causing overflow on narrow screens */
}

/* Now playing row */
.player__now {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
    align-items: start;
    justify-items: center;
    margin-bottom: 8px;
}

.player__cover {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    object-position: 80% 0%;
    margin-bottom: 4px;
}

.player__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

/* Language switch inside drawer (inline row) */
.drawer__langs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 24px;
}

.drawer__langs a[aria-current="page"] {
    background: rgb(130, 50, 43);
    border-color: rgb(130, 50, 43);
}

.player__artist {
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: center;
}

.player__credits {
    font-size: 0.75rem;
    opacity: 0.75;
    margin-top: 2px;
    letter-spacing: .5px;
    display: block;
    text-align: center;
}

.playlist .credits {
    display: block;
    font-size: 0.65rem;
    opacity: 0.75;
    margin-top: 2px;
}

/* Controls */
.player__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    justify-content: center;
}

.btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background: transparent;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background .2s, border-color .2s, color .2s;
}

.btn:hover,
.btn:focus {
    border-color: var(--accent);
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
}

/* Seek + time */
.player__seek {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

.time {
    font-variant-numeric: tabular-nums;
    font-size: 0.9rem;
    opacity: 0.9;
}

.seek,
.volume {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    outline: none;
}

.seek::-webkit-slider-thumb,
.volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}

.player__volume {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

/* Icon masks for controls (always white) */
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    /* icon color */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: relative;
}

.icon-play {
    -webkit-mask-image: url('assets/icons/play.svg');
    mask-image: url('assets/icons/play.svg');
}

.icon-prev {
    -webkit-mask-image: url('assets/icons/skip-back.svg');
    mask-image: url('assets/icons/skip-back.svg');
}

.icon-next {
    -webkit-mask-image: url('assets/icons/skip-forward.svg');
    mask-image: url('assets/icons/skip-forward.svg');
}

.icon-volume {
    -webkit-mask-image: url('assets/icons/volume.svg');
    mask-image: url('assets/icons/volume.svg');
}

/* Removed .icon--lg (unused after albums removal) */

/* Playing state: draw pause bars */
.btn--play.is-playing .icon-play {
    -webkit-mask-image: url('assets/icons/pause.svg');
    mask-image: url('assets/icons/pause.svg');
}

/* Muted state: draw slash */
.btn--mute.is-muted .icon-volume {
    -webkit-mask-image: url('assets/icons/volume-x.svg');
    mask-image: url('assets/icons/volume-x.svg');
}

/* Playlist */
.playlist {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.playlist li+li {
    margin-top: 6px;
}

.playlist button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-auto-rows: auto;
    gap: 12px;
}

.playlist button:hover,
.playlist button:focus {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.25);
}

.playlist .is-active {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.35);
}

/* Playlist line breaks and secondary info */
.playlist button .main {
    grid-column: 1 / 2;
    font-weight: 700;
    font-size: 1.05rem;
}

.playlist button .dur {
    grid-column: 2 / 3;
    justify-self: end;
}

.playlist button .sub {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    opacity: 0.9;
}

.bio {
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: var(--color-primary);
    width: 100%;
    padding: 80px 64px 124px;
    box-sizing: border-box;
    align-items: center;
}

.bio-wrapper {
    width: min(var(--section-max), 100%);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    --bio-media-max: 420px;
    --bio-media-width: clamp(220px, 32vw, var(--bio-media-max));
}

.bio h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw + 0.32rem, 2.8rem);
    line-height: 1.1;
    color: #fff;
}

.bio-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

/* Bio media enforces a consistent aspect ratio while keeping image cover-cropped */
.bio-media {
    flex: 0 0 var(--bio-media-width);
    inline-size: var(--bio-media-width);
    width: var(--bio-media-width);
    max-width: var(--bio-media-max);
    border-radius: 4px;
    box-sizing: border-box;
}

.bio-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.bio-text {
    flex: 1 1 1;
    min-width: 0;
}

.bio-content p {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 60ch;
    margin: 0;
    color: #fff;
    overflow-wrap: anywhere;
}

/* remove old bio quote row styles (now using .bio-header) */

.bio-content p+p {
    margin-top: 1rem;
}

@media (max-width: 700px) {
    .bio-content {
        flex-direction: column;
        width: 100%;
    }

    .bio-media {
        flex-basis: auto;
        width: 100%;
        min-width: 0;
        order: 0;
        margin-bottom: 16px;
    }

    .bio-text {
        order: 1;
    }

    .bio-content p {
        max-width: 65ch;
    }

    .music-header,
    .bio-header,
    .gallery-header {
        width: 100%;
        grid-template-columns: 1fr;
        align-items: start;
        row-gap: 8px;
        margin-bottom: 20px;
    }

    .music-quote,
    .bio-quote,
    .gallery-quote {
        grid-column: 1;
    }

    /* Unified mobile heading->quote spacing (8px gap, 20px after quote) */
    /* unified mobile spacing handled by header containers */
}









@media (max-width: 640px) {
    .music {
        padding: 72px 20px 48px;
    }

    .player__now {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: start;
    }

    .player__cover {
        width: 48px;
        height: 48px;
    }
}



/* Contact Section */
.contact {
    background-color: var(--color-primary-alt);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 64px 64px;
    box-sizing: border-box;
}


.contact-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: min(900px, 100%);
}

.contact h1 {
    width: 100%;
    margin: 0 0 24px 0;
    font-size: clamp(2rem, 3vw + 0.32rem, 2.8rem);
    line-height: 1.1;
    color: #fff;
}

.contact-content {
    display: flex;
    flex-direction: row;
    width: min(900px, 100%);
}

.contact-content-left {
    width: max(450px, 25%);
}

/* Contact info panel (replaces image on the left) */
.contact-info {
    flex: 0 1 clamp(220px, 32vw, 420px);
    min-width: 0;
    color: #fff;
    margin-right: 24px;
}

.contact-info__block+.contact-info__block {
    margin-top: 16px;
}

.contact-info h3 {
    margin: 12px 0 4px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.contact-info p {
    margin: 0 0 16px 0;
}

/* Contact info links (e.g., email) */
.contact-info a {
    color: #fff;
    text-decoration: underline;
}

.contact-info a:hover,
.contact-info a:focus {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.contact-form {
    flex: 1;
    display: grid;
    gap: 14px;
}

.contact-form .field {
    display: grid;
    gap: 6px;
}

.contact-form label {
    font-size: 0.95rem;
    opacity: 0.95;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: rgba(200, 80, 80, 0.8);
    box-shadow: 0 0 0 2px rgba(200, 80, 80, 0.35);
}


.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    /* Use variables for easier future theming */
    border-color: var(--form-focus-border);
    box-shadow: 0 0 0 2px var(--form-focus-ring);
}

/* Maintain strong error appearance even on focus */
.contact-form input.is-invalid:focus,
.contact-form textarea.is-invalid:focus {
    border-color: rgba(200, 80, 80, 0.9);
    box-shadow: 0 0 0 2px rgba(200, 80, 80, 0.45);
}

.contact-form .actions {
    margin-top: 8px;
}

.error-msg {
    margin: 4px 0 0;
    font-size: 0.75rem;
    line-height: 1.2;
    color: rgba(255, 130, 130, 0.95);
    font-family: var(--font-body);
}

/* Alt email line below form */
.contact-alt-email {
    width: min(900px, 100%);
    margin: 24px auto 0;
    color: #fff;
    opacity: 0.95;
}

.contact-alt-email a {
    color: #fff;
    text-decoration: underline;
}

.contact-alt-email a:hover,
.contact-alt-email a:focus {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

/* Privacy notice under form */
.form-notice {
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-notice a {
    color: #fff;
    text-decoration: underline;
}

.form-notice a:hover,
.form-notice a:focus {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

/* Consent row with checkbox */
.form-consent {
    margin-top: 8px;
    display: inline-flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #fff;
}

.form-consent input[type="checkbox"] {
    margin-top: 2px;
}

.form-consent a {
    color: #fff;
    text-decoration: underline;
}

.form-consent a:hover,
.form-consent a:focus {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

/* Privacy section */
.privacy {
    background-color: rgb(75, 32, 29);
    color: #fff;
    padding: 80px 64px 64px;
    box-sizing: border-box;
    height: 80vh;
}


.privacy-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.privacy h1 {
    width: min(900px, 100%);
    margin: 0 0 24px 0;
    font-size: clamp(1.85rem, 2.6vw + 0.28rem, 2.4rem);
    line-height: 1.1;
    color: #fff;
}

.privacy-content {
    width: min(900px, 100%);
}

.privacy-content h2 {
    margin-top: 20px;
    font-size: 1.3rem;
}

.privacy-content p {
    margin: 0 0 12px 0;
}

/* Popup (custom alert replacement) */
.popup {
    position: fixed;
    inset: 0;
    z-index: 1500;
    /* above header and drawer */
}

.popup[hidden] {
    display: none;
}

.popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
}

.popup__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, 92%);
    background: #0f0f0f;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    padding: 18px 18px 14px;
}

.popup__title {
    margin: 0 32px 8px 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.popup__desc {
    margin: 0 0 12px 0;
    line-height: 1.55;
}

.popup__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.popup__close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    width: 32px;
    height: 32px;
    line-height: 28px;
    text-align: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.popup__close:hover,
.popup__close:focus {
    border-color: var(--color-primary);
}

/* Variants */
.popup--success .popup__panel {
    border-color: rgba(60, 200, 120, 0.6);
}

.popup--error .popup__panel {
    border-color: rgba(200, 80, 80, 0.6);
}

/* Footer */
.site-footer {
    background: #0d0d0d;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
}

/* .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
} */

.footer-title {
    font-family: var(--font-heading);
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    font-size: clamp(1.3rem, 2.2vw + 0.2rem, 2rem);
}

.footer-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-nav a,
.footer-social a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 4px 8px;
    transition: color .2s, border-color .2s, background .2s;
}

.footer-nav a:hover,
.footer-nav a:focus,
.footer-social a:hover,
.footer-social a:focus {
    color: #fff;
    border-color: var(--color-primary);
    background: rgba(130, 50, 43, 0.15);
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.footer-bottom {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 40px 24px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.back-to-top {
    color: #fff;
    text-decoration: none;
}

.back-to-top:hover,
.back-to-top:focus {
    color: #fff;
    text-decoration: underline;
}

/* Albums carousel styles removed */

@media (max-width: 800px) {
    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Optional smooth scrolling for in-page links */
html {
    scroll-behavior: smooth;
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .nav_link:hover {
        color: #f2f2f2;
    }

    .lang-switch_link:hover {
        background: transparent;
        color: #fff;
        border-color: rgba(255, 255, 255, 0.35);
    }

    .lang-menu a:hover {
        background: transparent;
        color: #fff;
    }

    .drawer__link:hover {
        color: #ffffff;
    }

    .btn:hover {
        border-color: rgba(255, 255, 255, 0.3);
        color: #fff;
        background: transparent;
    }

    .playlist button:hover {
        border-color: rgba(255, 255, 255, 0.15);
        background: rgba(0, 0, 0, 0.15);
    }

    .contact-alt-email a:hover {
        text-decoration: underline;
        border-bottom: none;
    }

    .form-notice a:hover {
        text-decoration: underline;
        border-bottom: none;
    }

    .form-consent a:hover {
        text-decoration: underline;
        border-bottom: none;
    }

    .footer-nav a:hover,
    .footer-social a:hover {
        color: #fff;
        border-color: transparent;
        background: transparent;
    }

    .back-to-top:hover {
        color: #fff;
        text-decoration: none;
    }

    .popup__close:hover {
        border-color: rgba(255, 255, 255, 0.25);
    }
}


/* =============================
   DEBUG OUTLINES
   Remove or comment out when not needed.
   Add the class 'debug' to <body> to enable a more subtle version.
============================== */
/* Debug outlines (disabled by default). Add `debug` on <body> to enable */
body.debug * {
    outline: 1px solid rgba(0, 160, 255, 0.35);
    outline-offset: -1px;
}

body.debug *:hover {
    outline-color: rgba(255, 255, 0, 0.6);
}

body.debug * {
    outline: 1px solid rgba(255, 0, 128, 0.35);
}

body.debug *:hover {
    outline-color: rgba(255, 255, 0, 0.7);
}