/* =========================
   Theme & Base
========================= */

:root{
  --primary:#621EEE;
  --primary-600:#5a19e0;
  --primary-700:#4c16bf;
  --bg:#fafafe;
  --card:#fff;
  --text:#0f172a;
  --brand:#621EEE;
  --muted:#475569;
  --border:#e5e7eb;
}

*{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0;
  
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
}
a{ color:var(--brand); text-decoration:none }

/* Fixed nav olduğundan içerik üstten boşluk alır */

/* Container */
.container{ max-width:1300px; margin:0 auto; padding:16px }

/* =========================
   Hero
========================= */
.page-intro h1{ font-size:clamp(20px,2.2vw,28px); line-height:1.25; margin:64px 0 8px; }
.muted{ color:var(--muted) }

/* =========================
   Layout
========================= */
.layout{
  display:grid; gap:16px; margin-top:18px;
  grid-template-columns:minmax(0,4fr) minmax(0,2fr); /* ≈ %66 / %34 */
}
@media (max-width:1024px){
  .layout{ grid-template-columns:1fr }
}

/* Cards */
.card,.promo-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 24px rgba(2,6,23,0.06);
}

/* =========================
   Filtre & Sıralama
========================= */
.list-head{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; flex-wrap:wrap; margin:6px 0 12px;
}
.filters{ display:flex; gap:8px; align-items:center; flex-wrap:wrap }
.seg{
  display:flex; gap:6px; padding:4px;
  background:#f3f4f6; border:1px solid var(--border); border-radius:12px;
}
.seg button{
  border:0; background:transparent; padding:8px 10px;
  border-radius:10px; cursor:pointer; font-weight:600;
}
.seg button.active{
  background:#fff; border:1px solid var(--border);
  box-shadow:0 1px 2px rgba(0,0,0,.05);
}
.sorter{ display:flex; gap:6px; align-items:center }
.sorter select{
  padding:8px 10px; border:1px solid var(--border);
  border-radius:10px; background:#fff
}

/* =========================
   Liste / Grid
========================= */
.grid{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
/* Telefon: tek sütun */
/* Varsayılan: 2 sütun */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Sadece küçük telefonlarda (örneğin ≤600px) tek sütuna düşür */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.empty{
  border:1px dashed var(--border); padding:20px; border-radius:12px; text-align:center
}
.foot{ margin-top:14px; font-size:12px }

/* =========================
   Promo Kart (Liste öğesi)
========================= */
.promo-item{
  display:flex; flex-direction:column; gap:10px;
  border:1px solid var(--border); padding:14px; border-radius:12px;
}
.pi-head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:8px; margin-top:4px;
}
.bank-name{ font-weight:700; font-size:16px; line-height:1.2 }
@media (min-width:768px){ .bank-name{ font-size:17px } }
.expiry{ font-size:12px; color:var(--muted) }
.pi-title{ margin:0; font-size:16px }

/* Bilgi rozetleri: alt alta ve içerik kadar genişlik */
.badges{
  display:flex; flex-direction:column; gap:6px; margin-top:2px; align-items:flex-start;
}
.badge{
  display:inline-block; font-size:13px;
  padding:6px 10px; border-radius:10px;
  border:1px solid var(--border); background:#fafafa;
}

/* Alt eylem satırı: solda 'ücretsiz', sağda 'banka' butonu */
.pi-actions{
  display:flex; align-items:center; margin-top:auto; justify-content:flex-end;
}
.pill-ok{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 8px; border-radius:999px; font-weight:600; font-size:12px;
  background:#ecfdf5; border:1px solid #86efac; color:var(--ok);
  margin-right:auto; /* pili sola iter, buton sağda kalır */
}
.btn-compact{
  padding:6px 10px; font-size:13px; border-radius:8px; font-weight:600;
  border:1px solid var(--brand); background:var(--brand); color:#fff;
  cursor:pointer; white-space:nowrap; margin-left:12px;
}
.btn-compact[aria-disabled="true"]{ opacity:.6; pointer-events:none }

