@font-face {
    font-family: "PierwszySniegDisplay";
    src: url('../fonts/PierwszySniegFont2-Regular.otf') format('opentype'),
        url('../fonts/PierwszySniegFont2-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --soft-white: #eafcfc;
    --soft-white-rgb: 234, 252, 252;
    --nav-nas-size-desktop: 1.16em;
    --nav-nas-size-mobile: 1.24em;
}

html {
    background-color: #050914;
    scrollbar-color: rgba(220, 229, 255, 0.42) rgba(8, 14, 25, 0.72);
    scrollbar-width: thin;
}

body {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #050914;
    background-image: url('../images/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--soft-white);
}

body::-webkit-scrollbar,
.modal-dialog::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track,
.modal-dialog::-webkit-scrollbar-track {
    background: rgba(8, 14, 25, 0.72);
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
.modal-dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(214, 225, 255, 0.5), rgba(105, 134, 184, 0.58));
    border: 2px solid rgba(8, 14, 25, 0.78);
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover,
.modal-dialog::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(236, 241, 255, 0.72), rgba(135, 165, 216, 0.8));
}

header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 40px) 6px;
}

.site-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--soft-white);
    text-decoration: none;
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 22px;
    letter-spacing: 0.03em;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(9, 15, 27, 0.9), rgba(12, 22, 40, 0.84));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(26, 44, 74, 0.94), rgba(13, 28, 49, 0.86));
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38);
}

.site-nav .nav-word-nas {
    display: inline-block;
    font-size: var(--nav-nas-size-desktop);
    line-height: 1;
}

.logo img {
    display: block;
    width: min(220px, 34vw);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.38));
}

main {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 1080px;
    width: 100%;
    margin: 16px auto 40px;
    padding: 20px;
    box-sizing: border-box;
}

.page-shell {
    max-width: 900px;
}

.page-panel {
    position: relative;
    background: rgba(8, 12, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 18px 24px 90px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.about-page-panel {
    padding-bottom: 38px;
}

.close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 22px;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--soft-white);
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 4px 0 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: block;
}

.page-panel p.photo-credit {
    margin: -12px 0 22px;
    font-size: 11px;
    line-height: 1.3;
    opacity: 0.65;
    text-align: center;
    font-weight: normal;
    letter-spacing: 0.02em;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--soft-white);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.26);
}

.contact-item-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.75;
}

.contact-item-text {
    font-size: 17px;
    letter-spacing: 0.01em;
}

.page-panel p,
.page-panel li {
    font-size: 16px;
    line-height: 1.7;
}

.page-panel ul {
    margin: 0;
    padding-left: 20px;
}

.page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--soft-white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.page-link:hover {
    background: rgba(255, 255, 255, 0.14);
}

.countdown-section {
    margin-bottom: 24px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(7, 11, 20, 0.84), rgba(13, 22, 39, 0.76));
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.countdown-section h2 {
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    margin: 0 0 18px;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 400;
    letter-spacing: 0.04em;
}

.countdown-kicker {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(238, 244, 255, 0.62);
}

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

