/* ==========================================================================
   GTA 6 Kod Avı — bölümler (adımlar, ödüller, akış, takip bandı, kurallar, alt bilgi, pencere)
   ========================================================================== */
.eb-bolum { position: relative; padding: 40px 0; }
.eb-bolum--koyu { background: linear-gradient(180deg, rgba(10, 18, 48, 0), rgba(10, 18, 48, .75) 18%, rgba(10, 18, 48, .75) 82%, rgba(10, 18, 48, 0)); }
.eb-bolum__bas { margin-bottom: 20px; }
.eb-bolum__bas--yan { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.eb-ust-etiket { display: inline-flex; align-items: center; gap: 8px; font-family: var(--eb-baslik-font); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--eb-cam); }
.eb-ust-etiket::before { content: ''; width: 18px; height: 2px; background: var(--eb-kirmizi); box-shadow: 0 0 8px rgba(225, 29, 46, .8); }
.eb-h2 { margin: 6px 0 0; font-family: var(--eb-baslik-font); font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--eb-beyaz); }
.eb-canli { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--eb-soluk); }

/* ---------- Adımlar ---------- */
.eb-adimlar { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.eb-adim { position: relative; padding: 18px 16px 16px; border-radius: 14px; background: rgba(10, 18, 48, .7); border: 1px solid var(--eb-cizgi); overflow: hidden; }
.eb-adim__no { font-family: var(--eb-baslik-font); font-size: 30px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(219, 228, 255, .45); }
.eb-adim h3 { margin: 8px 0 6px; font-family: var(--eb-baslik-font); font-size: 19px; color: var(--eb-beyaz); }
.eb-adim p { margin: 0; font-size: 15px; color: var(--eb-metin); }
.eb-adim i { color: var(--eb-beyaz); }

/* ---------- Ödüller ---------- */
.eb-oduller { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eb-odul { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(5, 10, 28, .6); border: 1px solid var(--eb-cizgi); transition: border-color .2s, transform .2s; }
.eb-odul:hover { border-color: rgba(34, 211, 238, .45); }
.eb-odul__ikon { flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; color: var(--eb-cam); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3); }
.eb-odul__govde { flex: 1; min-width: 0; }
.eb-odul__ad { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--eb-beyaz); }
.eb-cubuk { height: 6px; border-radius: 6px; background: rgba(120, 150, 255, .15); overflow: hidden; }
.eb-cubuk span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #1aa7c4, var(--eb-cam)); box-shadow: 0 0 10px rgba(34, 211, 238, .7); transition: width .6s ease; }
.eb-odul__sayi { margin: 6px 0 0; font-size: 13px; color: var(--eb-soluk); }
.eb-odul__sayi b { font-family: var(--eb-baslik-font); font-size: 15px; }
.eb-odul--gta { border-color: rgba(255, 59, 74, .5); background: linear-gradient(180deg, rgba(225, 29, 46, .14), rgba(5, 10, 28, .6)); box-shadow: 0 0 30px -16px rgba(225, 29, 46, .9); }
.eb-odul--gta .eb-odul__ikon { color: var(--eb-kirmizi-2); background: rgba(225, 29, 46, .12); border-color: rgba(255, 59, 74, .45); }
.eb-odul--gta .eb-cubuk span { background: linear-gradient(90deg, var(--eb-kirmizi-koyu), var(--eb-kirmizi-2)); box-shadow: 0 0 10px rgba(225, 29, 46, .8); }
.eb-odul--bitti { opacity: .5; filter: grayscale(.6); }
.eb-odul--yeni { animation: eb-parla 1.4s ease 2; }
@keyframes eb-parla { 50% { border-color: var(--eb-sari); box-shadow: 0 0 26px -8px rgba(251, 191, 36, .8); } }

