/* ============================================================================
   Gates of Bet — Bonus Talep · Bileşenler & Akış
   ========================================================================== */

/* --- İkonlar (tutarlı çizgi-ikon sistemi) -------------------------------- */
.i, .fi { width: 18px; height: 18px; flex: 0 0 auto; fill: none;
    stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fi { width: 19px; height: 19px; stroke-width: 1.9; }

/* --- Üst bar ------------------------------------------------------------- */
.site-head {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px clamp(16px, 5vw, 40px);
    background: linear-gradient(180deg, rgba(5,7,10,.92), rgba(5,7,10,.55) 70%, transparent);
    backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-ico { width: 34px; height: 34px; filter: drop-shadow(0 2px 8px rgba(110,86,15,.5)); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: #fff;
    white-space: nowrap; }   /* marka adi 2 satira kirilmasin (Gates of Bet) */
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.03); color: var(--text-2);
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    padding: 9px 15px; font: 500 13px/1 var(--font); cursor: pointer;
    transition: all .2s var(--ease);
}
.btn-ghost:hover { color: #fff; border-color: var(--brand-deep); background: rgba(110,86,15,.14); }
.btn-ghost .i { width: 16px; height: 16px; }

/* --- Düzen --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 8px clamp(16px, 5vw, 24px) 120px; }

/* --- Hero ---------------------------------------------------------------- */
.hero { text-align: center; padding: 26px 4px 26px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 12px/1 var(--font); letter-spacing: .04em; text-transform: uppercase;
    color: var(--brand-bright); background: rgba(248,207,44,.08);
    border: 1px solid rgba(248,207,44,.22); padding: 7px 14px; border-radius: var(--radius-pill);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-bright);
    box-shadow: 0 0 10px var(--brand-bright); animation: pulse 1.8s var(--ease) infinite; }
.hero h1 { font-size: clamp(27px, 7vw, 38px); margin: 18px 0 12px; color: #fff; }
.hero h1 .grad { background: linear-gradient(100deg, var(--brand-bright), var(--gold-bright));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--text-2); font-size: 15px; max-width: 460px; margin: 0 auto; line-height: 1.65; }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 20px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 12.5px; font-weight: 500; }
.trust .i { width: 15px; height: 15px; color: var(--brand); }

/* --- Kart / akış --------------------------------------------------------- */
.card.flow {
    position: relative; margin-top: 8px;
    background: linear-gradient(180deg, rgba(17,26,37,.9), rgba(13,18,25,.94));
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow), var(--glow);
    overflow: hidden;
}
.card.flow::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), var(--brand-bright), var(--brand), transparent);
    opacity: .8;
}

/* --- Stepper ------------------------------------------------------------- */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 4px; padding: 20px clamp(16px, 5vw, 30px) 6px; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; }
.stepper li::after { content: ''; position: absolute; top: 14px; left: 50%; width: 100%; height: 2px;
    background: var(--line); z-index: 0; }
.stepper li:last-child::after { display: none; }
.s-dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; font: 700 13px/1 var(--display);
    background: var(--panel-2); color: var(--text-3); border: 1px solid var(--line);
    transition: all .35s var(--ease); }
