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

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.flicker-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 1;
}

.landing .flicker-bg {
    background-image: url('../images/landing-bg.jpg');
}

.main .flicker-bg {
    background-image: url('../images/landing-bg.jpg');
    position: relative;
    overflow: hidden;
}

.main .flicker-bg::before,
.main .flicker-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/landing-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: normal;
}

.main .flicker-bg::before {
    animation: glitch-1 2.8s infinite step-end;
}

.main .flicker-bg::after {
    animation: glitch-2 3.5s infinite step-end;
}

.main .flicker-bg {
    animation: glitch-base 4.1s infinite step-end;
}

@keyframes glitch-base {
    0%   { transform: translate(0); }
    12%  { transform: translate(0); }
    13%  { transform: translate(12px, 2px); }
    14%  { transform: translate(0); }
    38%  { transform: translate(0); }
    39%  { transform: translate(-18px, -3px); }
    40%  { transform: translate(0); }
    62%  { transform: translate(0); }
    63%  { transform: translate(25px, 1px); }
    64%  { transform: translate(0); }
    78%  { transform: translate(0); }
    79%  { transform: translate(-8px, 4px); }
    80%  { transform: translate(0); }
    100% { transform: translate(0); }
}

@keyframes glitch-1 {
    0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
    3%   { opacity: 0.55; clip-path: inset(5% 0 90% 0); transform: translate(-30px, 1px); }
    5%   { opacity: 0; clip-path: inset(0 0 100% 0); }
    10%  { opacity: 0.45; clip-path: inset(18% 0 75% 0); transform: translate(40px, -2px); }
    12%  { opacity: 0; }
    18%  { opacity: 0.6; clip-path: inset(40% 0 52% 0); transform: translate(-20px); }
    20%  { opacity: 0; }
    25%  { opacity: 0.5; clip-path: inset(65% 0 28% 0); transform: translate(35px, 2px); }
    27%  { opacity: 0; }
    33%  { opacity: 0.4; clip-path: inset(8% 0 85% 0); transform: translate(-45px, -1px); }
    35%  { opacity: 0; }
    42%  { opacity: 0.55; clip-path: inset(75% 0 15% 0); transform: translate(20px); }
    44%  { opacity: 0; }
    50%  { opacity: 0.35; clip-path: inset(30% 0 60% 0); transform: translate(-25px, 3px); }
    52%  { opacity: 0; }
    60%  { opacity: 0.5; clip-path: inset(50% 0 40% 0); transform: translate(15px, -2px); }
    62%  { opacity: 0; }
    70%  { opacity: 0.4; clip-path: inset(12% 0 80% 0); transform: translate(-35px, 1px); }
    72%  { opacity: 0; }
    80%  { opacity: 0.3; clip-path: inset(85% 0 8% 0); transform: translate(30px); }
    82%  { opacity: 0; }
    90%  { opacity: 0.45; clip-path: inset(22% 0 68% 0); transform: translate(-15px, -3px); }
    92%  { opacity: 0; }
    100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
}

@keyframes glitch-2 {
    0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
    5%   { opacity: 0.4; clip-path: inset(25% 0 68% 0); transform: translate(20px, -2px); }
    7%   { opacity: 0; }
    14%  { opacity: 0.5; clip-path: inset(60% 0 32% 0); transform: translate(-30px, 1px); }
    16%  { opacity: 0; }
    22%  { opacity: 0.35; clip-path: inset(10% 0 82% 0); transform: translate(45px); }
    24%  { opacity: 0; }
    30%  { opacity: 0.55; clip-path: inset(80% 0 12% 0); transform: translate(-20px, -3px); }
    32%  { opacity: 0; }
    40%  { opacity: 0.45; clip-path: inset(35% 0 55% 0); transform: translate(25px, 2px); }
    42%  { opacity: 0; }
    48%  { opacity: 0.3; clip-path: inset(55% 0 38% 0); transform: translate(-40px, -1px); }
    50%  { opacity: 0; }
    58%  { opacity: 0.5; clip-path: inset(15% 0 78% 0); transform: translate(18px, 3px); }
    60%  { opacity: 0; }
    68%  { opacity: 0.4; clip-path: inset(70% 0 20% 0); transform: translate(-22px); }
    70%  { opacity: 0; }
    76%  { opacity: 0.35; clip-path: inset(42% 0 50% 0); transform: translate(35px, -2px); }
    78%  { opacity: 0; }
    85%  { opacity: 0.5; clip-path: inset(5% 0 90% 0); transform: translate(-18px, 1px); }
    87%  { opacity: 0; }
    95%  { opacity: 0.25; clip-path: inset(88% 0 5% 0); transform: translate(12px, -3px); }
    97%  { opacity: 0; }
    100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
}

