/* =============================================================
   Dış bağlantı güvenli çıkış ara sayfası (dalga 14 — /cikis/{id})
   Bağımsız belge: main.css yüklenmez, gerekli değişkenler burada.
   ============================================================= */

:root {
    --primary: #1B3A5C;
    --primary-dark: #12293F;
    --secondary: #C8A23C;
    --secondary-dark: #A98A2F;
    --bg: #F8FAFC;
    --metin: #33475B;
    /* DENETİM: açık zeminde AA'yı geçen altın metin türevi.
       #A98A2F beyaz 3.30:1 / #F8FAFC 3.15:1 idi → #806515 5.54 / 5.30:1 */
    --metin-altin: #806515;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.cikis-govde {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
        radial-gradient(900px 460px at 85% -10%, rgba(200, 162, 60, 0.10), transparent 60%),
        radial-gradient(760px 420px at -10% 110%, rgba(27, 58, 92, 0.08), transparent 60%),
        var(--bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--metin);
    font-size: 15px;
    line-height: 1.6;
}

.cikis-kart {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border: 1px solid rgba(27, 58, 92, 0.10);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(18, 41, 63, 0.12);
    padding: 40px 32px 32px;
    text-align: center;
}

.cikis-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin-bottom: 14px;
}

/* Bölüm başlığı deseni: span.bolum-ust + h2 (main.css'teki desenle aynı dil) */
.bolum-ust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--metin-altin);
    margin-bottom: 10px;
}

.bolum-ust::before,
.bolum-ust::after {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--secondary);
}

.cikis-kart h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 27px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.cikis-mesaj {
    font-size: 15.5px;
    max-width: 380px;
    margin: 0 auto 22px;
}

.cikis-hedef {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: var(--bg);
    border: 1px solid rgba(27, 58, 92, 0.10);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 26px;
    overflow-wrap: anywhere;
}

.cikis-hedef-etiket {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    /* DENETİM: 3.67:1 → 5.25:1 */
    color: rgba(51, 71, 91, 0.8);
}

.cikis-hedef-ad {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
}

.cikis-hedef-alan {
    font-size: 14px;
    /* DENETİM: 3.15:1 → 5.30:1 */
    color: var(--metin-altin);
    font-weight: 600;
}

/* Geri sayım halkası */
.cikis-halka {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 26px;
}

.cikis-halka svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.halka-zemin,
.halka-ilerleme {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.halka-zemin { stroke: rgba(27, 58, 92, 0.10); }

.halka-ilerleme {
    stroke: var(--secondary);
    transition: stroke-dashoffset 0.95s linear;
}

.cikis-sayi {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.cikis-sayi span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.cikis-sayi small {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    /* DENETİM: 3.23:1 → 5.12:1 */
    color: rgba(51, 71, 91, 0.78);
}

/* Düğmeler — dokunma alanı ≥ 44px */
.cikis-dugmeler {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cikis-git,
.cikis-vazgec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cikis-git {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(27, 58, 92, 0.28);
}

.cikis-git:hover,
.cikis-git:focus-visible {
    background: var(--primary-dark);
}

.cikis-vazgec {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid rgba(27, 58, 92, 0.28);
}

.cikis-vazgec:hover,
.cikis-vazgec:focus-visible {
    background: rgba(27, 58, 92, 0.06);
}

.cikis-git:focus-visible,
.cikis-vazgec:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.cikis-not {
    font-size: 13px;
    /* DENETİM: 3.39:1 → 5.12:1 */
    color: rgba(51, 71, 91, 0.78);
    max-width: 400px;
    margin: 0 auto;
}

/* Hareket azaltma: halka animasyonsuz, sayı saymaya devam eder */
@media (prefers-reduced-motion: reduce) {
    .halka-ilerleme { transition: none; }
    .cikis-git,
    .cikis-vazgec { transition: none; }
}

/* Dar ekran (390px taşma yok) */
@media (max-width: 480px) {
    .cikis-kart { padding: 30px 20px 26px; border-radius: 14px; }
    .cikis-kart h2 { font-size: 23px; }
    .cikis-logo { width: 68px; height: 68px; }
    .cikis-halka { width: 116px; height: 116px; }
    .cikis-sayi span { font-size: 34px; }
    .cikis-dugmeler { flex-direction: column; }
    .cikis-git,
    .cikis-vazgec { width: 100%; }
}
