/* style.css — современный минималистичный стиль для stativka.ru */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf2 100%);
    min-height: 100vh;
    color: #1a1e24;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Шапка */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #2d3e50, #1a2a3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* Секции */
.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Сетка карточек */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Карточка проекта */
.card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.card-dev {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #e9eef2;
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: rgba(66, 153, 225, 0.3);
}

/* Иконка */
.card-icon {
    font-size: 2.5rem;
    background: #f1f5f9;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.card:hover .card-icon {
    background: #e2e8f0;
}

/* Контент карточки */
.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-content p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.card-link {
    font-size: 0.85rem;
    color: #4299e1;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.card:hover .card-link {
    opacity: 1;
}

/* Специальный стиль для игр (можно добавить лёгкий оттенок) */
.game-card {
    background: white;
}

/* Для неактивной карточки "Скоро" */
.card.disabled {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.3);
}

.card.disabled .card-icon {
    background: #e9eef2;
}

/* Футер */
.footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: #718096;
    font-size: 0.9rem;
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
    .header h1 {
        font-size: 2.2rem;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}