/* ---------- Akış ---------- */
.eb-akis { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eb-akis:empty::before { content: attr(data-bos); display: block; padding: 18px; border-radius: 14px; text-align: center; color: var(--eb-soluk); background: rgba(10, 18, 48, .55); border: 1px dashed rgba(120, 150, 255, .3); }
.eb-akis li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(10, 18, 48, .65); border: 1px solid var(--eb-cizgi); font-size: 14px; }
.eb-akis__no { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-family: var(--eb-baslik-font); font-weight: 700; font-size: 16px; color: var(--eb-beyaz); background: rgba(225, 29, 46, .18); border: 1px solid rgba(255, 59, 74, .45); }
.eb-akis__metin { flex: 1; min-width: 0; color: var(--eb-metin); }
.eb-akis__metin b { display: block; font-size: 14px; }
.eb-akis__metin span { display: block; font-size: 13px; color: var(--eb-soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-akis__saat { flex: 0 0 auto; font-family: var(--eb-mono-font); font-size: 13px; color: var(--eb-cam); }
.eb-akis li.eb-yeni { animation: eb-yeni 1.6s ease both; }
@keyframes eb-yeni { 0% { opacity: 0; transform: translateY(-6px); border-color: var(--eb-sari); } 40% { opacity: 1; transform: none; border-color: var(--eb-sari); } 100% { border-color: var(--eb-cizgi); } }

/* ---------- Takip bandı ---------- */
.eb-bant { position: relative; margin: 20px 0; padding: 36px 0; overflow: hidden; background: linear-gradient(180deg, #0c1a4f 0%, #0a1230 100%); border-top: 1px solid rgba(255, 59, 74, .45); border-bottom: 1px solid rgba(34, 211, 238, .35); }
.eb-bant::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px); pointer-events: none; }
.eb-bant__ic { position: relative; display: grid; gap: 20px; }
.eb-bant__metin p { margin: 10px 0 0; color: var(--eb-metin); font-size: 16px; }
.eb-bant__dugmeler { display: grid; gap: 10px; }
.eb-bant__dugmeler .eb-btn { width: 100%; }

/* ---------- Kurallar ---------- */
.eb-kurallar { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.eb-kurallar li { position: relative; padding: 10px 12px 10px 34px; border-radius: 10px; background: rgba(10, 18, 48, .5); border: 1px solid var(--eb-cizgi); font-size: 15px; }
.eb-kurallar li::before { content: ''; position: absolute; left: 13px; top: 17px; width: 9px; height: 9px; border: 2px solid var(--eb-kirmizi); transform: rotate(45deg); }
.eb-kurallar__dugmeler { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Alt bilgi ---------- */
.eb-alt { position: relative; z-index: 1; padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--eb-cizgi); background: rgba(3, 6, 18, .8); text-align: center; }
.eb-alt__ic { display: grid; gap: 10px; justify-items: center; }
.eb-alt__logo { height: 22px; width: auto; opacity: .9; }
.eb-alt__alt { margin: 0; font-size: 13px; color: var(--eb-soluk); }
.eb-alt__alt a { color: var(--eb-soluk); }
.eb-alt .eb-baglanti { color: var(--eb-soluk); }

/* ---------- Honeypot ---------- */
.eb-tuzak { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pencere ---------- */
.eb-pencere { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.eb-pencere__perde { position: absolute; inset: 0; background: rgba(2, 5, 15, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: eb-sol .2s ease both; }
.eb-pencere__kutu { position: relative; width: 100%; max-height: 88vh; display: flex; flex-direction: column; border-radius: 18px 18px 0 0; background: #0b143a; border: 1px solid rgba(120, 150, 255, .28); box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); animation: eb-yukari .25s ease both; padding-bottom: env(safe-area-inset-bottom); }
.eb-pencere__bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--eb-cizgi); }
.eb-pencere__bas h2 { margin: 0; font-family: var(--eb-baslik-font); font-size: 20px; color: var(--eb-beyaz); }
.eb-pencere__x { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; border: 1px solid var(--eb-cizgi); background: rgba(255, 255, 255, .04); color: var(--eb-beyaz); font-size: 24px; line-height: 1; cursor: pointer; }
.eb-pencere__x:hover { border-color: var(--eb-kirmizi); }
.eb-pencere__govde { padding: 16px 18px 22px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; font-size: 15px; line-height: 1.6; color: var(--eb-metin); }
@keyframes eb-sol { from { opacity: 0; } to { opacity: 1; } }
@keyframes eb-yukari { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (min-width: 720px) {
    .eb-bolum { padding: 56px 0; }
    .eb-h2 { font-size: 34px; }
    .eb-adimlar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .eb-akis-ic { max-width: 820px; }
    .eb-bant { padding: 48px 0; }
    .eb-bant__dugmeler { grid-auto-flow: column; justify-content: start; }
    .eb-bant__dugmeler .eb-btn { width: auto; }
    .eb-kurallar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eb-pencere { align-items: center; padding: 24px; }
    .eb-pencere__kutu { max-width: 720px; border-radius: 18px; max-height: 84vh; padding-bottom: 0; }
}
@media (min-width: 1024px) {
    .eb-adimlar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .eb-bant__ic { grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 40px; }
    .eb-bant__dugmeler { grid-auto-flow: row; }
    .eb-bant__dugmeler .eb-btn { width: 100%; }
}

/* ---------- "Kalan ödülleri göster" kapalı (ERP Genel) — kalan sayılar yerine adet ---------- */
.eb-kalan-alt { display: none; }
.eb-kalan-gizli .eb-kalan-ogesi { display: none !important; }
.eb-kalan-gizli span.eb-kalan-alt { display: inline; }
.eb-kalan-gizli p.eb-kalan-alt { display: block; }

/* ---------- TEST modu şeridi (ERP test bağlantısı) ---------- */
.eb-test-serit {
    position: sticky; top: 0; z-index: 60;
    padding: 9px 16px; text-align: center; font-size: 13px; line-height: 1.4;
    color: #1a1200; background: repeating-linear-gradient(135deg, #fbbf24 0 16px, #f59e0b 16px 32px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.eb-test-serit b { letter-spacing: .04em; }

/* ---------- Ödül vitrini: büyük ürün görselli dikey kartlar + GTA 6 kapaklı vitrin kartı ----------
   Kart tıklanınca web sitesindeki ürün sayfası YENİ SEKMEDE açılır (durum.json url). */
.eb-oduller { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eb-odul { display: block; padding: 0; overflow: hidden; }
.eb-odul__ic { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.eb-odul__ic--baglanti { cursor: pointer; }
.eb-odul__ic--baglanti:focus-visible { outline: 2px solid var(--eb-cam); outline-offset: -2px; }
.eb-odul:has(.eb-odul__ic--baglanti):hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .55); box-shadow: 0 14px 30px -18px rgba(34, 211, 238, .7); }

.eb-odul__gorsel { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; border-bottom: 1px solid var(--eb-cizgi); }
.eb-odul__gorsel img { display: block; width: 100%; height: 100%; object-fit: contain; transform: scale(1.22); transition: transform .35s ease; }
.eb-odul__ic--baglanti:hover .eb-odul__gorsel img { transform: scale(1.32); }
.eb-odul__ic > .eb-odul__ikon { margin: 16px 14px 0; }

.eb-odul__govde { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.eb-odul__ad { margin: 0 0 6px; font-size: 14px; line-height: 1.3; }
.eb-odul__incele { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--eb-cam); }
.eb-odul__ic--baglanti:hover .eb-odul__incele { text-decoration: underline; }
.eb-odul__etiket { align-self: flex-start; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--eb-kirmizi), #b3121f); box-shadow: 0 0 16px rgba(225, 29, 46, .55); }

/* GTA 6 — tam genişlik vitrin, solda dikey kapak */
.eb-odul--gta { grid-column: 1 / -1; }
.eb-odul--gta .eb-odul__ic { flex-direction: row; align-items: stretch; }
.eb-odul--gta .eb-odul__gorsel { flex: 0 0 120px; width: 120px; aspect-ratio: 282 / 353; background: #060b1e; border-bottom: 0; border-right: 1px solid rgba(255, 59, 74, .4); }
.eb-odul--gta .eb-odul__gorsel img { object-fit: cover; transform: none; }
.eb-odul--gta .eb-odul__govde { justify-content: center; padding: 16px 18px; }
.eb-odul--gta .eb-odul__ad { font-family: var(--eb-baslik-font); font-size: 20px; }
.eb-odul--gta .eb-odul__sayi b { font-size: 20px; color: var(--eb-kirmizi-2); }

@media (min-width: 720px) {
    .eb-oduller { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .eb-odul__ad { font-size: 15px; }
    .eb-odul--gta .eb-odul__gorsel { flex-basis: 190px; width: 190px; }
    .eb-odul--gta .eb-odul__govde { padding: 22px 28px; }
    .eb-odul--gta .eb-odul__ad { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .eb-odul__gorsel img, .eb-odul { transition: none; }
    .eb-odul:has(.eb-odul__ic--baglanti):hover { transform: none; }
}