/* =========================
   Sağ Sütun: Uygulama Tanıtımı
========================= */
.promo-title{ margin:0; font-size:1.25rem; font-weight:900; color:#1f2937; text-align:center }
.promo-body{
  display:grid; grid-template-columns:6fr 4fr; align-items:center; gap:16px;
}
.promo-text .promo-sub{ margin:0; color:#334155; line-height:1.5; font-size:1rem }
.promo-text ul{ padding-left:18px; margin:8px 0 }
.promo-shot{ display:flex; align-items:center; justify-content:center; background:#fff }
.promo-shot img{ width:100%; height:auto; max-height:420px; object-fit:contain; border-radius:12px }

/* Store badge’leri tek sırada tut */
.store-row{
  display:flex; flex-wrap:nowrap; justify-content:center; align-items:center;
  gap:12px; margin-top:8px;
}
.store-row a{ display:inline-flex; flex:0 0 auto }
.store-row img{ height:44px; width:auto; display:block }
@media (max-width:420px){ .store-row{ flex-wrap:wrap } }

/* =========================
   Footer (policy links)
========================= */
.footer .policy-links{
  text-align:center; padding:8px; border-top:1px solid #ddd;
  font-size:12px; color:#777; display:flex; flex-wrap:wrap; justify-content:center; gap:10px;
}
.footer .policy-links a{ color:#777; text-decoration:none }
.footer .policy-links a:hover{ text-decoration:underline }

/* =========================
   Navigation (tek yerde toparlandı)
========================= */
/* =========================
   Mobil Düzenlemeler
========================= */
@media (max-width:768px){

  /* Fazlalıkları gizle */
  
  /* Mobil filtre paneli */
  #filter-panel-background{
    display:none; position:fixed; inset:0 auto 0 0;
    width:0; height:100%; background:#f9f9f9; border-right:1px solid #ddd;
    z-index:1999; transition:transform 1.3s ease;
  }
  #filter-panel{
    display:none; position:fixed; top:64px; bottom:75px; left:0; width:0;
    height:calc(100% - 137px); padding:10px; overflow-y:auto;
    background:#f9f9f9; border-right:1px solid #ddd; z-index:2000;
    transition:transform 1.3s ease;
  }

  .container{
    width:100%; height:100%;  padding:16px;
    background:#fff; border-radius:10px;
  }

  /* Mobil alt filtre butonları */
  .button-filter-mobile-container{
    margin-top:20px; display:flex; gap:10px; justify-content:center;
  }
  .button-filter-mobile{
    width:calc(50% - 5px);
    display:flex; align-items:center; justify-content:center;
    padding:5px 10px; font-size:14px; color:#424242;
    background:#f1f3f4; border:0; border-radius:10px; cursor:pointer;
    transition:background-color .3s ease;
  }
}





#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #6200EE;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 9998;
    display: none;
    flex-direction: column
}

#cookie-banner p {
    margin: 0px;
    color: #fff;
    font-size: 16px;
    text-align: left
}

#cookie-banner .div-button {
    display: flex;
    flex-direction: column
}

#cookie-banner .cookieButton {
    background: #FFFFFF;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center
}

#cookie-banner .cookieButton2 {
    background: #e8e8e8;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center
}

#cookie-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    font-family: 'Poppins', sans-serif
}

#cookie-settings-panel h2 {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-bottom: 10px
}

#cookie-settings-panel p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 5px 0;
    padding: 0
}

#cookie-settings-panel label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333
}

#cookie-settings-panel input[type="checkbox"] {
    margin-right: 10px
}

#cookie-settings-panel a {
    color: #6200EE;
    text-decoration: underline
}

#cookie-settings-panel button {
    background: #6200EE;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center
}

#cookie-settings-panel button:hover {
    background: #5e00e0
}

#cookie-settings-panel button:nth-child(2) {
    background: #ccc;
    color: #333
}

#cookie-settings-panel button:nth-child(2):hover {
    background: #bbb
}




.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%
}

input:checked+.slider {
    background-color: #6200EE
}

input:focus+.slider {
    box-shadow: 0 0 1px #6200EE
}

input:checked+.slider:before {
    transform: translateX(18px)
}

.switch-label {
    font-size: 14px;
    color: #333;
    margin-left: 10px;
    vertical-align: middle
}

@media screen and (min-width:1024px) {
    #cookie-settings-panel {
        max-height: 80vh;
        overflow-y: auto;
        width: 60%
    }

    #cookie-banner {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #6200EE;
        color: #fff;
        padding: 20px;
        text-align: center;
        z-index: 1000;
        display: none
    }

    #cookie-banner p {
        width: 100%;
        color: #fff;
        left: 24px;
        text-align: left
    }

    #cookie-banner .div-button {
        width: 520px;
        right: 24px;
        display: flex;
        flex-direction: row
    }

    #cookie-banner .cookieButton {
        background: #FFFFFF;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        margin-left: auto;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center
    }

    #cookie-banner .cookieButton2 {
        background: #e8e8e8;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center
    }
}




