:root {
    --bg: #ecf2fa;
    --panel: #ffffff;
    --border: #9cb4d8;
    --header-bg: #bed0e9;
    --highlight: #003e7e;
    --gray-text: #3b4f64;
    --black: #000;
    --font-main: 'Tahoma', sans-serif;
}
body.dark-mode {
    --bg: #121921;
    --panel: #1e252f;
    --border: #2d3b4c;
    --header-bg: #243042;
    --highlight: #6fb8ff;
    --gray-text: #b7c5d5;
    --black: #fff;
    --font-main: 'Tahoma', sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    background: url('/img/bg_body.jpg') center center / cover no-repeat fixed;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.6;
    color: var(--black);
    position: relative;
    overflow-x: hidden;
    padding-top: 100px;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}


a {
    color: var(--highlight);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body {
    color: var(--gray-text);
    background-color: var(--bg);
    font-family: var(--font-main);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--highlight);
}

a {
    color: var(--highlight);
    text-decoration: none;
}
a:hover {
    opacity: 0.8;
}

.hidden {
    display: none !important;
}
.soft__hidden {
    display: none !important;
}

.site-header {
    background-color: var(--panel);
    font-family: var(--font-main);
    border-bottom: 2px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


.top-bar {
    background-color: var(--font-main);
    text-align: center;
    padding: 3px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #b0b0b0;
}

.top-bar__text {
    font-weight: bold;
    color: var(--gray-text);
}

.top-bar__meta {
    font-weight: normal;
    font-style: italic;
    color: var(--gray-text);
    margin-left: 8px;
}

.top-bar__meta i {
    margin: 0 4px;
    color: var(--highlight);
}

.header-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 5px 58px;
    max-width: 1240px;
    margin: 0 auto;
    gap: 18px;
}

.header-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-title {
    font-size: 20px;
    color: var(--highlight);
    margin: 0;
    font-weight: bold;
}
.header-logo {
    max-width: 160px;
    height: 50px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.header-subtitle {
    font-size: 13px;
    color: var(--gray-text);
    margin: 2px 0 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}


.nav-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--border);
    border-radius: 10px;
    backdrop-filter: blur(4px);
    color: var(--highlight);
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.3s ease-in-out;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--gray-text);
    border-color: var(--highlight);
}

.nav-link:active {
    transform: scale(0.97);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2),
                inset -2px -2px 5px rgba(255, 255, 255, 0.5);
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.theme-toggle input {
    display: none;
}

.toggle-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--header-bg);
    color: var(--highlight);
    font-size: 0.9rem;
    transition: background 0.3s;
}

.toggle-label svg {
    stroke: currentColor;
    transition: transform 0.3s;
}

body.dark-mode .toggle-label {
    background: #222;
    color: #00baff;
}

.theme-toggle.desktop-toggle {
    display: flex;
    align-items: center;
    padding-left: 4px;
}
.theme-toggle.mobile-toggle {
    display: none;
}

.nav-toggle-item {
    margin-left: 12px;
    display: flex;
    align-items: center;
}

.burger-wrapper {
    display: none;
    position: absolute;
    top: 20px;
    right: 24px;
}

.burger-icon {
    width: 36px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.burger-icon span {
    position: absolute;
    width: 26px;
    height: 3px;
    background: var(--highlight);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.burger-icon span:nth-child(1) {
    top: 2px;
}

.burger-icon span:nth-child(2) {
    top: 11px;
}

.burger-icon span:nth-child(3) {
    bottom: 2px;
}

.burger-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}


.burger-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background-color: var(--panel);
    border-left: 2px solid var(--border);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    padding: 100px 20px;
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.burger-menu.active {
    display: flex;
}

.burger-menu li {
    margin: 0;
}

.burger-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--highlight);
    text-decoration: none;
    font-family: var(--font-main);
    background-color: var(--header-bg);
    border: 1px solid var(--border);
    font-size: 15px;
    border-radius: 6px;
    transition: background-color 0.25s, color 0.25s;
}

.burger-menu a:hover {
    background-color: var(--highlight);
    color: #fff;
    border-color: var(--highlight);
}