.countdown-item {
    padding: 18px 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(79, 101, 137, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.countdown-value {
    display: block;
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 400;
    line-height: 1;
}

.countdown-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.countdown-status {
    margin: 16px 0 0;
    font-size: 13px;
    opacity: 0.72;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.album-cta-cover {
    display: block;
    width: min(500px, 72vw);
    margin: 0 auto 28px;
    /* border-radius: 18px; */
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-cta-cover:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.countdown-actions {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.countdown-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 11px 28px;
    border: 1px solid rgba(202, 232, 255, 0.55);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(177, 226, 255, 0.95), rgba(70, 148, 227, 0.9));
    color: #07111d;
    cursor: pointer;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.72),
        inset -1px -1px 0 rgba(18, 64, 120, 0.36),
        0 8px 22px rgba(0, 0, 0, 0.2),
        0 0 16px rgba(126, 214, 255, 0.18);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.countdown-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(223, 242, 255, 0.82);
    background: linear-gradient(180deg, rgba(204, 239, 255, 1), rgba(92, 170, 243, 0.98));
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.88),
        inset -1px -1px 0 rgba(18, 64, 120, 0.28),
        0 12px 28px rgba(0, 0, 0, 0.26),
        0 0 22px rgba(126, 214, 255, 0.28);
}

.countdown-cta-label {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: clamp(16px, 2.2vw, 20px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #07111d;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.countdown-cta-subtitle {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.82;
    color: rgba(7, 17, 29, 0.82);
}

.media-wall {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
}

@media (max-width: 1040px) {
    .media-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.media-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-decoration: none;
    color: var(--soft-white);
    background: linear-gradient(180deg, rgba(9, 14, 24, 0.9), rgba(8, 12, 22, 0.8));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(10px);
}

.video-card {
    display: flex;
    flex-direction: column;
    padding: 12px 12px 10px;
    border-radius: 8px;
    border: 2px solid #0a4fb3;
    background: #ece9d8;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.76),
        inset -1px -1px 0 rgba(29, 56, 102, 0.32),
        0 12px 24px rgba(0, 0, 0, 0.36);
    overflow: visible;
}

.video-card::before {
    content: "VIDEO_PLAYER.EXE";
    display: block;
    margin: -10px -10px 10px;
    padding: 8px 38px 8px 12px;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, #1f85ff 0%, #0c57d4 48%, #0a43b9 100%);
    color: var(--soft-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -1px 0 rgba(8, 55, 146, 0.85);
}

.video-card::after {
    content: "X";
    position: absolute;
    top: 5.5px;
    right: 8px;
    width: 19px;
    height: 19px;
    border-radius: 3px;
    border: 1px solid var(--soft-white);
    background: linear-gradient(180deg, #ff7c75 0%, #e53b2f 100%);
    color: var(--soft-white);
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
    border-color: rgba(255, 255, 255, 0.3);
}

.video-card:hover {
    transform: none;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.76),
        inset -1px -1px 0 rgba(29, 56, 102, 0.32),
        0 12px 24px rgba(0, 0, 0, 0.36);
    border-color: #0a4fb3;
}

.video-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #7f9db9;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.32),
        inset -1px -1px 0 rgba(18, 33, 54, 0.26),
        0 0 0 2px #f4f1e2;
}

.video-thumb-preview {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #7f9db9;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.32),
        inset -1px -1px 0 rgba(18, 33, 54, 0.26),
        0 0 0 2px #f4f1e2;
    pointer-events: none;
}

.media-card-content {
    padding: 16px 16px 18px;
}

.video-card-content {
    margin-top: 12px;
    padding: 14px 14px 16px;
    text-align: center;
    border-radius: 3px;
    background: #f2efe1;
    border: 1px solid #c5c2b7;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.82),
        inset -1px -1px 0 rgba(191, 187, 175, 0.88);
}

.video-card .media-card-content h3 {
    margin: 0;
    line-height: 1.12;
    color: #1b2433;
    text-shadow: none;
}

.media-card-content h3 {
    margin: 0 0 8px;
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.media-card-content h3.video-title-large {
    font-size: 31px;
}

.media-card-content h3.video-title-hello {
    font-size: 38px;
}

.media-card-content h3.video-title-medium {
    font-size: 28px;
}

.media-card-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

.media-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.action-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 0 1 320px;
    min-height: 146px;
    width: min(100%, 320px);
    padding: 22px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--soft-white);
}

.preorder-card {
    background:
        linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(8, 12, 22, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 226, 180, 0.12), 0 14px 28px rgba(0, 0, 0, 0.34);
}

.newsletter-card {
    background:
        linear-gradient(180deg, rgba(14, 22, 36, 0.94), rgba(8, 13, 24, 0.9));
    box-shadow: inset 0 1px 0 rgba(184, 217, 255, 0.12), 0 14px 28px rgba(0, 0, 0, 0.34);
}

.action-label {
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.05;
}

.action-desc {
    font-size: 13px;
    max-width: 24ch;
    margin: 0 auto;
    opacity: 0.78;
    line-height: 1.55;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background-color: rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
    overscroll-behavior: contain;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-dialog {
    position: relative;
    width: min(760px, 96vw);
    max-height: 90vh;
    overflow-y: auto;
    background-color: rgba(6, 10, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 24px;
}

.modal-dialog-success {
    width: min(560px, 94vw);
    padding: 32px 28px;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 52%),
        rgba(6, 10, 20, 0.97);
}

.modal-dialog-image {
    width: min(720px, 96vw);
    padding: 42px 20px 20px;
    text-align: center;
}

.modal-dialog-video {
    width: min(640px, 94vw);
    padding: 38px 18px 18px;
}

.video-player-panel {
    display: grid;
    gap: 14px;
}

.video-player-panel h2 {
    margin-bottom: 0;
}

.video-player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.video-player-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cover-preview-panel {
    display: grid;
    gap: 16px;
}

.cover-preview-panel h2 {
    margin-bottom: 0;
}

.cover-preview-image {
    display: block;
    width: min(100%, 560px);
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: var(--soft-white);
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
}

h2 {
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.modal-title-line {
    display: block;
    white-space: nowrap;
}

.preorder-title {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-weight: 700;
}

.preorder-title .modal-title-line {
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    font-weight: 400;
}

#preorder-success-title,
#newsletter-success-title {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #9ba4bb;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: var(--soft-white);
    color: #0e1a26;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group select option {
    background-color: var(--soft-white);
    color: #0e1a26;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(var(--soft-white-rgb), 0.78);
    box-shadow: 0 0 0 3px rgba(var(--soft-white-rgb), 0.18);
}

.product-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 16px;
    align-items: start;
    margin: 0 0 22px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(111, 131, 164, 0.08));
}

