:root {
    --gold-1: #7b4308;
    --gold-2: #d99219;
    --gold-3: #fff2a6;
    --gold-4: #ffb000;
    --ink: #030508;
    --paper: #ede7dc;
    --muted: #aaa7a2;
    --blue: #20a9ff;
    --red: #ff342f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--ink);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--paper);
    background: #020305;
    font-family: "Cinzel", Georgia, serif;
}

button,
input,
.main-nav,
.language-link,
.zone-heading,
.panel-label,
.gold-button {
    font-family: "Rajdhani", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.landing-shell {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(240px, 1fr) auto auto;
    background: url("images/vyklucovat/final/website background.jpeg") center center / cover no-repeat;
}

.landing-shell::before {
    display: none;
}

.atmosphere {
    position: absolute;
    z-index: 6;
    top: auto;
    left: 50%;
    bottom: 0;
    width: 84vw;
    height: 46vh;
    transform: translateX(-50%);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, .8) 0%,
        rgba(0, 0, 0, .66) 34%,
        rgba(0, 0, 0, .42) 56%,
        rgba(0, 0, 0, .2) 73%,
        rgba(0, 0, 0, .07) 88%,
        rgba(0, 0, 0, 0) 100%
    );
    filter: blur(18px);
}

.gold-frame {
    position: absolute;
    inset: 7px;
    z-index: 20;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    overflow: visible;
    pointer-events: none;
    filter:
        drop-shadow(0 0 3px rgba(255, 211, 90, .7))
        drop-shadow(0 0 9px rgba(255, 163, 19, .32));
}

.topbar {
    position: relative;
    z-index: 30;
    min-height: 64px;
    padding: 14px clamp(25px, 4vw, 68px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(180deg, rgba(0, 2, 6, .93), rgba(0, 2, 6, .58) 72%, transparent);
}

.top-wordmark {
    display: flex;
    align-items: center;
    width: clamp(122px, 12vw, 188px);
}

.wordmark-lockup {
    position: relative;
}

.wordmark-copyright {
    position: absolute;
    top: -0.3em;
    right: -0.9em;
    color: #f8d978;
    font: 500 .52rem/1 "Cinzel", Georgia, serif;
    text-shadow: 0 0 7px rgba(255, 190, 57, .55);
}

.top-wordmark img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 7px rgba(255, 190, 57, .22));
}