.burger-menu .animated-shapes {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.burger-menu .animated-shapes span {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--highlight);
    opacity: 0.1;
    animation: floatShapes 12s linear infinite;
}
.burger-menu .animated-shapes span:nth-child(2n) {
    border-radius: 0%;
    transform: rotate(45deg);
}
.burger-menu .animated-shapes span:nth-child(3n) {
    border: none;
    background-color: var(--highlight);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

@keyframes floatShapes {
    0% {
        transform: translateY(120vh) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-10vh) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

.container {
    position: relative;;
    z-index: 1;
    max-width: 1340px;
    margin: 12px auto;
    background-color: var(--panel);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

section {
    margin-bottom: 36px;
    scroll-margin-top: 100px;
}

h2 {
    font-size: 18px;
    color: var(--highlight);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
}

ul, ol {
    padding-left: 20px;
    margin-top: 10px;
}

.intro {
    position: relative;
    background-color: var(--bg);
    padding: 64px 0;
    overflow: hidden;
}

.intro::before {
    content: '>>> SYSTEM OVERRIDE //';
    position: absolute;
    top: 10px;
    left: 5%;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #c00;
    opacity: 0.5;
    transform: rotate(-5deg);
    pointer-events: none;
}

.intro::after {
    content: '[!] Memory check failed at 0x00FF3E';
    position: absolute;
    bottom: 14px;
    right: 7%;
    font-family: 'Inconsolata', monospace;
    font-size: 11px;
    color: #007700;
    opacity: 0.6;
    transform: rotate(2deg);
    pointer-events: none;
}

.intro span.hack-glitch {
    position: absolute;
    font-family: 'Lucida Console', monospace;
    font-size: 10px;
    opacity: 0.1;
    color: #000;
    pointer-events: none;
    white-space: nowrap;
}

.intro span.hack-glitch:nth-child(1) {
    top: 10%;
    right: 34%;
    transform: rotate(-17deg);
}

.intro span.hack-glitch:nth-child(2) {
    top: 35%;
    left: 72%;
    transform: rotate(11deg);
}

.intro span.hack-glitch:nth-child(3) {
    top: 58%;
    left: 18%;
    transform: rotate(-7deg);
}

.intro span.hack-glitch:nth-child(4) {
    top: 75%;
    left: 50%;
    transform: rotate(3deg);
}

.intro span.hack-glitch:nth-child(5) {
    top: 48%;
    left: 88%;
    transform: rotate(-10deg);
}

.intro__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.intro__content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 38px;
    flex-wrap: nowrap;
}

.intro__left {
    flex: 1 1 600px;
    background: var(--panel);
    padding: 32px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}

.intro__left:hover {
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.intro__right {
    flex: 1 1 400px;
    background-color: var(--panel);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.intro__image-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 90%;
}

.intro__image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    margin-bottom: 65px;
}

.intro__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--highlight);
    margin-bottom: 20px;
    line-height: 1.4;
}

.intro__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-text);
    margin-bottom: 16px;
}

.intro__feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 10px;
  line-height: 1.5;
}

.intro__feature-item i {
  width: 20px;
  height: 20px;
  color: var(--highlight);
  flex-shrink: 0;
  stroke-width: 2;
}

.intro__note {
    font-style: italic;
    font-size: 14.5px;
    color: #5f5f5f;
    line-height: 1.5;
    margin-top: 32px;
}

.intro__button {
    margin-top: 24px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--panel);
    background-color: var(--highlight);
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: inline-block;
    margin-bottom: 12px;
}

.intro__button:hover {
    background-color: var(--gray-text);
}
.icon-lucide_button {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    stroke: currentColor;
    stroke-width: 1.5;
    vertical-align: middle;
}

.icon-lucide {
    width: 20px;
    height: 20px;
    color: var(--black);
}

.soft {
    padding: 60px 5vw;
    background-color: var(--bg);
    color: var(--gray-text);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.soft__container {
    max-width: 1280px;
    margin: 0 auto;
}

.soft__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--highlight);
    margin-bottom: 16px;
    text-align: left;
}

.soft__description {
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 40px;
    text-align: left;
}

.soft__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 6px;
    padding: 0 16px;
}

.tab-button {
    background-color: var(--panel);
    border: 1px solid var(--highlight);
    color: var(--highlight);
    padding: 10px 18px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: inset 0 0 0 transparent;
}

