:root {
    color-scheme: dark;
    --gold: #ffd36f;
    --gold-deep: #c97820;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #050403;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: #050403;
    color: #f8d47b;
    font-family: Georgia, "Times New Roman", serif;
}

img {
    display: block;
    max-width: 100%;
}

.landing-page {
    position: relative;
    isolation: isolate;
    width: min(100%, 3278px);
    min-height: calc(min(100vw, 3278px) * 1.18731);
    margin: 0 auto;
    overflow: hidden;
    background: #090706 url("../img/back.jpg") top center / 100% auto no-repeat;
}

.landing-page::before {
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 90px;
    left: 0;
    height: 500px;
    pointer-events: none;
    background: radial-gradient(
        ellipse 68% 105% at 50% 0%,
        transparent 0,
        transparent 50%,
        rgba(0, 0, 0, 0.34) 63%,
        rgba(0, 0, 0, 0.78) 81%,
        rgba(0, 0, 0, 0.96) 100%
    );
}

.welcome-particles {
    position: fixed;
    z-index: 10;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.site-header {
    display: flex;
    justify-content: center;
    padding-top: 1.68%;
}

.site-logo {
    display: block;
    width: 25%;
    transform: translate(-10%, -5.5%);
    transition: filter 180ms ease, transform 180ms ease;
}

.site-logo:hover,
.site-logo:focus-visible {
    filter: brightness(1.12) drop-shadow(0 0 18px rgba(255, 111, 20, 0.55));
    transform: translate(-10%, -5.5%) scale(1.015);
    outline: none;
}

.site-logo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    text-align: center;
}

.hero-title {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2%;
    align-items: center;
    width: 65%;
    margin: -1.5% 0 0;
    transform: translateX(0);
}

.hero-title img {
    width: 100%;
}

.hero-title img:nth-child(2) {
    transform: translateY(5.1%);
}

.hero-title img:nth-child(3) {
    transform: translateY(8.9%);
}

.hero-copy {
    margin: 0.8% 0 0;
    color: #d7d0c9;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(12px, 1.2vw, 39px);
    font-weight: 700;
    line-height: 1.12;
    text-shadow: 0 2px 5px #000;
    transform: translateX(-3%);
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15%;
    width: 31.6%;
    margin-top: 0.8%;
}

.hero-actions a:first-child {
    position: relative;
    left: 1.5%;
}

.hero-actions a,
.main-nav a,
.discord-banner {
    transition: filter 180ms ease, transform 180ms ease;
}

.hero-actions a:hover,
.hero-actions a:focus-visible,
.main-nav a:hover,
.main-nav a:focus-visible,
.discord-banner:hover,
.discord-banner:focus-visible {
    filter: brightness(1.22) drop-shadow(0 0 14px rgba(255, 99, 16, 0.75));
    transform: translateY(-2px);
    outline: none;
}

.main-nav {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 10.2%;
    width: 70%;
    margin: 1.25% auto 0;
    transform: translateX(1.47%);
}

.main-nav a {
    display: block;
}

.video-section {
    position: relative;
    z-index: 2;
    width: 56.5%;
    margin: -0.5% auto 0;
}

.video-window {
    position: relative;
    aspect-ratio: 1828 / 1080;
}

.video-art {
    position: absolute;
    z-index: 1;
    top: 9%;
    left: 6.7%;
    width: 86.6%;
    height: 81%;
    object-fit: cover;
}

