:root {
    /* Новая цветовая палитра "Modern Aurora" */
    --color-bg-primary: #0a0f1e;            /* Глубокий ночной синий */
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #1a2332;           /* Темный сине-серый */
    --color-bg-accent: #7b68ee;             /* Электрический фиолетовый */
    --color-bg-accent-light: #9370db;       /* Более светлый фиолетовый */
    --color-bg-gradient-start: #4a00e0;     /* Градиент от фиолетового */
    --color-bg-gradient-end: #8e2de2;       
    --color-bg-dark: #050811;
    --color-bg-light: #f8f9ff;              /* Светлый сиреневый фон */
    --color-bg-gray: #eef1f7;
    --color-bg-success: rgba(123, 104, 238, 0.1);
    --color-bg-warning: rgba(255, 165, 0, 0.1);
    --color-bg-info: rgba(30, 144, 255, 0.1);

    --color-text-primary: #1e1b2e;
    --color-text-secondary: #6c757d;
    --color-text-tertiary: #4a5568;
    --color-text-light: #ffffff;
    --color-text-dark: #0d1117;
    --color-text-accent: #7b68ee;           /* Акцент в цвет бренда */
    --color-text-success: #28a745;
    --color-text-warning: #ff8c00;
    --color-text-info: #1e90ff;
    --color-text-muted: #6c757d;

    --color-link-primary: #6a5acd;          /* Сливочно-синий для ссылок */
    --color-link-hover: #9370db;            /* Более светлый при наведении */
    --color-link-visited: #483d8b;

    --color-border-primary: #d1d9e6;
    --color-border-secondary: #e8edf3;
    --color-border-dark: #a0aec0;
    --color-border-light: rgba(209, 217, 230, 0.4);
    --color-border-accent: #7b68ee;

    --color-button-shadow: #5a4fcf;
    --color-button-disabled: #b8b5e9;
    --color-rating-star: #ffb347;           /* Теплый оранжевый для звезд */
    --color-rating-hover: #ffcc33;
    --color-crown: #ffd700;                 /* Золотой */

    /* OS Colors - обновленные под новую палитру */
    --color-windows: #00b4d8;
    --color-android: #3ddc84;
    --color-ios: #a8a8a8;
    --color-linux: #333333;
    --color-mac: #999999;

    /* Typography - улучшенная типографика */
    --font-family-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-family-secondary: "Poppins", "Roboto", sans-serif;
    --font-family-mono: "JetBrains Mono", "Cascadia Code", monospace;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-1xl: 1.0rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --line-height-base: 1.6;
    --line-height-tight: 1.3;

    /* Spacing - улучшенная система отступов */
    --spacing-xxs: 0.25rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Borders - обновленные радиусы */
    --border-radius-xs: 4px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-2xl: 32px;
    --border-radius-full: 9999px;

    /* Sizes */
    --container-max-width: 1280px;
    --logo-width: 40px;
    --logo-height: 40px;
    --button-max-width: 320px;
    --aside-max-width: 300px;
    --image-max-height: 400px;
    --text-content-max-height: 320px;

    /* Shadows - современные тени */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-block: var(--shadow-md);
    --shadow-block-hover: var(--shadow-lg);
    --shadow-button: 0 4px 12px rgba(123, 104, 238, 0.3);
    --shadow-button-hover: 0 6px 20px rgba(123, 104, 238, 0.4);

    /* Z-index */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
    --z-index-toast: 1080;

    /* Transitions - плавные анимации */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    --gradient-accent: linear-gradient(135deg, #7b68ee, #9370db);
    --gradient-dark: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-tertiary));
    --gradient-light: linear-gradient(135deg, var(--color-bg-light), var(--color-bg-secondary));
}

/* Подключение современных шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

@font-face {
    font-weight: 300;
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Inter-Light.woff2") format("woff2");
}

@font-face {
    font-weight: 400;
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
    font-weight: 600;
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
    font-weight: 700;
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Inter-Bold.woff2") format("woff2");
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(123, 104, 238, 0.05) 0%, transparent 55%),
        radial-gradient(circle at 85% 30%, rgba(74, 0, 224, 0.03) 0%, transparent 45%);
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    font-weight: 600;
    line-height: var(--line-height-tight);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-1xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-text-dark), var(--color-text-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: var(--font-size-1xl);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-full);
}

h3 {
    font-size: var(--font-size-xl);
    color: var(--color-text-tertiary);
}

/* Ссылки */
a {
    color: var(--color-link-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--color-link-hover);
}

a:focus {
    outline: 2px solid var(--color-bg-accent);
    outline-offset: 2px;
}

.fs-6 {
    font-size: var(--font-size-sm);
}

.fs-13 {
    font-size: 13px;
}

.new-color {
    color: #ff6600;
}





main {
    min-height: 100vh;
}



.h_no a,
.h_no a:hover,
.h_no,
.h_no:hover {
    /* color: var(--color-text-dark) !important; */
}


.no-visual-a {
    color: var(--color-text-tertiary);
}

.no-visual-a:hover {
    color: var(--color-text-tertiary);
}