.tab-button:hover {
    background-color: var(--highlight);
    color: #fff;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.tab-button.active {
    background-color: var(--highlight);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .soft__tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tab-button {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .soft__tabs {
        grid-template-columns: 1fr;
    }

    .tab-button {
        font-size: 10px;
        padding: 8px;
    }
}

.soft__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.soft__list:empty {
    display: none;
}

.soft__item {
    background: linear-gradient(135deg, var(--panel), #f8faff);
    border: 1px solid rgba(0, 62, 126, 0.1);
    border-left: 4px solid var(--highlight);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 62, 126, 0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.soft__item.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: absolute;
}

.soft__item:empty {
    display: none;
}

.soft__item:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 62, 126, 0.15);
}

.soft__preview {
    position: relative;
    background: var(--panel);
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 24px;
}

.soft__cover-large {
    flex: 1 1 280px;
    max-width: 350px;
    border-radius: 15px;
    object-fit: cover;
}

.soft__overlay {
    flex: 2 1 400px;
}

.soft__cover-toggle {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 transparent;
}

.soft__cover-toggle:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.soft__item-title {
    font-size: 26px;
    color: var(--highlight);
    margin-bottom: 12px;
}

.soft__short-desc {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-text);
    margin-bottom: 14px;
    line-height: 1.6;
    max-width: 640px;
}

.soft__meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    margin-bottom: 12px;
}

.soft__meta i {
    margin-right: 6px;
    color: var(--highlight);
}

.soft__more-toggle {
    display: inline-block;
    padding: 10px 18px;
    margin-top: 16px;
    font-weight: 600;
    background-color: var(--highlight);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.soft__more-toggle:hover {
    background-color: var(--highlight-dark, #007acc);
}

.soft__more-content {
    display: none;
    background: var(--panel);
    padding: 32px;
}
.soft__more-content.open {
    display: block;
}

.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.img-modal__content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}

.img-modal__close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: white;
    font-size: 38px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.soft__hidden {
    display: none;
}

.soft__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 24px;
    padding: 0 3px;
}

.soft__grid-item {
    width: 100%;
}

.soft__grid-item .soft__img,
.soft__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: cover;
    display: block;
}

.soft__text-block {
    background: var(--panel);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0, 62, 126, 0.05);
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.soft__text-block h4 {
    font-size: 18px;
    color: var(--highlight);
    margin-bottom: 8px;
}

.soft__text-block p {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .soft__preview {
        flex-direction: column;
        align-items: flex-start;
    }
    .soft__cover-large, .soft__overlay {
        width: 100%;
        flex: 1 1 100%;
        height: 200px;
    }
    .soft__item-title {
        font-size: 22px;
    }
    .soft__short-desc {
        font-size: 15px;
    }
    .soft__meta {
        flex-direction: column;
        gap: 8px;
    }
}
@media (max-width: 600px) {
    .soft__short-desc[data-truncated="true"] {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        position: relative;
    }

    .soft__short-toggle {
        display: inline-block;
        font-size: 14px;
        color: var(--highlight);
        cursor: pointer;
        margin-top: 6px;
        margin-bottom: 10px;
        text-decoration: underline;
    }
}

@media (max-width: 600px) {
    .soft__text-block {
        padding: 16px;
    }

    .soft__text-block h4 {
        font-size: 16px;
    }

    .soft__text-block p {
        font-size: 14px;
    }

    .soft__title {
        font-size: 22px;
        text-align: center;
    }

    .soft__description {
        font-size: 14px;
        text-align: center;
    }

    .soft__button {
        padding: 12px 20px;
        font-size: 15px;
    }

    .soft__item-title {
        font-size: 20px;
    }

    .soft__short-desc {
        font-size: 14px;
    }

    .soft__preview {
        padding: 16px;
    }

    .soft__meta {
        font-size: 13px;
    }
}

.soft__download-container {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.soft__download-frame {
    background-color: var(--panel);
    border: 2px solid var(--border);
    padding: 24px 32px;
    width: 100%;
    text-align: center;
    font-family: var(--font-main);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 62, 126, 0.1);
}

.soft__download-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--highlight);
    background-color: var(--header-bg);
    padding: 10px 16px;
    margin: -24px -32px 16px;
    border-bottom: 1px solid var(--border);
}


.soft__system-req {
    margin: 20px 0 20px 0;
    background: var(--panel);
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-text);
}

.soft__system-req-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--highlight);
    display: flex;
    align-items: center;
    gap: 8px;
}

.soft__system-req-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.soft__system-req-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-text);
}