.s-lbl { font-size: 11.5px; font-weight: 600; color: var(--text-3); transition: color .3s; letter-spacing: .01em; }
.stepper li.on .s-dot { background: linear-gradient(160deg, var(--brand), var(--brand-deep));
    color: #fff; border-color: var(--brand-bright); box-shadow: 0 0 0 4px rgba(217,169,26,.16); }
.stepper li.on .s-lbl { color: #fff; }
.stepper li.done .s-dot { background: rgba(217,169,26,.16); color: var(--brand-bright); border-color: var(--brand-deep); }
.stepper li.done::after { background: linear-gradient(90deg, var(--brand-deep), var(--brand-deep)); }

/* --- Adımlar ------------------------------------------------------------- */
.steps { padding: 8px clamp(18px, 5vw, 32px) 30px; }
.step { animation: stepIn .5s var(--ease-out) both; }
.step[hidden] { display: none; }
.step-head { margin: 6px 0 20px; }
.step-head h2 { font-size: 22px; color: #fff; margin-bottom: 6px; }
.step-head p { color: var(--text-2); font-size: 14px; }

/* --- Alanlar ------------------------------------------------------------- */
.field { display: block; margin-bottom: 16px; }
.field-lbl { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.field-lbl em { color: var(--text-3); font-style: normal; font-weight: 500; }
.field-wrap { position: relative; display: block; }
.field-wrap .fi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.field input, .field textarea {
    width: 100%; background: var(--field); color: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    font: 500 15px/1.4 var(--font); padding: 14px 15px; transition: all .2s var(--ease);
}
.field-wrap input { padding-left: 44px; }
.field textarea { resize: vertical; min-height: 52px; padding: 13px 15px; }
.field input::placeholder, .field textarea::placeholder { color: #40506a; }
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); background: #060b13;
    box-shadow: 0 0 0 3px rgba(217,169,26,.14);
}
.field-wrap:focus-within .fi { color: var(--brand-bright); }
.field.err input { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-bg); }
.field.ok .field-wrap::after { content: '✓'; position: absolute; right: 14px; top: 50%;
    transform: translateY(-50%); color: var(--brand-bright); font-weight: 700; }
.field-hint { display: block; font-size: 12px; color: var(--text-3); margin-top: 7px; min-height: 1px; }
.field.err .field-hint { color: var(--err); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --- Butonlar ------------------------------------------------------------ */
.btn-primary {
    position: relative; width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: linear-gradient(135deg, var(--brand-bright), var(--brand) 55%, var(--brand-deep));
    background-size: 180% 100%; color: var(--text-on-brand);
    border: 0; border-radius: var(--radius-sm); padding: 15px 22px;
    font: 700 15px/1 var(--font); cursor: pointer; letter-spacing: .01em;
    box-shadow: 0 12px 26px -12px rgba(217,169,26,.7), inset 0 1px 0 rgba(255,255,255,.24);
    transition: background-position .5s var(--ease), transform .12s var(--ease), box-shadow .25s, opacity .2s;
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 34px -12px rgba(248,207,44,.7), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:active { transform: scale(.985); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; filter: saturate(.7); }
.btn-primary .i { color: currentColor; }
.btn-primary.loading { color: transparent; pointer-events: none; }
.btn-primary.loading::after { content: ''; position: absolute; width: 19px; height: 19px;
    border: 2.5px solid rgba(4,20,12,.35); border-top-color: var(--text-on-brand);
    border-radius: 50%; animation: spin .7s linear infinite; }
.btn-back {
    background: transparent; color: var(--text-2); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 15px 22px; font: 600 14px/1 var(--font); cursor: pointer;
    transition: all .2s var(--ease);
}
.btn-back:hover { color: #fff; border-color: var(--line-strong); background: rgba(255,255,255,.03); }
.btn-back.wide { width: 100%; }
.step-actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 22px; }
.step-foot { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* --- Filtre çipleri ------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { background: var(--panel-2); color: var(--text-2); border: 1px solid var(--line);
    border-radius: var(--radius-pill); padding: 8px 15px; font: 600 13px/1 var(--font); cursor: pointer;
    transition: all .2s var(--ease); }
.chip:hover { color: #fff; border-color: var(--line-strong); }
.chip.on { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #fff;
    border-color: var(--brand-bright); box-shadow: 0 6px 16px -8px rgba(217,169,26,.7); }

/* --- Bonus kartları ------------------------------------------------------ */
.bonus-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bonus-card {
    position: relative; text-align: left; cursor: pointer; display: block; width: 100%;
    background: linear-gradient(150deg, var(--panel-2), var(--panel));
    border: 1.5px solid var(--line); border-radius: var(--radius);
    padding: 15px 16px; transition: all .22s var(--ease); overflow: hidden;
}
.bonus-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: inset 0 0 0 0 var(--brand); transition: box-shadow .22s; pointer-events: none; }
.bonus-card:hover { border-color: var(--brand-deep); transform: translateY(-2px);
    box-shadow: 0 14px 30px -18px rgba(0,0,0,.9); }
.bonus-card.sel { border-color: var(--brand-bright); background: linear-gradient(150deg, rgba(110,86,15,.24), var(--panel)); }
.bonus-card.sel::before { box-shadow: inset 0 0 0 1.5px var(--brand-bright), var(--glow); }
.bonus-head { display: flex; align-items: flex-start; gap: 13px; }
.bonus-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    background: linear-gradient(160deg, rgba(217,169,26,.2), rgba(110,86,15,.05)); border: 1px solid rgba(217,169,26,.25); }
.bonus-ico .i { width: 23px; height: 23px; color: var(--brand-bright); }
.bonus-body { flex: 1 1 auto; min-width: 0; }
.bonus-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.bonus-title { font-family: var(--display); font-weight: 600; font-size: 15px; color: #fff; }
.bonus-high { display: block; font-size: 13px; font-weight: 700; color: var(--brand-bright); margin-top: 4px; }
.bonus-desc { display: block; font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin-top: 10px; }
.bonus-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.term { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
    color: var(--text-2); background: rgba(255,255,255,.04); border: 1px solid var(--line);
    padding: 4px 9px; border-radius: 7px; }
.term b { color: #fff; font-weight: 700; }
.bonus-pick { flex: 0 0 auto; align-self: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong);
    display: grid; place-items: center; transition: all .22s var(--ease); }
.bonus-card.sel .bonus-pick { border-color: var(--brand-bright); background: var(--brand-bright); }
.bonus-pick svg { width: 13px; height: 13px; stroke: var(--text-on-brand); stroke-width: 3; opacity: 0; transition: opacity .2s; }
.bonus-card.sel .bonus-pick svg { opacity: 1; }
.bonus-tags { display: inline-flex; gap: 5px; }
.tag { font-size: 10px; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 6px;
    background: rgba(255,255,255,.06); color: var(--text-2); border: 1px solid var(--line); text-transform: uppercase; white-space: nowrap; }
/* Premium (altın) */
.bonus-card.premium { border-color: rgba(230,179,77,.4); background: linear-gradient(150deg, rgba(230,179,77,.09), var(--panel)); }
.bonus-card.premium .bonus-ico { background: linear-gradient(160deg, rgba(230,179,77,.24), rgba(184,134,58,.06)); border-color: rgba(230,179,77,.4); }
.bonus-card.premium .bonus-ico .i, .bonus-card.premium .bonus-high { color: var(--gold-bright); }
.bonus-card.premium.sel { border-color: var(--gold); }
.bonus-card.premium.sel .bonus-pick { border-color: var(--gold); background: var(--gold); }
.tag.gold { background: linear-gradient(120deg, var(--gold), var(--gold-deep)); color: #2a1c05; border: 0; }
/* Sınırlı süre sayacı */
.bonus-count { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; margin-top: 10px;
    font-size: 11.5px; font-weight: 600; color: var(--gold-bright); }
.bonus-count .i { width: 14px; height: 14px; }
/* İskelet */
.bonus-skel { height: 96px; border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%);
    background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }

/* --- Özet (adım 3) ------------------------------------------------------- */
.summary { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px;
    background: linear-gradient(150deg, rgba(110,86,15,.14), var(--panel)); }
.summary-top { display: flex; align-items: center; gap: 13px; padding: 15px 16px; border-bottom: 1px solid var(--line-soft); }
.summary-top .bonus-ico { width: 44px; height: 44px; }
.summary-name { font-family: var(--display); font-weight: 600; font-size: 16px; color: #fff; }
.summary-high { font-size: 13px; font-weight: 700; color: var(--brand-bright); margin-top: 2px; }
.summary-rows { padding: 6px 16px 14px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13px;
    border-bottom: 1px dashed var(--line-soft); }
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--text-3); }
.summary-row b { color: #fff; font-weight: 600; text-align: right; }

/* --- Onay kutusu --------------------------------------------------------- */
.agree { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 4px; cursor: pointer;
    font-size: 13px; color: var(--text-2); line-height: 1.5; }
.agree input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 21px; height: 21px; margin-top: 1px;
    border: 1.5px solid var(--line-strong); border-radius: 6px; background: var(--field); cursor: pointer;
    position: relative; transition: all .2s var(--ease); }
.agree input:checked { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); border-color: var(--brand-bright); }
.agree input:checked::after { content: ''; position: absolute; left: 6.5px; top: 3px; width: 5px; height: 9px;
    border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(42deg); }

/* --- Tamam ekranı -------------------------------------------------------- */
.done { text-align: center; padding: 12px 0 6px; }
.done-check { width: 84px; height: 84px; margin: 0 auto 18px; }
.done-check svg { width: 100%; height: 100%; }
.done-check circle { fill: none; stroke: var(--brand); stroke-width: 3; opacity: .3;
    stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease-out) .1s forwards; }
.done-check path { fill: none; stroke: var(--brand-bright); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 44; stroke-dashoffset: 44; animation: draw .5s var(--ease-out) .5s forwards; }
.done h2 { font-size: 24px; color: #fff; margin-bottom: 8px; }
.done > p { color: var(--text-2); font-size: 14.5px; max-width: 400px; margin: 0 auto 22px; line-height: 1.6; }
.ref-copy { display: inline-flex; align-items: center; gap: 12px; background: var(--field);
    border: 1px dashed var(--brand-deep); border-radius: var(--radius-sm); padding: 12px 18px; cursor: pointer;
    transition: all .2s var(--ease); margin-bottom: 18px; }
.ref-copy:hover { border-color: var(--brand-bright); background: rgba(110,86,15,.12); }
.ref-lbl { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.ref-no { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--brand-bright); letter-spacing: .04em; }
.ref-copy .i { color: var(--text-3); }
.done-eta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); margin-bottom: 24px; }
.done-eta b { color: #fff; }
.done-eta .pulse, .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright);
    box-shadow: 0 0 0 0 rgba(248,207,44,.5); animation: ring 1.6s var(--ease) infinite; }
