/* =========================================
   Power Modding Review Section
   ========================================= */

.pm-reviews-section {
    background-color: #0a0a0a; /* Matches your dark theme */
    padding: 80px 0;
}

/* Grid Layout */
.pm-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 30px;
    margin-top: 40px;
}

/* Card Styling */
.pm-review-card {
    background-color: #111111; /* Slightly lighter card bg */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensures all cards are same height */
}

/* Hover Effect: Lift & Glow */
.pm-review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary); /* Red Border on Hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Stars */
.pm-stars {
    color: #fbbf24; /* Classic Gold for stars */
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* Review Text */
.pm-review-text {
    color: var(--text-gray); /* #a1a1a1 */
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1; /* Pushes author to bottom */
}

/* Author Section */
.pm-review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* Avatar - Two Options (Image or Initials) */
.pm-author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
}

.pm-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #222;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Author Info Text */
.pm-author-info {
    display: flex;
    flex-direction: column;
}

.pm-author-name {
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.95rem;
}

.pm-verified-badge {
    color: var(--primary); /* Red checkmark text */
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
    .pm-reviews-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 24px;
    }

    .pm-review-card {
        padding: 24px;
    }
}