/* ─────────────────────────────────────────────────────────────
   Sub-component CSS.

   `ikas-component build` src/sub-components klasorundeki styles.css
   dosyalarini OTOMATIK paketlemiyor — bu import'lar olmadan popup
   uretimde stilsiz cikar (dev sunucusu derledigi icin Studio'da dogru
   gorunur, hata ancak canlida ortaya cikar).

   _scope-guard.css ilk sirada: derleyici en ustteki import'un ilk
   kuralini scope'suz birakiyor, o kural bilerek feda ediliyor.
   ───────────────────────────────────────────────────────────── */
/* Imported from: ../../sub-components/_scope-guard.css */
/* SCOPE KORUYUCU — silme, sirasini degistirme.
 *
 * `ikas-component build`'in CSS scope'layicisinde bir hata var: bir
 * component'in styles.css'indeki EN USTTEKI @import'un ILK kuralini
 * scope'lamiyor (`.cc_<id>` oneki almiyor). Scope'suz kalan kural da
 * yayinlanan sayfada uygulanmiyor.
 *
 * Bu dosya her zaman ILK import edilir; asagidaki kural bilerek feda
 * edilir. Hicbir elemana denk gelmez, dolayisiyla kaybolmasi zararsiz.
 * Gercek stiller bundan SONRAKI import'larda gelir ve dogru scope'lanir.
 *
 * (Import'lari dosyanin sonuna almak da cozum degil — o zaman HICBIR
 * import'lu kural scope almiyor.)
 */
.cc_liCOqq6YcZ_9oGI4fVcrX .ath-scope-guard {
  display: contents;
}

/* End import: ../../sub-components/_scope-guard.css */
/* Imported from: ../../sub-components/Modal/styles.css */
.cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(17, 17, 17, 0.45);
  padding: 0;
  animation: cc_liCOqq6YcZ_9oGI4fVcrX_ath-modal-overlay-enter 160ms ease-out both;
}

@media (min-width: 640px) {
  .cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-overlay {
    align-items: center;
    padding: var(--space-md);
  }
}

.cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 -8px 40px rgba(17, 17, 17, 0.18);
  animation: cc_liCOqq6YcZ_9oGI4fVcrX_ath-modal-panel-enter 180ms ease-out both;
}

@keyframes cc_liCOqq6YcZ_9oGI4fVcrX_ath-modal-overlay-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cc_liCOqq6YcZ_9oGI4fVcrX_ath-modal-panel-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal {
    max-height: 88vh;
    border-radius: 2px;
    box-shadow: 0 12px 48px rgba(17, 17, 17, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-overlay, .cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal {
    animation: none;
  }
}

.cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md) var(--space-xs);
}

.cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text-primary);
}

/* Görsel olarak gizle ama ekran okuyucuya bırak. */
.cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-title--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -4px -4px 0 0;
  padding: 0;
  font-size: 20px;
  color: var(--color-text-muted);
  background: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: color 160ms ease;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-close:hover, .cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-close:focus-visible {
  color: var(--color-text-primary);
}

.cc_liCOqq6YcZ_9oGI4fVcrX .ath-modal-body {
  padding: 0 var(--space-md) var(--space-md);
}

/* End import: ../../sub-components/Modal/styles.css */

/* DIKKAT — PORTAL TUZAGI
   Modal, ScopedPortal ile <body>'ye tasiniyor; yani panel .spin-popup'in
   ICINDE DEGIL. Degiskenleri sadece .spin-popup uzerinde tanimlarsan panele
   ulasmazlar, `background: var(--spin-cream)` gecersiz kalir ve panel SEFFAF
   cizilir (sayfa arkadan gorunur). Bu yuzden token'lar iki kokte birden
   tanimli ve her kullanimda yedek deger var. */
