:root {
    --primary-dark: #0a0a1a;
    --secondary-dark: #12121f;
    --primary-purple: #8b5cf6;
    --secondary-purple: #7c3aed;
    --accent-purple: #c4b5fd;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --text-light: #ffffff;
    --text-gray: #94a3b8;
}

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

/* Градиентный фон */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.gradient-1,
.gradient-2,
.gradient-3 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: gradientMove 20s infinite alternate;
}

.gradient-1 {
    background: var(--accent-purple);
    top: -100px;
    left: -100px;
}

.gradient-2 {
    background: var(--accent-pink);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.gradient-3 {
    background: var(--accent-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes gradientMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

/* Базовые стили */
body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 5rem; 
    position: relative;
    z-index: 1;
}

/* Заголовок и подзаголовок */
h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Стили для страницы установки */
.installation-guide {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.platform-section {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--primary-purple);
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.platform-section::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 9px;
    height: 9px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-cyan);
}

.platform-section:hover {
    border-left-color: var(--accent-pink);
    transform: translateX(10px);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--primary-purple));
}

.platform-title {
    font-size: 2rem;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Оформление блока с кодом */
.code-block {
    background: var(--secondary-dark);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
    position: relative;
    overflow-x: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-block:hover {
    border-color: var(--accent-purple);
    background: rgba(20, 20, 40, 0.7);
}

.code-block::before {
    content: '📋';
    position: absolute;
    right: 15px;
    top: 10px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.code-block:hover::before {
    opacity: 1;
}

/* Предупреждение */
.warning {
    color: #ff4757;
    border-left: 3px solid #ff4757;
    padding-left: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* Кнопка */
.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--primary-purple), var(--accent-pink));
    color: var(--text-light);
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

/* Список шагов */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    counter-reset: step-counter;
    margin: 1.5rem 0;
}

.step-item {
    counter-increment: step-counter;
    position: relative;
    padding-left: 2.5rem;
}

.step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: var(--secondary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-light);
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-dark);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--primary-purple);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-notification.show {
    opacity: 1;
    visibility: visible;
}

/* Адаптивность */
@media (max-width: 768px) {
    .platform-title {
        font-size: 1.5rem;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

.link {
    color: var(--accent-pink);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.link:hover::after {
    width: 100%;
}