.h1_sub {
    list-style: none;
    font-size: 0.8rem;
    padding-left: 0;
    margin-bottom: var(--spacing-xs);
}

.h1_sub li {
    position: relative;
    margin-left: 10px;
    padding-left: 13px;
    display: inline-block;
}

.h1_sub li:first-child {
    margin-left: 0;
}

.h1_sub_rating {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.h1_sub_rating li {
    font-size: 0.9rem;
    display: inline;
}

.bg-artical {
    background-color: var(--color-bg-secondary);
}

.menu .navbar {
    position: relative;
    padding: 0;
    box-shadow: var(--shadow-block);
}

.menu .bg-dark {
    background-color: var(--color-bg-secondary) !important;
}

.menu li {
    line-height: 29px;
    text-transform: uppercase;
}

.menu .nav-link:hover,
.active,
.nav-link .active {
    color: var(--color-text-accent) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--color-text-dark);
    white-space: nowrap;
}



.menu .col-lg-12 {
    padding: 0;
}

.breadcrumbs__link {
    color: var(--color-text-secondary);
    display: inline-block;
    margin-left: 0.7rem;
}

.breadcrumbs__one:after {
    position: absolute;
    display: inline;
    right: -10px;
    content: " » ";
    color: var(--color-text-secondary);
}

.breadcrumbs__end:after {
    content: "" !important;
}

.breadcrumbs__one {
    position: relative;
    list-style: none;
    display: inline-block;
}

.breadcrumbs__one a:hover:visited {
    color: var(--color-link-primary) !important;
}

.breadcrumbs__one a:visited {
    color: var(--color-text-secondary) !important;
}

.breadcrumbs__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs {
    position: relative;
    display: block;
    font-size: 13px;
    line-height: 18px;
    margin-top: var(--spacing-sm);
    overflow: auto;
    white-space: nowrap;
}

.breadcrumbs a,
.breadcrumbs__home i {
    color: var(--color-text-secondary);
}

.breadcrumbs a:hover,
.breadcrumbs__home i:hover {
    color: var(--color-link-primary);
}

.teh-aside {
    font-size: 0.889rem;
    background: var(--color-bg-gray);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-sm);
    max-width: var(--aside-max-width);
}

.teh-aside ul {
    padding-left: 0;
}

.teh-aside li {
    list-style: none;
}

.border-aside {
    border-bottom: 1px solid var(--color-border-dark);
}

.form-control {
    border-radius: var(--border-radius-md) !important;
}

.btn-outline-secondary {
    border-color: transparent !important;
}

.teh-box a:hover {
    color: #2978a7 !important;
    text-decoration: none;
}

.teh-box .d-flex,
.teh-box .d-md-flex {
    margin-bottom: var(--spacing-xs);
}

.teh-box .d-flex:last-child {
    border-bottom: 0px;
}

.screen-box .screen {
    position: relative;
}

.screen-box img {
    width: 100%;
    max-height: var(--image-max-height) !important;
}

.mobile .screen-box img {
    width: 100%;
    max-width: 260px;
    max-height: 306px !important;
}

@media (max-width: 991px) {
    .teh-box span {
        font-size: 14px !important;
    }

    .screen-box img {
        width: 100%;
        max-width: 285px;
        max-height: var(--image-max-height);
    }
}

@media (max-width: 1199px) {
    .ya-share2__container_mobile.ya-share2__container_size_l .ya-share2__icon {
        height: 42px !important;
        width: 42px !important;
    }

    .h5-aside {
        font-size: 15px;
    }

    .navbar-nav .nav-link {
        font-size: 14px !important;
    }
}

.btn-admin {
    max-width: 140px !important;
    position: fixed;
    padding: 5px !important;
    right: 0;
    top: 100px;
    font-size: var(--font-size-xs) !important;
    z-index: var(--z-index-dropdown);
    color: var(--color-text-light) !important;
    box-shadow: none !important;
    border: 0 !important;
}

.btn-admin_delet {
    top: 140px;
    background: rgba(195, 66, 66, 0.863) !important;
}

.btn-admin_stats {
    top: 180px;
}

.btn-admin_cash {
    top: 220px;
}

.ya-shaerbox {
    position: relative;
}

.ya-share2 {
    position: absolute;
}

.tab-mod {
    padding: 6px;
}

.color-crown {
    color: var(--color-crown);
}

.fa-windows-color {
    color: var(--color-windows);
    font-size: 20px;
}

.fa-android-color {
    color: var(--color-android);
    font-size: 20px;
}

.fa-ios-color {
    padding-right: 0.2rem;
    color: var(--color-ios);
    font-size: 20px;
}

.fa-linux-color {
    padding-right: 0.2rem;
    font-size: 20px;
    color: var(--color-linux);
}

.navbar-brand {
    padding-top: 0;
}

