*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg-main: #0b0b0f;
    --bg-secondary: #13131a;
    --bg-card: rgba(22, 22, 30, 0.92);
    --bg-card-soft: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-color: #f5f5f7;
    --text-muted: #b9bcc7;
    --gold: #d4af37;
    --gold-soft: rgba(212, 175, 55, 0.14);
    --danger: #ff6b6b;
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 14px 30px rgba(0, 0, 0, 0.28);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body.lightbox-is-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.album-hero {
    position: relative;
    padding: 60px 0 40px;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 100%);
}

.album-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}

.album-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition), transform var(--transition);
}

.album-back-link:hover {
    color: var(--gold);
    transform: translateX(-2px);
}

.album-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 32px;
    align-items: center;
    padding: 34px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}

.album-hero__content h1,
.album-message-card h1,
.album-message-card h2,
.section-intro h2 {
    margin: 0 0 16px;
    color: var(--text-color);
    line-height: 1.1;
}

.album-hero__content h1,
.album-message-card h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-intro h2,
.album-message-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.album-hero__text,
.album-message-card p,
.section-intro p,
.album-video-card__body p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 1rem;
}

.album-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.album-meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.95rem;
    white-space: nowrap;
}

.album-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.album-hero__cover {
    width: 100%;
    max-width: 470px;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background: #111;
}

.album-hero__cover--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(255,255,255,0.03)),
        rgba(255,255,255,0.03);
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
}

.album-content-section {
    padding: 10px 0 80px;
}

.section-intro {
    margin-bottom: 24px;
}

.section-intro--spaced {
    margin-top: 54px;
}

.album-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.album-photo-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.album-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.38);
}

.album-photo-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.album-photo-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.0));
}

.album-photo-card__title {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
}

.album-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.album-video-card,
.album-message-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.album-video-card__media {
    background: #000;
}

.album-video-card__media video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.album-video-card__body {
    padding: 22px;
}

.album-video-card__body h3 {
    margin: 0 0 12px;
    color: var(--text-color);
    font-size: 1.2rem;
}

.album-video-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.album-video-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bg-card-soft);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.album-message-card {
    padding: 34px;
    text-align: center;
}

.album-message-card--error {
    border-color: rgba(255, 107, 107, 0.25);
}

.album-message-card--error .eyebrow {
    background: rgba(255, 107, 107, 0.12);
    color: #ff9a9a;
}

.album-message-card .btn {
    margin-top: 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.album-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    background: rgba(5, 5, 8, 0.94);
    backdrop-filter: blur(8px);
}

.album-lightbox.is-open {
    display: block;
}

.album-lightbox__content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 1100px);
    max-height: calc(100vh - 120px);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.album-lightbox__content img {
    max-width: 100%;
    max-height: 74vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background: #000;
}

.album-lightbox__caption {
    width: 100%;
    max-width: 900px;
    margin-top: 18px;
    text-align: center;
    padding: 0 20px;
}

.album-lightbox__caption h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.25rem;
}

.album-lightbox__caption p {
    margin: 0;
    color: #d0d3dc;
    line-height: 1.7;
}

.album-lightbox__close,
.album-lightbox__nav {
    position: fixed;
    z-index: 5;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), opacity var(--transition);
    backdrop-filter: blur(6px);
}

.album-lightbox__close:hover,
.album-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

.album-lightbox__close {
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 2rem;
    line-height: 1;
}

.album-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    font-size: 2.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.album-lightbox__nav--prev {
    left: 22px;
}

.album-lightbox__nav--next {
    right: 22px;
}

@media (max-width: 1180px) {
    .album-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .album-hero__grid {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .album-hero__visual {
        justify-content: flex-start;
    }

    .album-hero__cover {
        max-width: 100%;
    }

    .album-video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .album-hero {
        padding: 42px 0 28px;
    }

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

    .album-lightbox__content {
        width: min(92vw, 92vw);
        max-height: calc(100vh - 150px);
    }

    .album-lightbox__content img {
        max-height: 62vh;
    }

    .album-lightbox__nav {
        width: 50px;
        height: 50px;
        font-size: 1.9rem;
    }

    .album-lightbox__nav--prev {
        left: 12px;
    }

    .album-lightbox__nav--next {
        right: 12px;
    }

    .album-lightbox__close {
        top: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
        font-size: 1.8rem;
    }
}

@media (max-width: 560px) {
    .album-hero__grid,
    .album-message-card {
        padding: 20px;
    }

    .album-photo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .album-hero__meta {
        flex-direction: column;
        align-items: stretch;
    }

    .album-meta-pill {
        width: 100%;
        justify-content: center;
    }

    .album-video-card__body {
        padding: 18px;
    }

    .album-lightbox__content {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 140px);
    }

    .album-lightbox__content img {
        max-height: 56vh;
    }

    .album-lightbox__caption {
        padding: 0 8px;
    }

    .album-lightbox__caption h3 {
        font-size: 1.05rem;
    }

    .album-lightbox__caption p {
        font-size: 0.92rem;
    }

    .album-lightbox__nav {
        top: auto;
        bottom: 18px;
        transform: none;
    }

    .album-lightbox__nav:hover {
        transform: scale(1.05);
    }

    .album-lightbox__nav--prev {
        left: 18px;
    }

    .album-lightbox__nav--next {
        right: 18px;
    }
}