#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    display: none
}

#cookieConsent a {
    color: #f4a460;
    text-decoration: underline
}

#cookieConsent button {
    background: #6200EE;
    border: none;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    font-size: 16px
}

#cookie-settings-panel label{
  display:flex;               /* ÖNEMLİ: yan yana */
  align-items:center;
  gap:10px;                   /* switch ile metin arası */
  margin-top:10px;
  font-size:14px;
  color:#333;
}

/* Switch sabit genişlikte kalsın */
#cookie-settings-panel .switch{
  flex:0 0 auto;              /* sabit */
}

/* Metin esneyebilsin ve çok satır olsun */
#cookie-settings-panel .switch-label{
  flex:1 1 auto;              /* ÖNEMLİ: yer kaplasın */
  line-height:1.5;
  color:#333;                 /* kalınlaştırma */
  word-break:break-word;      /* çok uzun kelimeler için */
  white-space:normal;         /* minify'dan gelen nowrap vs. kırar */
}




details > summary{ list-style:none;
margin-top:10px }
details > summary::-webkit-details-marker{ display:none; }

.exp-sum{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;               /* daha geniş tıklama alanı */
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

/* ok simgesi */
.exp-sum::before{
  content:"▸";
  display:inline-block;
  width:1em; text-align:center;
  transform: translateY(-1px);
  transition: transform .15s ease;
  color: var(--primary);
  font-weight:700;
}

/* açıkken oku döndür */
details[open] .exp-sum::before{
  transform: rotate(90deg);
}

/* başlık metni */
.exp-title{
  font-weight:700; font-size:1.05rem; line-height:1.3;
  color:#111827;
}

/* hover/active durumları */
.exp-sum:hover{
  background:#f9fafb;
  border-color:#d1d5db;
}
.exp-sum:active{
  background:#f3f4f6;
}

/* klavye ile erişilebilirlik */
.exp-sum:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(98,30,238,.18);
  border-color: var(--primary);
}

/* özet içeriği (summary dışındaki kutu) üstten ayıralım */
details > div{ margin-top:10px; }

/* (opsiyonel) sol şerit: açıkken vurgu */
details[open] .exp-sum{
  border-color: var(--primary);
  box-shadow: inset 0px 0 0 0 var(--primary);
}

.exp-sum::before{ content:""; width:12px; height:12px;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7 5l6 5-6 5z"/></svg>') no-repeat center/contain;
  -webkit-mask: /* same as mask */;
  background: var(--primary);
  transition: transform .15s ease;
}