.button-dw {
    margin-top: var(--spacing-sm);
    width: 100%;
    max-width: var(--button-max-width);
    font-weight: 700;
    background: linear-gradient(to right, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    color: var(--color-text-light);
    display: inline-block;
    font-size: 1.2em;
    margin-bottom: 0.5rem;
}

.button-dw:hover {
    opacity: 0.9;
    color: var(--color-text-light);
}



.button-dw:visited {
    color: var(--color-text-light) !important;
}

.btn-noactual {
    background-color: var(--color-button-disabled);
    box-shadow: 0 2px 0 0 #8c918c;
    border-color: var(--color-button-disabled);
}

.btn-noactual:hover {
    background-color: #acb9ac;
    border-color: var(--color-button-disabled);
}

.comments-box {
    padding: 20px 20px;
}

.a-mini a {
    font-size: 14px !important;
}

.table-os .active {
    background-color: transparent !important;
    color: #3cf !important;
    border-color: rgba(217, 217, 217, 0.177) !important;
    border-radius: var(--border-radius-md);
}

.table-os .nav-link:focus,
.table-os .nav-link:hover {
    border-color: rgba(217, 217, 217, 0.177) !important;
    border-radius: var(--border-radius-md) !important;
    color: #3cf !important;
}

.nav-tabs {
    border-bottom: 0px !important;
}

.mt-13 {
    margin-top: var(--spacing-3xl);
}

.text-content iframe {
    width: 100%;
    max-width: 650px;
}

.card-box h5 {
    font-size: 15px;
    margin-left: var(--spacing-md);
}

.card-box .logo {
    width: var(--logo-width);
}

.card-box {
    height: 69px;
    margin-top: 0.4rem;
    padding: 12px;
    display: flex;
    align-items: center;
    border-radius: var(--border-radius-md);
    background: var(--color-bg-secondary);
}

.card-recomend-box {
    background: var(--color-bg-secondary);
}

.card-recomend-box a {
    color: var(--color-text-primary);
}

.card-recomend-box__similar {
    padding: 15px 15px 10px 0px;
    margin-left: 0.001px;
}

.card-box-text {
    margin-left: var(--spacing-md);
    font-size: var(--font-size-xs) !important;
}

.card-recomend {
    height: 40px;
    padding: 3px;
    margin-top: 0rem;
}

.card-recomend-line {
    margin-left: 15%;
    width: 75%;
    border-bottom: 0.5px solid var(--color-text-primary);
}

.card-recomend-box div {
    margin-bottom: 0.1rem;
}

.card-recomend h5:hover {
    font-size: 20px;
    color: var(--color-text-light) !important;
    background: #999;
}

.card-recomend h5 {
    margin-left: 0.4rem;
    font-size: 15px !important;
}

.card-recomend .logo {
    width: var(--logo-width);
}

.other-version-box .card {
    background-color: var(--color-text-light);
    border: 0px solid var(--color-text-light);
    border-radius: var(--border-radius-lg);
}

.other-version {
    width: 350px;
    color: var(--color-text-light);
    padding: 10px 20px;
    background: var(--color-bg-accent);
}

.other-version:hover {
    opacity: 0.9;
    color: var(--color-text-light);
}

footer {
    
    padding: var(--spacing-md);
    color: var(--color-text-secondary);
    background: var(--color-bg-secondary);
}

footer a {
    font-weight: bold;
    font-size: 1em;
    color: var(--color-text-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1px 2px;
}

footer a:hover {
    color: var(--color-link-primary);
    text-decoration: none;
}

footer a:visited {
    color: var(--color-text-light);
}

footer a:visited:hover {
    color: rgba(0, 173, 239, 1);
}

.rating-area {
    display: flex;
    flex-direction: row;
}

.rating-area input[type="radio"] {
    display: none;
}

.rating-area label {
    display: inline-block;
    cursor: pointer;
    font-size: 18px;
    color: lightgrey;
    margin: 0;
    padding: 0;
    transition: color var(--transition-fast);
    font-family: 'Arial', sans-serif;
}

.rating-area label:before {
    content: "★";
}

.rating-area label.filled {
    color: var(--color-rating-star);
}

.tech-apsolute {
    position: absolute;
    right: 15px;
    top: -20px;
}

.rating-area label:hover {
    color: var(--color-rating-hover);
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: var(--container-max-width) !important;
    }


}

@media (max-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: var(--container-max-width) !important;
    }

    .text-wrapper {
        max-width: 600px;
    }
}

.sidebar-widget {
    box-shadow: var(--shadow-block);
}

/* КАТЕГОРИИ */
.soft-card {
    background: var(--color-bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border-secondary);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.soft-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-accent);
}

.soft-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.soft-card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.soft-card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
    line-height: 1.3;
}

.soft-card-description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-md);
}

.soft-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border-secondary);
}

.soft-card-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.soft-card-download-btn {
    background: var(--gradient-accent);
    color: var(--color-text-light);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition-normal);
}

.soft-card-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}
.soft_os_type {
    padding: 3px;
}

.bg-3599D3 {
    background: var(--color-bg-gradient-start) !important;
    color: var(--color-text-light) !important;
}

.bg-999999-hover:hover {
    background: #999999 !important;
}