.video-frame {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.video-rock {
    position: absolute;
    z-index: 4;
    top: 74%;
    left: 50.5%;
    width: 17.7%;
    max-width: none;
    pointer-events: none;
    transform: translateX(-50%);
}

.play-button {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 9.1%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: filter 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.play-button:hover,
.play-button:focus-visible {
    filter: brightness(1.25) drop-shadow(0 0 18px #ff7b16);
    transform: translate(-50%, -50%) scale(1.08);
    outline: none;
}

.play-button.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.video-message {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    padding: 0.55em 1em;
    border: 1px solid rgba(237, 133, 43, 0.65);
    background: rgba(8, 5, 3, 0.88);
    color: #ffe4a0;
    font-size: clamp(12px, 1.1vw, 34px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -35%);
    transition: opacity 180ms ease, transform 180ms ease;
}

.video-message.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.story {
    position: relative;
    z-index: 3;
    width: 72%;
    margin: 2.5% auto 0;
    text-align: center;
    font-family: Cambria, Georgia, "Times New Roman", serif;
    text-shadow: 0 3px 4px #000, 0 0 9px rgba(255, 108, 20, 0.35);
}

.story h2 {
    margin: 0 0 0.25em;
    color: #ffd064;
    -webkit-text-stroke: 0.45px #6c2b0c;
    font-size: clamp(16px, 1.65vw, 54px);
    letter-spacing: 0;
    text-shadow:
        0 1px 0 #7a310d,
        0 2px 3px #000,
        0 0 5px rgba(255, 112, 18, 0.9),
        0 0 11px rgba(240, 76, 8, 0.45);
}

.story h2 + p {
    margin-top: 0;
}

.story h2:not(:first-child) {
    margin-top: 1em;
}

.story p {
    margin-bottom: 0;
    color: #f7b744;
    -webkit-text-stroke: 0.3px #6a290b;
    font-size: clamp(11px, 0.95vw, 31px);
    font-weight: 700;
    line-height: 1.08;
    text-shadow:
        0 1px 0 #772d0b,
        0 2px 3px #000,
        0 0 4px rgba(255, 112, 18, 0.75),
        0 0 8px rgba(235, 72, 7, 0.32);
}

.sticky-footer-bar {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(100vw, 3278px);
    margin: 0 auto;
    pointer-events: none;
}

.discord-banner {
    position: absolute;
    z-index: 4;
    bottom: 0;
    left: 7.1%;
    display: block;
    width: 17.15%;
    margin: 0;
    pointer-events: auto;
}

.site-footer {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.news-ticker {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
    aspect-ratio: 3439 / 168;
    overflow: hidden;
    background: url("../img/notes.png") center / 100% 100% no-repeat;
}

.ticker-mask {
    position: absolute;
    inset: 0 2.5%;
    display: flex;
    align-items: center;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.25) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.25) 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.25) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.25) 92%, transparent 100%);
}

.ticker-track {
    display: flex;
    width: max-content;
    padding-top: 0.15%;
    color: #f7c45f;
    font-size: clamp(10px, 0.72vw, 24px);
    font-weight: 700;
    white-space: nowrap;
    animation: ticker 26s linear infinite;
}

.ticker-track span {
    flex: none;
    padding: 0 7vw;
}

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ticker-track {
        animation: none;
    }
}

@media (max-width: 700px) {
    .landing-page {
        width: 100%;
        min-height: 100svh;
        background-size: auto 100%;
    }

    .landing-page::before {
        bottom: 50px;
        height: 220px;
        background: radial-gradient(
            ellipse 82% 105% at 50% 0%,
            transparent 0,
            transparent 48%,
            rgba(0, 0, 0, 0.34) 64%,
            rgba(0, 0, 0, 0.8) 83%,
            rgba(0, 0, 0, 0.96) 100%
        );
    }

    .site-header {
        padding-top: 3%;
    }

    .site-logo {
        width: 49%;
    }

    .hero-title {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0;
        width: 95.5%;
        margin-top: -0.4%;
    }

    .hero-title img:first-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: 50%;
    }

    .hero-title img:nth-child(2) {
        transform: none;
    }

    .hero-title img:nth-child(3) {
        transform: translateY(4%);
    }

    .hero-copy {
        width: 86%;
        margin-top: 1.4%;
        font-size: 13px;
    }

    .hero-copy br,
    .story br {
        display: none;
    }

    .hero-actions {
        width: 71%;
        gap: 10%;
        margin-top: 7%;
    }

    .main-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px 16%;
        width: 64%;
        margin-top: 20%;
        transform: translateX(1%);
    }

    .video-section {
        width: 94%;
        margin-top: 3%;
    }

    .video-rock {
        top: 69.5%;
        left: 52%;
        width: 42.5%;
    }

    .story {
        z-index: 5;
        width: 90%;
        margin-top: 10%;
        margin-bottom: 120px;
    }

    .story h2 {
        font-size: 17px;
    }

    .story p {
        font-size: 12px;
        line-height: 1.28;
    }

    .discord-banner {
        bottom: calc(100% + 4px);
        left: 31%;
        width: 38%;
        margin: 0;
        filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.65));
    }

    .news-ticker {
        min-height: 38px;
        background-size: auto 100%;
    }

    .ticker-track {
        font-size: 11px;
    }

    .ticker-mask {
        inset-inline: 3%;
    }

    .ticker-track span {
        padding-inline: 14vw;
    }
}