.soft__note {
    padding: 12px;
    background-color: var(--bg);
    border-left: 4px solid var(--highlight);
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 10px;
}


.soft__button--hacker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--highlight);
    border: none;
    color: #fff;
    font-family: var(--font-main);
    font-size: 14px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.soft__button--hacker:hover {
    background-color: #002e5a;
}

.soft__icon-pixel {
    margin-right: 8px;
    width: 16px;
    color: var(--panel);
    height: 16px;
    image-rendering: pixelated;
}

.soft__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: var(--highlight);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 62, 126, 0.15);
    text-decoration: none;
    margin-bottom: 18px;
}

.soft__button:hover {
    background-color: #002c5b;
    transform: scale(1.03);
}

.soft__icon {
    width: 20px;
    height: 20px;
}


.soft__likes {
    cursor: pointer;
    color: var(--gray-text);
    transition: color 0.2s ease;
}
.soft__likes.liked {
    color: var(--highlight);
}
.like-message {
    font-size: 13px;
    color: green;
    margin-top: 4px;
    display: none;
}
.like-message.show {
    display: inline-block;
}


.soft__comments {
    margin-top: 40px;
    padding: 24px;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 10px;
}

.soft__comments h4 {
    font-size: 18px;
    color: var(--highlight);
    margin-bottom: 16px;
}

.comments-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment-item {
    display: flex;
    background: var(--header-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    color: var(--highlight);
    flex-direction: column;
}

.comment-item .comment-user {
    font-weight: bold;
    color: var(--highlight);
    display: inline-block;
    margin-bottom: 4px;
}

.comment-item .comment-time {
    font-size: 12px;
    color: var(--highlight);
    text-align: right;
    display: block;
    margin-top: 6px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.comment-form input.comment-username,
.comment-form textarea {
    padding: 10px;
    border-radius: 6px;
    background: var(--panel);
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 14px;
    color: var(--black);
}

.comment-form textarea {
    width: 100%;
    min-height: 60px;
    resize: vertical;
}

.comment-form button {
    padding: 10px 20px;
    background: var(--highlight);
    color: var(--panel);
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    width: fit-content;
}

.comment-form button:hover {
    background: #002c5b;
}

.comment-notice {
    font-size: 14px;
    padding: 6px 0;
    transition: opacity 0.4s ease;
    opacity: 0;
    display: none;
    color: var(--gray-text);
}

.comment-notice.active {
    display: block;
    opacity: 1;
}

.comment-notice.success {
    color: #2d862d;
}

.comment-notice.error {
    color: #c00;
}

.soft__show-all {
    display: block;
    margin: 40px auto 0;
    padding: 14px 28px;
    background: var(--highlight);
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    text-align: center;
    width: fit-content;
    transition: background 0.3s ease;
}

.soft__show-all:hover {
    background: #002c5b;
}

.support-block {
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 60px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-main);
}

.support-block__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bg-icon {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    color: var(--highlight);
    opacity: 0.07;
}

@keyframes rotateCircle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bg-icon--dotted:nth-of-type(1) {
    top: 10%;
    left: -60px;
    width: 140px;
    height: 140px;
    animation: rotateCircle 35s linear infinite;
}

.bg-icon--dotted:nth-of-type(2) {
    bottom: 15%;
    right: -70px;
    width: 120px;
    height: 120px;
    animation: rotateCircle 50s linear infinite reverse;
}

.bg-icon--dotted:nth-of-type(3) {
    top: 60%;
    left: -80px;
    width: 100px;
    height: 100px;
    animation: rotateCircle 40s linear infinite;
}

.bg-icon--dotted:nth-of-type(4) {
    bottom: 5%;
    right: 10%;
    width: 160px;
    height: 160px;
    animation: rotateCircle 60s linear infinite reverse;
}

@media (max-width: 768px) {
    .bg-icon--dotted {
        width: 80px !important;
        height: 80px !important;
        opacity: 0.04;
    }

    .bg-icon--dotted:nth-of-type(1) { top: 5%; left: -40px; }
    .bg-icon--dotted:nth-of-type(2) { bottom: 10%; right: -40px; }
    .bg-icon--dotted:nth-of-type(3) { top: 65%; left: -50px; }
    .bg-icon--dotted:nth-of-type(4) { bottom: 2%; right: 5%; }
}

.support-block__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
}

