* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Блок 1: Шапка */
.header-block {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    justify-content: center;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 25%;
    object-fit: cover;
    border: 2px solid #007bff;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.name-title {
    text-align: left;
}

.name-title h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 8px;
}

.name-title h2 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 0;
}

.profile-info h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.profile-info h2 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Блок 2: Обо мне */
.about-block {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-block h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
}

.about-block p {
    font-size: 1.6rem;
    color: #333;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* Блоки 3 и 4: Игры и Фильмы */
.games-films-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.games-block {
    background: rgba(0, 123, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 15px;
    color: white;
}

.games-block h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.games-list {
    list-style: none;
}

.games-list li {
    font-size: 1.6rem;
    padding: 18px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-weight: 500;
}

.games-list li:last-child {
    border-bottom: none;
}

.steam-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid rgba(255,255,255,0.3);
}

.steam-btn {
    display: inline-block;
    background: white;
    color: #007bff;
    padding: 15px 30px; 
    border-radius: 30px; 
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.3rem; 
}

.steam-icon {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: white;
    padding: 5px;
}

.steam-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.films-block {
     background: rgba(255, 255, 255, 0.25);
     backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.films-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.films-grid img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Блок 5: Портфолио */
.portfolio-block {
    background: rgba(255, 255, 255, 0.25);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.portfolio-block h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #e9ecef;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: #007bff;
}

.portfolio-image {
    width: 100%; 
    height: 200px; 
    object-fit: cover;
    display: block;
}

.portfolio-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 15px 0 8px 0;
    padding: 0 15px;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}

.portfolio-item p {
    padding: 0 15px 15px 15px;
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}


