:root {
    --bg-main: #0F1217;
    --bg-dark: #161B22;
    --bg-gray: #2B313A;

    --text-main: #FFFFFF;
    --text-muted: #A9B1BB;
    --text-soft: rgba(169, 177, 187, 0.62);

    --accent: #464D6F;
    --accent-hover: #596286;

    --font-main: "Inter", sans-serif;

    --content-width: 760px;
    --header-width: 1080px;

    --section-space: 105px;
    --title-size: 48px;
    --body-size: 20px;
    --small-size: 16px;
    --micro-size: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: var(--font-main);
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font-family: inherit;
}

img {
    display: block;
    max-width: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

h1,
h2,
h3,
p,
blockquote,
span,
a {
    text-wrap: pretty;
}

.container {
    width: min(100% - 40px, var(--content-width));
    margin: 0 auto;
}

.section {
    padding: var(--section-space) 0;
}

.section--dark {
    background: var(--bg-dark);
}

.section--gray {
    background: var(--bg-gray);
}

/* Общие заголовки */

.section-head {
    margin-bottom: 32px;
    text-align: left;
}

.section-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 32px;
    text-align: left;
}

.section-head h2,
.section-row h2,
.music-about h2,
.philosophy h2 {
    font-size: var(--title-size);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.section-head p,
.section-row p {
    max-width: 620px;
    color: var(--text-muted);
    font-size: var(--body-size);
    font-weight: 400;
    line-height: 1.35;
}

.more-link,
.center-link a {
    color: var(--text-muted);
    font-size: var(--small-size);
    font-weight: 400;
    transition: color 0.25s ease;
}

.more-link:hover,
.center-link a:hover {
    color: var(--text-main);
}

.center-link {
    margin-top: 42px;
    text-align: center;
}

.section-label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-hover);
    font-size: var(--micro-size);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Курсивные элементы */

.music-about__final,
.philosophy__final,
.lyrics-grid span,
.section-note {
    font-style: italic;
}

/* Кнопки */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 28px;
    border-radius: 7px;
    border: 1px solid transparent;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--accent);
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn--outline {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent-hover);
}

.btn--outline:hover {
    color: var(--text-main);
    border-color: var(--accent-hover);
}

/* Анимация появления */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */

.header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: rgba(15, 18, 23, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    transition:
        height 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.header--scrolled {
    height: 44px;
    background: rgba(15, 18, 23, 0.97);
    border-color: rgba(255, 255, 255, 0.08);
}

.header__inner {
    position: relative;
    width: min(100% - 40px, var(--header-width));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: block;
    width: 46px;
    opacity: 0.85;
    flex-shrink: 0;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.header__logo:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.header__logo img {
    width: 100%;
    height: auto;
}

.header__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.header__nav a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 600;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.header__nav a:hover {
    color: var(--text-main);
}

.burger {
    display: none;
    width: 36px;
    height: 28px;
    border: 0;
    background: transparent;
    cursor: pointer;
    margin-left: auto;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 7px 0;
    background: var(--text-main);
    transition: transform 0.25s ease;
}

.burger--active span:first-child {
    transform: translateY(9px) rotate(45deg);
}

.burger--active span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 0.45s ease-out;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(15, 18, 23, 0.16), rgba(15, 18, 23, 0.52)),
        rgba(0, 0, 0, 0.08);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 760px);
    padding-top: 40px;
    text-align: center;
}

.hero h1 {
    font-size: 96px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
    margin-bottom: 24px;
}

.hero-title-swap {
    display: inline-grid;
    grid-template-areas: "title";
    align-items: center;
    justify-items: center;
    width: min(100%, 620px);
    min-height: 110px;
    cursor: pointer;
    user-select: none;
}

.hero-title-swap__text,
.hero-title-swap__image {
    grid-area: title;
    will-change: opacity, transform, filter;
    transition:
        opacity 0.42s ease,
        transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.42s ease;
}

