/* ============================================================
   bisikletrotam.com — Hangi Bisiklet?
   style.css  v2.0  — Mobile-first / PWA
   Font: Barlow Condensed (headings) + Barlow (body)
   ============================================================ */

/* ------------------------------------------------------------
   1. IMPORT & CUSTOM PROPERTIES
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500&display=swap');

:root {
    /* Brand */
    --amber:        #E05A14;
    --amber-dark:   #c44d0f;
    --amber-light:  rgba(224, 90, 20, 0.10);
    --amber-border: rgba(224, 90, 20, 0.35);

    /* Surfaces */
    --bg:           #F2EFE9;
    --surface:      #FFFFFF;
    --surface-2:    #F7F5F1;

    /* Text */
    --text-1:       #18180F;
    --text-2:       #4A4A3F;
    --text-3:       #888880;

    /* Borders */
    --border:       rgba(0, 0, 0, 0.09);
    --border-mid:   rgba(0, 0, 0, 0.15);

    /* Radii */
    --r-sm:   8px;
    --r-md:   14px;
    --r-lg:   20px;

    /* Shadows */
    --shadow-card: 0 2px 16px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
    --shadow-hover: 0 6px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);

    /* Layout */
    --max-w:  600px;
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body:    'Barlow', sans-serif;
}

/* Tüm cihazlarda açık tema zorla */
:root { color-scheme: light; }

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-1);
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 1rem env(safe-area-inset-bottom);
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   3. HEADER
   ------------------------------------------------------------ */
.site-header {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: calc(env(safe-area-inset-top) + 1rem) 0 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.site-logo {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.15s;
}
.site-logo:hover { color: var(--amber); }

.header-sep {
    color: var(--text-3);
    font-size: 11px;
    opacity: 0.6;
}

/* ------------------------------------------------------------
   4. QUIZ WRAP & INTRO
   ------------------------------------------------------------ */
.quiz-container {
    max-width: var(--max-w);
    margin: 2rem auto 0;
}

/* ---- Intro kart ---- */
.quiz-intro {
    margin-bottom: 2rem;
    position: relative;
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.5rem 1.4rem;
    border: 1.5px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Dekoratif çemberler */
.intro-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

.deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--amber-border);
}

.deco-ring--1 {
    width: 280px;
    height: 280px;
    top: -140px;
    right: -70px;
    opacity: 0.35;
}

.deco-ring--2 {
    width: 110px;
    height: 110px;
    bottom: -35px;
    left: -25px;
    opacity: 0.25;
    border-style: dashed;
}

/* Bisiklet türü chip'leri */
.intro-bikes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    position: relative;
}

.intro-bike-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 5px 11px;
    border-radius: 20px;
    border: 1.5px solid var(--border-mid);
    color: var(--text-3);
    background: var(--surface-2);
    animation: chipIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-bike-chip:nth-child(1) { animation-delay: 0.06s; }
.intro-bike-chip:nth-child(2) { animation-delay: 0.12s; }
.intro-bike-chip:nth-child(3) { animation-delay: 0.18s; }
.intro-bike-chip:nth-child(4) { animation-delay: 0.24s; }
.intro-bike-chip:nth-child(5) { animation-delay: 0.30s; }

/* Vurgulu chip (MTB) */
.intro-bike-chip--hi {
    border-color: var(--amber);
    color: var(--amber);
    background: var(--amber-light);
}

@keyframes chipIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Başlık */
.quiz-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 7.5vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-1);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    position: relative;
}

.quiz-intro h1 em {
    font-style: normal;
    color: var(--amber);
    position: relative;
    display: inline-block;
}

.quiz-intro h1 em::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--amber);
    border-radius: 2px;
    opacity: 0.25;
}

.quiz-intro p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 1.3rem;
    position: relative;
    max-width: 42ch;
}

/* İstatistik şeridi */
.intro-stats {
    display: flex;
    align-items: center;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
    position: relative;
}

.intro-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 2px;
}

.intro-stat-val {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    letter-spacing: -0.02em;
}

.intro-stat-lbl {
    font-size: 10px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.intro-stat-sep {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   5. PROGRESS — adım indikatörü
   ------------------------------------------------------------ */
.progress-wrap {
    margin-bottom: 2rem;
}

.progress-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.75rem;
}

.progress-step {
    display: flex;
    align-items: center;
    flex: 1;
}

.progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-mid);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.progress-dot.done {
    background: var(--amber);
    border-color: var(--amber);
    color: #fff;
}

.progress-dot.active {
    background: var(--surface);
    border-color: var(--amber);
    color: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-border);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 2px;
    transition: background 0.3s ease;
}

.progress-line.done {
    background: var(--amber);
}

.progress-label {
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.04em;
}

/* ------------------------------------------------------------
   6. ADIM (STEP)
   ------------------------------------------------------------ */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeSlideUp 0.30s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.step.leaving {
    animation: fadeSlideOut 0.20s ease both;
}

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