.product-card-cover-button {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
}

.product-card-cover {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-cover-button:hover .product-card-cover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 32px rgba(0, 0, 0, 0.34);
}

.product-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: end;
}

.product-card-kicker,
.product-card-title,
.product-card-price {
    margin: 0;
}

.product-card-kicker {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.7;
    grid-column: 1 / -1;
}

.product-card-title {
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: clamp(28px, 3.8vw, 36px);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-top: 7px;
    grid-column: 1;
}

.product-card-price {
    font-size: 24px;
    font-weight: 700;
    grid-column: 2;
    justify-self: end;
    align-self: end;
    margin-bottom: 5px;
}

.album-tracklist {
    grid-column: 1 / -1;
}

.album-tracklist {
    margin-top: 10px;
    border: 1px solid rgba(196, 223, 255, 0.26);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(14, 22, 36, 0.9), rgba(10, 15, 27, 0.88));
    overflow: hidden;
}

.album-tracklist-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    list-style: none;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.album-tracklist-summary::-webkit-details-marker {
    display: none;
}

.album-tracklist-summary:hover {
    background: rgba(148, 187, 235, 0.08);
}

.album-tracklist-summary:focus-visible {
    outline: 2px solid rgba(166, 222, 255, 0.9);
    outline-offset: -2px;
}

.album-tracklist-meta {
    display: grid;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.album-tracklist-title {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(236, 244, 255, 0.98);
}

.album-tracklist-count {
    font-size: 12px;
    color: rgba(206, 220, 243, 0.82);
}

.album-tracklist-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(196, 227, 255, 0.45);
    background: linear-gradient(180deg, rgba(95, 164, 235, 0.27), rgba(59, 122, 194, 0.27));
    color: rgba(236, 245, 255, 0.98);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.album-tracklist-button::before {
    content: "Pokaż";
}

.album-tracklist[open] .album-tracklist-button::before {
    content: "Ukryj";
}

.album-tracklist-list {
    margin: 0;
    padding: 4px 12px 12px;
    list-style: none;
    counter-reset: track;
    display: grid;
    gap: 4px;
}

.album-tracklist-list li {
    counter-increment: track;
    position: relative;
    padding: 5px 8px 5px 34px;
    border-radius: 8px;
    color: rgba(230, 239, 252, 0.97);
    background: rgba(255, 255, 255, 0.04);
    line-height: 1.42;
}

.album-tracklist-list li::before {
    content: counter(track, decimal-leading-zero);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(153, 201, 255, 0.92);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 4px;
}

.input-invalid {
    border-color: #ff8f8f !important;
    box-shadow: 0 0 0 3px rgba(255, 143, 143, 0.18);
    background-color: rgba(255, 238, 238, 0.98) !important;
}

.checkbox-group a {
    color: var(--soft-white);
    text-decoration: underline;
}

.checkbox-optional label {
    opacity: 0.9;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    margin: 0 0 16px;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.9;
}

.form-note a {
    color: var(--soft-white);
}

.form-note-centered {
    text-align: center;
}

.form-note-strong {
    margin-bottom: 12px;
    font-weight: 700;
    opacity: 1;
    text-align: center;
}

.form-feedback {
    margin: 4px 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 143, 143, 0.45);
    border-radius: 12px;
    background: rgba(93, 20, 20, 0.26);
    color: #ffe1e1;
}

.form-feedback-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
}

.form-feedback-list {
    margin: 0;
    padding-left: 18px;
}

.form-feedback-list li + li {
    margin-top: 6px;
}

.success-panel {
    display: grid;
    gap: 14px;
}

.success-kicker {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.72;
}

.success-copy {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.success-copy-muted {
    font-size: 14px;
    opacity: 0.76;
}

.success-button {
    margin-top: 6px;
}

button + .form-note {
    margin-top: 12px;
    margin-bottom: 0;
}

button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--soft-white);
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

button:hover {
    background-color: #d7ecec;
}

button:disabled {
    cursor: wait;
    opacity: 0.72;
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

body.modal-open footer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 10px 20px 26px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--soft-white);
    text-decoration: none;
    font-family: "PierwszySniegDisplay", "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    border-color: rgba(255, 255, 255, 0.36);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

