.dn9max-notfunk-card {
    --dn9max-notfunk-bg: #0e1518;
    --dn9max-notfunk-bg-deep: #090e10;
    --dn9max-notfunk-panel: #151e21;
    --dn9max-notfunk-text: #eee7da;
    --dn9max-notfunk-muted: #b8b2a8;
    --dn9max-notfunk-line: #d9663a;
    --dn9max-notfunk-accent: #eba04a;
    --dn9max-notfunk-green: #84b895;
    --dn9max-notfunk-border: rgba(235, 160, 74, 0.32);

    width: min(100%, 46rem);
    margin: clamp(2rem, 5vw, 3.5rem) auto;
    color: var(--dn9max-notfunk-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dn9max-notfunk-card,
.dn9max-notfunk-card * {
    box-sizing: border-box;
}

.dn9max-notfunk-card__link {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 22rem;
    padding: clamp(2rem, 6vw, 3.75rem) clamp(1.45rem, 6vw, 3.8rem);
    color: inherit;
    text-decoration: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        radial-gradient(circle at 88% 18%, rgba(235, 160, 74, 0.10), transparent 30%),
        linear-gradient(145deg, var(--dn9max-notfunk-panel), var(--dn9max-notfunk-bg-deep));
    background-size: 1.5rem 1.5rem, 1.5rem 1.5rem, auto, auto;
    border: 1px solid var(--dn9max-notfunk-border);
    border-radius: 0.85rem;
    box-shadow:
        0 1rem 2.4rem rgba(0, 0, 0, 0.34),
        0 0.18rem 0.55rem rgba(0, 0, 0, 0.26);
    isolation: isolate;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.dn9max-notfunk-card__link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(217, 102, 58, 0.10), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 28%);
}

.dn9max-notfunk-card__link::after {
    content: "";
    position: absolute;
    inset: 0.7rem;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(238, 231, 218, 0.08);
    border-radius: 0.52rem;
}

.dn9max-notfunk-card__signal {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.42rem;
    background: linear-gradient(180deg, var(--dn9max-notfunk-accent), var(--dn9max-notfunk-line));
    box-shadow: 0 0 1.1rem rgba(217, 102, 58, 0.3);
}

.dn9max-notfunk-card__content {
    position: relative;
    display: flex;
    min-height: 14.5rem;
    flex-direction: column;
    justify-content: center;
}

.dn9max-notfunk-card__label,
.dn9max-notfunk-card__title,
.dn9max-notfunk-card__text,
.dn9max-notfunk-card__footer {
    display: block;
}

.dn9max-notfunk-card__label {
    margin-bottom: 0.85rem;
    color: var(--dn9max-notfunk-accent);
    font-size: clamp(0.72rem, 1.7vw, 0.82rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dn9max-notfunk-card__title {
    max-width: 18ch;
    color: var(--dn9max-notfunk-text);
    font-size: clamp(2rem, 6.4vw, 3.55rem);
    font-weight: 760;
    line-height: 1.03;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.dn9max-notfunk-card__text {
    max-width: 43rem;
    margin-top: 1.25rem;
    color: var(--dn9max-notfunk-muted);
    font-size: clamp(1rem, 2.4vw, 1.12rem);
    line-height: 1.68;
    text-wrap: pretty;
}

.dn9max-notfunk-card__footer {
    display: flex;
    margin-top: 1.85rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.dn9max-notfunk-card__status {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.42rem;
    color: #c7bfb2;
    font-size: clamp(0.69rem, 1.6vw, 0.78rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

.dn9max-notfunk-card__status-offline {
    color: #d8a08a;
}

.dn9max-notfunk-card__separator {
    color: rgba(238, 231, 218, 0.42);
}

.dn9max-notfunk-card__status-online {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: var(--dn9max-notfunk-green);
}

.dn9max-notfunk-card__status-dot {
    width: 0.52rem;
    height: 0.52rem;
    flex: 0 0 auto;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 0.2rem rgba(132, 184, 149, 0.13);
}

.dn9max-notfunk-card__button {
    display: inline-flex;
    min-height: 3rem;
    padding: 0.76rem 1.08rem;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 0.52rem;
    color: #15100b;
    background: var(--dn9max-notfunk-accent);
    border: 1px solid var(--dn9max-notfunk-accent);
    border-radius: 0.42rem;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.2);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.2;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        gap 180ms ease;
}

.dn9max-notfunk-card__arrow {
    display: inline-block;
    font-size: 1.15em;
    line-height: 1;
}

.dn9max-notfunk-card__link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
    border-color: var(--dn9max-notfunk-accent);
    box-shadow:
        0 0 0 7px var(--dn9max-notfunk-line),
        0 1rem 2.4rem rgba(0, 0, 0, 0.34);
}

@media (hover: hover) and (pointer: fine) {
    .dn9max-notfunk-card__link:hover {
        transform: translateY(-0.22rem);
        border-color: rgba(235, 160, 74, 0.62);
        box-shadow:
            0 1.35rem 2.9rem rgba(0, 0, 0, 0.4),
            0 0.22rem 0.65rem rgba(0, 0, 0, 0.3);
    }

    .dn9max-notfunk-card__link:hover .dn9max-notfunk-card__button {
        gap: 0.76rem;
        color: var(--dn9max-notfunk-accent);
        background: transparent;
    }
}

@media (max-width: 42rem) {
    .dn9max-notfunk-card {
        width: calc(100% - 1.5rem);
        margin-block: 2.15rem;
    }

    .dn9max-notfunk-card__link {
        min-height: 0;
        padding: 2.15rem 1.45rem 1.65rem 1.75rem;
    }

    .dn9max-notfunk-card__content {
        min-height: 0;
    }

    .dn9max-notfunk-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .dn9max-notfunk-card__button {
        width: 100%;
    }
}

@media (max-width: 24rem) {
    .dn9max-notfunk-card__separator {
        display: none;
    }

    .dn9max-notfunk-card__status {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dn9max-notfunk-card__link,
    .dn9max-notfunk-card__button {
        transition: none;
    }

    .dn9max-notfunk-card__link:hover {
        transform: none;
    }
}

@media (forced-colors: active) {
    .dn9max-notfunk-card__link,
    .dn9max-notfunk-card__button {
        border: 1px solid CanvasText;
    }

    .dn9max-notfunk-card__signal,
    .dn9max-notfunk-card__status-dot {
        background: CanvasText;
        box-shadow: none;
    }
}
