/* ==========================================================================
   Sassy Square - Google Customer Reviews Section Styling
   ========================================================================== */

.sassy-google-reviews-sec {
    position: relative;
    padding: 100px 0;
    background: #17181b;
    overflow: hidden;
}

.sassy-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(144, 71, 255, 0.12);
    border: 1px solid rgba(144, 71, 255, 0.3);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #dfd4fa;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.sassy-google-badge .google-g-icon {
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================================================
   Sleek Google Reviews Scoreboard Badge (Without Harsh Outline / Contour)
   ========================================================================== */

.sassy-ticket-wrap {
    perspective: 1200px;
    display: inline-flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 480px;
}

.sassy-ticket-card {
    position: relative;
    width: 480px;
    max-width: 100%;
    height: 215px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(28, 16, 50, 0.95) 0%, rgba(15, 8, 30, 0.98) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(144, 71, 255, 0.15);
    transform-style: preserve-3d;
    will-change: transform;
    user-select: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.12s ease-out;
}

.sassy-ticket-bg {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
    pointer-events: none;
}

.sassy-ticket-divider {
    position: absolute;
    left: 65%;
    top: 18px;
    bottom: 18px;
    width: 2px;
    border-left: 2px dashed rgba(216, 180, 254, 0.35);
    pointer-events: none;
}

.sassy-ticket-shine {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: radial-gradient(circle 220px at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 255, 255, 0.2), transparent 70%);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
    transition: opacity 0.3s ease;
}

.sassy-ticket-content {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 3;
}

.sassy-ticket-left {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    text-align: center;
}

.sassy-ticket-score {
    font-size: 80px;
    font-weight: 800;
    line-height: 0.92;
    color: #ffffff;
    letter-spacing: -2px;
    margin: 0;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.4), 0 0 40px rgba(168, 85, 247, 0.55);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sassy-ticket-stars {
    display: flex;
    gap: 7px;
    margin: 8px 0 6px 0;
}

.sassy-ticket-stars svg {
    width: 24px;
    height: 24px;
    fill: #f59e0b;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.7));
}

.sassy-ticket-meta {
    font-size: 13.5px;
    line-height: 1.35;
    color: #c4b5fd;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sassy-ticket-meta strong {
    color: #ffffff;
    font-size: 15.5px;
    display: block;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.sassy-ticket-right {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 18px;
    gap: 14px;
}

.sassy-ticket-google-logo {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
    transition: transform 0.3s ease;
}

.sassy-ticket-card:hover .sassy-ticket-google-logo {
    transform: scale(1.08);
}

.sassy-ticket-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    background: linear-gradient(135deg, #d946ef 0%, #a855f7 50%, #7e22ce 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.28);
    transition: all 0.25s ease;
    white-space: normal;
}

.sassy-ticket-btn span {
    display: block;
}

.sassy-ticket-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(217, 70, 239, 0.85), inset 0 1px 2px rgba(255, 255, 255, 0.85);
    color: #ffffff !important;
}

.sassy-ticket-btn:active {
    transform: scale(0.98);
}

/* Individual Review Card */
.sassy-review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 22, 54, 0.75) 0%, rgba(18, 13, 34, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(144, 71, 255, 0.22);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.sassy-review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(144, 71, 255, 0.6);
    box-shadow: 0 20px 45px rgba(144, 71, 255, 0.2), 0 0 20px rgba(144, 71, 255, 0.1);
}

.sassy-review-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding-right: 28px;
}

.sassy-review-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.sassy-review-author {
    flex: 1;
    overflow: hidden;
}

.sassy-review-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
    line-height: 1.25;
}

.sassy-review-badge {
    font-size: 12px;
    color: #38ef7d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sassy-review-badge i {
    font-size: 11px;
}

.sassy-review-google-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: transform 0.25s ease;
}

.sassy-review-card:hover .sassy-review-google-badge {
    transform: scale(1.1);
}

.sassy-review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sassy-review-stars {
    display: flex;
    gap: 3px;
}

.sassy-review-stars i {
    color: #ffb400;
    font-size: 13px;
    filter: drop-shadow(0 0 3px rgba(255, 180, 0, 0.4));
}

.sassy-review-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.sassy-review-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
    flex: 1;
}

/* Bottom CTA Banner */
.sassy-reviews-bottom-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(144, 71, 255, 0.08);
    border: 1px dashed rgba(144, 71, 255, 0.35);
    border-radius: 16px;
    padding: 24px 32px;
    backdrop-filter: blur(8px);
}

.sassy-reviews-bottom-text h4 {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.sassy-reviews-bottom-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.sassy-google-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #1a1230;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.sassy-google-pill-btn i.fab {
    color: #4285F4;
    font-size: 16px;
}

.sassy-google-pill-btn:hover {
    background: #9047ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(144, 71, 255, 0.45);
}

.sassy-google-pill-btn:hover i.fab {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .sassy-ticket-wrap {
        margin-top: 25px;
        justify-content: center;
    }
    .sassy-reviews-bottom-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .sassy-google-pill-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .sassy-ticket-wrap {
        max-width: 100%;
        margin-top: 20px;
    }
    .sassy-ticket-card {
        height: auto;
        aspect-ratio: 500 / 220;
    }
    .sassy-ticket-score {
        font-size: 52px;
    }
    .sassy-ticket-stars svg {
        width: 16px;
        height: 16px;
    }
    .sassy-ticket-stars {
        gap: 3px;
        margin: 4px 0;
    }
    .sassy-ticket-meta {
        font-size: 11px;
    }
    .sassy-ticket-meta strong {
        font-size: 12px;
    }
    .sassy-ticket-google-logo {
        width: 38px;
        height: 38px;
    }
    .sassy-ticket-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
    .sassy-ticket-right {
        gap: 8px;
        padding-right: 8px;
    }
}