.fake-button-download {
     background: linear-gradient(to right, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    padding: 7px;
    color: var(--color-text-light) !important;
}

.fake-button-download:hover {
    opacity: 1;
}

@media (max-width: 991px) {
    .fake-button-download {
        height: 100%;
        width: 50%;
    }
}

@media (max-width: 960px) {
    h5 {
        font-size: 1rem;
    }

    .soft-card-text p {
        font-size: 0.9rem;
    }

    .soft-card-text {
        display: flex;
        align-items: center;
    }

    .fake-button-download {
        height: 100%;
        max-width: 150px;
    }
}

.soft-card .logo {
    max-width: var(--logo-width);
    max-height: var(--logo-width);
}

.soft-card .linces {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary) !important;
}

.soft-card .linc-text {
    color: rgba(66, 66, 66, 0.76) !important;
}

.soft-cat-link .link {
    margin-top: 0.4rem;
    background: #fafafa;
    padding: 4px;
}

.soft-cat-link .link:hover {
    box-shadow: var(--shadow-block);
}

.soft-cat-link .link {
    color: rgba(66, 66, 66, 0.76) !important;
    font-weight: bold;
    padding-left: 10px;
}

.h_tags_menu_top {
    color: var(--color-text-dark) !important;
    margin-right: 2px;
    font-size: 1.1em;
    display: inline;
    vertical-align: baseline;
    padding-left: 5px;
    background: none !important;
    cursor: default;
}

.h_tags_menu_top a {
    color: var(--color-text-dark) !important;
}

.h_tags_menu_top a:hover {
    color: var(--color-text-light) !important;
}

.div_tags_menu span .a,
.div_tags_menu .a {
    padding: 3px 5px;
    vertical-align: baseline;
    font-size: 1em;
}

.div_tags_menu .a {
    white-space: nowrap;
    padding: 5px;
    padding-left: 0;
    padding-right: 0;
}

.dropdown-item {
    color: var(--color-text-light);
}

.dropdown-item:active {
    background-color: #f8f9fa;
    color: var(--color-text-dark);
}

.div_tags_menu a,
.list-group a:visited {
    color: var(--color-text-primary);
}

.div_tags_menu a {
    padding: 1px;
    text-decoration: none;
}

.div_tags_menu_folder {
    line-height: 28px;
    padding-bottom: 2px;
    max-height: 999999px;
}

.div_tags_menu a:hover {
    color: var(--color-text-light);
    background: #999;
}

.carousel-control-prev {
    left: 0px;
}

.carousel-control-next,
.carousel-control-prev {
    background: var(--color-link-primary);
    position: relative;
    top: 20px;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100px;
    color: var(--color-text-light);
    text-align: center;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination__item--dots {
    display: inline-block;
    margin: 0 0.5rem;
    color: var(--color-link-primary) !important;
}

/* .page-item.active .page-link {
    z-index: 3;
    color: var(--color-text-light);
    background-color: var(--color-link-primary);
    border-color: var(--color-link-primary);
} */

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--color-link-primary);
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border-primary);
}

.collects .card-bg {
    padding: 0px;
    background: var(--color-bg-dark);
    border: 1px solid var(--color-text-light);
}

.collects .card-bg:hover {
    background: #999999;
}

.collects h5 {
    padding: 5px;
    padding-left: 10px;
    background: var(--color-link-primary);
}

.collects a {
    color: var(--color-text-light);
}

.collects p {
    padding: 5px;
    padding-left: 10px;
    font-size: 14px;
}

.aside-right {
    margin-top: var(--spacing-2xl);
}

/* .navbar-nav .active {
    color: var(--color-link-primary) !important;
    border-color: var(--color-link-primary) var(--color-link-primary) var(--color-text-light);
    opacity: 1;
} */

.list-group-item:first-child {
    border-radius: var(--border-radius-md) !important;
}

.list-group-item {
    position: relative;
    display: block;
    padding: .35rem 0.5rem;
    background-color: var(--color-bg-secondary);
    border: 3px solid rgba(0, 0, 0, .125);
    border-radius: var(--border-radius-md);
}

.contact_form {
    width: 100% !important;
    max-width: 800px;
}

.border-text-razdel {
    border-bottom: 1px solid var(--color-border-primary);
}

.mt-5-mod {
    margin-top: var(--spacing-2xl);
}

.voprosy {
    background: var(--color-bg-secondary);
    padding: 15px 15px 10px 25px;
    border-radius: var(--border-radius-md);
}

.voprosy ul {
    padding-left: 0px;
    list-style: none;
}

.voprosy li {
    margin: 0.2rem 0;
    padding-right: 0.5rem;
    font-size: 15px;
}

.voprosy a {
    color: var(--color-text-primary);
    font-weight: 600;
}

.h5-aside,
.fs-main__section-subtitle h3 {
    font-weight: 600;
    padding-left: 15px;
    font-size: 17px;
}

.collets-box {
    padding: 0px 0px;
    background: rgba(240, 240, 240, 0.9);
}

.collets-box .name:hover {
    color: var(--color-link-primary);
}

.collets-box .name {
    padding: 5px 0;
    color: var(--color-text-dark);
    font-size: 14px;
    font-weight: bold;
}

.collets-box img {
    width: 100%;
}