@keyframes fadeSlideOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}

.step-soru {
    font-family: var(--font-display);
    font-size: clamp(20px, 4.5vw, 26px);
    font-weight: 600;
    color: var(--text-1);
    line-height: 1.25;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.step-alt {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ------------------------------------------------------------
   7. OPT CARDS — Standart (Q2-Q5)
   ------------------------------------------------------------ */
.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.75rem;
}

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

.opt {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 1rem 1rem 0.9rem;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.12s;
    -webkit-tap-highlight-color: transparent;
    min-height: 100px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 4px;
    user-select: none;
}

.opt:active {
    transform: scale(0.97);
}

@media (hover: hover) {
    .opt:hover {
        border-color: var(--amber-border);
        box-shadow: var(--shadow-hover);
        transform: translateY(-2px);
    }
}

.opt.selected {
    border-color: var(--amber);
    background: var(--amber-light);
    box-shadow: var(--shadow-card), 0 0 0 2px var(--amber-border);
}

/* Seçim işareti */
.opt.selected::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--amber);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px;
    background-position: center;
    background-repeat: no-repeat;
}

.opt-ikon {
    font-size: 22px;
    color: var(--amber);
    display: block;
    margin-bottom: 4px;
}

.opt.selected .opt-ikon {
    color: var(--amber-dark);
}

.opt-baslik {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-1);
    display: block;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.opt-aciklama {
    font-size: 12px;
    color: var(--text-2);
    display: block;
    line-height: 1.45;
    margin-top: 1px;
}

/* ------------------------------------------------------------
   8. OPT CARDS — Resim destekli (Q1)
   ------------------------------------------------------------ */
.options--img {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.opt--img {
    background-color: #555;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    height: 155px;
    padding: 0;
    min-height: unset;
    border-color: transparent;
    flex-direction: column;
    justify-content: flex-end;
    /* Resim taşmasını önle: border-radius ile overflow birlikte çalışsın */
    overflow: hidden;
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari border-radius fix */
}

/* Görsel üstü karanlık gradyan */
.opt--img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.20) 55%,
        rgba(0,0,0,0.05) 100%
    );
    /* border-radius YOK — ebeveynin overflow:hidden zaten kesiyor */
    z-index: 0;
    transition: background 0.2s;
}

.opt--img.selected::before {
    background: linear-gradient(
        to top,
        rgba(224,90,20,0.85) 0%,
        rgba(224,90,20,0.25) 55%,
        rgba(0,0,0,0.10) 100%
    );
}

/* Checkmark resimli kartta farklı konumlanır */
.opt--img.selected::after {
    top: 8px;
    right: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.opt-img-content {
    position: relative;
    z-index: 1;
    padding: 0 0.9rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.opt--img .opt-baslik {
    color: #fff;
    font-size: 18px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.opt--img .opt-aciklama {
    color: rgba(255,255,255,0.80);
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Görsel yoksa fallback ikon */
.opt-img-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    font-size: 32px;
    color: rgba(255,255,255,0.5);
    z-index: 1;
    pointer-events: none;
}

/* ------------------------------------------------------------
   9. NAVİGASYON BUTONLARI
   ------------------------------------------------------------ */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 11px 20px;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s, transform 0.1s;
    border: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.btn:active { transform: scale(0.97); }

.btn-back {
    background: transparent;
    color: var(--text-2);
    border: 1.5px solid var(--border-mid);
    padding: 10px 16px;
}

.btn-back:hover { background: var(--surface); }

.btn-next {
    background: var(--amber);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(224,90,20,0.30);
}

.btn-next:hover { background: var(--amber-dark); }

.btn-next:disabled {
    opacity: 0.30;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* ------------------------------------------------------------
   10. SONUÇ EKRANI
   ------------------------------------------------------------ */
.result {
    display: none;
}

.result.active {
    display: block;
}

/* Hero + body sıralı açılış */
.result-hero {
    background: var(--bike-bg, var(--surface-2));
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 1.5rem 1.5rem 1.25rem;
    position: relative;
    overflow: hidden;
    animation: resultBlockIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both 0.05s;
}

.result-body {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    padding: 1.25rem 1.5rem 1.5rem;
    margin-bottom: 1.25rem;
    animation: resultBlockIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both 0.18s;
}

@keyframes resultBlockIn {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Sol renkli çizgi */
.result-hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--bike-renk, var(--amber));
    border-radius: var(--r-lg) 0 0 0;
    transform-origin: top;
    animation: lineGrow 0.6s cubic-bezier(0.22, 1, 0.36, 1) both 0.2s;
}

@keyframes lineGrow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

/* Rozet */
.result-rozet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bike-renk, var(--amber));
    margin-bottom: 0.75rem;
    padding: 4px 10px;
    border: 1px solid currentColor;
    border-radius: 20px;
    opacity: 0.85;
    animation: rozetPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.22s;
}

@keyframes rozetPop {
    from { opacity: 0; transform: scale(0.65) translateX(-12px); }
    to   { opacity: 0.85; transform: scale(1) translateX(0); }
}

/* Puan sayacı */
.result-eslesme-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.result-puan {
    font-family: var(--font-display);
    font-size: clamp(52px, 14vw, 72px);
    font-weight: 700;
    line-height: 1;
    color: var(--bike-renk, var(--amber));
    letter-spacing: -0.02em;
    animation: puanIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both 0.3s;
    min-width: 2ch;
}

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

.result-puan-meta {
    padding-bottom: 0.8rem;
    animation: fadeSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both 0.55s;
}

.result-puan-birim {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--bike-renk, var(--amber));
    opacity: 0.75;
}