@keyframes glitch-3 {
    0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
    4%   { opacity: 0.5; clip-path: inset(15% 0 80% 0); transform: translate(-25px, 1px); }
    6%   { opacity: 0; }
    11%  { opacity: 0.35; clip-path: inset(50% 0 40% 0); transform: translate(35px, -2px); }
    13%  { opacity: 0; }
    19%  { opacity: 0.55; clip-path: inset(80% 0 10% 0); transform: translate(-15px); }
    21%  { opacity: 0; }
    28%  { opacity: 0.4; clip-path: inset(5% 0 90% 0); transform: translate(20px, 3px); }
    30%  { opacity: 0; }
    36%  { opacity: 0.45; clip-path: inset(40% 0 50% 0); transform: translate(-40px, -1px); }
    38%  { opacity: 0; }
    45%  { opacity: 0.3; clip-path: inset(65% 0 28% 0); transform: translate(25px, 2px); }
    47%  { opacity: 0; }
    54%  { opacity: 0.5; clip-path: inset(22% 0 68% 0); transform: translate(-30px, -3px); }
    56%  { opacity: 0; }
    63%  { opacity: 0.4; clip-path: inset(75% 0 15% 0); transform: translate(15px, 1px); }
    65%  { opacity: 0; }
    72%  { opacity: 0.35; clip-path: inset(10% 0 85% 0); transform: translate(-35px); }
    74%  { opacity: 0; }
    82%  { opacity: 0.55; clip-path: inset(55% 0 38% 0); transform: translate(30px, -2px); }
    84%  { opacity: 0; }
    92%  { opacity: 0.25; clip-path: inset(30% 0 60% 0); transform: translate(-20px, 3px); }
    94%  { opacity: 0; }
    100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
}

@keyframes glitch-4 {
    0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
    6%   { opacity: 0.35; clip-path: inset(35% 0 55% 0); transform: translate(18px, -1px); }
    8%   { opacity: 0; }
    13%  { opacity: 0.55; clip-path: inset(70% 0 20% 0); transform: translate(-25px, 2px); }
    15%  { opacity: 0; }
    21%  { opacity: 0.45; clip-path: inset(8% 0 85% 0); transform: translate(40px, -3px); }
    23%  { opacity: 0; }
    29%  { opacity: 0.3; clip-path: inset(45% 0 45% 0); transform: translate(-18px); }
    31%  { opacity: 0; }
    38%  { opacity: 0.5; clip-path: inset(85% 0 8% 0); transform: translate(28px, 1px); }
    40%  { opacity: 0; }
    47%  { opacity: 0.4; clip-path: inset(20% 0 72% 0); transform: translate(-45px, -2px); }
    49%  { opacity: 0; }
    55%  { opacity: 0.55; clip-path: inset(60% 0 30% 0); transform: translate(22px, 3px); }
    57%  { opacity: 0; }
    64%  { opacity: 0.25; clip-path: inset(5% 0 90% 0); transform: translate(-30px, -1px); }
    66%  { opacity: 0; }
    73%  { opacity: 0.5; clip-path: inset(50% 0 42% 0); transform: translate(38px, 2px); }
    75%  { opacity: 0; }
    83%  { opacity: 0.35; clip-path: inset(75% 0 18% 0); transform: translate(-15px, -3px); }
    85%  { opacity: 0; }
    94%  { opacity: 0.45; clip-path: inset(15% 0 78% 0); transform: translate(25px, 1px); }
    96%  { opacity: 0; }
    100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
}

