/* data/style.css - Тёмная тема с градиентным фоном */

/* Базовые сбросы и настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    transition: all 0.3s ease;
}

/* Заголовок сайта */
h1 {
    text-align: center;
    margin: 30px 0 20px;
    color: #ffffff;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

h1 img {
    vertical-align: middle;
    margin-left: 10px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

/* Навигация */
h3 {
    text-align: center;
    margin: 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h3 a {
    color: #64b5f6;
    text-decoration: none;
    margin: 0 15px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

h3 a:hover {
    background-color: #64b5f6;
    color: #121212;
}

/* Заголовки разделов */
h2 {
    color: #ffffff;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #64b5f6;
    font-size: 1.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Список социальных сетей с иконками */
ul.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

ul.social-list h3 {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: none;
    padding: 0;
    color: #bbbbbb;
}

ul.social-list > li {
    margin: 0;
    padding: 0;
}

ul.social-list > li:before {
    display: none;
}

/* Ссылки социальных сетей с иконками */
.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(145deg, #2d2d2d, #252525);
    border-radius: 10px;
    text-decoration: none;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 180px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2),
                -5px -5px 10px rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3),
                -8px -8px 15px rgba(255, 255, 255, 0.05),
                0 0 20px rgba(100, 181, 246, 0.1);
}

/* Иконки социальных сетей - светлые по умолчанию */
.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1); /* Делаем иконки белыми */
    opacity: 0.9;
}

.social-link:hover .social-icon {
    filter: brightness(0) invert(1); /* Оставляем белыми при наведении */
    opacity: 1;
}

/* Цвета для конкретных соцсетей при наведении */
.social-link[href*="youtube"]:hover {
    background: linear-gradient(145deg, #ff0000, #cc0000);
    color: white;
    border-color: #ff0000;
}

.social-link[href*="steam"]:hover {
    background: linear-gradient(145deg, #00adee 0%, #0078b6 100%);
    color: white;
    border-color: #00adee;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3),
                -8px -8px 15px rgba(255, 255, 255, 0.05),
                0 0 20px rgba(0, 173, 238, 0.3);
}

.social-link[href*="reddit"]:hover {
    background: linear-gradient(145deg, #ff4500, #cc3700);
    color: white;
    border-color: #ff4500;
}

/* Стили для текста ссылок */
.social-text {
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover .social-text {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Блок с устройствами */
ul:last-of-type {
    background: linear-gradient(145deg, #2d2d2d, #252525);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2),
                -5px -5px 10px rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

ul:last-of-type li {
    font-family: 'Courier New', monospace;
    padding: 10px 0;
    color: #cccccc;
    margin-left: 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

ul:last-of-type li:last-child {
    border-bottom: none;
}

ul:last-of-type li:before {
    content: ">";
    color: #64b5f6;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

ul:last-of-type li:hover {
    color: #ffffff;
    padding-left: 5px;
    text-shadow: 0 0 5px rgba(100, 181, 246, 0.3);
}

/* Футер */
h6 {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
    font-weight: normal;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h3 a {
        display: inline-block;
        margin: 5px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    h3 a:hover {
        background-color: #64b5f6;
        color: #121212;
    }
    
    .social-link {
        min-width: 160px;
        padding: 10px 16px;
    }
    
    ul:last-of-type {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    ul.social-list {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem;
    }
    
    h3 a {
        display: block;
        margin: 8px 0;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .social-link {
        padding: 12px;
    }
    
    .social-text {
        font-size: 1rem;
    }
}

/* Эффекты при наведении для всех ссылок */
a {
    transition: all 0.2s ease;
}

/* Плавные переходы */
body, h1, h2, h3, ul, li, a {
    transition: all 0.3s ease;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #2d2d2d, #1a1a1a);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #444, #333);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #555, #444);
}