/* ===== СОВРЕМЕННЫЙ ДИЗАЙН В СТИЛЕ ЛИЧНОГО КАБИНЕТА ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #ec4899;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #4facfe;
    
    --bg-main: #020617;
    --bg-secondary: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.8);
    --bg-hover: rgba(15, 23, 42, 0.6);
    
    --text-main: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-light: rgba(255, 255, 255, 0.1);
    --border-main: rgba(255, 255, 255, 0.15);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(99, 102, 241, 0.3);
    
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Анимированный фон */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.bg-circle-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.bg-circle-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    top: 60%;
    right: 10%;
    animation-delay: 10s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}



/* Селектор языка - современный дизайн */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: flex;
    gap: 6px;
}

.lang-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 45px;
    position: relative;
}

.lang-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 10px;
        padding: 6px;
    }
    
    .lang-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 40px;
    }

    .manual-tab-bar {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
        margin-bottom: 24px;
    }

    .manual-tab-btn {
        width: 100%;
        padding: 12px 18px;
        font-size: 14px;
    }

    .chams-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .manual-search-wrap {
        margin-bottom: 28px;
    }

    .chams-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .chams-card {
        padding: 24px;
    }

    .chams-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .main-container {
        padding: 20px 16px;
    }

    .modal-content {
        padding: 24px;
        width: 95%;
        max-height: 90vh;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
}
/* Главный контейнер */
.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container::after {
    content: '✨';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 1; }
}
h1 {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #6366f1 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    animation: gradientMove 3s ease infinite;
    position: relative;
}

h1::before {
    content: '🎄';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    animation: swing 3s ease-in-out infinite;
}

h1::after {
    content: '🎄';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    animation: swing 3s ease-in-out infinite 0.5s;
}

@keyframes swing {
    0%, 100% { transform: translateY(-50%) rotate(-10deg); }
    50% { transform: translateY(-50%) rotate(10deg); }
}
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
}
.step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: linear-gradient(90deg, #f3f4f6 60%, #e0e7ff 100%);
    border-radius: 14px;
    box-shadow: 0 2px 12px #6366f11a;
    padding: 18px 20px 14px 20px;
    margin-bottom: 18px;
    font-size: 1.13rem;
    position: relative;
}
.step:last-child { margin-bottom: 0; }
.step-icon {
    font-size: 2.1rem;
    color: #6366f1;
    min-width: 38px;
    text-align: center;
}
.step-number {
    position: absolute;
    left: -18px;
    top: 18px;
    background: #6366f1;
    color: #fff;
    font-weight: 900;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px #6366f133;
}
@media (max-width: 600px) {
    .container { padding: 18px 6vw; }
    .step { font-size: 1rem; }
}

/* Секция с карточками игр */
.chams-section {
    width: 100%;
    margin: 0 auto 60px auto;
    padding: 0;
}

/* Вкладки: Инструкция / Устранение ошибок / Фиксы */
.manual-tab-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto 36px auto;
    padding: 14px 18px;
    max-width: 920px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.manual-tab-btn {
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.45);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.manual-tab-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    border-color: rgba(99, 102, 241, 0.25);
}

.manual-tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
}

.manual-tab-panel {
    display: none;
}

.manual-tab-panel.is-active {
    display: block;
}

.manual-placeholder-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow-lg);
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.troubleshooting-cmd {
    display: block;
    margin: 12px 0 0 0;
    padding: 14px 16px;
    background: rgba(2, 6, 23, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 12px;
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--primary-light);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.pcs-setup-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
}

#manual-tab-pc-setup .chams-container {
    max-width: 100%;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 28px;
}

@media (max-width: 1100px) {
    #manual-tab-pc-setup .chams-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#manual-tab-pc-setup .pcs-setup-card {
    max-width: none;
    width: 100%;
}

.pcs-setup-header {
    align-items: flex-start;
    gap: 20px 24px;
}

.pcs-setup-header-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}

.pcs-setup-header .chams-title-card {
    margin-bottom: 0;
}

.pcs-setup-card .chams-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    aspect-ratio: 1;
    font-size: 28px;
}

.pcs-setup-card::after {
    display: none;
}

#manual-tab-troubleshooting .chams-container {
    max-width: 100%;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 28px;
}

@media (max-width: 1024px) {
    #manual-tab-troubleshooting .chams-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#manual-tab-troubleshooting .pcs-setup-card {
    max-width: none;
    width: 100%;
}

.ts-trouble-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.ts-trouble-card .chams-header.pcs-setup-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    flex: 1;
    justify-content: center;
}

