/* Bonus Hizmeti — vitrin bileşenleri: Betzula şeridi, açılış, 1. sıra kartı, sıralama tablosu, kampanya kartları, pencere */

/* ---------- Sticky Betzula üst bar ---------- */
.hz-sticky-bar {
  position: sticky; top: 0; z-index: 1002; min-height: var(--hz-top-h);
  background: linear-gradient(90deg, #0b7a55 0%, #0f9468 50%, #0b7a55 100%);
  background-size: 200% 100%; animation: hzBarShift 8s linear infinite;
  box-shadow: 0 2px 14px rgba(11, 122, 85, .35);
}
.hz-sticky-link {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: nowrap;
  max-width: 1200px; margin: 0 auto; min-height: var(--hz-top-h); padding: 6px 12px; color: #fff !important; text-decoration: none;
  font-size: .86rem; font-weight: 600; line-height: 1.2;
}
.hz-sticky-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-sticky-text strong { font-weight: 900; letter-spacing: .2px; color: #fcd34d; }
.hz-sticky-cta {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; padding: 4px 10px 4px 12px; border-radius: 999px;
  background: var(--hz-cta); color: #1d1204; font-weight: 800; font-size: .8rem; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(6, 78, 59, .35); transition: transform .18s;
}
.hz-sticky-link:hover .hz-sticky-cta { transform: translateX(2px); }
.hz-sticky-pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #fcd34d; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(252, 211, 77, .5); animation: hzPulse 1.8s ease-out infinite;
}
@keyframes hzPulse { 0% { box-shadow: 0 0 0 0 rgba(252, 211, 77, .6); } 100% { box-shadow: 0 0 0 10px rgba(252, 211, 77, 0); } }
@keyframes hzBarShift { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
@media (min-width: 576px) { .hz-sticky-link { font-size: .92rem; } }

/* ---------- Açılış ---------- */
.hz-hero {
  position: relative; overflow: hidden; padding: 48px 0 40px;
  background:
    radial-gradient(900px 380px at 88% -10%, rgba(245, 158, 11, .14), transparent 60%),
    radial-gradient(700px 420px at -5% 110%, rgba(11, 122, 85, .12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--hz-bg) 100%);
  border-bottom: 1px solid var(--hz-line);
}
.hz-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 44px; align-items: center; }
.hz-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: .32rem .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--hz-line); color: var(--hz-em-d); font-size: .84rem; font-weight: 700; box-shadow: var(--hz-shadow-sm); }
.hz-live { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); animation: hzPing 2s infinite; }
@keyframes hzPing { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); } 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hz-hero-h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.05rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 16px; }
.hz-hero-lead { font-size: 1.1rem; color: var(--hz-ink-2); max-width: 560px; margin-bottom: 18px; }
.hz-checks { list-style: none; display: grid; gap: 8px; margin-bottom: 26px; }
.hz-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--hz-ink); }
.hz-checks .bi { color: var(--hz-em); font-size: 1.1rem; }
.hz-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 1. sıra kartı (açılış sağ) */
.hz-pick { position: relative; background: #fff; border-radius: 20px; padding: 12px; border: 1px solid var(--hz-line); box-shadow: var(--hz-shadow-lg); }
.hz-pick::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 2px; background: linear-gradient(135deg, var(--hz-amber), var(--hz-orange) 40%, var(--hz-em) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hz-pick-ribbon { position: absolute; top: 24px; left: -8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: .42rem .9rem; border-radius: 8px 8px 8px 0; background: var(--hz-cta); color: #1d1204; font-weight: 800; font-size: .82rem; letter-spacing: .04em; box-shadow: 0 8px 16px -8px rgba(249, 115, 22, .8); }
.hz-pick-ribbon::after { content: ""; position: absolute; left: 0; bottom: -8px; border-top: 8px solid #b45309; border-left: 8px solid transparent; }
.hz-pick-media { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1200 / 740; background: var(--hz-tint); }
.hz-pick-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hz-pick-media:hover img { transform: scale(1.03); }
.hz-pick-body { padding: 14px 8px 6px; }
.hz-pick-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hz-pick-brand img { border-radius: 10px; border: 1px solid var(--hz-line); }
.hz-pick-brand div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.hz-pick-brand strong { font-size: 1.12rem; }
.hz-pick-brand span { font-size: .84rem; color: var(--hz-muted); }
.hz-pick-score { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--hz-em); color: #fff; font-weight: 800; font-size: 1.05rem; }
.hz-pick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.hz-pick-facts > div { padding: 10px; border-radius: 10px; background: var(--hz-bg); border: 1px solid var(--hz-line); }
.hz-pick-facts dt { font-size: .72rem; color: var(--hz-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.hz-pick-facts dd { margin: 2px 0 0; font-weight: 800; font-size: .9rem; line-height: 1.3; }
.hz-pick-tg { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 10px; font-size: .86rem; font-weight: 600; color: #0f6f9e; }

/* Güven şeridi */
.hz-trust { background: #fff; border-bottom: 1px solid var(--hz-line); }
.hz-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hz-trust-item { display: flex; align-items: flex-start; gap: 12px; padding: 20px 18px; }
.hz-trust-item + .hz-trust-item { border-left: 1px solid var(--hz-line); }
.hz-trust-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--hz-em-50); color: var(--hz-em); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.hz-trust-item div { display: flex; flex-direction: column; line-height: 1.35; }
.hz-trust-item strong { font-size: .98rem; }
.hz-trust-item span { font-size: .86rem; color: var(--hz-muted); }

/* İç sayfa Betzula şeridi */
.hz-promo { padding: 20px 0 0; }
.hz-promo-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 12px 16px 12px 12px; border-radius: var(--hz-r); background: #fff; border: 1px solid #fcd9a0; box-shadow: 0 0 0 4px var(--hz-amber-50), var(--hz-shadow); }
.hz-promo-rank { position: absolute; top: -10px; left: 16px; padding: .15rem .55rem; border-radius: 6px; background: var(--hz-cta); color: #1d1204; font-weight: 800; font-size: .7rem; letter-spacing: .06em; }
.hz-promo-thumb { flex-shrink: 0; width: 170px; border-radius: 10px; overflow: hidden; aspect-ratio: 1200 / 740; }
.hz-promo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hz-promo-text { flex: 1; min-width: 0; }
.hz-promo-brand { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-weight: 800; }
.hz-promo-brand img { border-radius: 6px; }
.hz-promo-title { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--hz-ink); }
.hz-promo-meta { margin: 0; font-size: .86rem; color: var(--hz-muted); }

/* ---------- Sıralama tablosu ---------- */
.hz-rank { background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-r); overflow: hidden; box-shadow: var(--hz-shadow-sm); }
.hz-rank-head, .hz-rank-row { display: grid; grid-template-columns: 76px minmax(210px, 1.3fr) minmax(180px, 1.2fr) minmax(160px, 1fr) 140px; align-items: center; gap: 14px; padding: 12px 18px; }
.hz-rank-head { background: var(--hz-bg); border-bottom: 1px solid var(--hz-line); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--hz-muted); padding-top: 10px; padding-bottom: 10px; }
.hz-rank-row { border-bottom: 1px solid var(--hz-line); transition: background-color .15s ease; }
.hz-rank-row:last-child { border-bottom: 0; }
.hz-rank-row:hover { background: #fafcfb; }
.hz-rank-no b { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--hz-tint); color: var(--hz-ink-2); font-size: .95rem; }
.hz-rank-no small { display: block; margin-top: 4px; font-size: .64rem; font-weight: 800; color: #9a4a06; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.hz-rank-site { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hz-rank-site img { flex-shrink: 0; border-radius: 10px; }
.hz-rank-logo-wide { width: 96px; height: 38px; object-fit: contain; background: #1b2420; border-radius: 8px !important; padding: 4px 6px; }
.hz-rank-site > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hz-rank-site strong { font-size: 1rem; }
.hz-rank-site small { font-size: .78rem; color: var(--hz-muted); }
.hz-rank-bonus { display: flex; flex-direction: column; line-height: 1.3; }
.hz-rank-bonus strong { font-size: 1.02rem; color: var(--hz-em-d); }
.hz-rank-bonus small { font-size: .8rem; color: var(--hz-muted); }
.hz-rank-wager { font-size: .88rem; color: var(--hz-ink-2); }
.hz-rank-lbl { display: none; }
.hz-rank-act { text-align: right; }
.hz-rank-act .hz-btn { width: 100%; }
.hz-rank-row.is-pinned { background: linear-gradient(90deg, #fff8eb 0%, #ffffff 70%); box-shadow: inset 4px 0 0 var(--hz-orange); }
.hz-rank-row.is-pinned .hz-rank-no b { background: var(--hz-cta); color: #1d1204; }
.hz-rank-row.is-pinned .hz-rank-site small { color: var(--hz-em); font-weight: 700; }
.hz-rank-row.is-pinned .hz-rank-bonus strong { color: #b45309; font-size: 1.1rem; }

/* ---------- Betzula kampanya kartı ---------- */
.hz-offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-r); overflow: hidden; box-shadow: var(--hz-shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hz-offer:hover { transform: translateY(-3px); box-shadow: var(--hz-shadow); border-color: #fcd9a0; }
.hz-offer-media { display: block; aspect-ratio: 1200 / 740; background: var(--hz-tint); }
.hz-offer-media img { width: 100%; height: 100%; object-fit: cover; }
.hz-offer-body { padding: 14px 16px 8px; flex: 1; }
.hz-offer-kind { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .78rem; font-weight: 700; color: var(--hz-muted); }
.hz-offer-kind img { border-radius: 4px; }
.hz-offer-amount { font-size: 1.28rem; margin: 0 0 6px; color: var(--hz-ink); }
.hz-offer-note { font-size: .88rem; color: var(--hz-ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hz-offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; margin-top: 8px; border-top: 1px dashed var(--hz-line-2); background: var(--hz-bg); }
.hz-offer-wager { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--hz-em-d); min-width: 0; }

/* ---------- Dış marka kartı ---------- */
.hz-brand { display: flex; flex-direction: column; padding: 16px; background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-r); box-shadow: var(--hz-shadow-sm); }
.hz-brand-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hz-brand-logo { width: 120px; height: 48px; object-fit: contain; background: #1b2420; border-radius: 8px; padding: 5px 8px; }
.hz-brand-name { font-size: 1.02rem; margin: 0 0 4px; }
.hz-brand-amount { margin: 0 0 4px; font-weight: 800; color: var(--hz-em-d); }
.hz-brand-amount small { display: block; font-weight: 500; color: var(--hz-muted); font-size: .8rem; }
.hz-brand-wager { font-size: .84rem; color: var(--hz-ink-2); margin: 0 0 6px; }
.hz-brand-note { font-size: .84rem; color: var(--hz-muted); margin: 0 0 10px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hz-brand-more { font-weight: 700; font-size: .86rem; }

/* ---------- Betzula profil kartı ---------- */
.hz-profile { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 24px 22px; border-radius: 18px; background: linear-gradient(120deg, #fffaf0 0%, #ffffff 55%, var(--hz-em-50) 100%); border: 1px solid #fcd9a0; box-shadow: var(--hz-shadow-lg); }
.hz-profile-ribbon { position: absolute; top: -12px; left: 20px; display: inline-flex; align-items: center; gap: 6px; padding: .3rem .8rem; border-radius: 8px; background: var(--hz-cta); color: #1d1204; font-weight: 800; font-size: .78rem; letter-spacing: .04em; }
.hz-profile-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.hz-profile-logo { width: 84px; height: 84px; border-radius: 18px; border: 1px solid var(--hz-line); background: #fff; flex-shrink: 0; }
.hz-profile-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 1.4rem; font-weight: 800; }
.hz-profile-offer { margin: 0; font-weight: 700; color: #b45309; }
.hz-profile-meta { margin: 2px 0 0; font-size: .88rem; color: var(--hz-muted); }
.hz-profile-meta .bi-star-fill { color: var(--hz-amber); }
.hz-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Çağrı bandı ---------- */
.hz-band { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 18px; background: var(--hz-em-d); color: #d1fae5; box-shadow: var(--hz-shadow-lg); position: relative; overflow: hidden; }
.hz-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, .35), transparent 70%); pointer-events: none; }
.hz-band-logo { width: 56px; height: 56px; border-radius: 14px; background: #fff; flex-shrink: 0; }
.hz-band-text { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; z-index: 1; }
.hz-band-text strong { color: #fff; font-size: 1.12rem; }
.hz-band-text span { font-size: .92rem; }
.hz-band .hz-btn { position: relative; z-index: 1; }

/* ---------- Telegram yüzen buton ---------- */
.hz-tg-float { position: fixed; right: 18px; bottom: 22px; z-index: 1400; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--hz-tg); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: 0 10px 24px -8px rgba(34, 158, 217, .7); }
.hz-tg-float:hover { color: #fff; transform: translateY(-2px); }
.hz-tg-float .bi { font-size: 1.3rem; }

/* ---------- Açılır pencere ---------- */
.hz-popup { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(19, 32, 27, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.hz-popup.is-open { opacity: 1; visibility: visible; }
.hz-popup-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(6, 78, 59, .45); transform: translateY(14px) scale(.98); transition: transform .25s ease; }
.hz-popup.is-open .hz-popup-box { transform: none; }
.hz-popup-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--hz-ink); cursor: pointer; box-shadow: var(--hz-shadow); }
.hz-popup-ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; padding: .3rem .7rem; border-radius: 8px; background: var(--hz-cta); color: #1d1204; font-weight: 800; font-size: .74rem; letter-spacing: .04em; }
.hz-popup-media { display: block; aspect-ratio: 1200 / 740; overflow: hidden; border-radius: 20px 20px 0 0; }
.hz-popup-media img { width: 100%; height: 100%; object-fit: cover; }
.hz-popup-body { padding: 16px 20px 20px; }
.hz-popup-brand { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-weight: 800; color: var(--hz-em); font-size: .9rem; }
.hz-popup-brand img { border-radius: 6px; }
.hz-popup-title { font-size: 1.3rem; font-weight: 800; margin: 0 0 10px; color: var(--hz-ink); line-height: 1.25; }
.hz-popup-facts { list-style: none; display: grid; gap: 6px; margin-bottom: 16px; font-size: .9rem; color: var(--hz-ink-2); }
.hz-popup-facts .bi { color: var(--hz-em); margin-right: 4px; }
.hz-popup-tg { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; font-size: .88rem; font-weight: 600; color: #0f6f9e; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1199px) {
  .hz-rank-head, .hz-rank-row { grid-template-columns: 64px minmax(180px, 1.3fr) minmax(150px, 1.1fr) minmax(130px, 1fr) 128px; }
}
@media (max-width: 991px) {
  .hz-hero { padding: 32px 0 28px; }
  .hz-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hz-pick { max-width: 560px; }
  .hz-tg-float { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; padding: 12px; }
  .hz-tg-float span { display: none; }
  .hz-rank-head { display: none; }
  .hz-rank-row { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "no site act" "no bonus bonus" "no wager wager"; row-gap: 6px; padding: 14px; }
  .hz-rank-no { grid-area: no; align-self: start; }
  .hz-rank-no small { display: none; }
  .hz-rank-site { grid-area: site; }
  .hz-rank-bonus { grid-area: bonus; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px; }
  .hz-rank-wager { grid-area: wager; font-size: .84rem; }
  .hz-rank-lbl { display: inline; color: var(--hz-muted); }
  .hz-rank-act { grid-area: act; }
  .hz-rank-act .hz-btn { width: auto; }
}
@media (max-width: 767px) {
  .hz-hero { padding: 22px 0 24px; }
  .hz-hero-h1 { margin-bottom: 10px; }
  .hz-hero-lead { font-size: 1rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hz-checks { display: none; }
  .hz-hero-actions .hz-btn { flex: 1 1 100%; }
  .hz-hero-actions .hz-btn-line { display: none; }
  .hz-hero-grid { gap: 22px; }
  .hz-pick-ribbon { top: 18px; }
  .hz-pick-facts { grid-template-columns: 1fr 1fr; }
  .hz-pick-facts > div:last-child { grid-column: 1 / -1; }
  .hz-trust-grid { grid-template-columns: 1fr; }
  .hz-trust-item { padding: 12px 0; }
  .hz-trust-item + .hz-trust-item { border-left: 0; border-top: 1px solid var(--hz-line); }
  .hz-promo-card { flex-wrap: wrap; gap: 12px; padding: 16px 12px 12px; }
  .hz-promo-thumb { width: 108px; }
  .hz-promo-text { flex: 1 1 calc(100% - 130px); }
  .hz-promo-title { font-size: 1rem; }
  .hz-promo-card > .hz-btn { flex: 1 1 100%; }
  .hz-rank-logo-wide { width: 74px; height: 30px; }
  .hz-rank-site img:not(.hz-rank-logo-wide) { width: 38px; height: 38px; }
  .hz-profile { padding: 26px 16px 18px; }
  .hz-profile-main { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hz-profile-actions, .hz-profile-actions .hz-btn { width: 100%; }
  .hz-band { flex-direction: column; align-items: flex-start; padding: 20px; }
  .hz-band .hz-btn { width: 100%; }
}
