:root {
    --bg: #060512;
    --bg-soft: #0c0a1f;
    --panel: rgba(12, 14, 34, 0.76);
    --line: rgba(120, 100, 255, 0.22);
    --text: #f6f7ff;
    --muted: #abb3dc;
    --accent: #57d9ff;
    --accent-strong: #00b8ff;
    --violet: #8558ff;
    --violet-soft: #b07cff;
    --glow: #d8f6ff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --hero-parallax-offset: 0px;
    --section-scroll-offset: 92px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 184, 255, 0.22), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(133, 88, 255, 0.2), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(87, 217, 255, 0.08), transparent 30%),
        linear-gradient(145deg, #04030d 0%, #090816 40%, #100d26 100%);
    min-height: 100vh;
    overflow-x: clip;
}

body.page-transitioning .page,
body.page-transitioning .site-header {
    opacity: 0;
    transform: translateY(18px);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 90%);
}

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

.page {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.site-header {
    transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.is-page-entering .page,
body.is-page-entering .site-header {
    opacity: 0;
    transform: translateY(18px);
}

body.is-page-ready .page,
body.is-page-ready .site-header {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .page,
    .site-header {
        transition: none;
    }

    body.page-transitioning .page,
    body.page-transitioning .site-header,
    body.is-page-entering .page,
    body.is-page-entering .site-header,
    body.is-page-ready .page,
    body.is-page-ready .site-header {
        opacity: 1;
        transform: none;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background:
        linear-gradient(180deg, rgba(7, 6, 20, 0.94), rgba(7, 6, 20, 0.58)),
        linear-gradient(90deg, rgba(0, 184, 255, 0.05), rgba(133, 88, 255, 0.05));
    border-bottom: 1px solid rgba(135, 110, 255, 0.16);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(87, 217, 255, 0.18));
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1;
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
}

.brand-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(87, 217, 255, 0.16);
    border-radius: 14px;
    background: rgba(87, 217, 255, 0.08);
    color: var(--text);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(87, 217, 255, 0.26);
    background: rgba(87, 217, 255, 0.12);
    box-shadow: 0 10px 18px rgba(87, 217, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.24s ease, opacity 0.2s ease, top 0.24s ease;
}

.nav-toggle span:nth-child(1) {
    top: 15px;
}

.nav-toggle span:nth-child(2) {
    top: 22px;
}

.nav-toggle span:nth-child(3) {
    top: 29px;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    min-height: calc(100vh - 76px);
    padding: 40px 0 72px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -24px -48px;
    z-index: 0;
    background: url("assets/hero-galaxy.png") center center / cover no-repeat;
    opacity: 0.5;
    transform: translate3d(0, var(--hero-parallax-offset), 0) scale(1.08);
    will-change: transform;
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(87, 217, 255, 0.08);
    border: 1px solid rgba(87, 217, 255, 0.18);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    margin-bottom: 22px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.4rem, 8vw, 6.5rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-wrap: balance;
}

.hero h1 span {
    display: block;
    background: linear-gradient(90deg, var(--accent), var(--violet-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 640px;
    margin: 24px 0 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.external-link-icon {
    width: 14px;
    height: 14px;
    display: block;
    flex: 0 0 14px;
    margin-left: auto;
    opacity: 0.82;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #06101c;
    background: linear-gradient(135deg, var(--accent), var(--glow));
    box-shadow: 0 14px 30px rgba(87, 217, 255, 0.2);
}

.button-secondary {
    border-color: rgba(133, 88, 255, 0.4);
    background: rgba(133, 88, 255, 0.22);
    color: var(--text);
}

.hero-panel {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    padding: 40px 28px 28px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
        radial-gradient(circle at top, rgba(87, 217, 255, 0.2), transparent 34%),
        linear-gradient(160deg, rgba(8, 13, 33, 0.94), rgba(19, 12, 43, 0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
}

.hero-panel::before {
    width: 180px;
    height: 180px;
    top: 48px;
    right: 48px;
    background: radial-gradient(circle, rgba(87, 217, 255, 0.82), rgba(87, 217, 255, 0.02));
}

.hero-panel::after {
    width: 300px;
    height: 300px;
    left: -60px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(133, 88, 255, 0.38), transparent 68%);
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 52px;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(246, 247, 255, 0.82);
    transform: translateX(-50%);
    transition: color 0.2s ease, transform 0.2s ease;
}

.hero-scroll-indicator:hover {
    color: var(--accent);
    transform: translateX(-50%) translateY(-2px);
}

.hero-scroll-indicator-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-scroll-indicator-arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: hero-scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.7;
    }

    50% {
        transform: rotate(45deg) translate(6px, 6px);
        opacity: 1;
    }
}

.panel-content {
    position: relative;
    display: grid;
    width: 100%;
    gap: 16px;
}

.metric-card,
.info-card {
    backdrop-filter: blur(18px);
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 18px;
}

.metric-card strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    background: linear-gradient(90deg, var(--accent), var(--violet-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#downloads-total {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: fit-content;
}

#downloads-total::after {
    content: "";
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    transform: translateY(5px);
    background: var(--accent);
    mask: url("assets/icon-download.svg") center/contain no-repeat;
    -webkit-mask: url("assets/icon-download.svg") center/contain no-repeat;
}

.metric-card span,
.info-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.section {
    padding: 28px 0 72px;
    scroll-margin-top: var(--section-scroll-offset);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.section-title-with-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.section-beta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    transform: translateY(-11px);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.2), rgba(176, 124, 255, 0.24)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(87, 217, 255, 0.2);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 22px rgba(87, 217, 255, 0.08);
}

.section-meta {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-head p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.projects-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.configurator-layout {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    gap: 28px;
    align-items: start;
}

.configurator-panel,
.config-output-panel {
    display: grid;
    gap: 18px;
    min-width: 0;
    padding: 22px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        linear-gradient(145deg, rgba(9, 17, 33, 0.96), rgba(17, 13, 37, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 34px rgba(0, 0, 0, 0.2);
}

.config-output-panel {
    padding: 22px 0 0;
}

.configurator-panel {
    position: sticky;
    top: 102px;
}

.configurator-panel-head,
.config-output-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.config-output-head {
    padding: 0 22px;
}

.configurator-panel-head strong,
.config-output-head strong,
.configurator-summary h3,
.config-group-head h3 {
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.configurator-hint,
.configurator-summary p,
.config-group-head p,
.config-field-note,
#config-output-filename {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.configurator-controls,
.configurator-form {
    display: grid;
    gap: 14px;
}

.configurator-control,
.config-field {
    display: grid;
    gap: 8px;
}

.config-dropdown {
    width: 100%;
}

.config-select-wrap {
    min-height: 44px;
}

.configurator-control span,
.config-field-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.configurator-control select,
.config-field-input,
.config-field-select,
.config-field-textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(87, 217, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.12), rgba(176, 124, 255, 0.09)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.03);
    color: var(--text);
    font: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 26px rgba(0, 0, 0, 0.16);
}

.configurator-control select,
.config-field-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 52px;
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.12), rgba(176, 124, 255, 0.09)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4.5L6 8.5L10 4.5' stroke='%23d8f6ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\") no-repeat right 17px center / 12px 12px,
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)) no-repeat right 8px center / 30px 30px,
        rgba(255, 255, 255, 0.03);
}

.configurator-control select option,
.config-field-select option {
    color: var(--text);
    background: #0c0a1f;
}

.configurator-control select:focus,
.config-field-input:focus,
.config-field-select:focus,
.config-field-textarea:focus {
    outline: none;
    border-color: rgba(216, 246, 255, 0.3);
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.16), rgba(176, 124, 255, 0.12)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 3px rgba(87, 217, 255, 0.12),
        0 16px 30px rgba(87, 217, 255, 0.12);
}

