:root {
    --gold-1: #7b4308;
    --gold-2: #d99219;
    --gold-3: #fff2a6;
    --gold-4: #ffb000;
    --ink: #030508;
    --paper: #f1eadf;
    --muted: #b9b2a7;
    --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,
.panel-label,
.gold-button,
.national-message,
.age-message,
.language-link,
.action-panel {
    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;
    min-height: 100svh;
    overflow-x: hidden;
    display: grid;
    grid-template-rows: auto auto auto auto;
    background:
        linear-gradient(180deg, rgba(2, 4, 8, .04) 0%, rgba(2, 4, 8, .22) 58%, rgba(1, 2, 4, .82) 100%),
        url("../images/vyklucovat/final/website background.jpeg") center top / cover no-repeat;
}

.gold-frame {
    position: fixed;
    inset: 7px;
    z-index: 100;
    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: 40;
    min-height: 76px;
    padding: 10px clamp(26px, 4vw, 70px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    background: linear-gradient(180deg, rgba(0, 2, 6, .96), rgba(0, 2, 6, .64) 74%, transparent);
}

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

.wordmark-lockup {
    position: relative;
}

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

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

.national-message {
    justify-self: center;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-align: left;
}

.slovak-emblem {
    width: auto;
    height: 42px;
    flex: 0 0 auto;
    filter:
        drop-shadow(0 0 5px rgba(255, 255, 255, .18))
        drop-shadow(0 0 8px rgba(255, 179, 30, .2));
}

.national-message p {
    margin: 0;
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45em;
    text-align: center;
}

.national-message strong {
    background: linear-gradient(180deg, #fff4a8 0%, #ffba19 48%, #a95804 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(.86rem, 1.08vw, 1.16rem);
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 0 13px rgba(255, 177, 20, .2);
}

.national-message span {
    color: #e8a92c;
    font-size: clamp(.86rem, 1.08vw, 1.16rem);
    font-weight: 700;
    line-height: 1.1;
}

.top-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-link,
.music-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid #a56614;
    display: grid;
    place-items: center;
    color: #ffcb41;
    background: linear-gradient(145deg, rgba(62, 33, 5, .82), rgba(3, 7, 12, .9));
    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, .1);
    transition: color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.language-link {
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.music-toggle {
    cursor: pointer;
}

.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);
}

.hero-stage {
    position: relative;
    z-index: 1;
    min-height: 720px;
    padding: 40px clamp(22px, 4vw, 70px) 58px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.atmosphere {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: -7%;
    width: min(1050px, 86vw);
    height: 52%;
    transform: translateX(-50%);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, .84) 0%,
        rgba(0, 0, 0, .66) 35%,
        rgba(0, 0, 0, .38) 58%,
        rgba(0, 0, 0, .12) 78%,
        transparent 100%
    );
    filter: blur(20px);
}

.hero-core {
    position: relative;
    z-index: 10;
    order: 1;
    width: min(620px, 92vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.hero-sigil {
    width: clamp(120px, 13vw, 190px);
    height: clamp(260px, 36vh, 390px);
    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-lockup {
    display: inline-flex;
    margin-top: 19px;
}

.hero-wordmark {
    width: clamp(300px, 31vw, 480px);
    max-width: 84vw;
    height: auto;
    filter:
        drop-shadow(0 0 9px rgba(255, 195, 60, .2))
        drop-shadow(0 3px 5px rgba(0, 0, 0, .8));
}

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

.hero-tagline {
    margin-top: 25px;
    text-shadow: 0 2px 6px #000;
}

.hero-tagline p {
    margin: 0;
    color: #fff8e7;
    font-size: clamp(1rem, 1.25vw, 1.3rem);
    font-weight: 600;
    letter-spacing: .07em;
}

.hero-tagline strong {
    display: block;
    margin-top: 7px;
    color: #f0d183;
    font: 600 clamp(.88rem, 1.02vw, 1.08rem)/1.25 "Rajdhani", sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.age-message {
    margin: 15px 0 0;
    padding: 7px 15px;
    border: 1px solid rgba(221, 168, 56, .55);
    color: #fff;
    background: rgba(2, 6, 10, .7);
    font-size: clamp(.78rem, .85vw, .9rem);
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.age-message i {
    margin-right: 7px;
    color: #e4ac37;
}

.hero-actions {
    margin-top: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.gold-button {
    position: relative;
    min-height: 46px;
    padding: 10px 25px;
    border: 1px solid #9f6415;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #f7d77e;
    background: linear-gradient(180deg, rgba(49, 28, 6, .78), rgba(3, 6, 10, .92));
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .075em;
    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);
}

.discover-button {
    min-width: clamp(220px, 17vw, 275px);
}

.trailer-button {
    min-width: clamp(165px, 12vw, 205px);
}

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

.inline-copyright {
    position: relative;
    top: -.35em;
    margin-left: .08em;
    font-size: .58em;
    line-height: 0;
    vertical-align: baseline;
}

.action-panels {
    position: relative;
    z-index: 12;
    order: 3;
    width: min(1180px, 94vw);
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.action-panel {
    position: relative;
    min-width: 0;
    min-height: 74px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    isolation: isolate;
    color: #e7e2d8;
    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;
}

.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, .91);
}

.action-panel:hover {
    transform: scale(1.035);
    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: 39px;
    height: 43px;
    flex: 0 0 39px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: saturate(1.2) drop-shadow(0 0 6px rgba(255, 172, 16, .32));
}

svg.action-icon {
    overflow: visible;
    fill: none;
    stroke: #efbf54;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    mix-blend-mode: normal;
}

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

.action-panel strong {
    color: #f1c85f;
    font-size: .96rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.05;
    text-transform: uppercase;
}

.action-panel span {
    margin-top: 4px;
    color: #f4f2ed;
    font-size: .72rem;
    font-weight: 500;
    line-height: 1.2;
}

.card-showcase {
    position: relative;
    z-index: 7;
    order: 2;
    width: min(1120px, 96vw);
    margin-top: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 4vw, 70px);
}

.card-zone {
    min-width: 0;
}

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

.flip-card + .flip-card {
    margin-left: clamp(-54px, -3.2vw, -28px);
}

.flip-card {
    position: relative;
    width: clamp(125px, 13vw, 196px);
    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(116px, 12.1vw, 182px);
}

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

.flip-card:nth-child(3) {
    transform: rotate(9deg) translateY(20px);
    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.1);
    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: 1px solid rgba(232, 187, 87, .42);
    border-radius: 4.5% / 3.2%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #030507;
}

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

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

@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); }
}