.best-soft-box ul {
    list-style: none;
    padding-left: 10px;
}

.best-soft-box li {
    font-size: 17px;
    margin-top: var(--spacing-sm);
}

.best-soft-box img {
    width: 100%;
    max-width: 30px;
}

.intro,
.intro-1 {
    margin-bottom: 15px;
    padding: 25px;
    background: var(--color-bg-success);
    color: var(--color-text-info);
    font-size: 19px;
    line-height: 32px;
}

.intro-1 {
    background: var(--color-bg-warning);
    color: var(--color-text-warning);
}

.voprosy_recomend_dll ul {
    padding: 1px 15px;
    list-style: none;
}

.btn-category-dll {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.3rem 0.45rem;
    font-size: 1.1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-lg);
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    color: var(--color-text-tertiary);
}

.btn-category-dll:visited {
    color: var(--color-text-tertiary);
}

.navbar-nav .dropdown-menu {
    background: var(--color-text-tertiary);
}

.btn-category-dll:hover {
    background-color: var(--color-link-primary);
    border-color: var(--color-link-primary);
}

.versions-item {
    margin: var(--spacing-xs) 0;
}

.versions-item .v-item__wrap {
    background: var(--color-bg-secondary);
    padding: 8px;
    border-radius: var(--border-radius-md);
}

.versions-item__title {
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-light) !important;
}

.border-r15 {
    border-radius: var(--border-radius-md) !important;
}

.versions-item__button {
    width: 100%;
    margin-top: 0;
    max-width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

.versions-item_button__wrap {
    padding-left: 0;
    padding-right: 0;
}

.tab-questions .fs-accordion__button {
    cursor: pointer;
    background: linear-gradient(to right, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    color: var(--color-text-light);
    padding: 10px;
    margin-bottom: 5px;
    transition: background-color var(--transition-normal);
    border-radius: var(--border-radius-md);
}

.tab-questions .fs-accordion__button:hover {
    background-color: #e9ecef;
}

.tab-questions .fs-accordion__button h3 {
    margin: 0;
    font-size: 1.25rem;
}

.tab-questions .fs-accordion__collapse {
    padding: 10px;
    border: 1px solid var(--color-border-primary);
    border-radius: var(--border-radius-md);
    border-top: none;
}

.developer_link {
    color: var(--color-text-tertiary);
}

.button-dw_ds {
    border-radius: 1%;
    border: 0px !important;
    box-shadow: 0 2px 0 0 #00ff481c;
    background: rgb(0, 16, 36);
    background: linear-gradient(30deg, rgba(0, 16, 36, 1) 0%, rgba(53, 153, 211, 1) 25%, rgba(0, 255, 158, 1) 100%);
}

.soft-view {
    font-size: 14px;
    padding: 2px;
}

.autocomplete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autocomplete-item img {
    margin-right: 10px;
}

.os-type {
    margin-left: auto;
    text-align: right;
}

.edit-field {
    position: relative;
}

.ck {
    color: var(--color-text-dark) !important;
}

.ck a {
    color: var(--color-bg-accent) !important;
}

.edit-icon {
    display: none;
    font-size: 13px;
    color: var(--color-text-muted);
    position: absolute;
    cursor: pointer;
    left: -6.5px;
    opacity: 0.7;
    bottom: 10%;
}

.image.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.image_resized {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.image.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.image.image-style-align-right {
    float: right;
    margin-left: var(--ck-image-style-spacing);
}

.image.image-style-align-left {
    float: left;
    margin-right: var(--ck-image-style-spacing);
}

.image.image_resized img {
    width: 100%;
}

.image img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    min-width: 100%;
}

.image-inline {
    position: relative;
}

blockquote {
    border-left: 5px solid #ccc;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

blockquote {
    margin: 0 0 1rem;
}

.table table {
    overflow: hidden;
}

.table table {
    border: 1px double #b3b3b3;
    border-collapse: collapse;
    border-spacing: 0;
    height: 100%;
    width: 100%;
}

.table table td,
.table table th {
    border: 1px solid #bfbfbf;
    min-width: 2em;
    padding: .4em;
}

.table td,
.table th {
    overflow-wrap: break-word;
    position: relative;
}

.todo-list {
    list-style: none;
}

.todo-list li {
    margin-bottom: 5px;
    position: relative;
}

.todo-list .todo-list__label>span[contenteditable=false]>input {
    -webkit-appearance: none;
    border: 0;
    display: inline-block;
    height: var(--ck-todo-list-checkmark-size);
    left: -25px;
    margin-left: 0;
    margin-right: -15px;
    position: relative;
    right: 0;
    vertical-align: middle;
    width: var(--ck-todo-list-checkmark-size);
}

.todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before {
    background: #26ab33;
    border-color: #26ab33;
}

.todo-list .todo-list__label>span[contenteditable=false]>input:after {
    border-color: transparent;
    border-style: solid;
    border-width: 0 calc(var(--ck-todo-list-checkmark-size) / 8) calc(var(--ck-todo-list-checkmark-size) / 8) 0;
    box-sizing: content-box;
    content: "";
    display: block;
    height: calc(var(--ck-todo-list-checkmark-size) / 2.6);
    left: calc(var(--ck-todo-list-checkmark-size) / 3);
    pointer-events: none;
    position: absolute;
    top: calc(var(--ck-todo-list-checkmark-size) / 5.3);
    transform: rotate(45deg);
    width: calc(var(--ck-todo-list-checkmark-size) / 5.3);
}

.todo-list .todo-list__label>span[contenteditable=false]>input:before {
    border: 1px solid #333;
    border-radius: 2px;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: box-shadow .25s ease-in-out;
    width: 100%;
}

.todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before {
    background: #26ab33;
    border-color: #26ab33;
}

.edit-icon_text-content {
    display: none;
    font-size: 14px;
    opacity: 0.7;
    color: var(--color-text-muted);
    position: absolute;
    cursor: pointer;
    left: -6px;
    top: 0;
    z-index: var(--z-index-modal);
}

#features .features-container {
    margin: 0 -5px 10px;
    padding: 0;
    text-align: center;
    font-size: 0;
    width: 100%;
}

#features ul,
#overview ul {
    margin: 13px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1px 10px;
    justify-content: center;
    text-align: center;
}

#features ul li,
#overview ul li {
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
    padding: 5px;
    text-align: center;
    font-size: var(--font-size-base);
}