@keyframes glitch-5 {
    0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
    3%   { opacity: 0.45; clip-path: inset(10% 0 85% 0); transform: translate(-35px, 2px); }
    5%   { opacity: 0; }
    9%   { opacity: 0.5; clip-path: inset(55% 0 38% 0); transform: translate(28px, -1px); }
    11%  { opacity: 0; }
    17%  { opacity: 0.35; clip-path: inset(25% 0 65% 0); transform: translate(-22px, -3px); }
    19%  { opacity: 0; }
    25%  { opacity: 0.55; clip-path: inset(80% 0 12% 0); transform: translate(42px, 1px); }
    27%  { opacity: 0; }
    34%  { opacity: 0.4; clip-path: inset(40% 0 52% 0); transform: translate(-18px, -2px); }
    36%  { opacity: 0; }
    43%  { opacity: 0.3; clip-path: inset(5% 0 90% 0); transform: translate(32px, 3px); }
    45%  { opacity: 0; }
    52%  { opacity: 0.5; clip-path: inset(65% 0 28% 0); transform: translate(-28px, -1px); }
    54%  { opacity: 0; }
    61%  { opacity: 0.45; clip-path: inset(18% 0 75% 0); transform: translate(15px, 2px); }
    63%  { opacity: 0; }
    70%  { opacity: 0.25; clip-path: inset(85% 0 8% 0); transform: translate(-40px, -3px); }
    72%  { opacity: 0; }
    80%  { opacity: 0.5; clip-path: inset(50% 0 40% 0); transform: translate(22px, 1px); }
    82%  { opacity: 0; }
    90%  { opacity: 0.35; clip-path: inset(30% 0 62% 0); transform: translate(-15px, -2px); }
    92%  { opacity: 0; }
    100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
}

@keyframes glitch-6 {
    0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
    7%   { opacity: 0.3; clip-path: inset(42% 0 50% 0); transform: translate(25px, -2px); }
    9%   { opacity: 0; }
    15%  { opacity: 0.55; clip-path: inset(8% 0 88% 0); transform: translate(-32px, 1px); }
    17%  { opacity: 0; }
    24%  { opacity: 0.45; clip-path: inset(72% 0 18% 0); transform: translate(18px, -3px); }
    26%  { opacity: 0; }
    32%  { opacity: 0.35; clip-path: inset(22% 0 68% 0); transform: translate(-42px, 2px); }
    34%  { opacity: 0; }
    41%  { opacity: 0.5; clip-path: inset(58% 0 35% 0); transform: translate(30px, -1px); }
    43%  { opacity: 0; }
    50%  { opacity: 0.25; clip-path: inset(12% 0 82% 0); transform: translate(-25px, 3px); }
    52%  { opacity: 0; }
    59%  { opacity: 0.55; clip-path: inset(45% 0 48% 0); transform: translate(20px, -2px); }
    61%  { opacity: 0; }
    68%  { opacity: 0.4; clip-path: inset(78% 0 15% 0); transform: translate(-38px, 1px); }
    70%  { opacity: 0; }
    78%  { opacity: 0.3; clip-path: inset(32% 0 58% 0); transform: translate(12px, -3px); }
    80%  { opacity: 0; }
    88%  { opacity: 0.5; clip-path: inset(65% 0 30% 0); transform: translate(-22px, 2px); }
    90%  { opacity: 0; }
    98%  { opacity: 0.35; clip-path: inset(15% 0 78% 0); transform: translate(35px, -1px); }
    100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
}

