:root {
    --primary: #8476e7;
    --primary-dark: #6c5ce7;
    --primary-light: #9c91f0;
    --secondary: #00d8d6;
    --dark: #2d3436;
    --light: #f5f6fa;
    --danger: #ff6b6b;
    --warning: #ffeaa7;
    --success: #58f0c0;
    --info: #7fb7ff;
    
    --bg-color: #121218;
    --section-bg: #1e1e2e;
    --text-color: #e2e2e9;
    --text-secondary: #b2b2ba;
    --border-color: #2e2e3e;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.full-width-header {
width: 100%;
max-width: 100%;
margin: 0 auto 25px;
background: linear-gradient(145deg, #161622, #1a1a2e);
border-radius: 10px;
border: 1px solid #2e2e3e;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
position: relative;
overflow: hidden;
}

.header-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 20px;
position: relative;
z-index: 2;
}

.header-left {
display: flex;
align-items: center;
gap: 14px;
}

.header-logo {
width: 32px;
height: 32px;
filter: drop-shadow(0 0 6px rgba(132, 118, 231, 0.4));
}

.header-titles h1 {
font-size: 1.4rem;
font-weight: 600;
color: #f0f0f5;
margin: 0;
line-height: 1.2;
}

.header-titles p {
font-size: 0.8rem;
color: #8e8e9e;
margin: 3px 0 0;
letter-spacing: 0.5px;
}

.header-right {
position: relative;
}

.version-badge {
background: rgba(108, 92, 231, 0.2);
color: #b2a8ff;
padding: 4px 10px;
border-radius: 12px;
font-size: 0.75rem;
font-weight: 500;
border: 1px solid rgba(108, 92, 231, 0.3);
display: inline-block;
min-width: 60px;
text-align: center;
transition: all 0.3s ease;
}

.version-badge:hover {
background: rgba(108, 92, 231, 0.3);
transform: translateY(-1px);
}

.full-width-header:hover {
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.full-width-header:hover .header-logo {
filter: drop-shadow(0 0 8px rgba(132, 118, 231, 0.6));
}

.full-width-header::before {
content: '';
position: absolute;
top: -50%;
right: -30%;
width: 80%;
height: 200%;
background: radial-gradient(circle, rgba(132, 118, 231, 0.1) 0%, transparent 60%);
opacity: 0.5;
transition: opacity 0.3s ease;
}

.full-width-header:hover::before {
opacity: 0.8;
right: -20%;
}

.section {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.section:hover {
    box-shadow: 0 8px 30px var(--shadow-color);
    transform: translateY(-2px);
}

h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2 i {
    font-size: 1.5rem;
}

h3 {
    color: var(--text-color);
    margin: 20px 0 10px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

h3 i {
    font-size: 1.1rem;
    color: var(--primary);
}

ul, ol {
    list-style-type: none;
}

li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-secondary);
}

li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 10px;
    transition: all 0.2s ease;
}

.faq-item {
    margin: 15px 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px;
    background: var(--section-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
    background: var(--bg-color);
}

.faq-answer.active {
    max-height: 500px;
    padding: 15px;
}

.forbidden li:before {
    color: var(--danger);
}

.allowed li:before {
    color: var(--success);
}

.signatures-container {
    position: relative;
    padding-top: 40px;
    margin: 15px 0;
}

.signatures {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 15px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 15px 0;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.signatures:hover {
    border-left-color: var(--primary-light);
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(108, 92, 231, 0.1);
    border: none;
    outline: none;
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    z-index: 2;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.copy-btn:hover {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.program-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 15px;
    background: rgba(108, 92, 231, 0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.program-info:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: translateX(3px);
}

.program-icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.program-info:hover .program-icon {
    transform: rotate(15deg);
    background: rgba(108, 92, 231, 0.2);
}

.program-name {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 8px;
}

.badge-danger {
    background-color: var(--danger);
    color: white;
}

.badge-success {
    background-color: var(--success);
    color: var(--dark);
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(108, 92, 231, 0.2);
    border: none;
    color: var(--primary);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.theme-toggle:hover {
    background: rgba(108, 92, 231, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 5px;
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.tab:hover {
    color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
}

.tab.active {
    color: var(--primary);
}

.tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.tab-content.active {
    display: block;
}

.faq-qna h4 {
    color: var(--primary);
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-qna h4 i {
    color: var(--info);
    font-size: 1rem;
}

.faq-qna p {
    margin-bottom: 15px;
    padding-left: 28px;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(253, 203, 110, 0.15);
    border-left: 4px solid var(--warning);
    transition: all 0.3s ease;
}

.alert:hover {
    transform: translateX(5px);
}

.alert i {
    font-size: 1.2rem;
    color: var(--warning);
    margin-top: 2px;
}

.alert-danger {
    background: rgba(255, 107, 107, 0.1);
    border-left-color: var(--danger);
}

.alert-danger i {
    color: var(--danger);
}

.alert-success {
    background: rgba(85, 239, 196, 0.1);
    border-left-color: var(--success);
}

.alert-success i {
    color: var(--success);
}

.alert-info {
    background: rgba(116, 185, 255, 0.1);
    border-left-color: var(--info);
}

.alert-info i {
    color: var(--info);
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.section:hover .glow-effect {
    opacity: 1;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: var(--section-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin: 20px 0;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.download-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
    text-decoration: none;
}

.file-info {
    background: rgba(108, 92, 231, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    width: 100%;
}

.file-info-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.file-info-item:last-child {
    border-bottom: none;
}

.file-info-item .icon {
    width: 20px;
    color: var(--primary-light);
    margin-right: 8px;
}

.file-info-item span:nth-child(2) {
    margin-right: auto;
    white-space: nowrap;
}

.file-info-item span:last-child {
    color: var(--primary);
    font-weight: 600;
    margin-left: 15px;
    white-space: nowrap;
}

#downloadCounter {
    font-family: monospace;
    letter-spacing: 1px;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(85, 239, 196, 0.1);
    color: var(--success);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 15px;
}

.content-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.content-btn {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-btn:hover {
    background: rgba(108, 92, 231, 0.2);
    transform: translateY(-2px);
}

.content-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.content-section {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.content-section.active {
    display: block;
}

.guide-step {
    background: rgba(108, 92, 231, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 15px;
        right: 15px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    header {
        flex-direction: column;
        padding: 15px 0;
        gap: 10px;
    }
    
    .header-logo {
        width: 32px;
        height: 32px;
    }
    
    .section {
        padding: 20px 15px;
    }
    
    .tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .download-card {
        padding: 20px;
    }
    
    .content-nav {
        gap: 10px;
    }
    
    .content-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.section {
    animation: fadeIn 0.3s ease-out forwards;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }

.pulse {
    animation: pulse 2s infinite;
}

/* delete after release */
.download-disabled {
    position: relative;
    pointer-events: none;
}

.download-disabled::after {
    content: "Скоро...";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 12px;
    z-index: 10;
}

.download-btn.disabled {
    background: #6c757d !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

.update-notice {
    background: rgba(108, 92, 231, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 25px 0;
}

.update-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(108, 92, 231, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.update-content h4 {
    color: var(--primary-light);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.update-content p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.download-top-btn-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.download-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.download-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(108, 92, 231, 0.4);
    text-decoration: none;
    color: white;
}

.download-top-btn i {
    font-size: 1.2rem;
}
/* delete after release */