/* Reset all link colors and underlines - FIX FOR VISITED LINKS */
a,
a:visited,
a:hover,
a:active,
a:focus {
    color: inherit !important;
    text-decoration: none !important;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

.site-title a,
.site-title a:visited,
.site-title a:hover,
.site-title a:active,
.site-title a:focus {
    color: inherit !important;
    text-decoration: none !important;
}

body {
    min-height: 100vh;
    background: #ffffff;
    color: #000000;
    font-family: "Plus Jakarta Sans", sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html.dark body {
    background: #000000;
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

span.lang-ru,
span.lang-be,
span.lang-en {
    display: none;
}

html.lang-ru .lang-ru {
    display: inline;
}

html.lang-be .lang-be {
    display: inline;
}

html.lang-en .lang-en {
    display: inline;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    width: 100%;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
}

html.dark .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.10);
}

.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
}

.site-title {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-subtitle {
    margin-top: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
}

.desktop-nav {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

.desktop-nav__link,
.desktop-nav__button {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.desktop-nav__link:hover,
.desktop-nav__button:hover {
    opacity: 1;
}

.desktop-nav__link {
    opacity: 0.6;
}

.desktop-nav__link--active {
    opacity: 1;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.albums-dropdown-wrap {
    position: relative;
}

.albums-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 8px;
    width: 192px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 50;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

html.dark .albums-dropdown {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.10);
}

.albums-dropdown-wrap:hover .albums-dropdown {
    opacity: 1;
    visibility: visible;
}

.albums-dropdown__inner {
    padding: 8px 0;
}

.albums-dropdown__link {
    display: block;
    padding: 8px 16px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

html.dark .albums-dropdown__link {
    color: #ffffff;
}

.albums-dropdown__link:hover {
    background: rgba(0, 0, 0, 0.05);
}

html.dark .albums-dropdown__link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.05);
}

html.dark .lang-switcher {
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
}

.desktop-lang-switcher {
    display: none;
}

.lang-toggle {
    height: 100%;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn-active {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000000 !important;
    opacity: 1 !important;
}

.burger-button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.05);
    color: #ffffff;
    cursor: pointer;
}

html.dark .burger-button {
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
}

.material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
    user-select: none;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

html.dark .mobile-menu {
    background: #000000;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu__top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 48px;
}

.mobile-menu__close {
    font-size: 32px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 24px;
    font-weight: 700;
}

.mobile-nav__link {
    color: inherit;
    text-decoration: none;
}

.mobile-albums {
    display: block;
}

.mobile-albums__button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    padding: 0;
    cursor: pointer;
}

.mobile-albums__arrow {
    transition: transform 0.2s ease;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 24px;
    margin-top: 16px;
    font-size: 18px;
    opacity: 0.7;
}

.mobile-submenu.open {
    max-height: 2000px;
}

.mobile-submenu a {
    color: inherit;
    text-decoration: none;
}

.mobile-lang-switcher {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    padding-top: 32px;
}

html.dark .mobile-lang-switcher {
    border-top-color: rgba(255, 255, 255, 0.10);
}

.mobile-lang-switcher__btn {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

@media (min-width: 640px) {
    .desktop-lang-switcher {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .site-header {
        padding-left: 48px;
        padding-right: 48px;
    }

    .desktop-nav {
        display: flex;
    }

    .burger-button {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}