/* Медиа-запросы для адаптивного поведения */
@media (max-width: 992px) {

    #features ul li,
    #overview ul li {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 768px) {

    #features ul li,
    #overview ul li {
        flex: 1 1 calc(100% - 40px);
    }
}

@media (max-width: 1018px) {
    .features-grid {
        width: 33.33%;
    }
}

.features-grid {
    width: 33.333%;
    font-size: 15px;
}

.download-grid,
.features-grid,
.topical-grid {
    display: inline-block;
    vertical-align: top;
}

.features-content {
    padding: 0px;
    text-align: center;
}

.Pxj9rv {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Pxj9rv img {
    cursor: pointer;
    box-shadow: none;
    border: none;
}

.fs-accordion__item h3 {
    font-size: 16px !important;
}

.features-container h4 {
    font-size: 18px;
}

/* .list-group-item.active {
    background-color: var(--color-bg-tertiary);
    color: var(--color-text-primary) !important;
    border-color: var(--color-bg-tertiary);
    border-radius: var(--border-radius-md);
}

.list-group-item.active a::first {
    color: var(--color-text-primary);
} */

.text-content {
    position: relative;
    max-height: var(--text-content-max-height);
    overflow: hidden;
}

#text-content-field {
    max-height: none;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.text-wrapper {
    max-width: 500px;
    padding: 1px;
}

.fade-out {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(36, 36, 36, 0.768));
    pointer-events: none;
}

[data-js-enabled="false"] .show-more-btn,
[data-js-enabled="false"] .fade-out {
    display: none !important;
}

[data-js-enabled="false"] #text-content-field {
    max-height: none !important;
}

.show-more-btn {
    display: none;
    color: var(--color-text-light);
    display: none;
    position: relative;
    margin-top: 10px;
    z-index: var(--z-index-modal);
    max-width: 350px;
    box-shadow: 0 2px 0 0 #31a9ee;
    background: linear-gradient(to right, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    border-radius: var(--border-radius-md);
}

.show-more-btn:hover {
    opacity: 0.9;
    color: var(--color-text-light);
    box-shadow: 0 2px 0 0 #31a9ee;
    background: linear-gradient(to right, #2a7baa, var(--color-bg-gradient-end));
}

.btn-outline-secondary__mod:hover {
    color: var(--color-text-light);
    background-color: var(--color-link-primary);
    border-color: var(--color-link-primary);
    border-radius: var(--border-radius-md) !important;
}

.btn-outline-secondary__mod:focus {
    border-radius: var(--border-radius-md) !important;
}

.show-more-btn:focus {
    color: var(--color-text-light);
    border-color: #31a9ee;
}

.show-more-btn .fa-arrow-down {
    font-size: 10px;
}

.admin-menu {
    position: absolute;
    left: 15px;
    top: 0;
}

#soft-form {
    margin-left: var(--spacing-md);
    position: absolute;
}

.button-edit-admin {
    position: absolute;
    left: 0;
    border: 1px solid var(--color-text-light);
    padding: 1px;
    bottom: 0;
    opacity: 0.4;
}

.button-edit-admin_right {
    position: absolute;
    border: 1px solid var(--color-text-light);
    padding: 1px;
    right: 0;
    bottom: 0;
    opacity: 0.4;
}

.edit-icon,
.edit-icon_text-content,
.admin-menu,
.button-edit-admin,
#soft-form,
.button-edit-admin_right,
.edit-field-invisible,
.btn-admin {
    display: none;
}

#admin-button {
    color: #fa0303;
    border: 1px solid #fa0303;
    padding: 1px;
}

.ck-reset_all :not(.ck-reset_all-excluded *),
.ck.ck-reset,
.ck.ck-reset_all {
    z-index: var(--z-index-tooltip);
}

.h1-soft-page {
    font-size: var(--font-size-2xl);
}

