/* Gold mu, Gümüş mü? — açık, sıcak-serin karışık görünüm. Sonuca göre body[data-sonuc] değişir. */
:root {
  --zemin: #f7f1e8; --kart: #ffffff; --cizgi: #e8ded0; --yazi: #2a2320; --soluk: #7a6e66;
  --vurgu: #b9862f; --r: 18px;
  --gold-a: #a8741f; --gold-b: #f2d27c; --gumus-a: #6d7884; --gumus-b: #e4e9ee;
}
body[data-sonuc="gumus"] { --vurgu: #5f6b78; }
body[data-sonuc="ikisi"] { --vurgu: #9a7a4e; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh; color: var(--yazi);
  background: linear-gradient(115deg, #fff3d6 0%, var(--zemin) 45%, #eef1f5 100%) 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: 6px; }
.giris-halka { position: relative; height: 130px; margin: 14px auto 6px; width: 200px; }
.giris-halka span { position: absolute; top: 15px; width: 100px; height: 100px; border-radius: 50%; border: 14px solid; }
.h-gold { left: 18px; border-color: #d9a842 !important; box-shadow: inset 0 0 0 2px #f6dc93, 0 6px 18px -6px #b9862f; animation: salla 3s ease-in-out infinite; }
.h-gumus { right: 18px; border-color: #aeb7c1 !important; box-shadow: inset 0 0 0 2px #eef2f5, 0 6px 18px -6px #6d7884; animation: salla 3s ease-in-out infinite reverse; }
@keyframes salla { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-6px); } }
h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.04; margin: 6px 0 10px; letter-spacing: -0.02em; }
h1 em { font-style: normal; }
.e-gold { color: #b07a1c; }
.e-gumus { color: #66727f; }
.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; }

/* sorular: büyük kartlar, tek dokunuş */
.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: #ece2d4; overflow: hidden; }
.cubuk i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #d9a842, #aeb7c1); border-radius: 8px; transition: width .3s; }
h2 { font-size: clamp(25px, 7.4vw, 31px); line-height: 1.14; margin: 20px 0 8px; letter-spacing: -0.01em; }
.ipucu { margin: 0 0 6px; color: var(--soluk); font-weight: 600; }
.secenekler { display: grid; gap: 12px; margin-top: 14px; }
.secenek {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 96px; text-align: left; padding: 14px 16px;
  background: #fff; border: 2px solid var(--cizgi); border-radius: 20px; font-weight: 800; font-size: 18px; line-height: 1.25;
  box-shadow: 0 4px 14px -10px #0004; transition: transform .1s, border-color .15s; animation: gel .3s both;
}
.secenek:hover { border-color: var(--vurgu); }
.secenek.secili { border-color: var(--vurgu); background: #fff7e6; transform: scale(.98); }
.gorsel { flex: none; width: 66px; height: 66px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: #f8f3ec; }
.gorsel svg { width: 62px; height: 62px; }
.gorsel.emoji { font-size: 40px; }
.gorsel.renkler { gap: 5px; }
.gorsel.renkler b { width: 15px; height: 46px; border-radius: 8px; border: 1px solid #0002; }
@keyframes gel { from { opacity: 0; transform: translateY(8px); } }
.secenek:nth-child(2) { animation-delay: .05s; } .secenek:nth-child(3) { animation-delay: .1s; }
.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: #2a2320;
  border-radius: 28px; padding: 26px 22px 22px; min-height: min(120vw, 610px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: belir .5s both; box-shadow: 0 20px 40px -22px #0007;
}
body[data-sonuc="gold"] .sonuc-kart { background: linear-gradient(160deg, #fff1c4, #f0c86a 55%, #c38d32); }
body[data-sonuc="gumus"] .sonuc-kart { background: linear-gradient(160deg, #f3f5f8, #c9d1da 55%, #8d98a5); }
body[data-sonuc="ikisi"] .sonuc-kart { background: linear-gradient(120deg, #fbe3a1 0%, #e7bd62 40%, #d6dce3 60%, #a8b2bd 100%); }
.sonuc-kart::before, .sonuc-kart::after { content: ""; position: absolute; border-radius: 50%; background: #ffffff55; }
.sonuc-kart::before { width: 260px; height: 260px; top: -100px; right: -90px; }
.sonuc-kart::after { width: 180px; height: 180px; bottom: -80px; left: -70px; }
@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: #ffffff8c; padding: 6px 14px; border-radius: 99px; }
.kart-halka { position: relative; width: 150px; height: 104px; margin: 20px 0 10px; }
.kart-halka::before, .kart-halka::after { content: ""; position: absolute; top: 6px; width: 88px; height: 88px; border-radius: 50%; border: 13px solid; box-sizing: border-box; }
.k-gold::before { left: 31px; border-color: #b7832a; box-shadow: inset 0 0 0 2px #ffe7a6, 0 6px 14px -4px #7a540f; }
.k-gold::after { display: none; }
.k-gumus::before { left: 31px; border-color: #8b96a2; box-shadow: inset 0 0 0 2px #ffffff, 0 6px 14px -4px #3f4954; }
.k-gumus::after { display: none; }
.k-ikisi::before { left: 4px; border-color: #b7832a; box-shadow: inset 0 0 0 2px #ffe7a6; }
.k-ikisi::after { right: 4px; border-color: #8b96a2; box-shadow: inset 0 0 0 2px #ffffff; }
.kart-ad { position: relative; font-size: clamp(30px, 9vw, 40px); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; max-width: 420px; }
.kart-ek { position: relative; font-size: 20px; font-weight: 800; margin-top: 6px; opacity: .85; }
.kart-yazi { position: relative; font-size: 17px; line-height: 1.45; margin: 14px 0 6px; max-width: 400px; font-weight: 600; }
.kart-alt { position: relative; margin-top: 22px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.kart-alt b { font-size: 19px; 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; }

.kural { margin: 24px 0 0; text-align: center; font-weight: 700; font-size: 14px; color: var(--yazi); background: #fff8; border: 1px dashed var(--cizgi); border-radius: 14px; padding: 10px 12px; }
.imza { margin-top: 14px; font-size: 12px; color: var(--soluk); text-align: center; }
.imza a { color: var(--soluk); }