.hero-robots {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}

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

.robot-bad {
    left: 0;
    bottom: 0;
    height: min(74vh, 900px);
    transform: translateY(5.4%);
}

.robot-good {
    right: 0;
    bottom: 0;
    height: min(78vh, 940px);
    transform: translateY(7.3%) scaleX(-1);
}

.footer-hub {
    position: relative;
    z-index: 20;
    justify-self: center;
    width: min(1140px, calc(100% - 54px));
    min-height: 92px;
    margin: 10px auto;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: minmax(500px, 1.6fr) minmax(280px, .8fr);
    gap: 18px;
    background: linear-gradient(100deg, rgba(3, 7, 12, .9), rgba(10, 14, 18, .97), rgba(3, 7, 12, .9));
    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: 22px;
}

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

.panel-label {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

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

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

.join-form input {
    width: min(235px, 20vw);
    min-height: 39px;
    padding: 8px 12px;
    border: 1px solid #55585c;
    border-right: 0;
    outline: none;
    color: #fff;
    background: rgba(1, 4, 8, .78);
    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 {
    min-height: 39px;
    padding: 8px 18px;
    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;
}

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

.contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font: 500 1rem/1.2 "Rajdhani", sans-serif;
    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: 20;
    min-height: 64px;
    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, .62), rgba(1, 2, 4, .93));
}

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

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

.social-links a {
    color: #fff;
    font-size: 1.25rem;
    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(.74rem, .78vw, .86rem);
    font-style: italic;
    line-height: 1.3;
}

.reagan-quote p {
    margin: 0;
}

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