.hero-title-swap__text {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-title-swap__image {
    width: min(100%, 594px);
    height: auto;
    max-height: 110px;
    object-fit: contain;
    opacity: 0;
    transform: translateY(14px) scale(0.94) rotate(-1deg);
    filter: blur(3px) drop-shadow(0 8px 22px rgba(0, 0, 0, 0.38));
    pointer-events: none;
}

.hero-title-swap:hover .hero-title-swap__text,
.hero-title-swap:focus-visible .hero-title-swap__text,
.hero-title-swap.is-swapped .hero-title-swap__text {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    filter: blur(2px);
}

.hero-title-swap:hover .hero-title-swap__image,
.hero-title-swap:focus-visible .hero-title-swap__image,
.hero-title-swap.is-swapped .hero-title-swap__image {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.42));
    animation: heroTitleFloat 3.8s ease-in-out 0.42s infinite;
}

.hero-title-swap:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.42);
    outline-offset: 10px;
    border-radius: 8px;
}

@keyframes heroTitleFloat {
    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) scale(1.015) rotate(0.35deg);
    }
}

.hero p {
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 70px;
}

.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.hero__arrow {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.86);
    font-size: 30px;
    font-weight: 300;
    animation: arrowFloat 1.8s ease-in-out infinite;
}

@keyframes arrowFloat {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 0.55;
    }

    50% {
        transform: translate(-50%, 10px);
        opacity: 1;
    }
}

/* Album */

.album.section {
    padding: 90px 0;
}

.album__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 76px;
}

.album__cover-wrap {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.album__cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.album__cover-wrap:hover .album__cover {
    transform: scale(1.04);
    filter: contrast(1.05);
}

.album__content h2 {
    font-size: var(--title-size);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.album__year {
    display: block;
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: var(--small-size);
    font-weight: 400;
}

.album__content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: var(--small-size);
    font-weight: 400;
    line-height: 1.35;
}

.music-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.music-links a {
    min-height: 32px;
    padding: 9px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.music-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Tracks */

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}

.track-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-main);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.track-card:hover {
    z-index: 2;
    transform: translateY(-2px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.track-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition:
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.track-card:hover img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.track-card__body {
    display: flex;
    height: 110px;
    flex-direction: column;
    padding: 13px 14px 16px;
    transition: height 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: height;
}

.track-card:hover .track-card__body {
    height: 154px;
}

.track-card h3 {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
}

.track-card__desc {
    position: relative;
    height: 20px;
    margin-bottom: 10px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    cursor: default;
    transition:
        height 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.65s ease;
    will-change: height;
}

.track-card:hover .track-card__desc {
    height: 64px;
    color: var(--text-main);
}

.track-card__desc-short,
.track-card__desc-full {
    display: block;
    transition:
        opacity 0.7s ease,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.track-card__desc-short {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-card__desc-full {
    opacity: 0;
    transform: translateY(-6px);
    max-width: 100%;
}

.track-card:hover .track-card__desc-short {
    opacity: 0;
    transform: translateY(-6px);
}

.track-card:hover .track-card__desc-full {
    opacity: 1;
    transform: translateY(0);
}

.track-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
    margin-top: auto;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.track-card:hover .track-card__actions {
    transform: translateY(1px);
}

.track-card__play,
.track-card__link {
    min-height: 32px;
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.track-card__play:hover,
.track-card__link:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.track-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
}

.track-card__link img {
    width: 17px;
    height: 17px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.audio-btn.is-playing {
    background: var(--text-main);
    color: var(--bg-main);
}

/* О музыке */

.music-about {
    position: relative;
    min-height: 430px;
    padding: var(--section-space) 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-main);
}

.music-about__bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/music-bg.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.music-about__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(15, 18, 23, 0.18), rgba(15, 18, 23, 0.48)),
        rgba(0, 0, 0, 0.08);
}

.music-about__content {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 820px);
    text-align: center;
}

.music-about h2 {
    margin-bottom: 24px;
}

.music-about p {
    max-width: 780px;
    margin: 0 auto 14px;
    color: var(--text-muted);
    font-size: var(--body-size);
    font-weight: 400;
    line-height: 1.45;
}

.music-about__final {
    margin-top: 28px !important;
    color: var(--text-muted) !important;
}

/* Releases */

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

.release-card a {
    display: block;
    transition: transform 0.25s ease;
}

.release-card a:hover {
    transform: translateY(-4px);
}

.release-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 7px;
    margin-bottom: 8px;
    filter: none;
    transition: transform 0.25s ease;
}

.release-card a:hover img {
    transform: translateY(-2px);
}

