/* Основные стили */
.project {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Широкие секции */
.wide-section {
    width: 100%;
    max-width: none;
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 2rem;
}

.wide-text {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Заголовок проекта */
.project-header {
    margin-bottom: 3rem;
    text-align: center;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.project-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.project-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.meta-item {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
}

/* Медиа контент */
.media-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

.video-container {
    margin: 2rem 0 3rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshots-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.screenshots-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Двухколоночная секция */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

/* Список обязанностей */
.responsibilities-list {
    list-style: none;
    padding-left: 0;
}

.responsibilities-list li {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.responsibilities-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.highlight {
    font-weight: 600;
    color: var(--primary-color);
}

/* Технологии */
.tech-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-item {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.tech-item:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* Кнопка Steam */
.project-footer {
    text-align: center;
    margin: 4rem 0 2rem;
}

.steam-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.steam-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.steam-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M11.979 0C5.678 0 .511 4.86.022 11.037l6.432 2.658c.545-.371 1.203-.566 1.912-.566.073 0 .145.003.218.006l2.384-3.452V7.792c0-.852.692-1.545 1.545-1.545.852 0 1.545.692 1.545 1.545v1.365l3.985 1.642c.477-.246.99-.374 1.529-.374.073 0 .146.003.219.006l4.296-6.216C23.144 5.414 18.299 0 11.979 0zM7.354 14.091l-5.466 2.258C4.1 20.181 7.712 24 11.979 24c4.336 0 7.989-2.936 9.078-6.916l-3.734-1.538c-.764 2.086-2.738 3.56-5.052 3.56-1.717 0-3.24-.85-4.165-2.146l-3.772 1.131z"/></svg>') center/contain no-repeat;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .project-header h1 {
        font-size: 2.5rem;
    }
    
    .two-column-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .project {
        padding: 0 1rem;
    }
    
    .wide-section {
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 1.5rem;
    }
    
    .project-header h1 {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1.2rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .meta-item,
    .tech-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .project-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .steam-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}