.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup, .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__panel {
  --spin-ink: #171615;
  --spin-cream: #fffdfa;
  --spin-accent: var(--color-accent, #9e4664);
  --spin-muted: #6c6660;
}

/* Bolum kendisi gorunmez: tek isi popup'i tetiklemek. Tetik butonu
   acikken normal akista duruyor. */
.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__trigger {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  margin: 16px auto;
  padding: 0 22px;
  background: var(--spin-ink, #171615);
  color: #fff;
  border: 1px solid var(--spin-ink, #171615);
  font-family: var(--font-label, sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__panel {
  position: relative;
  max-width: 860px;
  overflow: hidden;
  background: var(--spin-cream, #fffdfa);
  border: 1px solid var(--spin-ink, #171615);
  border-radius: 0;
}

/* Modal'in kendi baslik satiri burada kullanilmiyor: baslik gorsel olarak
   gizli, geriye sadece kapat butonu kaliyor. Onu akistan cikarip panelin sag
   ust kosesine sabitliyoruz — yoksa space-between onu SOLA yaslıyor ve
   ustte bos bir serit birakiyor. */
.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__panel .ath-modal-header {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  padding: 10px;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__panel .ath-modal-close {
  width: 34px;
  height: 34px;
  margin: 0;
  background: rgba(255, 253, 250, .92);
  border: 1px solid rgba(23, 22, 21, .18);
  border-radius: 50%;
  color: var(--spin-ink, #171615);
}

/* Gorsel kenara dayansin diye Modal'in govde dolgusu sifirlaniyor. */
.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__panel .ath-modal-body {
  padding: 0;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__media { display: none; }

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 24px 28px;
  background: var(--spin-cream, #fffdfa);
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__view { display: flex; flex-direction: column; }
.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__view--center { align-items: center; text-align: center; }

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__brand {
  margin: 0 0 14px;
  color: var(--spin-ink, #171615);
  font-family: var(--font-label, sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__title {
  margin: 0 0 14px;
  color: var(--spin-ink, #171615);
  font-family: var(--font-display, sans-serif);
  font-size: clamp(24px, 5.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__title--sm {
  font-size: clamp(21px, 4.6vw, 27px);
  text-transform: none;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__text {
  max-width: 330px;
  margin: 0 0 20px;
  color: var(--spin-muted, #6c6660);
  font-family: var(--font-body, sans-serif);
  font-size: 13.5px;
  line-height: 1.6;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__view--center .spin-popup__text { margin-left: auto; margin-right: auto; }

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__input {
  width: 100%;
  height: 48px;
  margin-bottom: 10px;
  padding: 0 14px;
  background: #fff;
  color: var(--spin-ink, #171615);
  border: 1px solid var(--spin-ink, #171615);
  border-radius: 0;
  font-family: var(--font-body, sans-serif);
  font-size: 14px;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__input:focus-visible { outline: 2px solid var(--spin-accent, #9e4664); outline-offset: 1px; }

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0 4px;
  color: var(--spin-muted, #6c6660);
  font-family: var(--font-body, sans-serif);
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__consent input {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--spin-ink, #171615);
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__consent a { color: var(--spin-ink, #171615); text-decoration: underline; }

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 20px;
  background: var(--spin-ink, #171615);
  color: #fff;
  border: 1px solid var(--spin-ink, #171615);
  font-family: var(--font-label, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-decoration: none;
  cursor: pointer;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__button[disabled] { cursor: default; opacity: .55; }
.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__button--wheel { max-width: 300px; }
.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__button--link { max-width: 300px; }

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__message {
  min-height: 18px;
  margin: 10px 0 0;
  color: #c20000;
  font-family: var(--font-body, sans-serif);
  font-size: 12px;
  text-align: center;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__footnote {
  max-width: 300px;
  margin: 12px auto 0;
  color: #8f8880;
  font-family: var(--font-body, sans-serif);
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

/* ─── Çark ────────────────────────────────────────────────── */

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__wheel-wrap {
  position: relative;
  /* Dilim etiketleri bu olcuye gore konumlaniyor (bkz. .spin-popup__slot-label) —
     tek yerden degistirilebilsin diye degiskende. */
  --spin-wheel-size: min(300px, 74vw);
  width: var(--spin-wheel-size);
  aspect-ratio: 1;
  margin: 4px 0 22px;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  border-top: 22px solid var(--spin-ink, #171615);
  border-right: 14px solid transparent;
  border-left: 14px solid transparent;
  transform: translateX(-50%);
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__wheel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid var(--spin-ink, #171615);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(23, 22, 21, .18);
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__wheel--spinning {
  transition: transform var(--spin-duration, 4000ms) cubic-bezier(.17, .67, .24, 1);
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__slot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

/* HATA: `top` YUZDE OLARAK verilmisti. Yuzdeli `top`, kapsayicinin
   YUKSEKLIGINE gore hesaplanir; kapsayici `.spin-popup__slot` ise
   `width: 0; height: 0` bir noktadir. Yani -39% => -39% * 0 = 0: sekiz
   etiketin hepsi carkin tam merkezine, gobek dugmesinin (z-index: 2)
   ALTINA yigiliyordu. Gorunen sonuc: carkta hicbir yuzde yazmiyor.
   Cozum: konumu carkin capina bagli MUTLAK uzunlukla ver.
   0.34 * cap = 0.68 * yaricap -> etiketler dis kenara yakin ama tasmiyor. */
.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__slot-label {
  position: absolute;
  top: calc(var(--spin-wheel-size, 300px) * -0.34);
  left: -22px;
  width: 44px;
  color: var(--spin-ink, #171615);
  font-family: var(--font-label, sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__slot-label--on-ink { color: #fff; }

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 30px;
  height: 30px;
  background: var(--spin-ink, #171615);
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ─── Sonuç ───────────────────────────────────────────────── */

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: var(--spin-ink, #171615);
  border: 1.5px solid var(--spin-ink, #171615);
  border-radius: 50%;
  font-size: 24px;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__code {
  width: 100%;
  max-width: 320px;
  display: block;
  padding: 16px 20px;
  background: rgba(23, 22, 21, .03);
  border: 1.5px dashed var(--spin-ink, #171615);
  cursor: pointer;
  text-align: center;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__code-label {
  display: block;
  margin-bottom: 6px;
  color: #8f8880;
  font-family: var(--font-label, sans-serif);
  font-size: 10px;
  letter-spacing: .18em;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__code-value {
  display: block;
  color: var(--spin-ink, #171615);
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .22em;
}

.cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__code-action {
  display: block;
  margin-top: 10px;
  color: var(--spin-ink, #171615);
  font-family: var(--font-label, sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

/* ─── Masaüstü: görsel solda, iki sütun ───────────────────── */

@media (min-width: 861px) {
  .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__grid { grid-template-columns: 430px minmax(0, 1fr); }
  .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__media { display: block; min-height: 560px; }
  .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__body { padding: 46px 42px 36px; }
  .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__text { max-width: 340px; }
}

@media (hover: hover) {
  .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__button:not([disabled]):hover { background: #332f2c; }
  .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__code:hover { background: rgba(23, 22, 21, .06); }
}

@media (prefers-reduced-motion: reduce) {
  .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__wheel, .cc_liCOqq6YcZ_9oGI4fVcrX .spin-popup__wheel--spinning { transition: none !important; }
}