.ts-trouble-card .chams-subtitle.ts-card-open-hint {
    margin-top: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(129, 140, 248, 0.55);
    align-self: flex-start;
    font-weight: 600;
    font-size: 0.9rem;
    font-style: italic;
    color: #c4b5fd;
}

.ts-trouble-card:hover {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.18);
}

#manual-tab-troubleshooting .chams-card:nth-child(5).ts-trouble-card:hover {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15);
}

#manual-tab-troubleshooting .chams-card:nth-child(6).ts-trouble-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.18);
}

.ts-trouble-card .chams-icon {
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
}

#manual-tab-troubleshooting .chams-card:nth-child(5) .chams-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

#manual-tab-troubleshooting .chams-card:nth-child(6) .chams-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
}

.ts-trouble-card--gfx .chams-icon {
    background: linear-gradient(135deg, #0ea5e9, #0369a1) !important;
}

.ts-trouble-card--gfx:hover {
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.16);
}

.ts-trouble-card--hyperv .chams-icon {
    background: linear-gradient(135deg, #14b8a6, #0f766e) !important;
}

.ts-trouble-card--hyperv:hover {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.14);
}

.ts-trouble-card--defsvc .chams-icon {
    background: linear-gradient(135deg, #0078d4, #005a9e) !important;
}

.ts-trouble-card--defsvc:hover {
    border-color: rgba(0, 120, 212, 0.55);
    box-shadow: 0 20px 50px rgba(0, 120, 212, 0.18);
}

#manual-tab-fixes .chams-container {
    max-width: 100%;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 28px;
}

@media (max-width: 1024px) {
    #manual-tab-fixes .chams-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#manual-tab-fixes .pcs-setup-card {
    max-width: none;
    width: 100%;
}

.fixes-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.fixes-card .chams-header.pcs-setup-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    flex: 1;
    justify-content: center;
}

.fixes-card .chams-icon {
    background: linear-gradient(135deg, #10b981, #047857) !important;
}

.fixes-card:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.16);
}

.fixes-card .chams-title-card {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
}

#manual-tab-fixes .chams-subtitle.ts-card-open-hint {
    border-bottom-color: rgba(52, 211, 153, 0.55);
    color: #6ee7b7;
}

.ts-trouble-card .chams-title-card {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: 0;
    text-align: left;
}

.modal-step-list .troubleshooting-cmd {
    margin-top: 10px;
}

.modal-step-list a {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.modal-step-list a:hover {
    color: var(--accent);
}

.chams-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin: 0 0 28px 0;
    color: var(--text-main);
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 3s ease infinite;
    position: relative;
    letter-spacing: -0.02em;
}

.manual-search-wrap {
    max-width: 560px;
    margin: 0 auto 40px auto;
    padding: 0 16px;
}
.manual-search-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.manual-search-label i {
    color: var(--primary-light);
}
.manual-search-field {
    position: relative;
    display: flex;
    align-items: center;
}
.manual-search-field .manual-search-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}
.manual-search-input {
    width: 100%;
    padding: 16px 18px 16px 48px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 16px;
    outline: none;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.manual-search-input::placeholder {
    color: var(--text-muted);
}
.manual-search-input:focus {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22), 0 8px 28px rgba(0, 0, 0, 0.35);
}
.manual-search-hint {
    text-align: center;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--danger);
    font-weight: 600;
    min-height: 1.4em;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.manual-search-hint.is-visible {
    opacity: 1;
}

.menu-howto-table {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.menu-howto-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 16px 24px;
    padding: 16px 22px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-howto-row:last-child {
    border-bottom: none;
}

.menu-howto-row--head {
    background: rgba(99, 102, 241, 0.12);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-light);
    border-bottom: 1px solid rgba(99, 102, 241, 0.25);
}

.menu-howto-row:not(.menu-howto-row--head):nth-child(even) {
    background: rgba(15, 23, 42, 0.35);
}

.menu-howto-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.98rem;
}

.menu-howto-action {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.menu-howto-table--modal {
    margin-top: 8px;
    border-radius: 16px;
}

.menu-howto-table--modal .menu-howto-row {
    padding: 12px 18px;
}

@media (max-width: 560px) {
    .menu-howto-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.chams-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

@media (max-width: 1200px) {
    .chams-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.chams-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
}

.chams-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.chams-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(15, 23, 42, 0.9);
}

.chams-card::after {
    content: '🎁';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chams-card:hover::after {
    opacity: 1;
}

.eft-chams:hover {
    border-color: #10b981;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25);
}

.stalcraft-chams:hover {
    border-color: #f59e0b;
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25);
}

.apex-chams:hover {
    border-color: #ef4444;
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.25);
}

.apex-legends-chams:hover {
    border-color: #8b5cf6;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25);
}