.text-danger,
.text-info,
.text-warning {
    padding: 5px;
    color: var(--color-text-light) !important;
}

.body_text_article p {
    margin: 2rem 2rem;
}

ol li {
    margin: var(--spacing-md) 0;
}

.img-fluid {
    margin: var(--spacing-md) 0;
}

.article-card {
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-sm);
}

.article-bg {
    position: relative;
    z-index: -1;
    width: 100%;
}

.h5 {
    content: '';
    bottom: -8px;
    width: 90%;
    height: 100%;
    max-height: 50%;
    background: rgb(0 0 0 / 82%);
    z-index: 3;
    position: absolute;
    font-size: 15px;
    padding: 5px;
}

.test {
    width: 100%;
}

/* Дополнительные медиа-запросы для адаптивности */
@media (max-width: 576px) {
    :root {
        --font-size-base: 14px;
        --spacing-md: 0.75rem;
        --border-radius-md: 10px;
    }

    .button-dw {
        font-size: 1rem;
    }

    .card-box {
        height: auto;
        flex-direction: column;
        text-align: center;
    }

    .card-box-text {
        margin-left: 0;
        margin-top: var(--spacing-sm);
    }
}

/* Темная тема по умолчанию */
@media (prefers-color-scheme: light) {
    :root {
        --color-bg-primary: #F7F7F7;
        --color-text-primary: #333;
        --color-text-secondary: #666;
        --color-bg-secondary: #fff;
        --color-border-primary: #ccc;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn var(--transition-normal);
}

/* Утилитарные классы */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Кастомные свойства для компонентов */
.ck.ck-editor {
    --ck-color-base-background: var(--color-bg-secondary);
    --ck-color-base-foreground: var(--color-text-primary);
}

/* Переменные для конкретных компонентов */
.soft-card {
    --soft-card-padding: var(--spacing-md);
    --soft-card-radius: var(--border-radius-md);
}

.card-box {
    --card-box-height: 69px;
    --card-box-padding: 12px;
}

/* Кастомные scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-secondary);
    border-radius: var(--border-radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-link-primary);
}

/* Блок рекомендаций - обновленный дизайн */
.recommendation-card-a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.recommendation-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(123, 104, 238, 0.02) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.recommendation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-accent);
}

.recommendation-card:hover::before {
    opacity: 1;
}

.recommendation-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Изображение */
.recommendation-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
    border-bottom: 1px solid var(--color-border-secondary);
}

/* Тело карточки */
.recommendation-card .card-body {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Заголовок */
.recommendation-card .game-title {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.recommendation-card:hover .game-title {
    color: var(--color-text-accent);
}

/* Описание */
.recommendation-card .game-version {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}

/* Статистика */
.recommendation-card .soft-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    margin-top: auto;
    border-top: 1px solid var(--color-border-secondary);
}

.recommendation-card .soft-view,
.recommendation-card .soft-downloads {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.recommendation-card:hover .soft-view,
.recommendation-card:hover .soft-downloads {
    color: var(--color-text-light);
}

.recommendation-card .soft-view i,
.recommendation-card .soft-downloads i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
    color: var(--color-text-light);

}





/* Бейдж для новых/популярных */
.recommendation-card .card-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--gradient-accent);
    color: var(--color-text-light);
    padding: var(--spacing-xxs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

/* Иконка операционной системы */
.recommendation-card .os-icon {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: var(--shadow-sm);
}

.recommendation-card .os-icon i {
    font-size: 1.2rem;
}

/* Рейтинг */
.recommendation-card .rating-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xxs);
    background: rgba(255, 179, 71, 0.1);
    color: var(--color-rating-star);
    padding: var(--spacing-xxs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-top: var(--spacing-xs);
}

