.reviews-section {
    background: linear-gradient(rgba(201, 106, 43, 0.3), rgb(252, 246, 243)), url('visuals/Template.png') no-repeat center center;
    background-size: cover;
    padding: 50px 0 0;
    /* keep page full height inside the section without forcing body-wide changes */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    user-select: none;
}

.reviews-section .container {
    /* match global .container width for consistent layout */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    position: relative;
    z-index: 60;
}

.reviews-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0; /* no top overlay */
    background: none;
    pointer-events: none;
    z-index: 0;
}

.reviews-section::after {
    /* removed the large bottom white fade so visuals match portfolio hero */
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: none;
    pointer-events: none;
    z-index: 50;
}

.reviews-section.debug::before,
.reviews-section.debug::after {
    background: rgba(0, 255, 0, 0.25) !important;
    z-index: 9999 !important;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 5;
    align-content: start;
    flex: 1 0 auto;
}

.review-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg, rgba(0, 0, 0, 0.04));
    color: black;
    border-radius: 12px;
    padding: 20px;
    min-height: 100px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    flex-wrap: wrap;
}

.review-pfp {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid black;
    flex-shrink: 0;
}

.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 17px;
}

.review-date {
    font-size: 16px;
    opacity: 1;
    font-family: "Ubuntu", sans-serif;
    font-weight: 350;
    font-style: normal;
    color: black;
}

.review-text {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    max-width: 100%;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
    opacity: 0.75;
    overflow-wrap: anywhere;
    color: #000;
}

.review-card.featured .review-text {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.85;
    color: #000;
}

.top-comment {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 90%);
    padding: 30px;
    background: linear-gradient(
        to bottom,
        rgba(50, 96, 167, 0.2),
        rgba(255,255,255,0)
    );
    backdrop-filter: blur(3.5px);
    border-radius: 15px;
    text-align: left;
    z-index: 9999999;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-comment:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 10px 20px rgba(12, 96, 151, 0.226);
}

.pfp-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.meta-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.text-top {
    font-size: 14px;
}

.more-soon {
    text-align: center;
    color: rgba(0, 0, 0, 0.98);
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 4vw, 48px);
    margin: 32px auto 80px;
    opacity: 0.98;
    letter-spacing: 0.6px;
}

.reviews-hero {
    padding: 250px 0 80px;
    text-align: center;
}

.reviews-hero .section-title {
    font-size: 48px;
    margin-bottom: 40px;
    position: relative;
}

.reviews-hero .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: var(--primary-color);
}

.reviews-hero .section-subtitle {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .top-comment {
        width: 90%;
    }
    .more-soon {
        font-size: clamp(18px, 5vw, 36px);
        margin-top: 20px;
        margin-bottom: 48px;
    }
}