body {
    width: 100%;
    min-height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 18%, rgba(219, 31, 38, .08), transparent 28%),
        linear-gradient(180deg, #090909 0%, #101010 100%);
    color: var(--color-text);
    font-family: var(--font-main);
    font-weight: var(--font-weight-text);
    font-synthesis: none;
    letter-spacing: 0;
}

a {
    font-weight: var(--font-weight-text);
}

button,
select {
    font-weight: var(--font-weight-regular);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-heading);
}

body.has-custom-cursor {
    cursor: none;
}

body.has-custom-cursor.is-game-mode {
    cursor: auto;
}

.site-shell {
    position: relative;
    z-index: 30;
    display: grid;
    width: 100%;
    min-height: 100dvh;
    padding: var(--shell-pad-y) var(--shell-pad-x);
    grid-template-rows: auto 1fr auto;
    pointer-events: none;
}

[data-ui]:not([data-ui="soft"]) {
    pointer-events: auto;
}

[data-ui="soft"] {
    pointer-events: none;
}

.site-header,
.site-footer {
    display: grid;
    gap: 24px;
    align-items: start;
}

.site-header {
    position: relative;
    z-index: 32;
    grid-template-columns: auto 1fr;
}

.brand {
    width: fit-content;
    height: 22px;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, .08));
}

.brand img {
    display: block;
    width: auto;
    height: 100%;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.hero {
    align-self: center;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    padding: 6vh 0 4vh;
    text-align: left;
    text-shadow: 0 2px 22px rgba(0, 0, 0, .45);
    transition: opacity .7s ease, transform .7s ease;
}

.hero.is-dimmed {
    opacity: .22;
    transform: translateY(-8px);
}

.hero h1 {
    margin: 0;
    font-size: 74px;
    line-height: .95;
    font-weight: var(--font-weight-heading);
}

.hero-title__line {
    display: block;
    white-space: nowrap;
}

.hero-title__accent {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: .98em;
    font-weight: 400;
    line-height: 0;
    vertical-align: 0;
}

.scroll-mouse-icon {
    display: block;
    width: 26px;
    height: 32px;
    overflow: hidden;
}

.scroll-mouse-shell {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.scroll-mouse-wheel {
    fill: currentColor;
    transform-box: fill-box;
    transform-origin: center;
}

.site-footer {
    --footer-section-margin: 12px;
    grid-template-columns: 1fr .8fr minmax(280px, 1.25fr);
    align-items: end;
    padding-bottom: 8px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.35;
    text-transform: uppercase;
}

.contact-links,
.footer-about {
    align-self: start;
}

.footer-column a {
    width: max-content;
    max-width: 100%;
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .9);
    text-underline-offset: 3px;
    transition: color .2s ease, text-underline-offset .2s ease;
}

.footer-column a:hover {
    color: var(--color-accent);
    text-underline-offset: 6px;
}

.legal-links a:hover,
.contact-primary-link:hover {
    text-decoration-color: currentColor;
}

.footer-about {
    text-transform: none;
}

.legal-links a,
.contact-links a {
    text-transform: none;
}

.footer-about p {
    margin: 0;
}

.footer-copyright,
.contact-messengers {
    margin-top: var(--footer-section-margin);
}

.footer-game-cta {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    gap: 10px;
    align-items: center;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.25;
    text-align: left;
    transition: color .2s ease;
}

.footer-game-cta:hover,
.footer-game-cta:focus-visible {
    color: var(--color-text);
}

.footer-game-cta__text {
    min-width: 0;
}

.footer-game-cta__icon {
    flex: 0 0 26px;
    transform: translateY(-3px);
}

.presentation-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--footer-section-margin) !important;
    color: var(--color-text);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    text-transform: none;
}

.presentation-title::before {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: url("/assets/images/adobe-reader.svg") center / contain no-repeat;
    content: "";
}

.contact-primary {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-column .contact-primary-link {
    font-size: 20px;
    font-weight: var(--font-weight-regular);
    line-height: 1.15;
}

.contact-icon-row {
    display: flex;
    gap: 8px;
}

.footer-column .contact-icon-link {
    display: grid;
    width: var(--control-circle-size);
    max-width: none;
    height: var(--control-circle-size);
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    text-underline-offset: 0;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.footer-column .contact-icon-link[hidden] {
    display: none;
}

.footer-column .contact-icon-link--messenger {
    border-color: var(--color-accent);
    background: var(--color-accent);
}

.footer-column .contact-icon-link--social {
    border-color: var(--color-line);
    background: transparent;
}

.footer-column .contact-icon-link:hover {
    color: #fff;
    transform: scale(1.1);
}

.contact-icon {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.contact-icon-link[data-contact="telegram"] .contact-icon {
    width: 20px;
    height: 20px;
}

.contact-icon-link[data-social="x"] .contact-icon {
    width: 14px;
    height: 14px;
}

.presentation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.presentation-links .mini-pill {
    font-size: 14px;
    text-decoration-line: underline;
    text-decoration-color: rgba(244, 188, 195, .4);
    text-decoration-thickness: 1px;
}

.presentation-links .mini-pill:hover {
    color: #fff;
    text-decoration-color: #fff;
}
