/* Bookim — Yorumlar (yalnızca UI) */

.comments-page {
    --cm-theme: var(--theme, #ff7b6b);
    --cm-theme-strong: #ff3b3b;
    --cm-header: #0b1026;
    --cm-text: var(--text, #797979);
    --cm-border: #eef0f5;
    --cm-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
    --cm-paper: #fff;
    --cm-star: #fbbf24;
    background: linear-gradient(180deg, #fffdf9 0%, #fff 28%, #f8fafc 100%);
    overflow: hidden;
}

.comments-page__bg-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image: none;
    background-size: 26px 26px;
}

.comments-page__bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    opacity: 0.42;
}

.comments-page__bg-blob--1 {
    width: 300px;
    height: 300px;
    top: 8%;
    right: -50px;
    background: rgba(255, 180, 140, 0.2);
}

.comments-page__bg-blob--2 {
    width: 260px;
    height: 260px;
    left: -40px;
    bottom: 15%;
    background: rgba(167, 139, 250, 0.16);
}

/* Hero */

.comments-hero {
    position: relative;
    padding: 3.25rem 0 2rem;
}

.comments-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    opacity: 0.48;
}

.comments-hero__blob--1 {
    width: 280px;
    height: 280px;
    top: -60px;
    left: -40px;
    background: linear-gradient(135deg, rgba(255, 123, 107, 0.16), rgba(255, 247, 237, 0.18));
}

.comments-hero__blob--2 {
    width: 240px;
    height: 240px;
    top: 20px;
    right: 8%;
    background: linear-gradient(135deg, rgba(139, 124, 246, 0.12), rgba(96, 165, 250, 0.1));
}

.comments-hero__inner {
    position: relative;
    z-index: 1;
}

.comments-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    background: rgba(255, 123, 107, 0.11);
    color: var(--cm-theme-strong);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.comments-hero__title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    color: var(--cm-header);
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.comments-hero__title::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin-top: 0.85rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--cm-theme-strong), var(--cm-theme));
}

.comments-hero__lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--cm-text);
    max-width: 34rem;
    margin: 0;
}

/* Hero illüstrasyon */

.comments-illustration {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comments-illustration__stage {
    position: relative;
    width: min(100%, 360px);
    height: 280px;
}

.comments-illustration__quote {
    position: absolute;
    top: 6%;
    left: 32%;
    font-size: 4rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: rgba(255, 59, 59, 0.16);
    z-index: 1;
}

.comments-illustration__bubble {
    position: absolute;
    background: var(--cm-paper);
    border: 1px solid var(--cm-border);
    border-radius: 16px;
    box-shadow: var(--cm-shadow);
    padding: 0.55rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--cm-header);
    z-index: 3;
}

.comments-illustration__bubble--1 {
    top: 14%;
    left: 6%;
    transform: rotate(-4deg);
    background: linear-gradient(145deg, #fff, #fef3c7);
}

.comments-illustration__bubble--2 {
    top: 28%;
    right: 6%;
    transform: rotate(5deg);
    background: linear-gradient(145deg, #fff, #e0e7ff);
}

.comments-illustration__bubble--1::after,
.comments-illustration__bubble--2::after {
    content: "";
    position: absolute;
    bottom: -7px;
    width: 12px;
    height: 12px;
    background: inherit;
    border-right: 1px solid var(--cm-border);
    border-bottom: 1px solid var(--cm-border);
    transform: rotate(45deg);
}

.comments-illustration__bubble--1::after { left: 16px; }
.comments-illustration__bubble--2::after { right: 16px; }

.comments-illustration__stars {
    position: absolute;
    top: 4%;
    right: 22%;
    font-size: 0.7rem;
    color: rgba(251, 191, 36, 0.75);
    letter-spacing: 0.2rem;
    z-index: 2;
}

.comments-illustration__avatar {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: var(--cm-shadow);
    z-index: 4;
}

.comments-illustration__avatar--1 {
    left: 18%;
    bottom: 22%;
    background: #5b9fd4;
}

.comments-illustration__avatar--2 {
    left: 42%;
    bottom: 12%;
    background: #8b7cf6;
}

.comments-illustration__avatar--3 {
    right: 14%;
    bottom: 20%;
    background: #4cb88a;
}

.comments-illustration__chat {
    position: absolute;
    right: 6%;
    bottom: 10%;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--cm-header);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--cm-shadow);
    z-index: 5;
}