footer p {
    display: inline-block;
    margin: 0;
    padding: 10px 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(7, 11, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
}

footer p a {
    color: var(--soft-white);
    text-decoration: none;
}

footer p a:hover {
    text-decoration: underline;
}

.social-youtube {
    background: #c4302b;
}

.social-instagram {
    background: linear-gradient(135deg, #405de6, #c13584 55%, #f77737);
}

.social-facebook {
    background: #1877f2;
}

.social-tiktok {
    background: #121212;
}

.social-spotify {
    background: #1db954;
}

@media (max-width: 640px) {
    header {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        justify-content: center;
        padding: 22px 16px 10px;
        gap: 14px;
    }

    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto 10px;
    }

    .logo a {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

    .logo img {
        width: min(250px, 72vw);
        max-width: 250px;
        margin: 0 auto;
    }

    .site-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        gap: 12px;
        text-align: center;
    }

    .site-nav a {
        font-size: 18px;
        padding: 9px 16px;
    }

    .site-nav .nav-word-nas {
        font-size: var(--nav-nas-size-mobile);
    }

    .media-wall {
        grid-template-columns: 1fr;
    }

    main {
        margin: 16px auto;
        padding: 12px;
    }

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

    .countdown-actions {
        margin-top: 21px;
    }

    .countdown-cta {
        width: auto;
        min-width: 0;
        padding: 10px 22px;
    }

    .countdown-cta-label {
        font-size: 24px;
    }

    .countdown-cta-subtitle {
        font-size: 11px;
    }

    .media-actions {
        gap: 24px;
    }

    .action-card {
        min-height: 132px;
        padding: 18px;
        width: 100%;
    }

    .newsletter-card .action-label {
        font-size: 38px;
    }

    .video-card .media-card-content {
        padding: 14px 14px 16px;
    }

    .video-card {
        padding: 10px 10px 9px;
    }

    .video-card::before {
        font-size: 10px;
        letter-spacing: 0.04em;
        padding: 7px 32px 7px 10px;
    }

    .video-card::after {
        top: 3.5px;
        right: 7px;
        width: 17px;
        height: 17px;
        line-height: 17px;
        font-size: 10px;
    }

    footer {
        position: relative;
        z-index: 1;
        text-align: center;
        padding: 34px 20px 26px;
    }

    footer p {
        font-size: 11px;
        border-radius: 18px;
        line-height: 1.6;
    }

    .modal {
        padding: max(34px, calc(env(safe-area-inset-top) + 20px)) 12px max(26px, calc(env(safe-area-inset-bottom) + 16px));
        align-items: center;
        justify-content: center;
    }

    .modal-dialog {
        width: min(100%, 560px);
        max-height: calc(100dvh - 72px);
        padding: 44px 12px 28px;
        border-radius: 18px;
    }

    #preorder-modal {
        align-items: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #preorder-modal .modal-dialog {
        max-height: none;
        margin: 0 auto;
    }

    .modal-dialog-image {
        width: 100%;
        max-height: calc(100dvh - 72px);
        padding: 44px 12px 18px;
    }

    .cover-preview-image {
        width: min(100%, 340px);
    }

    .modal-close {
        top: 10px;
        right: 10px;
        padding: 7px 11px;
    }

    #preorder h2,
    #newsletter h2,
    .modal-dialog-success h2 {
        margin-bottom: 22px;
        font-size: clamp(24px, 7vw, 34px);
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label,
    .checkbox-group label {
        font-size: 14px;
        line-height: 1.55;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select {
        padding: 11px 10px;
        font-size: 16px;
    }

    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
        margin-bottom: 18px;
        padding: 12px;
    }

    .product-card-cover {
        max-width: 156px;
        margin: 0 auto;
    }

    .product-card-title {
        font-size: 30px;
    }

    .product-card-price {
        font-size: 22px;
        justify-self: center;
    }

    .product-card-body {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
    }

    .product-card-kicker,
    .product-card-title,
    .product-card-price,
    .album-tracklist {
        grid-column: 1;
    }

    .album-tracklist-summary {
        padding: 10px;
        gap: 10px;
    }

    .album-tracklist-title {
        font-size: 12px;
    }

    .album-tracklist-count {
        font-size: 11px;
    }

    .album-tracklist-button {
        min-width: 82px;
        padding: 5px 8px;
        font-size: 10px;
    }

    .album-tracklist-list {
        padding: 4px 10px 10px;
    }

    .album-tracklist-list li {
        padding: 5px 8px 5px 30px;
        font-size: 12px;
    }

    .album-tracklist-list li::before {
        left: 8px;
        font-size: 10px;
    }

    .form-feedback {
        padding: 12px 14px;
    }

    .success-panel {
        gap: 12px;
    }

    .modal-dialog-success {
        width: min(100%, 460px);
        padding: 46px 16px 28px;
    }
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 640px) {
        #preorder-modal {
            padding-top: max(46px, calc(env(safe-area-inset-top) + 30px));
        }

        #preorder-modal .modal-dialog {
            padding-top: 52px;
        }

        #preorder-modal .modal-close {
            top: 12px;
        }
    }
}
