@font-face {
    font-family: 'IBM VGA';
    src: url('/ibm-vga.ttf') format('truetype');
}

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

body, html {
    width: 100%;
    min-height: 100%;
    background-color: #000;
    font-family: 'IBM VGA', 'Courier New', monospace;
    color: #fff;
    user-select: none;
}

.screen-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    filter: contrast(1.2) brightness(1.05);
    padding: 60px 20px 100px;
}

.topnav {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.nav-item {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
    border-bottom-color: #fff;
}

.container {
    text-align: center;
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 640px;
}

.glitch-box {
    border: 3px solid #fff;
    padding: 15px 30px;
    display: inline-block;
    font-size: 2.2rem;
    font-weight: bold;
    background: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
}

.sub-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #ccc;
    letter-spacing: 2px;
}

.release-block {
    margin-top: 50px;
    border-top: 1px solid #444;
    padding-top: 30px;
}

.release-title {
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 4px;
}

.release-meta {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1px;
}

.tracklist {
    list-style: none;
    margin-top: 25px;
    text-align: left;
    display: inline-block;
    font-size: 0.85rem;
    color: #ddd;
    line-height: 1.9;
}

.tracklist li::before {
    content: "▸ ";
    color: #666;
}

.links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-btn {
    display: inline-block;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: #000;
    transition: background 0.15s, color 0.15s;
}

.link-btn:hover {
    background: #fff;
    color: #000;
}

.donate-btn {
    color: #7cff8a;
    border-color: #7cff8a;
}

.donate-btn:hover {
    background: #7cff8a;
    color: #000;
}

.grid-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.section {
    margin-top: 55px;
    border-top: 1px solid #333;
    padding-top: 25px;
}

.section-title {
    font-size: 1rem;
    letter-spacing: 3px;
    color: #ccc;
    margin-bottom: 18px;
}

.section-text {
    font-size: 0.85rem;
    color: #bbb;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

.contact-list {
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    font-size: 0.9rem;
}

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: baseline;
}

.contact-list span:first-child {
    color: #666;
    width: 80px;
    flex-shrink: 0;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.contact-list a,
.contact-list span:last-child {
    color: #ddd;
    text-decoration: none;
}

.contact-list a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-text {
    margin-top: 50px;
    font-size: 0.65rem;
    color: #555;
    letter-spacing: 1px;
}

.screen-overlays {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
}

.screen-overlays::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 50%);
    background-size: 100% 4px;
    z-index: 10;
}

.rolling-bar {
    position: absolute;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 10%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.08) 90%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(5px);
    z-index: 11;
    animation: roll 4s linear infinite;
}

.rolling-bar-fast {
    position: absolute;
    width: 100%;
    height: 40px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(2px);
    z-index: 11;
    animation: roll-fast 2.5s linear infinite;
}

@keyframes roll {
    0% { top: -150px; }
    100% { top: 100%; }
}

@keyframes roll-fast {
    0% { top: -100px; }
    100% { top: 100%; }
}

/* планшеты / небольшие ноуты */
@media (min-width: 700px) {
    .glitch-box { font-size: 2.8rem; }
    .release-title { font-size: 4.5rem; }
    .section-text { font-size: 0.95rem; }
}

/* от ноутбука и шире — контент реально использует ширину экрана */
@media (min-width: 1024px) {
    .container { max-width: 1100px; }
    .glitch-box { font-size: 3.6rem; padding: 20px 45px; }
    .sub-text { font-size: 1.1rem; }
    .release-title { font-size: 6rem; }
    .release-meta { font-size: 1rem; }

    .tracklist { font-size: 1rem; column-count: 2; column-gap: 60px; }

    .grid-sections {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 60px;
        text-align: left;
    }

    .grid-sections .section {
        margin-top: 55px;
    }

    .grid-sections .section-text {
        margin: 0;
        max-width: none;
    }

    .grid-sections .links {
        justify-content: flex-start;
    }

    .link-btn { font-size: 1rem; padding: 14px 28px; }

    .contact-list { font-size: 1.05rem; }
}

.latest-cover-link {
    display: block;
    width: min(100%, 500px);
    margin: 0 auto 20px;
}

.latest-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 2px solid #fff;
    transition: background 0.15s, filter 0.15s;
}

.latest-cover-link:hover .latest-cover {
    filter: brightness(1.25);
}

.latest-title {
    display: inline-block;
    margin-top: 0;
    font-size: 0.9rem;
    color: #ccc;
    letter-spacing: 2px;
    text-decoration: none;
}

.latest-title:hover {
    color: #fff;
    text-decoration: underline;
}

.latest-release .section-text {
    margin-top: 8px;
}

@media (min-width: 1600px) {
    .container { max-width: 1400px; }
    .glitch-box { font-size: 4.4rem; }
    .release-title { font-size: 7.5rem; }
}

.contacts-container {
    text-align: center;
}

.contacts-content {
    width: 100%;
}

.contacts-content .section {
    width: 100%;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #bbb;
    font-size: 0.85rem;
    line-height: 1.7;
}

.contact-list {
    width: min(100%, 600px);
    margin: 40px auto 0;

    padding: 0 25px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    text-align: left;
}

.contact-item {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: baseline;

    font-size: 0.9rem;
}

.contact-label {
    color: #666;
    text-align: left;

    font-size: 0.7rem;
    letter-spacing: 1px;
}

.contact-item a {
    color: #ddd;
    text-decoration: none;
    text-align: right;

    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 700px) {

    .contact-intro {
        font-size: 0.95rem;
    }

    .contact-list {
        width: min(100%, 700px);
        padding: 0 35px;
    }

    .contact-item {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {

    .contacts-container {
        max-width: 1100px;
    }

    .contact-intro {
        font-size: 1rem;
    }

    .contact-list {
        width: min(100%, 800px);
        padding: 0 50px;
    }

    .contact-item {
        font-size: 1.05rem;
    }
}

@media (min-width: 1600px) {

    .contacts-container {
        max-width: 1400px;
    }

    .contact-list {
        width: min(100%, 900px);
        padding: 0 60px;
    }
}