/* =====================================================================
   LikedWin — "LikedWin vs Diğer Siteler" karşılaştırması
   Tablo DEĞİL: yeşil (LikedWin) ↔ gri (diğerleri) face-off bantları,
   ortada kriter omurgası, VS rozeti, kayan animasyon + sayan skor.
   site.css değişkenlerini kullanır.
   ===================================================================== */

.compare {
    position: relative;
    padding: clamp(52px, 6vw, 92px) 0 clamp(56px, 6vw, 96px);
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
    overflow: hidden;
}

/* ---------- Başlık ---------- */
.compare__head { text-align: center; max-width: 740px; margin: 0 auto clamp(28px, 3.4vw, 44px); }
.compare__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 15px 6px 7px; margin-bottom: 16px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
    border: 1px solid var(--brand-line);
    box-shadow: 0 4px 14px -6px rgba(37, 68, 216, .28), inset 0 1px 0 #fff;
    font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--brand);
}
.compare__eyebrow i {
    display: inline-grid; place-items: center;
    width: 20px; height: 20px; border-radius: 6px;
    background: var(--brand-soft); color: var(--brand); font-size: 11px;
}
.compare__title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(24px, 3.4vw, 42px); font-weight: 800; line-height: 1.14;
    letter-spacing: -.02em; color: var(--ink); margin: 0 0 12px;
}
.compare__title .win { color: #16a34a; }
.compare__title .lose { color: var(--muted-2); }
.compare__sub { font-size: clamp(14px, 1.5vw, 16px); line-height: 1.6; color: var(--muted); font-weight: 500; margin: 0 auto; max-width: 620px; }

/* ---------- Tahta ---------- */
.compare__board { margin: 0 auto; }

/* 3 sütun: LikedWin | kriter | Diğer */
.compare__cols, .compare__row { display: grid; grid-template-columns: 1fr minmax(140px, 200px) 1fr; }

/* Takım başlıkları */
.compare__cols { align-items: stretch; }
.compare__team {
    position: relative;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px; border-radius: 18px 18px 0 0;
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(16px, 1.8vw, 20px);
}
.compare__team--win {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #0f8a3c 100%);
    color: #fff;
    box-shadow: 0 16px 34px -16px rgba(22, 163, 74, .6);
    animation: cmpWinGlow 3.2s ease-in-out infinite;   /* kazanan nabzı (overflow yok → ÖNERİLEN kırpılmaz) */
}
@keyframes cmpWinGlow {
    0%, 100% { box-shadow: 0 16px 34px -16px rgba(22, 163, 74, .55); }
    50%      { box-shadow: 0 18px 44px -14px rgba(22, 163, 74, .85); }
}
.compare__team--win .lw-mark { width: .95em; height: .95em; }
.compare__team--lose { background: #e9ecf1; color: var(--muted); }
.compare__badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    padding: 3px 12px; border-radius: var(--radius-pill);
    background: #fbbf24; color: #7c4a02; font-size: 10px; font-weight: 800; letter-spacing: .06em;
    box-shadow: 0 6px 14px -4px rgba(245, 158, 11, .6); white-space: nowrap;
}

/* VS rozeti (orta) */
.compare__vs { position: relative; display: grid; place-items: center; }
.compare__vs span {
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--ink); color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .02em;
    box-shadow: 0 10px 24px -8px rgba(16, 24, 40, .5); border: 3px solid #fff;
}

/* Satırlar */
.compare__rows { border-radius: 0 0 18px 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.compare__row { align-items: stretch; }
.compare__row + .compare__row .compare__cell,
.compare__row + .compare__row .compare__crit { border-top: 1px solid rgba(16, 24, 40, .06); }

.compare__cell {
    display: flex; align-items: center; gap: 11px;
    padding: 15px clamp(14px, 1.6vw, 22px);
    font-size: 14px; font-weight: 600; line-height: 1.35;
    opacity: 0;
    transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .25, 1);
    transition-delay: calc(var(--i) * 75ms);
}
.compare__cell i {
    flex: none; display: grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%; font-size: 11px;
}
.compare__cell--win {
    background: #eafaf0; color: #14532d;
    transform: translateX(-26px);
}
.compare__cell--win i { background: #16a34a; color: #fff; }
.compare__cell--lose {
    background: #f5f6f8; color: #7b8494;
    justify-content: flex-end; text-align: right;
    transform: translateX(26px);
}
.compare__cell--lose i { background: #fee2e2; color: #ef4444; order: 2; }
.compare.is-visible .compare__cell { opacity: 1; transform: translateX(0); }

.compare__crit {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    padding: 10px 8px; text-align: center;
    background: #fff;
    font-size: 12.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em;
    opacity: 0; transform: translateY(9px);
    transition: opacity .5s ease, transform .5s ease;
    transition-delay: calc(var(--i) * 75ms + 40ms);
}
.compare__crit i {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
    background: var(--brand-soft); color: var(--brand); font-size: 13px;
}
.compare.is-visible .compare__crit { opacity: 1; transform: translateY(0); }

/* CTA */
.compare__cta { display: flex; justify-content: center; margin-top: clamp(30px, 3.4vw, 46px); }
.compare__cta a {
    display: inline-flex; align-items: center; gap: 10px;
    height: 50px; padding: 0 26px; border-radius: 14px;
    background: var(--brand); color: #fff; font-size: 15px; font-weight: 700;
    box-shadow: 0 14px 32px -12px rgba(37, 68, 216, .55);
    transition: transform var(--ease), background var(--ease);
}
.compare__cta a:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ---------- Responsive: mobilde her satır dikey mini-kart ---------- */
@media (max-width: 720px) {
    .compare__cols { display: none; }
    .compare__rows { border-radius: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: none; overflow: visible; }
    .compare__row {
        display: grid; grid-template-columns: 1fr;
        border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md);
    }
    .compare__row + .compare__row .compare__cell,
    .compare__row + .compare__row .compare__crit { border-top: 0; }
    .compare__crit { order: -1; background: #fff; flex-direction: row; padding: 12px 14px; border-bottom: 1px solid var(--line); }
    .compare__crit i { width: 26px; height: 26px; }
    .compare__cell--lose { justify-content: flex-start; text-align: left; }
    .compare__cell--lose i { order: 0; }
}

/* ---------- Hareketi azalt ---------- */
@media (prefers-reduced-motion: reduce) {
    .compare__cell, .compare__crit { opacity: 1; transform: none; transition: none; }
    .compare__team--win { animation: none; }
}