.done-actions { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; }

/* --- Footer -------------------------------------------------------------- */
.foot { text-align: center; margin-top: 26px; padding: 0 8px; }
.foot-sec { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-3);
    background: rgba(255,255,255,.02); border: 1px solid var(--line-soft); border-radius: var(--radius-pill);
    padding: 9px 16px; }
.foot-sec .i { width: 15px; height: 15px; color: var(--brand); }
.foot-links { margin: 16px 0 8px; display: flex; justify-content: center; gap: 10px; font-size: 13px; }
.foot-links a { color: var(--text-2); } .foot-links a:hover { color: var(--brand-bright); }
.foot-links span { color: var(--line-strong); }
.foot-copy { font-size: 12px; color: var(--text-3); }

/* --- Canlı destek balonu ------------------------------------------------- */
.support-fab { position: fixed; right: 18px; bottom: 18px; z-index: 45;
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff;
    border-radius: var(--radius-pill); padding: 13px 18px; font: 700 14px/1 var(--font);
    box-shadow: 0 14px 30px -10px rgba(217,169,26,.7); transition: transform .2s var(--ease); }
.support-fab:hover { transform: translateY(-2px) scale(1.02); }
.support-fab .i { width: 19px; height: 19px; }

/* --- Modal (sorgulama) --------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px;
    background: rgba(2,4,7,.7); backdrop-filter: blur(6px); animation: fade .25s var(--ease); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: 100%; max-width: 420px;
    background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 26px 22px 22px; box-shadow: var(--shadow), var(--glow);
    animation: pop .35s var(--ease-out); }
.modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 9px;
    background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text-2); cursor: pointer;
    display: grid; place-items: center; transition: all .2s; }
.modal-x:hover { color: #fff; border-color: var(--err); }
.modal-card h3 { font-size: 19px; color: #fff; margin-bottom: 6px; }
.modal-card > p { color: var(--text-2); font-size: 13.5px; margin-bottom: 18px; }
#formStatus { display: grid; gap: 10px; }
#formStatus .field-wrap input { width: 100%; background: var(--field); color: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 14px 15px 14px 44px; font: 600 15px/1 var(--font); letter-spacing: .03em; text-transform: uppercase; }
#formStatus .field-wrap input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(217,169,26,.14); }
.status-result { margin-top: 16px; }
.status-tl { list-style: none; margin-top: 6px; }
.status-tl li { position: relative; padding: 0 0 16px 26px; font-size: 13px; color: var(--text-2); }
.status-tl li::before { content: ''; position: absolute; left: 5px; top: 3px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--panel); border: 2px solid var(--line-strong); }
.status-tl li::after { content: ''; position: absolute; left: 9px; top: 13px; bottom: 0; width: 2px; background: var(--line); }
.status-tl li:last-child::after { display: none; }
.status-tl li.hit::before { background: var(--brand-bright); border-color: var(--brand-bright); box-shadow: 0 0 8px var(--brand-bright); }
.status-tl li.hit { color: #fff; font-weight: 600; }
.status-tl li.bad::before { background: var(--err); border-color: var(--err); box-shadow: 0 0 8px var(--err); }
.st-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 14px;
    background: rgba(255,255,255,.02); }
.st-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 5px 11px;
    border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .03em; }
.st-badge.pending { background: var(--warn-bg); color: var(--warn); }
.st-badge.reviewing { background: rgba(62,195,255,.12); color: var(--info); }
.st-badge.approved { background: var(--ok-bg); color: var(--ok); }
.st-badge.rejected { background: var(--err-bg); color: var(--err); }

/* --- Toast --------------------------------------------------------------- */
.toast-wrap { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 80;
    display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: var(--radius-sm);
    font-size: 13.5px; font-weight: 500; color: #fff; background: var(--panel-2); border: 1px solid var(--line);
    box-shadow: var(--shadow-card); animation: toastIn .35s var(--ease-out); }
