/* Santi Wallet açılış ekranı (public/santi-wallet.html .swa): solda iki satırlık başlık ve işletme adıyla deneme, sağda
   eğik duran buzlu cam sadakat kartı; kart olayları damgaların üstündeki boşlukta sırayla belirir. */
.swa { position: relative; overflow: hidden; min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; padding: 36px 0 40px;
  background:
    radial-gradient(620px 460px at 74% 46%, rgba(147,197,253,.55), rgba(147,197,253,0) 70%),
    radial-gradient(520px 380px at 92% 88%, rgba(253,214,196,.55), rgba(253,214,196,0) 70%),
    radial-gradient(700px 520px at 6% 0%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    linear-gradient(160deg, #f7f9ff 0%, #eef3fc 55%, #f6efee 100%) }
.swa .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; max-width: 1240px; width: 100% }
.swa .crumbs { margin-bottom: 26px }

/* Başlık: iki satır, tek renk */
.swa h1 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); line-height: .98; letter-spacing: -.045em; font-weight: 700; color: var(--ink) }
.swa h1 .row { display: flex; flex-wrap: wrap; align-items: center; gap: .22em; white-space: nowrap }
.swa .lead { margin: 26px 0 30px; max-width: 470px; font-size: 18px; line-height: 1.6; color: #55647c }

/* Deneme düğmesi: deneme penceresini açar (public/demo-modal.js) */
.swa-cta { height: 54px; padding: 0 28px; font-size: 16px }
.swa-note { margin: 12px 0 0 6px; font-size: 13.5px; color: var(--muted) }

/* Alt şerit: üç kısa güvence */
.swa-facts { position: relative; z-index: 1; width: 100%; margin-top: 44px }
.swa .swa-facts .wrap { display: block }
.swa-facts ul { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none }
.swa-facts li { display: flex; align-items: center; gap: 12px; padding: 0 28px; border-left: 1px solid rgba(11,27,58,.12) }
.swa-facts li:first-child { padding-left: 0; border-left: 0 }
.swa-facts li > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(11,27,58,.5) }
.swa-facts li > i svg { width: 18px; height: 18px }
.swa-facts b { display: block; font: 700 15px var(--display); color: var(--ink); letter-spacing: -.01em }
.swa-facts small { font-size: 13px; color: var(--muted) }

/* Arkada silik büyük yazı */
.swa-ghost { position: absolute; z-index: 0; left: 50%; bottom: -.28em; transform: translateX(-50%); margin: 0; font: 400 clamp(140px, 22vw, 330px)/1 "Lobster", "Segoe Script", cursive; color: rgba(255,255,255,.45); white-space: nowrap; pointer-events: none; user-select: none; text-shadow: 0 1px 0 rgba(11,27,58,.03) }

