/* Специфичные стили для страницы профиля мастера */

.master-header {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.master-photo {
    flex: 0 0 300px;
    height: 300px;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid #ff3333;
}

.master-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-info {
    flex: 1;
}

.master-name {
    font-family: 'EB Garamond', serif;
    font-size: 36px;
    color: #fff;
    margin: 0 0 10px;
}

.master-nickname {
    color: #ff3333;
    font-size: 24px;
    margin-bottom: 20px;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.stars {
    color: #ffcc00;
    font-size: 24px;
    margin-right: 10px;
}

.rating-value {
    font-size: 20px;
    margin-right: 10px;
}

.reviews-count {
    color: #a0a0a0;
    font-size: 14px;
}

.master-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    margin-bottom: 10px;
}

.detail-label {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 16px;
}

.master-description {
    margin-bottom: 40px;
    line-height: 1.8;
}

.section-title {
    font-family: 'EB Garamond', serif;
    font-size: 28px;
    color: #fff;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.game-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s;
}

.game-card:hover {
    border-color: #ff3333;
    transform: translateY(-5px);
}

.game-title {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    color: #fff;
    margin: 0 0 10px;
}

.game-date {
    color: #ff3333;
    font-size: 14px;
    margin-bottom: 10px;
}

.game-description {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.reviews-list {
    margin-bottom: 50px;
}

.review {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 3px solid #ff3333;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
}

.review-date {
    color: #a0a0a0;
    font-size: 14px;
}

.review-rating {
    color: #ffcc00;
    margin: 5px 0;
}

.review-text {
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .master-header {
        flex-direction: column;
    }
    .master-photo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .master-details {
        grid-template-columns: 1fr;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
}