.result-uyum-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-top: 2px;
}

/* Bisiklet başlığı */
.result-baslik {
    font-family: var(--font-display);
    font-size: clamp(26px, 7vw, 34px);
    font-weight: 700;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    animation: fadeSlideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both 0.4s;
}

.result-baslik i {
    color: var(--bike-renk, var(--amber));
    font-size: clamp(24px, 6vw, 30px);
    flex-shrink: 0;
}

/* Açıklama */
.result-aciklama {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 1.1rem;
    animation: fadeSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both 0.30s;
}

/* Tag'ler — fırlayarak gelir */
.result-etiketler {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.etiket {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1.5px solid var(--border-mid);
    color: var(--text-2);
    letter-spacing: 0.02em;
    animation: tagPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes tagPop {
    from { opacity: 0; transform: scale(0.7) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Detay grid */
.result-detay {
    border-top: 1px solid var(--border);
    padding-top: 1.1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 380px) {
    .result-detay { grid-template-columns: 1fr; }
}

.detay-kutu {
    background: var(--surface-2);
    border-radius: var(--r-sm);
    padding: 0.7rem 0.85rem;
    animation: detayIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.detay-kutu--full {
    grid-column: span 2;
}

@media (max-width: 380px) {
    .detay-kutu--full { grid-column: span 1; }
}

.detay-etiket {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
    color: var(--text-3);
    margin-bottom: 3px;
}

.detay-deger {
    font-size: 13px;
    color: var(--text-1);
    line-height: 1.5;
}

/* MTB notu */
.mtb-notu {
    display: flex;
    gap: 8px;
    background: var(--amber-light);
    border: 1px solid var(--amber-border);
    border-radius: var(--r-sm);
    padding: 0.75rem 0.9rem;
    margin-top: 8px;
    grid-column: span 2;
}

@media (max-width: 380px) {
    .mtb-notu { grid-column: span 1; }
}

.mtb-notu i {
    color: var(--amber);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.mtb-notu-text {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.55;
}

/* ------------------------------------------------------------
   11. ALTERNATİFLER
   ------------------------------------------------------------ */
.alts-baslik {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-3);
    margin-bottom: 0.7rem;
    animation: fadeSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both 0.55s;
}

.alt-satir {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface);
    margin-bottom: 6px;
    transition: border-color 0.15s;
    animation: altIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes altIn {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
}

.alt-satir:hover {
    border-color: var(--border-mid);
}

.alt-isim {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    min-width: 0;
    flex: 0 0 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 400px) {
    .alt-isim { flex: 0 0 120px; }
}

.alt-bar-track {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.alt-bar-fill {
    height: 100%;
    background: var(--amber);
    border-radius: 2px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.55;
}

.alt-yuzde {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
    min-width: 34px;
    text-align: right;
}

/* Aksiyon butonları */
.sonuc-aksiyonlar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1.75rem;
    animation: fadeSlideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both 0.90s;
}

/* ------------------------------------------------------------
   12. SONUÇ AKSİYONLAR
   ------------------------------------------------------------ */
.sonuc-aksiyonlar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.btn-yeniden {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    background: var(--surface);
    border: 1.5px solid var(--border-mid);
    border-radius: var(--r-sm);
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.btn-yeniden:active { transform: scale(0.97); }
.btn-yeniden:hover  { background: var(--surface-2); }

.btn-rota {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--amber);
    border: none;
    border-radius: var(--r-sm);
    padding: 10px 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    box-shadow: 0 2px 8px rgba(224,90,20,0.30);
    transition: background 0.15s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.btn-rota:active  { transform: scale(0.97); }
.btn-rota:hover   { background: var(--amber-dark); }

/* ------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------ */
.site-footer {
    max-width: var(--max-w);
    margin: 3rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-3);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.site-footer a {
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer a:hover { color: var(--amber); }

/* ------------------------------------------------------------
   14. PWA / MOBİL KISITLAR
   ------------------------------------------------------------ */
@media (max-width: 480px) {
    .result-hero,
    .result-body {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .result-puan {
        font-size: 58px;
    }
}

/* Dokunmatik cihazlarda hover efektleri devre dışı */
@media (hover: none) {
    .opt:hover,
    .btn:hover,
    .btn-yeniden:hover,
    .btn-rota:hover {
        transform: none;
    }
}