.support-block__title {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--highlight);
    font-weight: 700;
    line-height: 1.3;
}

.support-block__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-text);
    margin-bottom: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.support-block__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.button--cta {
    background-color: var(--highlight);
    color: var(--panel);
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.button--cta:hover {
    background-color: #002f5a;
}
.button--ghost {
    background-color: transparent;
    color: var(--highlight);
    border: 1px solid var(--border);
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button--ghost:hover {
    background-color: var(--header-bg);
    color: var(--highlight);
    border-color: var(--highlight);
}
.icon-inline {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    stroke: currentColor;
    fill: none;
    transition: stroke 0.3s ease;
}

.how {
    background-color: var(--panel);
    padding: 20px 16px 50px;
    border-top: 2px dashed var(--border);
    border-bottom: 2px dashed var(--border);
    font-family: var(--font-main);
}

.how__container {
    max-width: 960px;
    margin: 0 auto;
}

.how__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--highlight);
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 25px;
    position: relative;
}

.how__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--highlight);
    margin: 12px auto 0;
    border-radius: 2px;
}

.how__description {
    text-align: center;
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.how__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.how__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg);
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how__step:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.how__icon {
    width: 40px;
    height: 40px;
    color: var(--highlight);
    margin-bottom: 16px;
}

.how__step-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: bold;
    color: var(--highlight);
    text-align: center;
}

.how__step-text {
    font-size: 14px;
    color: var(--gray-text);
    text-align: center;
    line-height: 1.5;
}

.how__note {
    margin-top: 40px;
    font-size: 13px;
    color: var(--gray-text);
    text-align: center;
    font-style: italic;
    opacity: 0.9;
}

.faq {
    background-color: var(--bg);
    padding: 60px 24px;
    font-family: var(--font-main);
}

.faq__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto auto;
    gap: 32px;
}

.faq__title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: var(--highlight);
    border-bottom: 2px dashed var(--border);
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq__tabs {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--header-bg);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
}

