:root {
    --void: #0a0608;
    --ash: #150c10;
    --stone: #241820;
    --blood: #e01b2e;
    --blood-deep: #7d0d1a;
    --ember: #ff7a1a;
    --gold: #ffc24a;
    --moss: #6fae3c;
    --text: #f7ebe6;
    --muted: #b5989a;
    --hard-shadow: 0 6px 0 rgba(0, 0, 0, 0.55);
    --pixel: 4px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--void);
    color: var(--text);
    font-family: "Rubik", "Segoe UI", sans-serif;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.1;
}

p {
    margin: 0;
}

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

button {
    font: inherit;
    color: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}

.skip-link {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--blood);
    transform: translateY(-150%);
    transition: transform 0.15s ease;
}

.skip-link:focus {
    transform: none;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ---------- top bar ---------- */

.topbar {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 5vw, 3.5rem);
}

.topbar__mark {
    font-family: "Press Start 2P", monospace;
    font-size: clamp(0.6rem, 1.6vw, 0.75rem);
    letter-spacing: 0.08em;
    color: rgba(247, 235, 230, 0.72);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7);
}

.topbar__nav {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(247, 235, 230, 0.8);
}

.topbar__nav a {
    padding-block-end: 2px;
    border-block-end: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.topbar__nav a:hover {
    color: var(--gold);
    border-block-end-color: var(--gold);
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: clamp(6rem, 14vh, 9rem) clamp(1.25rem, 5vw, 3.5rem) clamp(4rem, 10vh, 6rem);
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: -2%;
    z-index: -3;
    background: #1a0d10 url("../img/hero-bg.png") center 45% / cover no-repeat;
    animation: drift 34s ease-in-out infinite alternate;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(120% 90% at 50% 30%, rgba(10, 6, 8, 0) 0%, rgba(10, 6, 8, 0.55) 58%, rgba(10, 6, 8, 0.92) 100%),
        linear-gradient(to bottom, rgba(10, 6, 8, 0.7) 0%, rgba(10, 6, 8, 0.25) 38%, rgba(10, 6, 8, 0.96) 100%);
}

.hero__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.28;
    background-image:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.hero__inner {
    width: min(62rem, 100%);
    text-align: center;
}

.brand {
    display: grid;
    gap: clamp(0.35rem, 1.4vw, 0.9rem);
    font-family: "Press Start 2P", monospace;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.brand__line {
    display: block;
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.brand__line--1 {
    /* Press Start 2P הוא מונוספייס: 9 תווים ≈ 9.2em, ולכן התקרה היא ~9vw כדי לא לגלוש */
    font-size: clamp(1.55rem, 9vw, 7.5rem);
    color: #fff4ef;
    text-shadow:
        0 0 0.4em rgba(224, 27, 46, 0.35),
        6px 7px 0 rgba(0, 0, 0, 0.75);
    animation-delay: 0.05s;
}

.brand__line--2 {
    font-size: clamp(1.2rem, 6.9vw, 5.6rem);
    background: linear-gradient(178deg, var(--gold) 4%, var(--ember) 46%, var(--blood) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(5px 6px 0 rgba(0, 0, 0, 0.7));
    animation-delay: 0.18s;
}

.tagline {
    margin-block-start: clamp(1.25rem, 3.5vw, 2rem);
    font-size: clamp(1.15rem, 3.4vw, 1.9rem);
    font-weight: 900;
    color: #ffe6d8;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    animation: rise 0.9s 0.32s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.lede {
    margin: 0.75rem auto 0;
    max-width: 40ch;
    color: rgba(247, 235, 230, 0.82);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    animation: rise 0.9s 0.42s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* ---------- cta ---------- */

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-block-start: clamp(1.75rem, 5vw, 2.75rem);
    animation: rise 0.9s 0.54s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.ip {
    display: grid;
    grid-template-areas:
        "label action"
        "value action";
    align-items: center;
    gap: 0 clamp(0.9rem, 3vw, 1.75rem);
    padding: 0.7rem 0.85rem 0.75rem;
    border: var(--pixel) solid #2a1116;
    border-radius: 2px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 46%),
        linear-gradient(180deg, var(--blood) 0%, var(--blood-deep) 100%);
    box-shadow: var(--hard-shadow);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
}

.ip:hover {
    filter: brightness(1.08);
}

.ip:active {
    transform: translateY(5px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.ip__label {
    grid-area: label;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 236, 230, 0.75);
}

.ip__value {
    grid-area: value;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(0.8rem, 3.1vw, 1.35rem);
    color: #fffaf7;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.ip__action {
    grid-area: action;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: stretch;
    padding-inline: clamp(0.7rem, 2.5vw, 1.15rem);
    border-inline-start: 2px solid rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffe9c9;
}

.ip.is-copied {
    background: linear-gradient(180deg, var(--moss) 0%, #3d6b21 100%);
    border-color: #1d3410;
}

.ip-alt {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(247, 235, 230, 0.7);
    border-block-end: 1px dashed rgba(247, 235, 230, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ip-alt:hover {
    color: var(--gold);
    border-block-end-color: var(--gold);
}

/* ---------- status ---------- */

.status {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.45rem;
    margin-block-start: clamp(1.4rem, 4vw, 2rem);
    font-size: 0.95rem;
    color: rgba(247, 235, 230, 0.78);
    animation: rise 0.9s 0.66s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.status__online,
.status__offline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

body[data-server="online"] .status__offline,
body[data-server="offline"] .status__online {
    display: none;
}

body[data-server="offline"] .hero__bg {
    filter: grayscale(0.45) brightness(0.72);
}

.status__offline {
    padding: 0.3rem 0.8rem;
    border: 2px solid rgba(247, 235, 230, 0.18);
    border-radius: 2px;
    background: rgba(20, 12, 16, 0.72);
    font-weight: 700;
    color: rgba(247, 235, 230, 0.72);
}

.status__dot {
    width: 0.55rem;
    height: 0.55rem;
    background: #8a7f80;
    box-shadow: 0 0 0 3px rgba(138, 127, 128, 0.18);
}

.status__heart {
    display: inline-flex;
    color: var(--blood);
    filter: drop-shadow(0 0 6px rgba(224, 27, 46, 0.6));
    animation: beat 1.9s ease-in-out infinite;
}

.status__count {
    font-family: "Press Start 2P", monospace;
    font-size: 1.05rem;
    color: var(--gold);
    transition: transform 0.25s ease, color 0.25s ease;
    display: inline-block;
}

.status__count.is-up {
    transform: translateY(-3px) scale(1.08);
    color: var(--moss);
}

.status__count.is-down {
    transform: translateY(3px) scale(0.94);
    color: var(--ember);
}

.status__meta {
    padding-inline-start: 0.6rem;
    border-inline-start: 1px solid rgba(247, 235, 230, 0.25);
    font-size: 0.85rem;
    color: rgba(247, 235, 230, 0.55);
}

.scroll-hint {
    position: absolute;
    inset-block-end: clamp(1.1rem, 3vh, 2rem);
    inset-inline: 0;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: rgba(247, 235, 230, 0.45);
    animation: bob 2.6s ease-in-out infinite;
}

/* ---------- live feed ---------- */

.pulse {
    position: relative;
    padding: clamp(3rem, 8vh, 4.5rem) clamp(1.25rem, 5vw, 3.5rem);
    background:
        radial-gradient(70% 120% at 85% 0%, rgba(255, 122, 26, 0.12) 0%, rgba(10, 6, 8, 0) 65%),
        linear-gradient(180deg, var(--void) 0%, var(--ash) 100%);
}

.pulse__inner {
    width: min(64rem, 100%);
    margin-inline: auto;
}

.pulse__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.pulse__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.7rem;
    border: 2px solid rgba(224, 27, 46, 0.45);
    border-radius: 2px;
    background: rgba(224, 27, 46, 0.1);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #ffd9cf;
}

.pulse__dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--blood);
    box-shadow: 0 0 0 3px rgba(224, 27, 46, 0.2);
    animation: throb 1.8s ease-in-out infinite;
}

body[data-server="offline"] .pulse__dot {
    background: #8a7f80;
    box-shadow: 0 0 0 3px rgba(138, 127, 128, 0.18);
    animation: none;
}

.pulse__board {
    display: flex;
    align-items: center;
    min-height: 4.75rem;
    margin-block-start: clamp(1.5rem, 4vw, 2.25rem);
    padding: 0.9rem clamp(0.9rem, 3vw, 1.4rem);
    border: 2px solid rgba(247, 235, 230, 0.1);
    border-inline-start: var(--pixel) solid var(--blood);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(36, 24, 32, 0.85), rgba(21, 12, 16, 0.85));
    box-shadow: var(--hard-shadow);
    overflow: hidden;
}

.pulse__line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    width: 100%;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

/* בזמן ההחלפה השורה מחליקה למעלה ונעלמת, ואז נכנסת מלמטה עם הטקסט החדש */
.pulse__line.is-out {
    opacity: 0;
    transform: translateY(-10px);
}

.pulse__line.is-in {
    opacity: 0;
    transform: translateY(10px);
}

.pulse__icon {
    flex: 0 0 auto;
    width: 0.85rem;
    height: 0.85rem;
    background: var(--muted);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.pulse__line[data-type="player_join"] .pulse__icon {
    background: var(--moss);
}

.pulse__line[data-type="player_quit"] .pulse__icon {
    background: #6b5f62;
}

.pulse__line[data-type="player_death"] .pulse__icon {
    background: var(--blood);
}

.pulse__line[data-type="player_kill"] .pulse__icon {
    background: var(--ember);
}

.pulse__line[data-type="heart_change"] .pulse__icon {
    background: var(--gold);
}

.pulse__text {
    flex: 1 1 auto;
    font-weight: 700;
    color: #ffeee7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.pulse__time {
    flex: 0 0 auto;
    font-size: 0.8rem;
    color: rgba(247, 235, 230, 0.5);
}

.status__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.7rem;
    border: 2px solid rgba(111, 174, 60, 0.55);
    border-radius: 2px;
    background: rgba(111, 174, 60, 0.12);
    font-family: "Press Start 2P", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: #d8ffb0;
}

.status__lamp {
    width: 0.55rem;
    height: 0.55rem;
    background: var(--moss);
    box-shadow: 0 0 0 3px rgba(111, 174, 60, 0.22);
    animation: throb 1.8s ease-in-out infinite;
}

body[data-server="offline"] .status__badge {
    border-color: rgba(224, 27, 46, 0.5);
    background: rgba(224, 27, 46, 0.12);
    color: #ffd0d4;
}

body[data-server="offline"] .status__lamp {
    background: var(--blood);
    box-shadow: 0 0 0 3px rgba(224, 27, 46, 0.2);
    animation: none;
}

.status__max {
    font-family: "Press Start 2P", monospace;
    font-size: 0.7rem;
    color: rgba(247, 235, 230, 0.45);
}

.status__fresh,
.status__motd {
    display: block;
    margin-block-start: 0.45rem;
    font-size: 0.82rem;
    color: rgba(247, 235, 230, 0.55);
}

.status__motd {
    font-weight: 600;
    color: #ffe6d8;
}

.pulse__list {
    display: grid;
    gap: 0.45rem;
    margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
    padding: 0;
    list-style: none;
}

.pulse__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(247, 235, 230, 0.08);
    background: rgba(21, 12, 16, 0.55);
}

.pulse__item .pulse__icon,
.pulse__line .pulse__icon {
    flex: 0 0 auto;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--muted);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.pulse__item[data-type="player_join"] .pulse__icon,
.pulse__line[data-type="player_join"] .pulse__icon { background: var(--moss); }
.pulse__item[data-type="player_quit"] .pulse__icon,
.pulse__line[data-type="player_quit"] .pulse__icon { background: #6b5f62; }
.pulse__item[data-type="player_death"] .pulse__icon,
.pulse__line[data-type="player_death"] .pulse__icon { background: var(--blood); }
.pulse__item[data-type="player_kill"] .pulse__icon,
.pulse__line[data-type="player_kill"] .pulse__icon { background: var(--ember); }
.pulse__item[data-type="heart_change"] .pulse__icon,
.pulse__line[data-type="heart_change"] .pulse__icon { background: var(--gold); }

.board,
.prose,
.rules,
.faq {
    padding: clamp(3rem, 8vh, 5.5rem) clamp(1.25rem, 5vw, 3.5rem);
}

.board {
    background: linear-gradient(180deg, var(--ash) 0%, var(--void) 100%);
}

.board__inner,
.prose__inner,
.rules__inner,
.faq__inner {
    width: min(64rem, 100%);
    margin-inline: auto;
}

.board__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
    margin-block-start: 1.75rem;
}

.board__label {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.board__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.board__list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-block-end: 1px solid rgba(247, 235, 230, 0.08);
}

.board__empty {
    color: var(--muted);
}

.prose {
    background: var(--void);
}

.prose p {
    margin-block-start: 1rem;
    max-width: 62ch;
    color: rgba(247, 235, 230, 0.82);
}

.rules {
    background: linear-gradient(180deg, var(--void) 0%, var(--ash) 100%);
}

.rules__list {
    display: grid;
    gap: 0.85rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.rules__list li {
    display: flex;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(247, 235, 230, 0.08);
    border-inline-start: var(--pixel) solid var(--gold);
    background: rgba(21, 12, 16, 0.7);
}

.rules__num {
    font-family: "Press Start 2P", monospace;
    font-size: 0.7rem;
    color: var(--gold);
}

.faq {
    background: linear-gradient(180deg, var(--ash) 0%, var(--void) 100%);
}

.faq__list {
    display: grid;
    gap: 0.65rem;
    margin-block-start: 1.75rem;
}

.faq__item {
    border: 2px solid rgba(247, 235, 230, 0.1);
    background: rgba(21, 12, 16, 0.72);
}

.faq__item summary {
    cursor: pointer;
    padding: 0.9rem 1rem;
    font-weight: 800;
}

.faq__item p {
    padding: 0 1rem 1rem;
    color: var(--muted);
}

.ad-slot {
    display: grid;
    place-items: center;
    min-height: 90px;
    margin: 0 clamp(1.25rem, 5vw, 3.5rem);
    border: 1px dashed rgba(247, 235, 230, 0.18);
    background: rgba(21, 12, 16, 0.4);
}

.ad-slot__label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: rgba(247, 235, 230, 0.35);
}

/* ---------- join ---------- */

.join {
    position: relative;
    padding: clamp(4.5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 3.5rem);
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(224, 27, 46, 0.18) 0%, rgba(10, 6, 8, 0) 70%),
        linear-gradient(180deg, var(--ash) 0%, var(--void) 100%);
}

.join::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: var(--pixel);
    background: repeating-linear-gradient(90deg, var(--blood) 0 12px, var(--blood-deep) 12px 24px);
    opacity: 0.7;
}

.join__inner {
    width: min(64rem, 100%);
    margin-inline: auto;
}

/* Press Start 2P נשמר לטקסט לטיני בלבד - אין בו גליפים עבריים */
.section-title {
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}

.section-title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: var(--pixel);
    margin-block-start: 0.9rem;
    background: linear-gradient(90deg, var(--blood), var(--gold));
}

.section-lede {
    margin-block-start: 0.9rem;
    max-width: 46ch;
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: clamp(1.75rem, 5vw, 3rem);
    margin: clamp(2.5rem, 7vw, 4rem) 0 0;
    padding: 0;
    list-style: none;
}

.step {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step.is-visible {
    opacity: 1;
    transform: none;
}

.step__num {
    display: block;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    background: linear-gradient(180deg, var(--gold), var(--blood));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.step__title {
    margin-block-start: 0.8rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.step__text {
    margin-block-start: 0.45rem;
    color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    padding: 2.5rem clamp(1.25rem, 5vw, 3.5rem) 3rem;
    border-block-start: 1px solid rgba(247, 235, 230, 0.08);
    font-size: 0.85rem;
    color: rgba(247, 235, 230, 0.5);
    text-align: center;
}

/* האייקון של השרת: שורה נפרדת, ונשאר חד ומרובע כמו טקסטורה של Minecraft */
.footer__mark {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-block-end: 0.25rem;
}

.footer__icon {
    /* content-box כדי שהתמונה עצמה תישאר 128x128 והמסגרת תתווסף סביבה */
    box-sizing: content-box;
    flex: 0 0 auto;
    width: 128px;
    height: 128px;
    padding: var(--pixel);
    background: linear-gradient(180deg, rgba(224, 27, 46, 0.14), rgba(10, 6, 8, 0.6));
    border: 2px solid rgba(224, 27, 46, 0.45);
    box-shadow: var(--hard-shadow), 0 0 22px rgba(224, 27, 46, 0.22);
    image-rendering: pixelated;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer__icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--hard-shadow), 0 0 30px rgba(224, 27, 46, 0.4);
}

body[data-server="offline"] .footer__icon {
    filter: grayscale(0.75);
    border-color: rgba(247, 235, 230, 0.2);
    box-shadow: var(--hard-shadow);
}

.footer__brand {
    font-weight: 800;
    color: rgba(247, 235, 230, 0.8);
}

.footer__links {
    display: flex;
    gap: 1rem;
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__credit {
    flex-basis: 100%;
    margin: 1.15rem 0 0;
    font-size: 0.78rem;
    color: rgba(247, 235, 230, 0.38);
}

.footer__heart {
    display: inline-block;
    margin-inline: 0.15em;
    color: var(--blood);
    filter: grayscale(0.15);
}

/* ---------- toast ---------- */

.toast {
    position: fixed;
    inset-block-end: clamp(1rem, 4vh, 2rem);
    inset-inline: 0;
    z-index: 20;
    margin-inline: auto;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 0.65rem 1.1rem;
    border: 2px solid #1d3410;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--moss), #3d6b21);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.5);
    color: #f6ffee;
    font-weight: 700;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.toast.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- animations ---------- */

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes drift {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.13) translate3d(-1.5%, -1.5%, 0);
    }
}

@keyframes beat {

    0%,
    100% {
        transform: scale(1);
    }

    12% {
        transform: scale(1.28);
    }

    24% {
        transform: scale(1);
    }

    36% {
        transform: scale(1.18);
    }

    48% {
        transform: scale(1);
    }
}

@keyframes throb {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 3px rgba(224, 27, 46, 0.2);
    }

    50% {
        opacity: 0.55;
        box-shadow: 0 0 0 6px rgba(224, 27, 46, 0.08);
    }
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    50% {
        transform: translateY(6px);
        opacity: 0.8;
    }
}

@media (max-width: 34rem) {
    .ip {
        grid-template-areas:
            "label"
            "value"
            "action";
        justify-items: center;
        gap: 0.35rem;
        padding: 0.85rem 1.1rem 0.9rem;
    }

    .ip__action {
        justify-content: center;
        padding: 0.45rem 0 0;
        border-inline-start: 0;
        border-block-start: 2px solid rgba(0, 0, 0, 0.3);
        width: 100%;
    }

    .status__meta {
        padding-inline-start: 0;
        border-inline-start: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .step {
        opacity: 1;
        transform: none;
    }

    .pulse__line.is-out,
    .pulse__line.is-in {
        opacity: 1;
        transform: none;
    }
}