.section-title {
    border-bottom: 2px solid var(--color-bg-gradient-start);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.soft-stats {
    position: absolute;
    font-size: 0.85rem;
    color: #ffffff;
    top: 0;
    right: 0;
    background: var(--color-link-hover);
}

.soft-stats i {
    width: 16px;
    text-align: center;
}




.thumbnails-responsive {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.thumbnails-responsive::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.thumbnails-responsive::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.thumbnails-responsive::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.thumbnails-responsive .thumbnail-link {
    flex: 0 0 auto;
    width: 100px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .thumbnails-responsive {
        gap: 8px;
        padding-bottom: 12px;
    }

    .thumbnails-responsive .thumbnail-link {
        width: 90px;
    }

    .thumbnails-responsive .thumbnail img {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .thumbnails-responsive {
        gap: 6px;
    }

    .thumbnails-responsive .thumbnail-link {
        width: 80px;
    }

    .thumbnails-responsive .thumbnail img {
        height: 50px;
    }
}

@media (max-width: 400px) {
    .thumbnails-responsive .thumbnail-link {
        width: 70px;
    }

    .thumbnails-responsive .thumbnail img {
        height: 45px;
    }
}

.thumbnails-responsive .thumbnail-link:hover {
    border-color: #007bff;
}

.thumbnails-responsive .thumbnail img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

/* Адаптация основного контейнера */
.screen-box {
    width: 100%;
    overflow: hidden;
}

.screen img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Если внутри .soft-card-text есть хотя бы 2 p */
.soft-card-text:has(p:nth-of-type(2)) p:first-of-type {
    color: #ff0000;
}

.code-block-pro-copy-button-pre {
    position: relative;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    background-color: #2e3440ff;
    color: #fff;
}

.code-block-pro-copy-button-textarea {
    width: 100%;
    padding: 16px;
    border: none;
    background: transparent;
    color: inherit;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.4;
    resize: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.shiki.nord {
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.shiki.nord code {
    display: block;
    white-space: pre;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.4;
}

/* Иконка копирования */
svg[fill="none"][stroke="currentColor"] {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    background: rgba(46, 52, 64, 0.8);
    border-radius: 4px;
    padding: 4px;
    transition: all 0.2s ease;
    z-index: 10;
}

svg[fill="none"][stroke="currentColor"]:hover {
    background: rgba(46, 52, 64, 0.9);
    transform: scale(1.05);
}

/* Скрываем check маркеры по умолчанию */
.with-check {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.without-check {
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Показываем check при активации */
svg.copied .with-check {
    opacity: 1;
}

svg.copied .without-check {
    opacity: 0;
}

.shiki {
    display: none;
}

.wp-block-video {
    width: 100%;
    max-width: 400px;
}

/* Стили для YouTube placeholder */
.youtube-placeholder {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 640px;
    margin: 0 auto;
}

.youtube-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.placeholder-preview {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-overlay {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.placeholder-preview:hover .preview-overlay {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

.play-button {
    color: white;
    font-size: 40px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.placeholder-info {
    padding: 20px;
    text-align: center;
}

.placeholder-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.placeholder-warning {
    font-size: 14px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.load-video-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-video-btn:hover {
    background: #cc0000;
    transform: scale(1.05);
}

/* Стили для состояния загрузки */
.loading-state {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.loading-note {
    font-size: 14px;
    color: #666;
}

/* Стили для финальной ошибки */
.youtube-final-error {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 640px;
    margin: 0 auto;
}

.error-preview {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-overlay {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.error-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.error-text {
    font-size: 16px;
    font-weight: bold;
}

.error-actions {
    padding: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.youtube-direct-link,
.try-again-btn {
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.youtube-direct-link {
    background: #ff0000;
    color: white;
}

.youtube-direct-link:hover {
    background: #cc0000;
}

.try-again-btn {
    background: #3498db;
    color: white;
}

.try-again-btn:hover {
    background: #2980b9;
}

.vpn-suggestion {
    padding: 15px 20px;
    background: #fff3cd;
    color: #856404;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #ffeaa7;
}

/* Адаптивность */
@media (max-width: 768px) {

    .placeholder-preview,
    .error-preview {
        height: 150px;
    }

    .play-button {
        font-size: 30px;
        width: 60px;
        height: 60px;
    }

    .error-actions {
        flex-direction: column;
    }

    .youtube-direct-link,
    .try-again-btn {
        width: 100%;
        text-align: center;
    }
}

/* Стили для итогового iframe */
.youtube-iframe {
    border-radius: 12px;
    max-width: 100%;
    height: 360px;
}

@media (max-width: 768px) {
    .youtube-iframe {
        height: 250px;
    }
}


/* Подключите шрифт, похожий на логотип, например 'Oswald' */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&family=Roboto:wght@400;700&display=swap');
/* Подключите иконки Bootstrap */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css");

.left_menu {
  
    font-family: 'Roboto', sans-serif;
    /* border-right: solid 1px #000; */
    padding-right: 5px;
    
}

.menu_right {
     border-left: solid 1px #000;
}

/* Стили логотипа */
.game-hub-logo {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.logo-underline {
    width: 100px;
    height: 3px;
    background: var(--color-bg-accent); /* Тот самый бирюзовый цвет */
    margin: 5px auto;
    border-radius: 50%;
}

/* Стили ссылок */
.left_menu .nav-link {
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Активный пункт (как "Читы" на картинке) */
.left_menu .nav-link.active {
    background-color: #73c7d3;
    color: white !important;
}

/* Квадратики с иконками */
.icon-box {
    width: 15px;
    height: 15px;
    background-color: #e0f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #73c7d3;
    margin-right: 6px;
}

/* Иконка внутри активного пункта */
.nav-link.active .icon-box {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.left_menu .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
}

.nav-link {
    color: var(--color-text-tertiary);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-bg-accent);
    background: rgba(123, 104, 238, 0.1);
}

.text-shadows {
    box-shadow: var(--shadow-block);

}

* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}



.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-text-light);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover);
}

.btn-secondary {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    border: 2px solid var(--color-border-primary);
}

.btn-secondary:hover {
    border-color: var(--color-bg-accent);
    color: var(--color-bg-accent);
}

.btn-outline {
    background: transparent;
    color: var(--color-bg-accent);
    border: 2px solid var(--color-bg-accent);
}

.btn-outline:hover {
    background: var(--color-bg-accent);
    color: var(--color-text-light);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
}