.faq__nav li {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: var(--gray-text);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.faq__nav li:hover {
    background-color: var(--bg-light);
}

.faq__nav li.active {
    background-color: var(--bg);
    color: var(--highlight);
    border-left: 3px solid var(--highlight);
}

.faq__content {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.faq__pane {
    display: none;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-text);
}

.faq__pane.active {
    display: block;
}

@media (max-width: 768px) {
    .faq__tabs {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .faq__nav {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border);
        border-radius: 8px;
        overflow: hidden;
    }

    .faq__nav li {
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 600;
        background-color: var(--panel);
        border-bottom: 1px solid var(--border);
        text-align: center;
        transition: background-color 0.3s ease;
        cursor: pointer;
    }

    .faq__nav li:hover,
    .faq__nav li.active {
        background-color: var(--header-bg);
        color: var(--highlight);
    }

    .faq__nav li:last-child {
        border-bottom: none;
    }

    .faq__content {
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 8px;
        background-color: var(--panel);
    }

    .faq__pane {
        padding: 16px 20px;
        font-size: 14px;
        line-height: 1.5;
    }
}

.site-footer {
    background-color: var(--header-bg);
    border-top: 2px solid var(--border);
    padding: 32px 20px;
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--gray-text);
    position: relative;
    z-index: 1;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer__branding {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.footer__logo {
    width: 50px;
    margin-bottom: 12px;
}

.footer__desc {
    margin: 0;
    line-height: 1.5;
}

.footer__social {
    display: flex;
    gap: 20px;
}

.footer__icon {
    color: var(--gray-text);
    font-size: 22px;
    transition: color 0.3s ease;
}

.footer__icon:hover {
    color: var(--highlight);
}

@media (max-width: 1024px) {
    .intro__content {
        flex-direction: column;
        gap: 5px;
    }

    .intro__left,
    .intro__right {
        width: 100%;
        padding: 40px 25px;
    }

    .intro__right {
        margin-top: 15px;
    }
    .intro__image-wrapper {
        flex-direction: row;
    }
    .intro__image {
        width: 70%;
        margin: 0;
        margin-right: 10px;
    }
    
    
    .soft__container {
        padding: 40px 16px;
    }

    .soft__title {
        font-size: 26px;
        text-align: center;
    }

    .soft__description {
        font-size: 16px;
        text-align: center;
        max-width: 600px;
        margin: 0 auto 32px;
    }

    .soft__list {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .soft__item {
        padding: 10px;
        border: 2px ridge var(--border);
        background-color: var(--panel);
        border-radius: 8px;
        box-shadow: inset 0 0 0 1px var(--border);
    }

    .soft__logo {
        width: 100px;
        height: auto;
        display: block;
        margin-bottom: 12px;
    }

    .soft__item-title {
        font-size: 18px;
    }

    .soft__item-desc {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .soft__button {
        font-size: 14px;
        padding: 10px 14px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }


    .soft__more-toggle {
        display: inline-block;
        margin-top: 12px;
        font-size: 14px;
        cursor: pointer;
    }

    .soft__more-content {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.5;
        padding: 0;
    }

    .soft__more-content ul {
        margin-top: 8px;
        text-align: left;
        list-style-type: disc;
    }
    
    .soft__download-frame {
        padding: 20px 24px;
        font-size: 15px;
    }

    .soft__download-title {
        font-size: 16px;
        padding: 8px 12px;
        margin: -20px -24px 12px;
    }

    .soft__system-req {
        font-size: 13.5px;
        padding: 14px;
    }

    .soft__system-req-title {
        font-size: 15px;
        text-align: left;
    }

    .soft__button {
        font-size: 15px;
        padding: 12px 20px;
    }

    .soft__button--hacker {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    
    .support-block__container {
        max-width: 90%;
    }
    
}


@media (max-width: 928px) {
    .intro__image {
        width: 60%;
    }
    .intro__container {
        padding: 0 34px;
    }
}
@media (max-width: 768px) {

    .nav-toggle-item {
        display: none;
    }
    
    .theme-toggle.desktop-toggle {
        display: none;
    }
    .theme-toggle.mobile-toggle {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .soft__download-container {
        padding: 0 16px;
    }

    .soft__download-frame {
        padding: 16px 20px;
    }

    .soft__download-title {
        font-size: 15px;
        padding: 6px 10px;
        margin: -16px -20px 10px;
    }

    .soft__button {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }

    .soft__button--hacker {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 13px;
    }

    .soft__note {
        flex-direction: column;
        align-items: start;
        font-size: 13px;
        text-align: left;
    }
    .support-block {
        padding: 40px 16px;
    }

    .support-block__title {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .support-block__text {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    .support-block__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .button--cta,
    .button--ghost {
        justify-content: center;
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
    }

    .icon-inline {
        margin-right: 10px;
    }
    
    
    .main-nav {
        display: none;
    }

    .burger-wrapper {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .intro__image {
        width: 50%;
    }
    .intro__title, .how__title {
        font-size: 24px;
    }

    .how__description {
        font-size: 22px;
    }

    .soft__list {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq__container {
        grid-template-columns: 1fr;
    }

    .faq__title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .comments__container {
        grid-template-columns: 1fr;
    }

    .comments__title {
        font-size: 24px;
    }

    .comment {
        padding: 18px;
    }
    
    .footer__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__social {
        margin-top: 16px;
    }
}


@media (max-width: 600px) {
    .intro__title,
    .how__title,
    .soft__title,
    .warning__title,
    .faq__title,
    .comments__title {
        font-size: 21px;
    }
    .intro {
        padding: 30px 0;
    }
    .intro__text,
    .intro__feature-item,
    .intro__note,
    .how__description,
    .soft__description,
    .warning__text {
        font-size: 13px;
    }
    .warning__subtitle {
        font-style: 15px;
    }

    .intro__button {
        font-size: 12px;
        padding: 10px 20px;
    }
    .intro__image {
        width: 100%;
        margin: 0;
    }
    .intro__image-wrapper {
        flex-direction: column;
    }
    .intro__container {
        padding: 0 10px;
        
    }
    .intro__left, .intro__right {
        width: 100%;
        padding: 18px;
    }


    .soft {
        padding: 0px;
    }
    .soft__logo {
        width: 75px;
    }

    .soft__button {
        font-size: 12px;
        padding: 10px 14px;
    }

    .faq {
        background-color: var(--bg);
        padding: 40px 24px;
    }

}


@media (max-width: 480px) {
    
    .intro {
        padding: 60px 0;
    }
    .support-block__title {
        font-size: 1.4rem;
    }

    .support-block__text {
        font-size: 0.9rem;
    }

    .icon-inline {
        width: 16px;
        height: 16px;
    }
}