.config-field-textarea {
    min-height: 110px;
    resize: vertical;
}

.config-group {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.config-group + .config-group {
    margin-top: 2px;
}

.config-group-head {
    display: grid;
    gap: 6px;
}

.config-toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.config-toggle input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #57d9ff;
}

.config-toggle-content {
    display: grid;
    gap: 4px;
}

.config-field,
.config-toggle {
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.config-field.is-yaml-linked,
.config-toggle.is-yaml-linked {
    border-color: rgba(123, 255, 169, 0.32);
    background:
        linear-gradient(135deg, rgba(92, 255, 154, 0.12), rgba(87, 217, 255, 0.06)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 3px 0 0 rgba(123, 255, 169, 0.78),
        0 12px 26px rgba(0, 0, 0, 0.12);
}

.config-field.is-yaml-linked .filter-select-wrap {
    border-color: rgba(123, 255, 169, 0.34);
    background:
        linear-gradient(135deg, rgba(92, 255, 154, 0.14), rgba(87, 217, 255, 0.08)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 2px rgba(123, 255, 169, 0.1),
        0 12px 24px rgba(0, 0, 0, 0.14);
}

.config-field.is-yaml-linked .filter-select-wrap::before {
    opacity: 0.22;
}

.config-field.is-yaml-linked .filter-select-label {
    color: #e9fff0;
}

.config-output-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.config-output-button {
    min-width: 140px;
}

.config-output-editor {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 480px;
    border-radius: 20px;
    background: rgba(6, 10, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.config-output-gutter,
.config-output,
.config-output-highlight {
    margin: 0;
    min-height: 480px;
    font: 0.92rem/1.7 "Cascadia Code", "Consolas", monospace;
    white-space: pre;
    tab-size: 2;
}

.config-output-gutter {
    padding: 18px 8px 18px 14px;
    min-width: 40px;
    color: rgba(171, 179, 220, 0.7);
    text-align: right;
    user-select: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.config-output-code {
    position: relative;
    min-width: 0;
}

.config-output,
.config-output-highlight {
    padding: 18px 18px 18px 4px;
    width: 100%;
}

.config-output-highlight {
    pointer-events: none;
    color: #d8f6ff;
    overflow: hidden;
}

.yaml-render-line,
.yaml-line-number {
    display: block;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.yaml-render-line.is-active {
    background: linear-gradient(90deg, rgba(123, 255, 169, 0.18), rgba(123, 255, 169, 0.07));
    box-shadow: inset 2px 0 0 rgba(123, 255, 169, 0.86);
}

.yaml-line-number.is-active {
    color: #c6ffd9;
    background: rgba(123, 255, 169, 0.12);
    box-shadow: inset -2px 0 0 rgba(123, 255, 169, 0.82);
}

.config-output {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: transparent;
    border: 0;
    color: transparent;
    resize: vertical;
    overflow-x: auto;
    overflow-y: hidden;
    outline: none;
    caret-color: var(--accent);
    -webkit-text-fill-color: transparent;
    scrollbar-width: none;
}

.config-output::selection {
    background: rgba(87, 217, 255, 0.22);
}

.config-output::-webkit-scrollbar,
.config-output-highlight::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

.yaml-comment {
    color: #6f7aa9;
}

.yaml-key {
    color: #7bdfff;
}

.yaml-string {
    color: #f7d88a;
}

.yaml-number {
    color: #ffb36f;
}

.yaml-boolean {
    color: #9effb2;
}

.yaml-list-marker,
.yaml-punctuation {
    color: #b07cff;
}

.config-output:focus {
    box-shadow:
        0 0 0 3px rgba(87, 217, 255, 0.12),
        0 16px 30px rgba(87, 217, 255, 0.08);
}

.card-configure-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font: inherit;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.card-configure-button:hover {
    transform: translateY(-2px);
    color: var(--text);
    background: rgba(87, 217, 255, 0.08);
    border-color: rgba(87, 217, 255, 0.16);
    box-shadow: 0 10px 20px rgba(87, 217, 255, 0.08), 0 0 0 1px rgba(216, 246, 255, 0.04) inset;
}

.filters-panel {
    position: sticky;
    top: 102px;
    display: grid;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        linear-gradient(145deg, rgba(9, 17, 33, 0.96), rgba(17, 13, 37, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 34px rgba(0, 0, 0, 0.2);
}

.filters-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.filters-panel-head strong {
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.filters-reset {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--accent);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.filters-form {
    display: grid;
    gap: 12px;
}

.filter-group {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.filter-group:not(:last-child)::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 10px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.filter-group legend {
    margin-bottom: 2px;
    padding: 0;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filter-group > legend + * {
    margin-top: 4px;
}

.filter-group + .filter-group {
    margin-top: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 14px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
    cursor: pointer;
}

.filter-option:hover {
    transform: translateY(-1px);
    color: var(--text);
    background: rgba(87, 217, 255, 0.08);
    border-color: rgba(87, 217, 255, 0.16);
}

.filter-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #57d9ff;
}

.filter-option-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    padding: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.filter-option:has(input:checked) {
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.14), rgba(176, 124, 255, 0.1)),
        rgba(255, 255, 255, 0.04);
    border-color: rgba(87, 217, 255, 0.26);
    box-shadow: 0 10px 22px rgba(87, 217, 255, 0.08);
}

.filter-dropdown {
    position: relative;
    width: 100%;
}

.filter-dropdown.is-open {
    z-index: 5;
}

.filter-select-wrap {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    padding: 4px 10px 4px 10px;
    border-radius: 16px;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.12), rgba(176, 124, 255, 0.09)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(87, 217, 255, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 26px rgba(0, 0, 0, 0.16);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.filter-select-wrap:hover,
.filter-select-wrap:focus-within {
    transform: translateY(-1px);
    border-color: rgba(216, 246, 255, 0.3);
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.16), rgba(176, 124, 255, 0.12)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 16px 30px rgba(87, 217, 255, 0.12);
}

.filter-select-icon-wrap,
.filter-select-price-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(218, 240, 255, 0.82));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 8px 14px rgba(0, 0, 0, 0.16);
}

.filter-select-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.filter-select-price-icon {
    font-size: 0.74rem;
    font-weight: 800;
    color: #0a1624;
}

.filter-select-label {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 44px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-align: left;
}

.filter-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 11px;
    height: 11px;
    border-right: 2px solid rgba(216, 246, 255, 0.92);
    border-bottom: 2px solid rgba(216, 246, 255, 0.92);
    transform: translateY(-68%) rotate(45deg);
    z-index: 1;
    pointer-events: none;
}

.filter-select-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    transform: translateY(-50%);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.filter-dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(9, 17, 33, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s ease;
}

.filter-dropdown.is-open .filter-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.filter-dropdown-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.filter-dropdown-option:hover {
    transform: translateY(-1px);
    color: var(--text);
    background: rgba(87, 217, 255, 0.08);
    border-color: rgba(87, 217, 255, 0.16);
}

.filter-dropdown-option.is-selected {
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.14), rgba(176, 124, 255, 0.1)),
        rgba(255, 255, 255, 0.04);
    border-color: rgba(87, 217, 255, 0.24);
    box-shadow: 0 10px 20px rgba(87, 217, 255, 0.08);
}

.filter-dropdown-option-icon,
.filter-dropdown-price-mark {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-dropdown-option-icon {
    object-fit: contain;
}

.filter-dropdown-price-mark {
    border-radius: 999px;
    background: rgba(87, 217, 255, 0.12);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
}

.cards-wrap {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
}

.card {
    display: flex;
    flex-direction: column;
    width: min(100%, 1080px);
    margin-inline: auto;
    gap: 18px;
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(11, 18, 37, 0.88), rgba(20, 14, 43, 0.88));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: visible;
    opacity: 0;
    transform: translateY(24px);
    animation: card-enter 0.7s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.06s; }
.card:nth-child(2) { animation-delay: 0.14s; }
.card:nth-child(3) { animation-delay: 0.22s; }
.card:nth-child(4) { animation-delay: 0.3s; }
.card:nth-child(5) { animation-delay: 0.38s; }
.card:nth-child(6) { animation-delay: 0.46s; }
.card:nth-child(7) { animation-delay: 0.54s; }

.card.is-hidden {
    display: none;
}

.filters-empty {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 18px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.card-body {
    display: grid;
    grid-template-columns: minmax(210px, 248px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.card-visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100%;
}

.plugin-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 240px);
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 28px 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 42%, rgba(87, 217, 255, 0.12), transparent 36%),
        radial-gradient(circle at 82% 20%, rgba(176, 124, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        linear-gradient(145deg, rgba(12, 20, 39, 0.68), rgba(17, 13, 37, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 34px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.plugin-logo-wrap::before {
    content: "";
    position: absolute;
    inset: auto 18% 22px;
    height: 46px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(87, 217, 255, 0.22), rgba(87, 217, 255, 0));
    filter: blur(18px);
    pointer-events: none;
}

.plugin-logo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.02), transparent 42%);
    pointer-events: none;
}

.plugin-logo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 220px;
    max-height: 108px;
    object-fit: contain;
    object-position: center;
    transform: translateY(-2px);
    filter:
        drop-shadow(0 16px 28px rgba(0, 0, 0, 0.22))
        drop-shadow(0 0 18px rgba(87, 217, 255, 0.05));
}

.card:nth-child(1) .plugin-logo {
    max-height: 92px;
}

.card:nth-child(5) .plugin-logo,
.card:nth-child(6) .plugin-logo,
.card:nth-child(7) .plugin-logo {
    max-height: 96px;
}

.card-header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -26px -26px 8px;
    padding: 16px 18px;
    border-radius: 24px 24px 0 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        linear-gradient(135deg, rgba(87, 217, 255, 0.08), rgba(133, 88, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 14px 30px rgba(0, 0, 0, 0.14);
}

.card h3 {
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.42rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(87, 217, 255, 0.08);
}

.card h3::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--violet-soft));
    box-shadow: 0 0 14px rgba(87, 217, 255, 0.28);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.game-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(82, 165, 53, 0.12);
    border: 1px solid rgba(136, 216, 106, 0.22);
    color: #d9f7ce;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(87, 217, 255, 0.12);
    border: 1px solid rgba(87, 217, 255, 0.22);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(87, 217, 255, 0.16);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.game-badge-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

.card-description {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.plugin-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.plugin-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(9, 17, 33, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.plugin-stat-value {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
}

.plugin-stat-label {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.plugin-stat-label::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: var(--accent);
    mask: url("assets/icon-download.svg") center/contain no-repeat;
    -webkit-mask: url("assets/icon-download.svg") center/contain no-repeat;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 2px;
}

.card-secondary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.card-secondary-link:hover {
    transform: translateY(-2px);
    color: var(--text);
    background: rgba(87, 217, 255, 0.08);
    border-color: rgba(87, 217, 255, 0.16);
    box-shadow: 0 10px 20px rgba(87, 217, 255, 0.08), 0 0 0 1px rgba(216, 246, 255, 0.04) inset;
}

.card-action-menus {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.compatibility-menu,
.card-menu {
    position: relative;
}

.compatibility-menu:hover,
.compatibility-menu:focus-within {
    z-index: 3;
}

.card-menu[open] {
    z-index: 2;
}

.card-menu.is-open,
.card-menu.is-closing {
    z-index: 2;
}

.menu-button {
    position: relative;
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(87, 217, 255, 0.34);
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.22), rgba(176, 124, 255, 0.16)),
        rgba(87, 217, 255, 0.14);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 24px rgba(87, 217, 255, 0.12);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.compatibility-button {
    border-color: rgba(255, 208, 117, 0.28);
    background:
        linear-gradient(135deg, rgba(255, 208, 117, 0.22), rgba(87, 217, 255, 0.12)),
        rgba(255, 208, 117, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 24px rgba(255, 208, 117, 0.12);
}

.menu-button::-webkit-details-marker {
    display: none;
}

.menu-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.16) 48%, transparent 78%);
    transform: translateX(-140%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.menu-button:hover,
.card-menu.is-open .menu-button,
.card-menu.is-closing .menu-button {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(216, 246, 255, 0.42);
    background:
        linear-gradient(135deg, rgba(87, 217, 255, 0.28), rgba(176, 124, 255, 0.22)),
        rgba(87, 217, 255, 0.18);
    box-shadow:
        0 16px 32px rgba(87, 217, 255, 0.18),
        0 0 0 1px rgba(216, 246, 255, 0.12) inset;
}

.compatibility-button:hover,
.compatibility-menu:hover .compatibility-button,
.compatibility-menu:focus-within .compatibility-button,
.card-menu.is-open .compatibility-button,
.card-menu.is-closing .compatibility-button {
    border-color: rgba(255, 229, 177, 0.38);
    background:
        linear-gradient(135deg, rgba(255, 208, 117, 0.28), rgba(87, 217, 255, 0.18)),
        rgba(255, 208, 117, 0.16);
    box-shadow:
        0 16px 32px rgba(255, 208, 117, 0.18),
        0 0 0 1px rgba(255, 245, 220, 0.12) inset;
}

.menu-button:hover::before,
.compatibility-menu:hover .menu-button::before,
.compatibility-menu:focus-within .menu-button::before,
.card-menu.is-open .menu-button::before,
.card-menu.is-closing .menu-button::before {
    transform: translateX(140%);
}

.download-button-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 18px;
}

.menu-list {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: calc(100% + 10px);
    display: grid;
    gap: 8px;
    min-width: 190px;
    padding: 12px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(9, 17, 33, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s ease;
}

.card-menu.is-open .menu-list,
.card-menu.is-closing .menu-list {
    visibility: visible;
}

.compatibility-menu:hover .menu-list,
.compatibility-menu:focus-within .menu-list {
    visibility: visible;
}

.compatibility-menu:hover .menu-list,
.compatibility-menu:focus-within .menu-list,
.card-menu.is-open .menu-list {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.compatibility-menu-list {
    min-width: 196px;
    gap: 7px;
    padding: 10px;
}

.menu-link,
.menu-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.menu-link:hover,
.menu-item:hover {
    transform: translateY(-2px);
    background: rgba(87, 217, 255, 0.1);
    border-color: rgba(87, 217, 255, 0.18);
    box-shadow: 0 10px 20px rgba(87, 217, 255, 0.1), 0 0 0 1px rgba(216, 246, 255, 0.05) inset;
}

.compatibility-item {
    justify-content: flex-start;
    gap: 10px;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 18px rgba(0, 0, 0, 0.16);
}

.compatibility-item:hover {
    transform: translateY(-2px) scale(1.01);
}

.compatibility-icon-image {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    padding: 3px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 10px 18px rgba(0, 0, 0, 0.2);
}

.platform-bukkit {
    color: #dff7d7;
    background: linear-gradient(135deg, rgba(81, 179, 92, 0.2), rgba(38, 95, 46, 0.18));
    border-color: rgba(110, 224, 123, 0.2);
}

.platform-bukkit .compatibility-icon-image {
    background: linear-gradient(135deg, #eefbdd, #9bee74);
}

.platform-bukkit:hover {
    border-color: rgba(144, 243, 155, 0.36);
    box-shadow:
        0 12px 24px rgba(81, 179, 92, 0.18),
        0 0 0 1px rgba(155, 238, 116, 0.08) inset;
}

.platform-spigot {
    color: #ffe3c7;
    background: linear-gradient(135deg, rgba(230, 137, 73, 0.22), rgba(112, 51, 20, 0.18));
    border-color: rgba(255, 174, 99, 0.18);
}

.platform-spigot .compatibility-icon-image {
    background: linear-gradient(135deg, #fff0d7, #ffca84);
}

.platform-spigot:hover {
    border-color: rgba(255, 190, 127, 0.34);
    box-shadow:
        0 12px 24px rgba(230, 137, 73, 0.18),
        0 0 0 1px rgba(255, 210, 154, 0.08) inset;
}

.platform-paper {
    color: #d8efff;
    background: linear-gradient(135deg, rgba(94, 178, 255, 0.2), rgba(39, 84, 140, 0.18));
    border-color: rgba(118, 201, 255, 0.2);
}

.platform-paper .compatibility-icon-image {
    background: linear-gradient(135deg, #e8f8ff, #bcecff);
}

.platform-paper:hover {
    border-color: rgba(155, 222, 255, 0.34);
    box-shadow:
        0 12px 24px rgba(94, 178, 255, 0.18),
        0 0 0 1px rgba(188, 236, 255, 0.08) inset;
}

.platform-purpur {
    color: #f0ddff;
    background: linear-gradient(135deg, rgba(181, 112, 255, 0.2), rgba(86, 39, 130, 0.18));
    border-color: rgba(207, 151, 255, 0.2);
}

.platform-purpur .compatibility-icon-image {
    background: linear-gradient(135deg, #fae8ff, #f1c4ff);
}

.platform-purpur:hover {
    border-color: rgba(224, 185, 255, 0.34);
    box-shadow:
        0 12px 24px rgba(181, 112, 255, 0.18),
        0 0 0 1px rgba(241, 196, 255, 0.08) inset;
}

.platform-folia {
    color: #dcffe7;
    background: linear-gradient(135deg, rgba(76, 208, 154, 0.2), rgba(26, 106, 86, 0.18));
    border-color: rgba(108, 240, 186, 0.2);
}

.platform-folia .compatibility-icon-image {
    background: linear-gradient(135deg, #e7fff0, #b8ffd2);
}

.platform-folia:hover {
    border-color: rgba(151, 255, 210, 0.34);
    box-shadow:
        0 12px 24px rgba(76, 208, 154, 0.18),
        0 0 0 1px rgba(184, 255, 210, 0.08) inset;
}

.link-icon,
.link-icon-image {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    border-radius: 999px;
}

.link-icon {
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    color: #06101c;
    background: linear-gradient(135deg, #ffffff, #dce5ff);
}

.link-icon-image {
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    padding: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.link-icon-docs {
    background: rgba(87, 217, 255, 0.12);
    padding: 3px;
}


@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 0 36px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
    color: var(--accent);
    display: inline-flex;
    align-items: center;
}

@media (max-width: 960px) {
    :root {
        --section-scroll-offset: 28px;
    }

    .projects-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .configurator-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filters-panel {
        position: static;
    }

    .configurator-panel {
        position: static;
    }

    .site-header {
        position: relative;
        z-index: 30;
    }

    .header-inner {
        position: relative;
        width: 100%;
        padding-inline: 20px;
        gap: 16px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 24px;
        padding: 16px 0 88px;
    }

    .hero::before {
        inset: -12px -20px;
    }

    .hero-panel {
        min-height: auto;
    }

    .cards,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .card-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .card-visual {
        min-height: 0;
    }

    .plugin-logo-wrap {
        width: min(100%, 220px);
        min-height: 0;
    }

    .section-head,
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-head {
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .page {
        width: min(100% - 20px, 1180px);
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        z-index: 40;
        display: grid;
        gap: 8px;
        padding: 12px;
        border-radius: 18px;
        background: rgba(9, 17, 33, 0.96);
        border: 1px solid rgba(87, 217, 255, 0.14);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top right;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s ease;
    }

    .site-header.nav-open .nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav a {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav a:hover {
        background: rgba(87, 217, 255, 0.08);
        border-color: rgba(87, 217, 255, 0.14);
    }

    .brand-mark {
        width: 46px;
        height: 46px;
    }

    .brand-subtitle {
        display: none;
    }

    .brand {
        gap: 12px;
        letter-spacing: 0.14em;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .hero {
        gap: 20px;
        padding: 12px 0 84px;
        justify-items: center;
    }

    .hero::before {
        inset: -8px -12px;
        background-position: center top;
    }

    .hero-copy {
        text-align: center;
    }

    .eyebrow {
        padding: 7px 12px;
        font-size: 0.64rem;
        letter-spacing: 0.1em;
        margin-bottom: 18px;
        justify-content: center;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 15vw, 3.8rem);
        line-height: 0.96;
    }

    .hero p {
        margin-top: 18px;
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .actions {
        justify-content: center;
    }

    .hero-panel {
        width: 100%;
        padding: 20px 16px 16px;
        border-radius: 24px;
    }

    .hero-scroll-indicator {
        bottom: 44px;
    }

    .hero-scroll-indicator-label {
        font-size: 0.66rem;
        letter-spacing: 0.15em;
    }

    .hero-panel::before {
        width: 120px;
        height: 120px;
        top: 24px;
        right: 20px;
    }

    .hero-panel::after {
        width: 180px;
        height: 180px;
        left: -40px;
        bottom: -60px;
    }

    .panel-content {
        gap: 12px;
    }

    .metric-card,
    .info-card {
        padding: 16px;
        border-radius: 18px;
    }

    .metric-card strong {
        font-size: 1.9rem;
    }

    .metric-card span,
    .info-card span {
        font-size: 0.88rem;
    }

    .section {
        padding: 18px 0 52px;
    }

    .section-head h2 {
        font-size: clamp(1.7rem, 10vw, 2.3rem);
    }

    .section-head p {
        max-width: none;
        line-height: 1.65;
    }

    .filters-panel {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .configurator-panel,
    .config-output-panel {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .config-output-panel {
        padding: 18px 0 0;
    }

    .config-output-head,
    .configurator-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .config-output-head {
        padding: 0 16px;
    }

    .config-output-actions {
        width: 100%;
        justify-content: stretch;
    }

    .config-output-button {
        width: 100%;
        min-width: 0;
    }

    .config-output {
        min-height: 320px;
        padding: 14px 14px 14px 4px;
        font-size: 0.84rem;
    }

    .config-output-highlight,
    .config-output-gutter {
        min-height: 320px;
        font-size: 0.84rem;
    }

    .config-output-gutter {
        min-width: 34px;
        padding: 14px 6px 14px 10px;
    }

    .filters-form {
        gap: 14px;
    }

    .card {
        gap: 14px;
        padding: 18px;
        border-radius: 20px;
    }

    .card-body {
        gap: 16px;
    }

    .card-header {
        gap: 10px;
        margin: -18px -18px 6px;
        padding: 14px 14px 12px;
        border-radius: 20px 20px 0 0;
    }

    .card h3 {
        font-size: 1.12rem;
        gap: 8px;
    }

    .card h3::before {
        width: 6px;
        height: 6px;
    }

    .card-meta {
        gap: 8px;
        justify-content: flex-start;
    }

    .game-badge,
    .price-badge,
    .plugin-stat {
        padding: 7px 10px;
    }

    .game-badge,
    .price-badge {
        font-size: 0.72rem;
    }

    .plugin-stat-value {
        font-size: 0.74rem;
    }

    .plugin-stat-label {
        font-size: 0.66rem;
    }

    .plugin-logo-wrap {
        width: min(100%, 200px);
        min-height: 0;
        padding: 20px 16px;
        border-radius: 16px;
    }

    .plugin-logo {
        max-width: 180px;
        max-height: 84px;
    }

    .card:nth-child(1) .plugin-logo,
    .card:nth-child(5) .plugin-logo,
    .card:nth-child(6) .plugin-logo,
    .card:nth-child(7) .plugin-logo {
        max-height: 78px;
    }

    .card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .card-secondary-links {
        width: 100%;
    }

    .card-secondary-link {
        flex: 1 1 auto;
        justify-content: flex-start;
        min-height: 36px;
        padding: 8px 10px;
    }

    .card-action-menus {
        width: 100%;
    }

    .compatibility-menu,
    .card-menu {
        width: 100%;
    }

    .menu-button {
        width: 100%;
        min-height: 42px;
    }

    .menu-list {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .button {
        width: 100%;
        min-width: 0;
    }

    .actions {
        gap: 10px;
        margin-top: 24px;
    }

    .footer {
        padding: 24px 0 30px;
    }
}

@media (max-width: 480px) {
    .page {
        width: min(100% - 16px, 1180px);
    }

    .header-inner {
        padding-inline: 16px;
    }

    .nav {
        left: 12px;
        right: 12px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 14vw, 3.2rem);
    }

    .eyebrow {
        width: 100%;
        justify-content: center;
    }

    .card-header {
        align-items: flex-start;
    }

    .card-meta {
        width: auto;
    }

    .plugin-stats {
        width: auto;
        flex-wrap: nowrap;
    }

    .card-secondary-links {
        width: 100%;
    }

    .card-secondary-link {
        width: 100%;
    }

    .menu-link,
    .menu-item {
        padding: 10px 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-indicator-arrow {
        animation: none;
    }

    .hero-scroll-indicator {
        transition: none;
    }
}