.enter-link {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.enter-link:hover {
    opacity: 1;
}

.socials-bar {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.social-icon {
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 22px;
    height: 22px;
    display: block;
}

.social-icon:hover {
    opacity: 1;
}

.store-icon {
    opacity: 0.9;
    transition: opacity 0.3s ease;
    filter: invert(1) brightness(1.5);
}

.social-icon:hover .store-icon {
    opacity: 1;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.nav-links {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.nav-link:hover {
    opacity: 1;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.nav-link.active {
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.corner-link {
    position: fixed;
    z-index: 100;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.corner-link:hover {
    opacity: 1;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.top-left {
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.back-arrow {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    opacity: 0.7;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.back-arrow:hover {
    opacity: 1;
}

.back-arrow svg {
    width: 24px;
    height: 24px;
}


.top-right {
    top: 2rem;
    right: 2rem;
}

.bottom-left {
    bottom: 2rem;
    left: 2rem;
}

.bottom-right {
    bottom: 2rem;
    right: 2rem;
}

.music {
    background-color: #050505;
}

.music .albums {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 5rem 6rem;
    text-align: center;
    padding: 8rem 2rem 4rem;
    max-width: 640px;
    margin: 0 auto;
}

.music .album {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    width: 200px;
    text-decoration: none;
    cursor: pointer;
}

.album-cover {
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    filter: grayscale(0.15) brightness(0.88) contrast(1.05);
    transition: filter 0.4s ease, transform 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.album-adrenaline,
.album-adrenaline::before,
.album-adrenaline::after {
    background-image: url('../images/adrenaline.jpg');
}

.album-theater,
.album-theater::before,
.album-theater::after {
    background-image: url('../images/theater.jpg');
}

.album-passive,
.album-passive::before,
.album-passive::after {
    background-image: url('../images/passive.jpg');
}

.album-cover::before,
.album-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: normal;
}

.album-adrenaline::before { animation: glitch-1 2.8s infinite step-end; }
.album-adrenaline::after  { animation: glitch-2 3.5s infinite step-end; }

.album-theater::before { animation: glitch-3 3.1s infinite step-end; }
.album-theater::after  { animation: glitch-4 2.3s infinite step-end; }

.album-passive::before { animation: glitch-5 2.5s infinite step-end; }
.album-passive::after  { animation: glitch-6 3.7s infinite step-end; }

.album:hover .album-cover {
    filter: grayscale(0) brightness(1) contrast(1);
    transform: scale(1.03);
}

.album-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    cursor: default;
}

.album-year {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ccc;
}

.shows {
    background-color: #050505;
}

.shows-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 10rem 2rem 2rem;
    text-align: center;
}

.shows-heading {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
}

.shows-text {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 1rem;
}

.shows-link {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #ccc;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.shows-link:hover {
    color: #fff;
}

.videos {
    background-color: #000;
}

.video-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.video-fullscreen video,
.video-fullscreen iframe,
.video-fullscreen > div {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    border: 0;
    pointer-events: none;
    object-fit: cover;
}

.video-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 999999;
    pointer-events: none;
}

.videos-overlay {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.yt-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4);
}

.yt-button:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.6);
}

.yt-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.yt-label-mobile {
    display: none;
}

@media (max-width: 600px) {
    .enter-link,
    .corner-link,
    .nav-link {
        font-size: 1.0rem;
        letter-spacing: 0.05em;
    }

    .nav-links {
        gap: 1.0rem;
        top: 1.2rem;
    }

    .socials-bar {
        position: fixed;
        top: auto;
        bottom: 1.2rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 1.2rem;
        z-index: 100;
    }

    .social-icon {
        width: 22px;
        height: 22px;
    }

    .top-left {
        left: 50%;
        transform: translateX(-50%);
        top: 1.2rem;
    }

    .top-right {
        top: 1.2rem;
        right: 1.2rem;
    }

    .bottom-left {
        bottom: 1.2rem;
        left: 1.2rem;
    }

    .bottom-right {
        bottom: 1.2rem;
        right: 1.2rem;
    }

    .music .albums {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 6rem 1rem 5rem;
        max-width: 100%;
    }

    .music .album {
        width: 240px;
    }

    .album-cover {
        width: 240px;
        height: 240px;
    }

    .album-title {
        font-size: 0.65rem;
    }

    .album-year {
        font-size: 0.55rem;
    }

    .back-arrow {
        left: 1rem;
        width: 32px;
        height: 32px;
    }

    .back-arrow svg {
        width: 20px;
        height: 20px;
    }

    .shows-content {
        padding: 7rem 1.5rem 2rem;
    }

    .shows-heading {
        font-size: 1.4rem;
    }

    .video-fullscreen iframe,
    .video-fullscreen > div {
        width: 400%;
        height: 400%;
        top: -150%;
        left: -150%;
    }

    .video-mask {
        display: none;
    }

    .yt-button {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
    }

    .yt-label-desktop {
        display: none;
    }

    .yt-label-mobile {
        display: inline;
    }

    .flicker-bg {
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        height: 100vh;
        height: 100svh;
    }

    .enter-link {
        font-size: 1.6rem;
        letter-spacing: 0.2em;
        top: 1.2rem;
        right: 1.2rem;
        left: auto;
        transform: none;
    }
}
