﻿.reviews-section-light {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(255,255,255,0.95), transparent 15%), linear-gradient(180deg, #e6ebf1 0%, #dbe2ea 100%);
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1b1b1b;
    position: relative;
    overflow: hidden;
}
/* ===== Card Golden Shimmer ===== */
.review-card-light {
    position: relative;
    overflow: hidden;
}

    .review-card-light::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 120deg, rgba(246, 223, 190, 0.05), rgba(246, 223, 190, 0.15), rgba(246, 223, 190, 0.05) );
        transform: rotate(25deg);
        pointer-events: none;
        animation: shimmerSlide 6s linear infinite;
        border-radius: 22px;
    }

/* Shimmer animation */
@keyframes shimmerSlide {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }

    100% {
        transform: translateX(100%) rotate(25deg);
    }
}
/* Actions */
.action-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 260px;
    align-items: stretch;
}

.google-g-icon {
    padding-right: 10px;
}
/* ===== Card ===== */
.review-card-light {
    width: 100%;
    max-width: 820px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(22px) saturate(130%);
    border-radius: 22px;
    padding: 36px 40px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    transform: translateY(28px);
    opacity: 0;
    animation: cardIn 800ms cubic-bezier(.2,.9,.3,1) forwards;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .review-card-light:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 40px 100px rgba(0,0,0,0.18), 0 12px 32px rgba(0,0,0,0.12);
    }

/* ===== Ribbon ===== */
.ribbon-light {
    position: absolute;
    top: -10px;
    right: -40px;
    transform: rotate(22deg);
    background: linear-gradient(90deg, #f6d36b, #ffdd88);
    color: #4a2e00;
    font-weight: 800;
    padding: 6px 56px;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(246,211,107,0.2);
    letter-spacing: 1px;
    font-size: 0.95rem;
    z-index: 3;
    text-transform: uppercase;
    animation: ribbonBounce 1.4s ease-in-out infinite alternate;
}

/* ===== Header ===== */
.card-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.header-title {
    font-size: 1.95rem;
    font-weight: 800;
    color: #1b1b1b;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.subtle-line {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f6d36b, #ffeaa3);
    box-shadow: 0 4px 12px rgba(246,211,107,0.2);
    animation: shimmer 2s infinite linear;
}

/* ===== Rating ===== */
.rating-content {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.rating-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-score {
    font-size: 4.5rem;
    font-weight: 900;
    color: #1b1b1b;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.star-display {
    display: flex;
    gap: 6px;
    margin-top: 0;
}


.star-icon {
    font-size: 2rem;
    color: #ffd86b;
    text-shadow: 0 0 8px rgba(255,216,107,0.5);
    transform-origin: center;
    transition: transform 220ms ease, text-shadow 220ms ease;
}

    .star-icon:nth-child(1) {
        animation: starPulse 2.6s infinite 0s;
    }

    .star-icon:nth-child(2) {
        animation: starPulse 2.6s infinite 0.15s;
    }

    .star-icon:nth-child(3) {
        animation: starPulse 2.6s infinite 0.3s;
    }

    .star-icon:nth-child(4) {
        animation: starPulse 2.6s infinite 0.45s;
    }

    .star-icon:nth-child(5) {
        animation: starPulse 2.6s infinite 0.6s;
    }

@keyframes starPulse {
    0%,100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(255,216,107,0));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 6px 18px rgba(255,216,107,0.25));
    }
}

/* ===== Actions ===== */





/* ===== Animations ===== */
@keyframes cardIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ribbonBounce {
    0% {
        transform: rotate(22deg) translateY(0);
    }

    100% {
        transform: rotate(25deg) translateY(-2px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -72px;
    }

    100% {
        background-position: 72px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .rating-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
    }

    .action-area {
        min-width: 100%;
        width: 100%;
    }

    .review-card-light {
        padding: 28px;
    }

    .ribbon-light {
        right: -28px;
        top: -8px;
        padding: 5px 44px;
        transform: rotate(18deg);
    }
}

@media (max-width: 600px) {

    .review-card-light, .action-area {
        display: flex;
        flex-direction: column;
        align-items: center; /* centers buttons horizontally */
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 100%; /* ensures buttons don't overflow */
        box-sizing: border-box;
    }
}