.toast.err { border-color: rgba(239,77,77,.4); } .toast.err .i { color: var(--err); }
.toast.ok { border-color: rgba(35,195,104,.4); } .toast.ok .i { color: var(--brand-bright); }
.toast .i { flex: 0 0 auto; }

/* --- Duyarlılık ---------------------------------------------------------- */
@media (min-width: 600px) {
    .bonus-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
    .support-fab span { display: none; } .support-fab { padding: 14px; }
    .s-lbl { display: none; }
}

/* --- Keyframes ----------------------------------------------------------- */
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(248,207,44,.5); } 70% { box-shadow: 0 0 0 8px rgba(248,207,44,0); } 100% { box-shadow: 0 0 0 0 rgba(248,207,44,0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================
   v2 — Bonus kartı redesign: title-case başlık, düzenli şart
   satırları (pill yığını yerine), "+N şart daha" açılır bölüm
   ============================================================ */
.bonus-card { padding: 16px 16px 14px; }
.bonus-kick { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800;
    letter-spacing: .09em; text-transform: uppercase; color: var(--brand-bright); margin-bottom: 5px; }
.bonus-card.premium .bonus-kick { color: var(--gold-bright); }
.bonus-title { font-family: var(--display); font-weight: 650; font-size: 15.5px; line-height: 1.32; color: #fff;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bonus-high { display: inline-block; font-size: 15px; font-weight: 800; color: var(--brand-bright); margin-top: 6px; }
.bonus-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 12.5px; color: var(--text-2); line-height: 1.55; margin-top: 10px; }
.bonus-card.open .bonus-desc { -webkit-line-clamp: unset; }

/* şartlar: pill yığını değil, hizalı şartname satırları */
.bonus-terms { display: block; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 4px; }
.trow { display: flex; align-items: baseline; gap: 10px; padding: 5.5px 0; font-size: 12px;
    border-bottom: 1px dashed rgba(255,255,255,.05); }
.trow:last-child { border-bottom: 0; }
.trow .tk { flex: 0 0 88px; color: var(--text-3); font-weight: 650; font-size: 10.5px;
    text-transform: uppercase; letter-spacing: .05em; padding-top: 1px; }
.trow .tv { flex: 1; color: var(--text); font-weight: 600; line-height: 1.45; min-width: 0; }
.trow.extra { display: none; }
.bonus-card.open .trow.extra { display: flex; }

.term-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 11.5px;
    font-weight: 750; color: var(--brand-bright); cursor: pointer; user-select: none;
    padding: 5px 10px; border: 1px solid rgba(217,169,26,.3); border-radius: 8px;
    background: rgba(217,169,26,.07); transition: .15s; }
.term-more:hover { background: rgba(217,169,26,.14); }
.bonus-card.premium .term-more { color: var(--gold-bright); border-color: rgba(230,179,77,.35); background: rgba(230,179,77,.07); }
.term-more .tm-close { display: none; }
.bonus-card.open .term-more .tm-open { display: none; }
.bonus-card.open .term-more .tm-close { display: inline; }

/* ============================================================
   v3 — PC genişliği (koca boşluk bitti) + sayfada canlı destek paneli
   ============================================================ */
@media (min-width: 1100px) {
    :root { --maxw: 1180px; }
    .card.flow { max-width: 100%; }
    .bonus-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 42px; }
    .hero-sub { max-width: 560px; }
}

/* sayfada açılan canlı destek paneli (bb chat'i iframe ile — gerçek sistem) */
#btChat { position: fixed; right: 18px; bottom: 18px; z-index: 300; width: 390px; height: 580px;
    max-height: calc(100vh - 36px); display: flex; flex-direction: column;
    background: #0a0d12; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 70px -20px rgba(0,0,0,.85); }
#btChat[hidden] { display: none; }
#btChat .btc-head { flex: none; display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; background: linear-gradient(120deg, var(--brand-deep), #06251a);
    border-bottom: 1px solid var(--line); }
#btChat .btc-head b { color: #fff; font-size: 13.5px; }
#btChat .btc-head button { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1;
    cursor: pointer; opacity: .8; }
#btChat .btc-head button:hover { opacity: 1; }
#btChatFrame { flex: 1; width: 100%; border: 0; background: #0a0d12; }
@media (max-width: 560px) {
    #btChat { right: 0; bottom: 0; width: 100%; height: 100%; max-height: 100%; border-radius: 0; border: 0; }
}

/* v4 — sorgu inputu: büyük harf zorlaması yok (placeholder doğal) */
#formStatus .field-wrap input { text-transform: none; letter-spacing: normal; }