/* Sağ: eğik duran buzlu cam kart */
.swa-stage { position: relative; height: clamp(460px, 48vw, 620px); perspective: 1400px }
.swa-glow { position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 200deg, #3b82f6, #a78bfa, #fb923c, #f472b6, #3b82f6); filter: blur(56px); opacity: .6 }
/* Boy sahnenin yüksekliğine göre: telefonda da kart sahneye sığar */
.swa-tilt { position: absolute; left: 50%; top: 50%; height: 84%; max-height: 504px; aspect-ratio: 5 / 7.2; transform: translate(-50%, -50%) rotateX(6deg) rotateY(-16deg) rotateZ(7deg); transform-style: preserve-3d }
.swa-float { position: absolute; inset: 0; animation: swa-float 7s ease-in-out infinite }
@keyframes swa-float { 50% { transform: translateY(-14px) } }
.swa-card { position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; padding: 22px; border-radius: 26px; color: var(--ink);
  background: linear-gradient(155deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.4) 50%, rgba(226,232,255,.5) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 40px 70px -36px rgba(11,27,58,.55), 0 16px 36px -24px rgba(37,99,235,.4), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -30px 60px -30px rgba(37,99,235,.18) }
/* Yüzeyde gezen ışık */
.swa-card::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%); transform: translateX(-60%); animation: swa-shine 7s ease-in-out infinite; pointer-events: none }
@keyframes swa-shine { 0%, 55% { transform: translateX(-60%) } 80%, 100% { transform: translateX(60%) } }
.swa-card-top { display: flex; align-items: center; gap: 10px }
.swa-card-top img { width: 34px; height: 34px }
.swa-card-top b { flex: 1; font: 700 16px var(--display); letter-spacing: -.02em }
.swa-card-top span { text-align: right; font: 700 19px/1 var(--display) }
.swa-card-top small { display: block; margin-bottom: 3px; font: 600 9.5px Inter, sans-serif; letter-spacing: .08em; color: #5b6b82 }
/* Kart olayları: damgaların üstündeki boşlukta sırayla belirir */
.swa-events { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 9px; margin: 12px 0; padding: 0; list-style: none }
.swa-events li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.85); box-shadow: 0 6px 16px -10px rgba(11,27,58,.5), 0 0 0 1px rgba(255,255,255,.9); font: 600 13px Inter, sans-serif; color: var(--ink); white-space: nowrap; animation: swa-event 9s ease infinite both }
.swa-events li:nth-child(2) { animation-delay: .6s }
.swa-events li:nth-child(3) { animation-delay: 1.2s }
.swa-events i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--blue)); color: #fff }
.swa-events i svg { width: 11px; height: 11px }
@keyframes swa-event { 0% { opacity: 0; transform: translateY(6px) } 6%, 88% { opacity: 1; transform: none } 96%, 100% { opacity: 0; transform: translateY(-4px) } }
.swa-stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.75) }
.swa-stamps span { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(11,27,58,.22) }
.swa-stamps span.on { border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 52% no-repeat, linear-gradient(160deg, #3b82f6, #1d4ed8); box-shadow: 0 5px 10px -5px rgba(29,78,216,.7), inset 0 1px 0 rgba(255,255,255,.35) }
.swa-stamps span.new { animation: swa-stamp 9s ease infinite }
@keyframes swa-stamp { 0%, 30% { transform: scale(0); opacity: 0 } 36% { transform: scale(1.18); opacity: 1 } 42%, 100% { transform: none; opacity: 1 } }
.swa-stamps span.gift { border-style: solid; border-color: rgba(11,27,58,.25); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E") center / 50% no-repeat }

/* Damgaların altında hediye bilgisi */
.swa-fields { display: flex; justify-content: space-between; margin-top: 14px; font: 700 15px var(--display) }
.swa-fields small { display: block; margin-bottom: 2px; font: 600 9.5px Inter, sans-serif; letter-spacing: .08em; color: #5b6b82 }
.swa-fields div:last-child { text-align: right }

/* Alt şeritte iki cüzdan logosu yan yana */
.swa-duo { display: inline-flex }
.swa-duo i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -10px rgba(11,27,58,.5), 0 0 0 2px #f3f6fc }
.swa-duo i + i { margin-left: -10px }
.swa-duo i.dark { background: #0b1b3a; color: #fff }
.swa-duo svg { width: 18px; height: 18px }

@media (max-width: 960px) {
  .swa { min-height: 0; padding: 32px 0 40px }
  .swa h1 .row { white-space: normal }
  .swa .wrap { grid-template-columns: minmax(0, 1fr); gap: 8px }
  .swa-stage { height: 520px }
  .swa-facts { margin-top: 8px }
  .swa-ghost { display: none }
}
@media (max-width: 600px) {
  .swa h1 { font-size: min(44px, 9.2vw) }
  .swa h1 .row { white-space: nowrap }
  .swa .lead { font-size: 16px; margin: 18px 0 22px }
  .swa-cta { width: 100%; justify-content: center }
  .swa-stage { height: 420px; margin-top: 8px }
  .swa-card { padding: 14px; border-radius: 20px }
  .swa-events { gap: 6px; margin: 8px 0 }
  .swa-fields { margin-top: 10px; font-size: 13px }
  .swa-card-top b { font-size: 13px } .swa-card-top img { width: 24px; height: 24px } .swa-events li { font-size: 10.5px } .swa-stamps { gap: 4px; padding: 6px }
  .swa-facts ul { flex-direction: column; gap: 14px }
  .swa-facts li { padding: 0; border: 0 }
}
@media (prefers-reduced-motion: reduce) { .swa-float, .swa-card::after, .swa-stamps span.new, .swa-events li { animation: none } }