.faq-section {
  margin-top: 24px;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.blog-list,.blog-list-ul{ margin:0 }
.blog-list-li{ margin-bottom:20px }
.blog-list-li a{ color:#333; font-size:14px }
.blog-list-li a:hover{ color:#6200EE; text-decoration:underline }
.blog-list-h3{ font-size:18px; margin-bottom:30px; color:#6200EE }



.navigation{
  position: fixed; top:0; left:0; width:100%; height:56px;
  background:#6200EE; padding:10px 4px; display:flex; align-items:center;
  overflow:hidden; z-index:9998; gap:4px;
}
.navigation span{ font-size:10px; color:#fff }
#page-logo{
  margin:0 8px; width:48px; height:48px; padding:10px; cursor:pointer;
}
.nav-buttons,.nav-buttons-home{
  height:56px; min-width:100px;
  background:#6200EE; border:none; color:#fff; font-size:12px; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  transition: background-color .3s ease;
}
.nav-buttons:hover,.nav-buttons-home:hover{ background:#eead0e }
.icon{ width:20px; height:20px }
#page-header{
  color:#fff; margin-left:auto; margin-right:24px; font-size:28px;
  font-family:"Fontum", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-weight:700; /* gerekiyorsa vurgulu görünmesi için */
}
.navigation a.nav-buttons,
.navigation a.nav-buttons-home {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  /* mevcut .nav-buttons buton stillerini buraya taşıyabilirsin */
}
.navigation a[aria-current="page"] {
  background: rgba(255,255,255,0.15); /* yarı saydam beyaz arka plan */
  color: #fff;                        /* biraz kalın yazı */
  border-radius: 8px;
}

.navigation a[aria-current="page"] img.icon {
  filter: brightness(1.5); /* ikon biraz daha parlak */
}


a{ color:var(--brand); text-decoration:none }



@media (max-width:768px){
  .navigation{
    height:56px;
    padding:0 6px;
    gap:0;
    overflow-x:auto;               /* yatay kaydırma */
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;  /* snap etkisi */
  }

  /* Linkler tek satırda, kaydırılabilir olsun */
  .navigation a.nav-buttons,
  .navigation a.nav-buttons-home{
    display:inline-flex;           /* <a> için doğru kullanım */
    align-items:center;
    justify-content:center;
    flex:0 0 auto;                 /* sıkışma yok, yan yana ak */
    min-width:auto;                /* min-width=100px sınırlamasını kaldır */
    padding:0 10px;
    height:56px;
    text-decoration:none;
    background:transparent;        /* arkaplan tek renk olsun */
    border-radius:8px;
    scroll-snap-align:center;
  }

  /* Metinleri gizle → sadece ikon (yer kazancı) */
  .navigation a.nav-buttons span,
  .navigation a.nav-buttons-home span{
    display:none;
  }

  /* İkonları bir tık büyüt */
  .navigation .icon{
    width:22px; height:22px;
  }

  /* Logo daha kompakt */
  #page-logo{
    height:32px; width:auto; padding:0; margin:0 6px 0 0; object-fit:contain;
  }

  /* Aktif sayfa vurgusu */
  .navigation a[aria-current="page"]{
    background:rgba(255,255,255,0.15);
  }

  /* iOS scroll bar gizle */
  .navigation::-webkit-scrollbar{ display:none; }
}






#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #6200EE;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    display: none;
    flex-direction: column;
}

#cookie-banner p{
    color: #fff;
    text-align: left;

}

#cookie-banner .div-button{
    display: flex;
    flex-direction: column;

}
#cookie-banner .cookieButton{
    background: #FFFFFF;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}
#cookie-banner .cookieButton2{
    background: #e8e8e8;
    border: none;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#cookie-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 10px 15px; /* Yan ve üst boşluklar optimize edildi */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 95%; /* Mobil görünümde daha fazla genişlik */
    max-width: 600px; /* Genişlik artırıldı */
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    font-family: 'Poppins', sans-serif;
}

#cookie-settings-panel h2 {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

#cookie-settings-panel p {
    font-size: 13px; /* Daha kompakt bir metin görünümü */
    color: #555;
    line-height: 1.6;
    margin: 5px 0; /* Daha dar boşluklar */
    padding: 0;
}

#cookie-settings-panel label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

#cookie-settings-panel input[type="checkbox"] {
    margin-right: 10px;
}

#cookie-settings-panel a {
    color: #6200EE;
    text-decoration: underline;
}

#cookie-settings-panel button {
    background: #6200EE;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

#cookie-settings-panel button:hover {
    background: #5e00e0;
}

#cookie-settings-panel button:nth-child(2) {
    background: #ccc;
    color: #333;
}

#cookie-settings-panel button:nth-child(2):hover {
    background: #bbb;
}

/* Switch Tasarımı */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #6200EE; /* Ana renginiz */
}

input:focus + .slider {
    box-shadow: 0 0 1px #6200EE;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.switch-label {
    font-size: 14px;
    color: #333;
    margin-left: 10px;
    vertical-align: middle;
}


/* Masaüstü görünüm */
@media screen and (min-width: 1024px) {
    #cookie-settings-panel {
        max-height: 80vh; /* Panelin maksimum yüksekliği ekranın %80’i kadar */
        overflow-y: auto; /* Dikey kaydırma ekleyin */
        width: 60%;

    }


    #cookie-banner {
        display: none;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #6200EE;
        color: #fff;
        padding: 20px;
        text-align: center;
        z-index: 1000;
    }
    #cookie-banner p{
        width: 100%;
        color: #fff;
        left: 24px;
        text-align: left;

    }

    #cookie-banner .div-button{
        width: 520px;
        right: 24px;
        display: flex;
        flex-direction: row;

    }
    #cookie-banner .cookieButton{
        background: #FFFFFF;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        margin-left: auto;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center;
    }
    #cookie-banner .cookieButton2{
        background: #e8e8e8;
        border: none;
        color: #000;
        padding: 10px 20px;
        margin-top: 20px;
        margin-right: 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        width: 240px;
        text-align: center;
    }

}