/* Wide and tall screens preserve the cinematic single-screen composition. */
@media (min-width: 1401px) and (min-height: 851px) {
    .landing-shell {
        height: 100svh;
        min-height: 760px;
        overflow: hidden;
        grid-template-rows: 76px minmax(0, 1fr) auto 64px;
    }

    .hero-stage {
        min-height: 0;
        padding: 0;
        display: block;
        overflow: hidden;
    }

    .hero-core {
        position: absolute;
        top: clamp(10px, 2vh, 24px);
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-sigil {
        height: clamp(245px, 34vh, 390px);
    }

    .hero-wordmark-lockup {
        margin-top: clamp(8px, 1.8vh, 20px);
    }

    .hero-tagline {
        margin-top: clamp(14px, 2.1vh, 25px);
    }

    .age-message {
        margin-top: clamp(9px, 1.3vh, 15px);
    }

    .hero-actions {
        margin-top: clamp(11px, 1.7vh, 19px);
    }

    .action-panels {
        position: absolute;
        inset: 0;
        width: auto;
        margin: 0;
        display: block;
    }

    .action-panel {
        position: absolute;
        width: clamp(205px, 14vw, 250px);
        min-height: 70px;
    }

    .action-think {
        top: 10%;
        left: clamp(38px, 4.3vw, 82px);
    }

    .action-plan {
        top: 8%;
        right: clamp(38px, 4.3vw, 82px);
    }

    .action-decide {
        top: 31%;
        left: clamp(68px, 8vw, 155px);
    }

    .action-discover {
        top: 34%;
        right: clamp(48px, 6vw, 115px);
    }

    .card-showcase {
        position: absolute;
        inset: 0;
        width: auto;
        margin: 0;
        display: block;
        pointer-events: none;
    }

    .card-zone {
        position: absolute;
        bottom: clamp(8px, 1.2vh, 18px);
        width: min(35vw, 660px);
        pointer-events: auto;
    }

    .evil-zone {
        left: clamp(14px, 1.5vw, 30px);
    }

    .good-zone {
        right: clamp(14px, 1.5vw, 30px);
    }

    .flip-card {
        width: clamp(135px, 13.8vw, 220px);
    }

    .flip-card:nth-child(1),
    .flip-card:nth-child(3) {
        width: clamp(126px, 12.8vw, 205px);
    }
}

/* Short laptops and narrower desktops switch to normal flow: no collisions. */
@media (max-width: 1400px), (max-height: 850px) {
    .hero-stage {
        min-height: 0;
    }

    .hero-robots {
        height: min(760px, 100svh);
    }

    .robot-bad {
        left: -12vw;
        height: min(72svh, 720px);
    }

    .robot-good {
        right: -12vw;
        height: min(76svh, 760px);
    }

    .hero-core {
        padding-top: 5px;
    }

    .card-showcase,
    .action-panels {
        max-width: 1040px;
    }
}

@media (max-width: 1050px) {
    .topbar {
        grid-template-columns: auto 1fr auto;
        gap: 16px;
        padding-inline: 28px;
    }

    .national-message strong {
        font-size: .82rem;
    }

    .national-message span {
        font-size: .82rem;
    }

    .action-panels {
        grid-template-columns: 1fr 1fr;
        max-width: 720px;
    }

    .card-showcase {
        width: min(900px, 96vw);
        gap: 10px;
    }

    .footer-hub {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

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

@media (max-width: 760px) {
    .landing-shell {
        background-size: auto 100svh;
        background-repeat: no-repeat;
        background-color: #030508;
    }

    .topbar {
        min-height: 132px;
        padding: 13px 20px 14px;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
    }

    .top-wordmark {
        grid-column: 1;
        grid-row: 1;
        width: 145px;
    }

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

    .national-message {
        grid-column: 1 / -1;
        grid-row: 2;
        width: min(100%, 510px);
        justify-self: center;
    }

    .national-message strong {
        font-size: clamp(.78rem, 3.1vw, .92rem);
        letter-spacing: .08em;
    }

    .national-message span {
        font-size: clamp(.78rem, 3.1vw, .92rem);
    }

    .hero-stage {
        padding: 30px 16px 48px;
    }

    .hero-robots {
        height: min(720px, 94svh);
    }

    .robot-bad {
        left: -38vw;
        bottom: 0;
        height: 72svh;
    }

    .robot-good {
        right: -38vw;
        bottom: 0;
        height: 76svh;
    }

    .hero-sigil {
        width: 118px;
        height: clamp(215px, 28svh, 260px);
    }

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

    .hero-wordmark {
        width: min(72vw, 330px);
    }

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

    .hero-tagline p {
        font-size: clamp(.92rem, 4vw, 1.08rem);
    }

    .hero-tagline strong {
        max-width: 92vw;
        font-size: clamp(.78rem, 3.5vw, .92rem);
    }

    .age-message {
        max-width: 92vw;
        font-size: clamp(.68rem, 3vw, .8rem);
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .gold-button {
        width: min(88vw, 380px);
    }

    .card-showcase {
        margin-top: 58px;
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .flip-card + .flip-card {
        margin-left: -33px;
    }

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

    .action-panels {
        width: min(100%, 650px);
        margin-top: 62px;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .action-panel {
        min-height: 82px;
        padding: 10px;
    }

    .action-icon {
        width: 33px;
        height: 38px;
        flex-basis: 33px;
    }

    .action-panel strong {
        font-size: .88rem;
    }

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

    .footer-hub {
        width: calc(100% - 36px);
        margin-block: 4px 12px;
    }

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

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

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

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

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

    .copyright {
        order: 3;
    }
}

@media (max-width: 430px) {
    .language-link,
    .music-toggle {
        width: 38px;
        height: 38px;
    }

    .top-actions {
        gap: 7px;
    }

    .slovak-emblem {
        height: 38px;
    }

    .national-message {
        gap: 9px;
    }

    .action-panels {
        grid-template-columns: 1fr;
    }

    .action-panel {
        min-height: 68px;
    }

    .join-form {
        flex-direction: column;
        gap: 8px;
    }

    .join-form input {
        min-height: 43px;
        border-right: 1px solid #55585c;
    }

    .join-form .gold-button {
        width: 100%;
        min-height: 43px;
    }
}

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