.release-card h3 {
    min-height: 20px;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-card p {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.release-card__moving-title {
    position: relative;
    display: block;
    overflow: hidden;
}

.release-title-short {
    display: block;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.release-title-full {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    min-width: max-content;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.25s ease;
}

.release-card:hover .release-title-short {
    opacity: 0;
}

.release-card:hover .release-title-full {
    opacity: 1;
    animation: releaseTitleMove 4.8s ease-in-out infinite;
}

@keyframes releaseTitleMove {
    0% {
        transform: translateX(0);
    }

    18% {
        transform: translateX(0);
    }

    72% {
        transform: translateX(-46%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Lyrics */

.lyrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 118px;
    width: min(100%, 860px);
    margin: 0 auto;
}

.lyrics-grid blockquote,
.lyrics-quote {
    display: block;
    color: var(--text-main);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.lyrics-quote:hover {
    color: var(--accent-hover);
    transform: translateY(-2px);
}

.lyrics-grid span,
.lyrics-quote span {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

.lyrics-preview .section-head {
    width: min(100%, 860px);
    margin: 0 auto 28px;
}

.lyrics-preview .center-link {
    margin-top: 80px;
}

/* Diary */

.diary-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    width: min(100%, 1018px);
    margin: 0 auto;
}

.diary-grid__item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: var(--bg-main);
    transition: transform 0.55s ease;
}

.diary-grid__item::after {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px);
    background-size: 9px 9px, 7px 7px, 100% 4px;
    mix-blend-mode: overlay;
    transition: opacity 0.55s ease;
    content: "";
}

.diary-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition:
        transform 0.65s ease,
        filter 0.65s ease;
}

.diary-grid__item:hover {
    transform: translateY(-2px);
}

.diary-grid__item:hover img {
    transform: scale(1.025);
    filter: grayscale(0.72) contrast(1.08) brightness(0.82);
}

.diary-grid__item:hover::after {
    opacity: 0.75;
}

.diary-grid__item--top-left {
    grid-column: 1 / 8;
    aspect-ratio: 1.55 / 1;
}

.diary-grid__item--top-right {
    grid-column: 8 / 13;
    aspect-ratio: 1.55 / 1;
}

.diary-grid__item--small-1 {
    grid-column: 1 / 5;
    aspect-ratio: 1.55 / 1;
}

.diary-grid__item--small-2 {
    grid-column: 5 / 9;
    aspect-ratio: 1.55 / 1;
}

.diary-grid__item--small-3 {
    grid-column: 9 / 13;
    aspect-ratio: 1.55 / 1;
}

.diary-grid__item--bottom {
    grid-column: 1 / 8;
    aspect-ratio: 1.55 / 1;
}

/* Philosophy */

.philosophy {
    position: relative;
    min-height: 520px;
    padding: var(--section-space) 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.philosophy__bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/philosophy-bg.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.philosophy__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(15, 18, 23, 0.20), rgba(15, 18, 23, 0.52)),
        rgba(0, 0, 0, 0.08);
}

.philosophy__content {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 860px);
    text-align: center;
}

.philosophy h2 {
    margin-bottom: 24px;
}

.philosophy p {
    max-width: 820px;
    margin: 0 auto 14px;
    color: var(--text-muted);
    font-size: var(--body-size);
    font-weight: 400;
    line-height: 1.45;
}

.philosophy__final {
    margin-top: 28px !important;
    color: var(--text-muted) !important;
}

/* Merch */

.merch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.merch-card {
    min-width: 0;
    transition: transform 0.25s ease;
}

.merch-card:hover {
    transform: translateY(-3px);
}

.merch-card__image-link {
    display: block;
    margin-bottom: 8px;
}

.merch-card img {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: contain;
    object-position: center;
    border-radius: 7px;
    background: #ffffff;
    transition: transform 0.25s ease;
}

.merch-card:nth-child(3) img {
    object-fit: cover;
    background: var(--bg-main);
}

.merch-card:hover img {
    transform: translateY(-2px);
}

.merch-card h3 {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.merch-card p {
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.merch-card__order {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.2;
    transition: color 0.25s ease;
}

.merch-card__order:hover {
    color: var(--text-main);
}

/* Footer */

.footer {
    background: var(--bg-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
    width: min(100% - 40px, var(--content-width));
    margin: 0 auto;
    padding: 64px 0 62px;
    display: grid;
    grid-template-columns: 1.65fr 0.65fr 0.75fr;
    gap: 56px;
    align-items: flex-start;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__brand img {
    width: 78px;
    flex-shrink: 0;
    opacity: 0.76;
}

.footer__brand p {
    max-width: 210px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.footer__col {
    align-self: start;
}

.footer__col h3 {
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}

.footer__col a {
    display: block;
    width: fit-content;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    transition: color 0.25s ease;
}

.footer__col a:hover {
    color: var(--text-main);
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.footer__socials a {
    margin-bottom: 0;
}

.footer__bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

/* Кнопка наверх */

.scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-main);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.scroll-top--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* Adaptive */

@media (max-width: 1100px) {
    .diary-grid {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, var(--content-width));
    }

    .section {
        padding: 76px 0;
    }

    .music-about,
    .philosophy {
        padding: 76px 0;
    }

    .header__inner {
        width: min(100% - 28px, var(--header-width));
    }

    .header__nav {
        position: fixed;
        top: 48px;
        left: 0;
        transform: none;
        width: 100%;
        height: calc(100vh - 48px);
        padding: 46px 24px;
        background: rgba(15, 18, 23, 0.98);
        display: flex;
        flex-direction: column;
        gap: 26px;
        opacity: 0;
        pointer-events: none;
        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .header__nav--active {
        opacity: 1;
        pointer-events: auto;
    }

    .header__nav a {
        font-size: 18px;
    }

    .burger {
        display: block;
    }

    .hero {
        min-height: 640px;
    }

    .hero h1 {
        font-size: 54px;
        min-height: 84px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .btn {
        width: 220px;
    }

    .album__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .album__cover-wrap {
        max-width: 360px;
        margin: 0 auto;
    }

    .album__content {
        text-align: center;
    }

    .music-links {
        justify-content: center;
    }

    .tracks-grid {
        grid-template-columns: 1fr;
    }

    .release-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .merch-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-row {
        flex-direction: column;
        gap: 14px;
    }

    .section-head h2,
    .section-row h2,
    .music-about h2,
    .philosophy h2,
    .album__content h2 {
        font-size: 38px;
    }

    .section-head p,
    .section-row p,
    .music-about p,
    .philosophy p {
        font-size: 18px;
    }

    .lyrics-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        width: 100%;
    }

    .lyrics-preview .section-head {
        width: 100%;
    }

    .lyrics-preview .center-link {
        margin-top: 46px;
    }

    .diary-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
        gap: 10px;
    }

    .diary-grid__item--top-left,
    .diary-grid__item--top-right,
    .diary-grid__item--small-1,
    .diary-grid__item--small-2,
    .diary-grid__item--small-3,
    .diary-grid__item--bottom {
        grid-column: auto;
        aspect-ratio: 1.2 / 1;
    }

    .diary-grid__item--bottom {
        grid-column: 1 / -1;
        aspect-ratio: 1.5 / 1;
    }

    .footer__inner {
        width: min(100% - 28px, var(--content-width));
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 54px 0;
    }

    .footer__brand {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .section {
        padding: 64px 0;
    }

    .music-about,
    .philosophy {
        padding: 64px 0;
    }

    .hero h1 {
        font-size: 48px;
        min-height: 74px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-head h2,
    .section-row h2,
    .music-about h2,
    .philosophy h2,
    .album__content h2 {
        font-size: 34px;
    }

    .section-head p,
    .section-row p,
    .music-about p,
    .philosophy p {
        font-size: 16px;
    }

    .release-grid,
    .diary-grid,
    .merch-grid {
        grid-template-columns: 1fr;
    }

    .diary-grid__item--top-left,
    .diary-grid__item--top-right,
    .diary-grid__item--small-1,
    .diary-grid__item--small-2,
    .diary-grid__item--small-3,
    .diary-grid__item--bottom {
        grid-column: auto;
        aspect-ratio: 1.35 / 1;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        padding: 46px 0;
    }

    .footer__brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer__brand img {
        width: 72px;
    }

    .scroll-top {
        right: 18px;
        bottom: 18px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}
