*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 1s;
    -webkit-transition: 1s;
}

/* Video streaming enhancements */
.track-info {
    position: absolute;
    top: 11px;
    left: 22px;
    z-index: 2;
}

.video-loading .latest-release {
    opacity: 0.7;
}

.video-error .latest-release {
    color: #ff6b6b;
}

.reduced-motion * {
    transition: none !important;
    -webkit-transition: none !important;
    animation: none !important;
}

/* Buffer video styling */
#bufferVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    pointer-events: none;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader only content */
.sr-only {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.main {
    position: relative;
    margin: 0;
    padding: 10px;
    width: 100%;
    height: calc(100% - 44px);
    overflow: hidden;
}

#bgVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.latest-release {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 11px;
    left: 22px;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: 3em;
    font-weight: 300;
    text-transform: uppercase;
}

.release-date {
    margin: 0;
    padding: 4px 11px;
    position: absolute;
    top: 33px;
    left: 333px;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: 0.8em;
    font-weight: 300;
    text-transform: uppercase;
    border: 1px solid #FFFFFF;
    border-radius: 11px;
    z-index: 1;
}

.release-date:hover {
    background: rgba(30, 180, 226, 0.7);
    transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    cursor: pointer;
}

.track-preview {
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 22px;
    left: 22px;
    color: rgba(255, 255, 255, 0.77);
}

.track-preview i {
    margin: 0;
    padding: 0;
    font-size: 33px;
}

.menu .open {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translate(-50%, -50%);
    font-size: 33px;
    color: #FFFFFF;
    cursor: pointer;

}

/* Container for #name – same area as main */
.loop {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

#name {
    margin: 0;
    padding: 0;
    animation: nameLoop 44s linear infinite;
    -webkit-animation: nameLoop 44s linear infinite;
    color: rgba(255, 255, 255, 0.88);
    font-family: "Playfair Display";
    font-size: 16vw;
    font-weight: 200;
    letter-spacing: -0.07em;
    line-height: 11vw;
    text-transform: uppercase;
    writing-mode: vertical-lr;
}

@keyframes nameLoop {
    0% {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
    }
    100% {
        transform: translate(0, -100%);
        -webkit-transform: translate(0, -100%);
    }
}

.social {
    margin: 0 auto;
    padding: 0;
    position: absolute;
    display: flex;
    background: rgb(0, 0, 0);
    bottom: 0px;
    height: 44px;
    width: 100%;
}

.social ul {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    white-space: nowrap;
}

.social li {
    margin: 0;
    padding-left: 15px;
    padding-right: 15px;
    list-style: none;
    font-size: 1.1rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: white;
}

.social i, a, a:active, a:visited, a:hover {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

/* Smallest devices (mobile phones, less than 577px) */
@media (max-width: 576px) {
    .social li {
        padding-left: 10px;
        padding-right: 10px;
    }

    .latest-release {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 11px;
        left: 22px;
        color: #FFFFFF;
        font-family: "Montserrat";
        font-size: 2.6em;
        text-transform: uppercase;
    }

    .release-date {
        font-size: 0.6em;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    #name {
        display: none;
    }

    .track-preview {
        padding: 16px;
        bottom: 10%;
        left: 50%;
        border: 1px solid rgba(255, 255, 255, 0.77);
        border-radius: 33px;
        transform: translate(-50%, -50%);
    }

    .track-preview i {
        width: 33px;
        height: 33px;
    }

    .latest-release {
        margin: 22px 0 0 0;
    }

    .release-date {
        margin: 0;
        padding: 0 0 0 4px;
        position: absolute;
        top: 88px;
        left: 22px;
        border: none;
        font-size: 0.8em;
        font-weight: bold;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {

}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {
    body {
        background-position: center;
    }
}

/* For extra large screens */
/* @media (min-width: 3840px) {
    body {
        background: url(./images/grass-big.png);
    }
} */