.review-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2em 0;
    color: white;
}

.review-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow: hidden;
    transition: margin 0.3s ease;
}

.review {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 8px;
    flex: 1;
    min-width: 0; /* Allows flex items to shrink below content size */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    transition: transform 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
}

.review .player-item {
    flex-shrink: 0;
    margin-right: 12px;
    width: 70px; /* Match the width from player-grid */
}

.review .player-item img {
    width: auto;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 4));
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.review .player-name {
    font-weight: bold;
    font-size: 1em;
    margin: 0 0 4px 0;
    line-height: 1;
}

.review-text {
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

.review-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    transition: left 0.3s ease, right 0.3s ease;
    z-index: 2;
}

.review-navigation.left {
    left: -60px;
}

.review-navigation.right {
    right: -60px;
}

.nav-arrow {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-top: 3px solid white;
    border-right: 3px solid white;
}

.nav-arrow.left::before {
    transform: translate(-25%, -50%) rotate(-135deg);
}

.nav-arrow.right::before {
    transform: translate(-75%, -50%) rotate(45deg);
}

.nav-arrow:hover {
    opacity: 0.8;
}

@media (max-width: 1020px) {
    .review-navigation.left {
        left: 0;
    }
    .review-navigation.right {
        right: 0;
    }
    .review-grid {
        margin: 0 50px;
        width: calc(100% - 100px);
    }
    .review:nth-child(3) {
        display: none;
    }
}

@media (max-width: 600px) {
    .review:nth-child(2) {
        display: none;
    }
}

.review-img-placeholder {
    width: 80px;
    height: 160px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}
