.album-meta .album-title {
    font-size: 2.6rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 1;
    margin: 0;
    display: block;
}

.album-meta .album-year {
    font-size: 2.6rem;
    opacity: 0.7;
    line-height: 1;
    margin: 0;
    display: block;
    font-weight: bold;
}

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Helvetica, Arial, sans-serif;
    background: #0e0e0e;
    color: #f5f5f5;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    text-align: center;
    padding: 3rem 1rem 2rem;
}

.site-header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.subtitle {
    opacity: 0.6;
    margin-top: 0.5rem;
}

.back-link {
    display: block;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.album-card {
    position: relative;
    overflow: hidden;
    width: 440px;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.album-card img {
    width: 440px;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0.85;
    border-radius: 1.2rem;
}

.album-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    justify-items: center;
    max-width: 1920px;
    margin: 0 auto;
    box-sizing: border-box;
}

.album-lightbox {
  outline: none;
}

/* .album-lightbox:focus {
  outline: 2px solid rgba(255, 255, 255, 0.08);
  outline-offset: -2px;
} */

.album-meta {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5em 1em 0.4em 1em;
    background: linear-gradient(0deg, rgba(20,20,20,0.44) 70%, rgba(20,20,20,0.0) 100%);
    color: #fff;
    border-radius: 0 0 1.2rem 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    pointer-events: none;
    z-index: 2;
    text-align: left;
}

.album-title {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    margin: 0;
    display: block;
}

.album-year {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1;
    margin: 0;
    display: block;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 1.5rem;
    max-width: 1920px;
    margin: 0 auto;
    padding: 2rem;
    justify-items: center;
}

.gallery img {
    width: 440px;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.12);
}
