/* Стили для страницы игры - компактный дизайн */

/* Компактный заголовок */
.game-header-compact {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.game-title-compact {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.game-report-btn-container {
    flex-shrink: 0;
}

.game-report-icon-btn {
    padding: 0.25rem;
    color: #dc3545;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-report-icon-btn:hover {
    color: #c82333;
    transform: scale(1.1);
}

.game-report-icon-btn svg {
    display: block;
}

/* Стили для рейтинга */
.game-rating-section {
    margin-top: 0.5rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.rating-stars .star {
    font-size: 1.25rem;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.rating-stars .star i {
    display: block;
}

.rating-stars .star.active {
    color: #ffc107;
}

.rating-stars .star.hover {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-stars .star:not(.active):hover {
    color: #ffd54f;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.rating-average {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1rem;
}

.rating-count {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Стили для комментариев */
.game-comments-button {
    text-align: center;
    padding: 1rem 0;
}

.game-comments-preview {
    border-top: 2px solid #e9ecef;
    margin-top: 3rem;
    padding-top: 2rem;
}

.comments-preview-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-count {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
}

/* Профиль автора */
.author-profile-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.author-profile-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.author-profile-link:hover {
    color: #ff6b35;
}

.author-avatar-square {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #1a1a1a;
}

.author-role {
    font-size: 0.875rem;
    margin: 0;
}

/* Атрибуты в сайдбаре */
.game-attributes-sidebar {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.sidebar-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
}

.game-meta-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.meta-item-sidebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.meta-item-sidebar:hover {
    background: #ff6b35;
    color: #ffffff;
    text-decoration: none;
}

.meta-item-sidebar i {
    font-size: 0.875rem;
}

.game-views-sidebar {
    cursor: default;
    border: 1px solid #e9ecef;
}

.game-views-sidebar:hover {
    background: #f8f9fa;
    color: #495057;
}

/* Похожие игры */
.similar-games-sidebar {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
}

.similar-games-section {
    margin-top: 0;
}

.similar-games-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
}

.similar-games-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.similar-game-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.75rem;
}

.similar-game-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.similar-game-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.similar-game-link:hover {
    background: #f8f9fa;
    color: #ff6b35;
    text-decoration: none;
}

.similar-game-content {
    flex-grow: 1;
}

.similar-game-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #1a1a1a;
}

.similar-game-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.similar-game-arrow {
    color: #6c757d;
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.similar-game-link:hover .similar-game-arrow {
    color: #ff6b35;
}

/* Остальные стили из оригинального файла */
.game-content-compact {
    padding-left: 2rem;
    padding-right: 2rem;
}

.game-description {
    margin-bottom: 2rem;
}

.game-description-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}

.game-navigation {
    border-top: 2px solid #e9ecef;
    padding-top: 2rem;
    margin-top: 3rem;
}

.game-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease;
    max-width: 45%;
}

.game-nav-btn:hover {
    background: #ff6b35;
    color: #ffffff;
    text-decoration: none;
}

.game-nav-prev {
    flex-direction: row;
}

.game-nav-next {
    flex-direction: row-reverse;
}

.game-nav-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.game-nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.game-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.game-nav-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.game-nav-placeholder {
    width: 45%;
}

.no-comments-message {
    text-align: center;
    padding: 2rem 0;
}

/* Адаптивность */
@media (max-width: 991px) {
    .game-header-compact,
    .game-content-compact {
        padding-left: 0;
        padding-right: 0;
    }
    
    .author-profile-card,
    .game-attributes-sidebar,
    .similar-games-sidebar {
        margin-top: 2rem;
    }
}