.csgo-chams:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
}

.rust-chams:hover {
    border-color: #f97316;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.rust-v2-chams:hover {
    border-color: #f97316;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.rust-box-chams:hover {
    border-color: #f97316;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.rust-web-radar-chams:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.rust-chams-product-card:hover {
    border-color: #c084fc;
    box-shadow: 0 8px 24px rgba(192, 132, 252, 0.35);
}

.warface-web-radar-chams:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.overwatch-chams:hover {
    border-color: #8b5cf6;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25);
}

.warthunder-chams:hover {
    border-color: #06b6d4;
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25);
}

.dayz-chams:hover {
    border-color: #dc2626;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.25);
}

.warface-chams:hover {
    border-color: #f59e0b;
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25);
}

.marvelrivals-chams:hover {
    border-color: #ec4899;
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.25);
}

.fortnite-chams:hover {
    border-color: #00d4ff;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.25);
}

.pubg-chams:hover {
    border-color: #ff6b35;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.25);
}

.roblox-chams:hover {
    border-color: #e11d48;
    box-shadow: 0 20px 60px rgba(225, 29, 72, 0.25);
}

.squad-chams:hover {
    border-color: #10b981;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25);
}

.chams-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.chams-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    flex-shrink: 0;
    box-sizing: border-box;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.eft-chams .chams-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stalcraft-chams .chams-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.apex-chams .chams-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.apex-legends-chams .chams-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.csgo-chams .chams-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.rust-chams .chams-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.rust-v2-chams .chams-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.rust-box-chams .chams-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.rust-web-radar-chams .chams-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.rust-chams-product-card .chams-icon {
    background: linear-gradient(135deg, #c084fc, #7c3aed);
}

.warface-web-radar-chams .chams-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.overwatch-chams .chams-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.warthunder-chams .chams-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.dayz-chams .chams-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.warface-chams .chams-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.marvelrivals-chams .chams-icon {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.fortnite-chams .chams-icon {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.pubg-chams .chams-icon {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.roblox-chams .chams-icon {
    background: linear-gradient(135deg, #e11d48, #be123c);
}

.squad-chams .chams-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.rematch-chams .chams-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.chams-title-card {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.chams-subtitle {
    font-size: 15px;
    color: #e2e8f0;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.chams-content {
    margin-bottom: 0;
}

.chams-preview {
    text-align: center;
    padding: 20px 16px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    font-style: italic;
}

.chams-step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.chams-step:last-child {
    margin-bottom: 0;
}

.step-number-chams {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
}

.step-text strong {
    color: #18181b;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.step-text ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    color: #64748b;
}

.step-text li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.chams-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.chams-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

.eft-chams .feature-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.stalcraft-chams .feature-tag {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

.apex-chams .feature-tag {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.apex-legends-chams .feature-tag {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.2);
}

.dayz-chams .feature-tag {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.2);
}

.chams-download-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.eft-chams .chams-download-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.stalcraft-chams .chams-download-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.apex-chams .chams-download-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.apex-legends-chams .chams-download-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.chams-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.eft-chams .chams-download-btn:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.stalcraft-chams .chams-download-btn:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.apex-chams .chams-download-btn:hover {
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.apex-legends-chams .chams-download-btn:hover {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* Адаптивность для карточек */
@media (max-width: 768px) {
    .chams-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chams-card {
        padding: 24px;
    }
    
    .chams-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .pcs-setup-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pcs-setup-header-text {
        align-items: center;
    }
    
    .chams-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chams-features {
        justify-content: center;
    }
    
    .chams-download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Анимация появления уведомлений */
@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Модальные окна - современный дизайн */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.modal-title {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-title--compact {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0;
}

.modal-subtitle {
    font-size: 18px;
    color: #e2e8f0;
    margin: 4px 0 0 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

.modal-steps {
    margin-bottom: 30px;
}

.modal-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.modal-step-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.modal-step-content {
    flex: 1;
}

.modal-step-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.modal-step-inline-title {
    font-size: 17px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 18px 0 8px 0;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

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

.modal-step-list li {
    padding: 12px 0;
    color: #e2e8f0;
    position: relative;
    padding-left: 32px;
    line-height: 1.7;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.modal-step-list li:hover {
    color: #ffffff;
}

.modal-step-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 16px;
}

.modal-step-list li.modal-step-li-pre {
    padding-left: 0;
}

.modal-step-list li.modal-step-li-pre::before {
    display: none;
}

.modal-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.modal-feature-tag {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.modal-download-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    text-decoration: none;
}

.modal-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* Адаптивность для модальных окон */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modal-download-btn {
        width: 100%;
        justify-content: center;
    }
}
