/* Takı Tarzını Bul — açık, sıcak görünüm. --a / --b sonuç tarzına göre JS ile değişir. */
:root {
  --zemin: #fbf3ee; --kart: #ffffff; --cizgi: #ecdcd2; --yazi: #2b1d24; --soluk: #7d6a72;
  --vurgu: #c2557a; --a: #c2557a; --b: #f3a0b8; --r: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh; color: var(--yazi);
  background: radial-gradient(ellipse at 50% -20%, #ffe3ea, var(--zemin) 55%) fixed var(--zemin);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sar { max-width: 520px; margin: 0 auto; padding: 14px 16px 28px; }
.gizli { display: none !important; }

.ust { display: flex; justify-content: center; margin-bottom: 14px; }
.hap { text-decoration: none; font-size: 13px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--cizgi); color: var(--soluk); }
.hap b { color: var(--yazi); }

/* giriş */
#giris { text-align: center; padding-top: 10px; }
.giris-emoji { display: flex; justify-content: center; gap: 10px; font-size: 38px; margin: 18px 0 8px; }
.giris-emoji span { animation: zipla 2.4s ease-in-out infinite; }
.giris-emoji span:nth-child(2) { animation-delay: .2s; } .giris-emoji span:nth-child(3) { animation-delay: .4s; }
.giris-emoji span:nth-child(4) { animation-delay: .6s; } .giris-emoji span:nth-child(5) { animation-delay: .8s; }
@keyframes zipla { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.02; margin: 6px 0 10px; letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--vurgu); }
.alt { color: var(--soluk); margin: 0 auto 20px; max-width: 400px; }
.not { font-size: 13px; color: var(--soluk); margin-top: 12px; }
.arkadas { background: #fff; border: 2px dashed var(--vurgu); border-radius: 16px; padding: 12px 14px; font-weight: 700; margin-bottom: 6px; }

.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 16px 18px; border: 0; border-radius: var(--r); background: var(--vurgu); color: #fff;
  font-weight: 800; font-size: 17px; text-decoration: none; text-align: center; line-height: 1.2;
  box-shadow: 0 6px 18px -8px var(--vurgu);
}
.dugme:active { transform: scale(.98); }
.dugme.ikincil { background: #fff; color: var(--yazi); border: 1px solid var(--cizgi); box-shadow: none; }
.dugme.wa { background: #1faa59; box-shadow: 0 6px 18px -8px #1faa59; }
.dugmeler { display: grid; gap: 10px; margin-top: 16px; }
.iki { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.iki .dugme { font-size: 15px; padding: 14px 10px; }

/* sorular */
.ilerleme { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; color: var(--soluk); }
.cubuk { flex: 1; height: 8px; border-radius: 8px; background: #f0e0d8; overflow: hidden; }
.cubuk i { display: block; height: 100%; width: 0; background: var(--vurgu); border-radius: 8px; transition: width .3s; }
h2 { font-size: clamp(25px, 7.4vw, 32px); line-height: 1.12; margin: 20px 0 16px; letter-spacing: -0.01em; }
.secenekler { display: grid; gap: 10px; }
.secenekler.izgara { grid-template-columns: repeat(3, 1fr); }
.secenek {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 14px;
  background: #fff; border: 2px solid var(--cizgi); border-radius: 16px; font-weight: 700; font-size: 16px;
  transition: transform .1s, border-color .15s; animation: gel .3s both;
}
.secenek i { font-style: normal; font-size: 28px; width: 40px; text-align: center; flex: none; }
.secenek:hover { border-color: var(--vurgu); }
.secenek.secili { border-color: var(--vurgu); background: #fff0f4; transform: scale(.98); }
.izgara .secenek { flex-direction: column; justify-content: center; gap: 4px; padding: 16px 6px; text-align: center; font-size: 13px; }
.izgara .secenek i { font-size: 40px; width: auto; }
.secenek .renkler { display: flex; gap: 4px; width: 40px; flex: none; justify-content: center; }
.secenek .renkler b { width: 12px; height: 26px; border-radius: 6px; border: 1px solid #0001; }
@keyframes gel { from { opacity: 0; transform: translateY(8px); } }
.secenek:nth-child(2) { animation-delay: .04s; } .secenek:nth-child(3) { animation-delay: .08s; }
.secenek:nth-child(4) { animation-delay: .12s; } .secenek:nth-child(5) { animation-delay: .16s; } .secenek:nth-child(6) { animation-delay: .2s; }
.geri { margin-top: 14px; background: none; border: 0; color: var(--soluk); font-weight: 700; padding: 8px 0; }

/* sonuç kartı: ekran görüntüsüne uygun, 4:5'e yakın */
.sonuc-kart {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 28px; padding: 26px 22px 20px; min-height: min(118vw, 600px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--b), var(--a));
  box-shadow: 0 20px 40px -20px var(--a); animation: belir .5s both;
}
.sonuc-kart::before, .sonuc-kart::after { content: ""; position: absolute; border-radius: 50%; background: #ffffff22; }
.sonuc-kart::before { width: 260px; height: 260px; top: -90px; right: -80px; }
.sonuc-kart::after { width: 180px; height: 180px; bottom: -70px; left: -60px; }
@keyframes belir { from { opacity: 0; transform: scale(.94); } }
.kart-ust { position: relative; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: #ffffff2e; padding: 6px 14px; border-radius: 99px; }
.kart-emoji { position: relative; font-size: 84px; line-height: 1; margin: 18px 0 6px; filter: drop-shadow(0 6px 10px #0002); }
.kart-ad { position: relative; font-size: clamp(32px, 10vw, 44px); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; text-shadow: 0 2px 10px #0002; }
.kart-yazi { position: relative; font-size: 17px; line-height: 1.45; margin: 14px 0 16px; max-width: 400px; font-weight: 600; }
.kart-ozellik { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.kart-ozellik span { background: #fff; color: var(--a); font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 99px; }
.kart-alt { position: relative; margin-top: 22px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; opacity: .95; }
.kart-alt b { font-size: 18px; letter-spacing: .02em; }
.arkadas-sonuc { background: #fff; border: 1px solid var(--cizgi); border-radius: 16px; padding: 12px 14px; font-weight: 700; margin: 14px 0 0; text-align: center; }

/* öneri */
.oneri { margin-top: 26px; background: #fff; border: 1px solid var(--cizgi); border-radius: 22px; padding: 18px 16px; }
.oneri h3 { margin: 0 0 4px; font-size: 20px; }
.oneri-alt { margin: 0 0 14px; color: var(--soluk); font-size: 15px; }
.urunler { display: grid; gap: 12px; }
.urun { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto 1fr; column-gap: 12px; text-decoration: none; border: 1px solid var(--cizgi); border-radius: 16px; overflow: hidden; background: #fff; }
.urun img { grid-row: 1 / 4; width: 112px; height: 140px; object-fit: cover; display: block; background: #f5ece6; }
.urun .ad { font-size: 15px; font-weight: 800; padding: 12px 12px 2px 0; line-height: 1.25; }
.urun .renk { font-size: 13px; color: var(--soluk); padding-right: 12px; }
.urun .git { align-self: end; justify-self: start; margin: 8px 12px 12px 0; padding: 10px 16px; border-radius: 12px; background: #f27a1a; color: #fff; font-weight: 800; font-size: 14px; }

.imza { margin-top: 22px; font-size: 12px; color: var(--soluk); text-align: center; }
.imza a { color: var(--soluk); }

#bildirim { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; transition: .25s; background: var(--yazi); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 700; z-index: 9; pointer-events: none; }
#bildirim.acik { opacity: 1; transform: translate(-50%, 0); }