.header-announcement {
    margin: 0;
    background: linear-gradient(180deg, #fff4a8 0%, #ffba19 48%, #a95804 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font: 700 clamp(.82rem, .95vw, 1.02rem)/1.2 "Rajdhani", sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 13px rgba(255, 177, 20, .22);
}

.header-announcement span {
    margin: 0 .45em;
    color: #e8a92c;
}

.top-actions,
.main-nav {
    display: flex;
    align-items: center;
}

.top-actions {
    gap: clamp(16px, 2.2vw, 34px);
}

.main-nav {
    gap: clamp(18px, 2.7vw, 46px);
}

.nav-link {
    position: relative;
    padding: 8px 1px 10px;
    color: #aaaeb3;
    font-size: clamp(.78rem, .92vw, .98rem);
    font-weight: 500;
    letter-spacing: .025em;
    transition: color .25s ease, text-shadow .25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-4) 22%, #fff29b 50%, var(--gold-4) 78%, transparent);
    box-shadow: 0 0 8px #ffb000;
    transition: left .25s ease, right .25s ease;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(180deg, #fff5a7 0%, #ffb000 45%, #b95e00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 14px rgba(255, 176, 0, .55);
}

.nav-link:hover::after,
.nav-link.active::after {
    left: 0;
    right: 0;
}

.language-link,
.music-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid #a56614;
    display: grid;
    place-items: center;
    color: #ffcb41;
    background: linear-gradient(145deg, rgba(62, 33, 5, .82), rgba(3, 7, 12, .86));
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    box-shadow: inset 0 0 10px rgba(255, 177, 25, .12), 0 0 11px rgba(255, 177, 25, .10);
    transition: color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.language-link {
    flex: 0 0 40px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.language-link:hover,
.music-toggle:hover,
.music-toggle[aria-pressed="true"] {
    color: #fff7b0;
    border-color: #ffc234;
    box-shadow: inset 0 0 12px rgba(255, 184, 35, .25), 0 0 14px rgba(255, 177, 25, .32);
}

.language-link::after,
.music-toggle::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(255, 196, 63, .13);
    pointer-events: none;
}

.hero-core {
    position: relative;
    z-index: 8;
    transform: translateY(clamp(36px, 7vh, 76px));
    align-self: start;
    justify-self: center;
    width: min(44vw, 650px);
    min-width: 310px;
    margin-top: clamp(-10px, -1vh, 2px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-sigil {
    width: clamp(132px, 13vw, 220px);
    height: clamp(320px, 46vh, 520px);
    object-fit: contain;
    opacity: 1;
    filter:
        drop-shadow(0 0 10px rgba(255, 199, 71, .23))
        drop-shadow(0 14px 20px rgba(0, 0, 0, .65));
}

.hero-wordmark {
    width: clamp(310px, 31vw, 500px);
    max-width: 100%;
    height: auto;
    margin-top: clamp(-10px, -1vh, -2px);
    filter:
        drop-shadow(0 0 9px rgba(255, 195, 60, .20))
        drop-shadow(0 3px 5px rgba(0, 0, 0, .8));
}

.hero-wordmark-lockup {
    display: inline-flex;
    margin-top: 47px;
}

.hero-wordmark-lockup .wordmark-copyright {
    top: -.42em;
    right: -1.35em;
    font: 500 clamp(.62rem, .75vw, .88rem)/1 "Cinzel", Georgia, serif;
}

.hero-tagline {
    margin: 38px 0 0;
    color: #d5c7ad;
    letter-spacing: .07em;
    text-shadow: 0 2px 5px #000;
}

.hero-tagline p {
    margin: 0;
    color: #fff8e7;
    font-size: clamp(.96rem, 1.12vw, 1.22rem);
    font-weight: 600;
    letter-spacing: .09em;
    text-shadow:
        0 2px 6px #000,
        0 0 11px rgba(255, 205, 104, .25);
}

.hero-tagline strong {
    display: block;
    margin-top: 7px;
    color: #f0d183;
    font: 600 clamp(.82rem, 1.05vw, 1.12rem)/1.2 "Rajdhani", sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.gold-button {
    position: relative;
    min-height: 37px;
    padding: 8px 25px;
    border: 1px solid #9f6415;
    color: #f7d77e;
    background: linear-gradient(180deg, rgba(49, 28, 6, .72), rgba(3, 6, 10, .88));
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px), calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
    box-shadow: inset 0 0 12px rgba(255, 188, 45, .08), 0 0 10px rgba(255, 157, 0, .08);
    transition: border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.gold-button:hover,
.gold-button:focus-visible {
    color: #fff8bf;
    border-color: #ffc039;
    box-shadow: inset 0 0 15px rgba(255, 189, 49, .18), 0 0 16px rgba(255, 168, 0, .27);
    transform: translateY(-1px);
}

.gold-button::before,
.gold-button::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-color: #ffc242;
}

.gold-button::before {
    left: -1px;
    top: -1px;
    border-left: 1px solid;
    border-top: 1px solid;
}

.gold-button::after {
    right: -1px;
    bottom: -1px;
    border-right: 1px solid;
    border-bottom: 1px solid;
}

.discover-button {
    min-width: clamp(245px, 19vw, 320px);
}

.hero-actions {
    position: absolute;
    z-index: 12;
    top: auto;
    left: 50%;
    bottom: clamp(155px, 17vh, 190px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hero-actions .gold-button {
    min-height: 48px;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: .96rem;
}

.trailer-button {
    min-width: clamp(175px, 13vw, 220px);
}

.trailer-button i {
    color: #ffca45;
    font-size: .78rem;
}

.action-panels {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
}

.action-panel {
    position: absolute;
    width: clamp(185px, 13vw, 230px);
    min-height: 66px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    isolation: isolate;
    color: #e7e2d8;
    background: transparent;
    border: 0;
    clip-path: polygon(
        12px 0, calc(100% - 12px) 0,
        100% 12px, 100% calc(100% - 12px),
        calc(100% - 12px) 100%, 12px 100%,
        0 calc(100% - 12px), 0 12px
    );
    transition: transform .22s ease, filter .22s ease;
    pointer-events: auto;
}

.action-panel::before,
.action-panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
    clip-path: inherit;
}

.action-panel::before {
    inset: 0;
    z-index: -2;
    background: linear-gradient(135deg, #754207 0%, #ffd65b 27%, #a75a0a 52%, #ffe78b 75%, #844707 100%);
}

.action-panel::after {
    inset: 2px;
    z-index: -1;
    background: rgba(3, 8, 14, .88);
}

.action-panel:hover {
    transform: scale(1.04);
    animation: action-panel-pulse .8s ease-in-out infinite alternate;
}

@keyframes action-panel-pulse {
    from {
        filter: drop-shadow(0 0 4px rgba(255, 171, 23, .28));
    }

    to {
        filter: drop-shadow(0 0 13px rgba(255, 187, 43, .8));
    }
}

.action-icon {
    width: 38px;
    height: 43px;
    flex: 0 0 38px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter:
        saturate(1.2)
        drop-shadow(0 0 6px rgba(255, 172, 16, .32));
}

.action-shield {
    mix-blend-mode: normal;
}

.action-panel div {
    display: flex;
    flex-direction: column;
}

.action-panel strong {
    color: #f1c85f;
    font: 600 .94rem/1.1 "Rajdhani", sans-serif;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.action-panel span {
    margin-top: 4px;
    color: #f0efeb;
    font: 500 .72rem/1.2 "Rajdhani", sans-serif;
}

.action-collect {
    top: 17vh;
    left: clamp(42px, 5.5vw, 110px);
}

.action-strategize {
    top: 12.5vh;
    right: clamp(54px, 7vw, 132px);
}

.action-defend {
    top: 33vh;
    left: clamp(70px, 9vw, 170px);
}

.action-conquer {
    top: 38vh;
    right: clamp(34px, 4vw, 76px);
}

.hero-robots {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    clip-path: inset(0 0 155px 0);
}

.hero-robot {
    position: absolute;
    bottom: auto;
    object-fit: contain;
    object-position: bottom;
    filter: none;
}

.robot-bad {
    top: calc(86.85vh - min(69.3vh, 39vw));
    left: 13.66vw;
    height: min(69.3vh, 39vw);
}

.robot-good {
    top: calc(90.28vh - min(76.33vh, 42.92vw));
    right: 13.57vw;
    height: min(76.33vh, 42.92vw);
    transform: scaleX(-1);
}

.card-zone {
    position: absolute;
    z-index: 6;
    bottom: clamp(176px, 20vh, 226px);
    width: min(36vw, 680px);
}

.evil-zone {
    left: clamp(16px, 2vw, 38px);
}

.good-zone {
    right: clamp(16px, 2vw, 38px);
}

.card-line {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    perspective: 1400px;
}

.flip-card + .flip-card {
    margin-left: clamp(-70px, -3.5vw, -38px);
}

.flip-card {
    position: relative;
    width: clamp(148px, 15.4vw, 244px);
    aspect-ratio: 724 / 1024;
    cursor: pointer;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .72));
    transition: filter .25s ease, transform .25s ease;
}

.flip-card:nth-child(1),
.flip-card:nth-child(3) {
    width: clamp(136px, 14.3vw, 226px);
}

.flip-card:nth-child(1) {
    transform: rotate(-9deg) translateY(22px);
    transform-origin: 60% 100%;
}

.flip-card:nth-child(3) {
    transform: rotate(9deg) translateY(22px);
    transform-origin: 40% 100%;
}

.flip-card:nth-child(2) {
    z-index: 2;
    transform: translateY(-4px);
}

.flip-card:hover {
    z-index: 12;
    transform: translateY(-9px) scale(1.12);
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .82));
}

.evil-zone .flip-card {
    filter:
        drop-shadow(0 8px 10px rgba(0, 0, 0, .76))
        drop-shadow(0 0 8px rgba(22, 151, 255, .22));
}

.good-zone .flip-card {
    filter:
        drop-shadow(0 8px 10px rgba(0, 0, 0, .76))
        drop-shadow(0 0 8px rgba(255, 47, 31, .18));
}

.flip-card-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

html[data-active-pair="0"] .flip-card[data-pair="0"] .flip-card-inner,
html[data-active-pair="1"] .flip-card[data-pair="1"] .flip-card-inner,
html[data-active-pair="2"] .flip-card[data-pair="2"] .flip-card-inner {
    animation: ceremonial-flip 9s cubic-bezier(.42, 0, .58, 1) both;
}

html[data-active-pair="0"] .flip-card[data-pair="0"],
html[data-active-pair="1"] .flip-card[data-pair="1"],
html[data-active-pair="2"] .flip-card[data-pair="2"] {
    z-index: 8;
}

.flip-card:hover .flip-card-inner {
    animation: hover-flip 2.2s linear infinite;
}

.flip-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 4.5% / 3.2%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #030507;
    border: 1px solid rgba(232, 187, 87, .42);
}

.flip-face img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.flip-back {
    transform: rotateY(180deg);
}

.temporary-badge {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    padding: 2px 5px;
    color: #d1c7b2;
    background: rgba(2, 4, 8, .82);
    border: 1px solid rgba(205, 160, 67, .5);
    font: 600 .48rem/1 "Rajdhani", sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@keyframes ceremonial-flip {
    0%,
    10% {
        transform: rotateY(0);
    }

    43%,
    57% {
        transform: rotateY(180deg);
    }

    90%,
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes hover-flip {
    to {
        transform: rotateY(360deg);
    }
}

.footer-hub {
    position: relative;
    z-index: 10;
    align-self: end;
    justify-self: center;
    width: min(1140px, 86vw);
    min-height: 90px;
    margin-bottom: 10px;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: minmax(570px, 1.7fr) minmax(310px, .8fr);
    gap: 18px;
    background: linear-gradient(100deg, rgba(3, 7, 12, .87), rgba(10, 14, 18, .96), rgba(3, 7, 12, .87));
    border: 2px solid rgba(190, 126, 30, .66);
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
    box-shadow: inset 0 0 17px rgba(255, 181, 38, .07), 0 0 14px rgba(0, 0, 0, .45);
}

.join-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.join-copy {
    min-width: 215px;
    text-align: center;
}

.panel-label {
    color: #e0b95c;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.join-copy p {
    margin: 3px 0 0;
    color: #fff;
    font: 400 .92rem/1.35 "Rajdhani", sans-serif;
}

.join-form {
    flex: 1;
    display: flex;
}

.join-form input {
    width: min(230px, 18vw);
    min-height: 37px;
    padding: 8px 12px;
    border: 1px solid #55585c;
    border-right: 0;
    outline: none;
    color: #fff;
    background: rgba(1, 4, 8, .76);
    font-size: .9rem;
}

.join-form input:focus {
    border-color: #ba7920;
    box-shadow: inset 0 0 8px rgba(255, 178, 27, .1);
}

.join-form .gold-button {
    white-space: nowrap;
}

.contact-panel {
    min-width: 0;
    padding-left: 19px;
    border-left: 1px solid rgba(202, 144, 48, .32);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    font-style: normal;
}

.footer-hub .panel-label {
    color: #fff;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font: 500 1.02rem/1.2 "Rajdhani", sans-serif;
    letter-spacing: .02em;
    transition: color .2s ease, text-shadow .2s ease;
}

.contact-links a:hover {
    color: #ffd66c;
    text-shadow: 0 0 8px rgba(255, 180, 28, .32);
}

.contact-links i {
    width: 15px;
    color: #d49a31;
    text-align: center;
}

.landing-footer {
    position: relative;
    z-index: 10;
    min-height: 68px;
    padding: 12px clamp(28px, 4vw, 68px) 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 20px;
    border-top: 1px solid rgba(168, 116, 37, .17);
    background: linear-gradient(180deg, rgba(2, 4, 7, .58), rgba(1, 2, 4, .9));
}

.copyright {
    margin: 0;
    color: #fff;
    font: 500 .92rem "Rajdhani", sans-serif;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.social-links a {
    color: #fff;
    font-size: 1.3rem;
    transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}

.social-links a:hover {
    color: #ffc23d;
    text-shadow: 0 0 9px rgba(255, 180, 23, .65);
    transform: translateY(-2px);
}

.reagan-quote {
    margin: 0;
    color: #fff;
    text-align: right;
    font-size: clamp(.78rem, .8vw, .9rem);
    font-style: italic;
    line-height: 1.35;
}

.reagan-quote p {
    margin: 0;
}

.reagan-quote cite {
    color: #fff;
    font-size: .9em;
}

@media (orientation: landscape) and (max-height: 850px) {
    .hero-core {
        transform: translateY(26px);
    }

    .hero-sigil {
        height: 33vh;
    }

    .hero-wordmark-lockup {
        margin-top: 18px;
    }

    .hero-wordmark {
        width: clamp(300px, 28vw, 400px);
    }

    .hero-tagline {
        margin-top: 14px;
    }

    .hero-actions {
        bottom: 180px;
    }

    .flip-card {
        width: min(13vw, 20vh);
    }

    .flip-card:nth-child(1),
    .flip-card:nth-child(3) {
        width: min(12vw, 18.5vh);
    }

    .footer-hub {
        min-height: 76px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 1050px) {
    .hero-core {
        width: 38vw;
    }

    .hero-sigil {
        width: clamp(105px, 12vw, 145px);
        height: clamp(240px, 44vh, 380px);
    }

    .hero-wordmark {
        width: clamp(275px, 30vw, 340px);
    }

    .header-announcement {
        margin-left: 16px;
        font-size: .68rem;
    }

    .action-panel {
        width: 185px;
        min-height: 62px;
        padding: 10px 12px;
    }

    .action-panel span {
        font-size: .7rem;
    }

    .action-collect,
    .action-defend {
        left: 25px;
    }

    .action-strategize,
    .action-conquer {
        right: 25px;
    }

    .hero-actions .gold-button {
        min-height: 42px;
        padding: 9px 18px;
        font-size: .78rem;
    }

    .hero-robot {
        top: auto;
    }

    .robot-bad {
        top: calc(86.85vh - min(69.3vh, 39vw));
        left: 13.66vw;
        height: min(69.3vh, 39vw);
    }

    .robot-good {
        top: calc(90.28vh - min(76.33vh, 42.92vw));
        right: 13.57vw;
        height: min(76.33vh, 42.92vw);
    }

    .card-zone {
        width: 39vw;
        bottom: 174px;
    }

    .flip-card {
        width: clamp(120px, 14.7vw, 154px);
    }

    .flip-card:nth-child(1),
    .flip-card:nth-child(3) {
        width: clamp(112px, 13.6vw, 144px);
    }

    .footer-hub {
        width: 91vw;
        grid-template-columns: minmax(500px, 1.55fr) minmax(270px, .8fr);
    }

    .join-copy {
        min-width: 180px;
    }

    .join-form input {
        width: 170px;
    }
}

@media (max-width: 800px) and (orientation: portrait) {
    .landing-shell {
        min-height: 100svh;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        grid-template-rows: repeat(8, auto);
        padding-bottom: 0;
        background-color: #030508;
        background-position: center top;
        background-size: auto 100svh;
        background-repeat: no-repeat;
        scroll-snap-type: y proximity;
    }

    .topbar {
        min-height: 86px;
        padding: 14px 18px 34px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
        gap: 14px;
    }

    .top-wordmark {
        grid-column: 1;
        grid-row: 1;
        width: 154px;
        margin: 0;
        align-self: center;
    }

    .top-actions {
        grid-column: 2;
        grid-row: 1;
        display: block;
    }

    .language-link {
        position: absolute;
        top: 14px;
        right: 66px;
        z-index: 1;
    }

    .music-toggle {
        position: absolute;
        top: 14px;
        right: 18px;
        z-index: 1;
    }

    .header-announcement {
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 9px;
        width: auto;
        margin: 0;
        text-align: center;
        white-space: normal;
    }

    .hero-core {
        grid-row: 2;
        width: 90%;
        min-width: 0;
        min-height: calc(100svh - 255px);
        margin: 0 auto;
        transform: none;
        justify-content: center;
    }

    .hero-sigil {
        width: 125px;
        height: clamp(200px, 29svh, 250px);
    }

    .hero-wordmark-lockup {
        margin-top: 24px;
    }

    .hero-wordmark {
        width: min(64vw, 320px);
    }

    .hero-tagline {
        margin-top: 19px;
    }

    .hero-tagline strong {
        display: none;
    }

    .action-panels {
        position: relative;
        inset: auto;
        grid-row: 6;
        width: calc(100% - 36px);
        margin: 20px auto 30px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        scroll-snap-align: start;
    }

    .action-panel,
    .action-collect,
    .action-strategize,
    .action-defend,
    .action-conquer {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: auto;
        min-height: 72px;
    }

    .hero-actions {
        position: relative;
        grid-row: 3;
        top: auto;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        margin: 0 auto 34px;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .hero-actions .discover-button {
        width: min(88vw, 390px);
        min-height: 58px;
        font-size: 1rem;
    }

    .hero-actions .trailer-button {
        width: min(76vw, 330px);
        min-height: 48px;
    }

    .hero-robots {
        display: block;
        inset: 0 0 auto;
        height: 100svh;
        clip-path: inset(0);
    }

    .robot-bad {
        top: calc(88svh - 58vw);
        left: -6vw;
        height: 58vw;
    }

    .robot-good {
        top: calc(90svh - 64vw);
        right: -6vw;
        height: 64vw;
    }

    .atmosphere {
        display: none;
    }

    .card-zone {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 94%;
        margin: 10px auto;
    }

    .evil-zone {
        grid-row: 4;
        margin-top: 44px;
        scroll-snap-align: start;
    }

    .good-zone {
        grid-row: 5;
    }

    .card-line {
        gap: 12px;
    }

    .flip-card,
    .flip-card:nth-child(1),
    .flip-card:nth-child(3) {
        width: min(29vw, 132px);
    }

    .footer-hub {
        grid-row: 7;
        width: calc(100% - 42px);
        margin: 32px auto 12px;
        grid-template-columns: 1fr;
        gap: 13px;
        scroll-snap-align: start;
    }

    .join-panel {
        flex-direction: column;
        gap: 10px;
    }

    .join-form {
        width: min(100%, 480px);
    }

    .join-form input {
        width: 100%;
    }

    .contact-panel {
        padding: 13px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(202, 144, 48, .32);
        align-items: center;
    }

    .landing-footer {
        grid-row: 8;
    }
}

@media (max-width: 620px) and (orientation: portrait) {
    .topbar {
        justify-content: stretch;
    }

    .top-wordmark {
        width: 142px;
    }

    .landing-footer {
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        padding-top: 15px;
        gap: 11px;
    }

    .copyright {
        order: 3;
    }

    .reagan-quote {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