/* Bölüm başlığı */

.comments-section-head {
    margin-bottom: 1.75rem;
}

.comments-section-head h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: var(--cm-header);
    margin-bottom: 0.35rem;
}

.comments-section-head p {
    color: var(--cm-text);
    margin: 0;
    font-size: 0.9375rem;
}

/* Öne çıkan yorum */

.comments-featured {
    margin-bottom: 2.75rem;
}

.comments-featured__card {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #fff9f5 45%, #f5f3ff 100%);
    border: 1px solid var(--cm-border);
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--cm-shadow);
    overflow: hidden;
}

.comments-featured__card::before {
    content: "\201C";
    position: absolute;
    top: -6px;
    left: 18px;
    font-size: 5.5rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: rgba(255, 59, 59, 0.1);
    pointer-events: none;
}

.comments-featured__text {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--cm-header);
    margin: 0 0 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comments-featured__footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    z-index: 1;
}

.comments-featured__stars {
    display: inline-flex;
    gap: 0.15rem;
    margin-bottom: 0.65rem;
    opacity: 0.45;
}

.comments-featured__stars i {
    font-size: 0.7rem;
    color: var(--cm-star);
}

/* Avatar */

.comments-avatar {
    --cm-avatar-bg: #5b9fd4;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--cm-avatar-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.1);
}

.comments-avatar--sm {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
}

.comments-avatar--lg {
    width: 56px;
    height: 56px;
    font-size: 1.15rem;
}

.comments-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comments-avatar__initial {
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}

/* Grid kartları */

.comments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.comments-card {
    --cm-card-accent: #ff7b6b;
    display: flex;
    flex-direction: column;
    background: var(--cm-paper);
    border: 1px solid var(--cm-border);
    border-radius: 22px;
    padding: 1.25rem 1.2rem 1.15rem;
    box-shadow: var(--cm-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    animation: commentsFadeUp 0.48s ease both;
    min-height: 100%;
}

.comments-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
    border-color: color-mix(in srgb, var(--cm-card-accent) 22%, var(--cm-border));
}

.comments-card__quote-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--cm-card-accent) 10%, #fff);
    color: var(--cm-card-accent);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--cm-border);
}

.comments-card__stars {
    display: inline-flex;
    gap: 0.12rem;
    margin-bottom: 0.65rem;
    opacity: 0.38;
}

.comments-card__stars i {
    font-size: 0.62rem;
    color: var(--cm-star);
}

.comments-card__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--cm-header);
    margin: 0 0 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comments-card__footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--cm-border);
    margin-top: auto;
}

.comments-card__author {
    min-width: 0;
}

.comments-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--cm-header);
    line-height: 1.3;
    margin: 0;
}

.comments-card__meta {
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--cm-text);
    margin: 0.15rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Boş durum */

.comments-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border-radius: 24px;
    background: var(--cm-paper);
    border: 1px dashed var(--cm-border);
    box-shadow: var(--cm-shadow);
}

.comments-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 123, 107, 0.1);
    color: var(--cm-theme);
    font-size: 1.75rem;
    border: 1px solid var(--cm-border);
}

.comments-empty__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cm-header);
    margin-bottom: 0.35rem;
}

.comments-empty__text {
    font-size: 0.9375rem;
    color: var(--cm-text);
    margin: 0;
}

@keyframes commentsFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .comments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comments-illustration {
        margin-top: 1.5rem;
        min-height: 260px;
    }
}

@media (max-width: 767.98px) {
    .comments-grid {
        grid-template-columns: 1fr;
    }

    .comments-hero {
        padding-top: 2.25rem;
    }
}
