/* იღბლიანი ბორბალი — ცალკე გვერდი, თამაშის („დაიჭირე პაპა!“) ფერებში */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; background: #e9b62f; -webkit-text-size-adjust: 100%; }
body { font-family: "Noto Sans Georgian", system-ui, sans-serif; color: #2a1810; }
button, a { font: inherit; touch-action: manipulation; }

.hud { display: flex; align-items: center; gap: 8px; padding: max(10px, env(safe-area-inset-top)) 12px 0; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; color: #2a1810; font-family: "Noto Serif Georgian", serif; font-weight: 700; font-size: 16px;
  background: rgba(255, 248, 230, .85); padding: 4px 10px 4px 4px; border-radius: 99px; }
.brand img { border-radius: 50%; }
.langs { margin-left: auto; display: flex; background: rgba(255, 248, 230, .85); border-radius: 99px; padding: 2px; }
.langs button { border: 0; background: none; padding: 5px 8px; font-size: 13px; border-radius: 99px; color: #2a1810; cursor: pointer; }
.langs button.on { background: #7b2630; color: #fff8e6; }

.wrap { max-width: 420px; margin: 0 auto; padding: 8px 16px max(24px, env(safe-area-inset-bottom)); text-align: center; }
h1 { font-family: "Noto Serif Georgian", serif; font-size: 28px; margin: 10px 0 4px; }
.intro { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }

.wheel-box { position: relative; width: min(340px, 88vw); aspect-ratio: 1; margin: 6px auto 10px; }
#wheel { width: 100%; height: 100%; display: block; filter: drop-shadow(0 8px 14px rgba(42, 24, 16, .35)); }
#rot { transform-origin: 0 0; transition: transform 4.6s cubic-bezier(.12, .8, .12, 1); }
.pointer { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); width: 0; height: 0; z-index: 2;
  border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 30px solid #7b2630; filter: drop-shadow(0 2px 0 #4e161d); }
.seg-t { font-weight: 800; fill: #fff8e6; paint-order: stroke; stroke: rgba(42, 24, 16, .35); stroke-width: 2px; }
.seg-t.dark { fill: #2a1810; stroke: rgba(255, 248, 230, .5); }

.left { margin: 4px 0 10px; font-weight: 700; min-height: 1.4em; }
.go { display: block; width: 100%; border: 0; border-radius: 16px; padding: 14px 16px; font-size: 18px; font-weight: 800; cursor: pointer; text-decoration: none;
  background: #7b2630; color: #fff8e6; box-shadow: 0 4px 0 #4e161d; margin: 8px 0 0; }
.go:disabled { opacity: .55; cursor: default; }
.go:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #4e161d; }
.go.ghost { background: transparent; color: #7b2630; box-shadow: inset 0 0 0 2px #7b2630; }

.card { background: #fff8e6; border-radius: 22px; padding: 20px; margin: 14px 0 0; box-shadow: 0 10px 30px rgba(42, 24, 16, .25); }
.card h2 { margin: 0 0 6px; font-size: 22px; }
.card p { margin: 0 0 8px; line-height: 1.45; white-space: pre-line; }
.code { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0; }
.code span { font-family: ui-monospace, monospace; font-size: 22px; font-weight: 800; letter-spacing: 1px; background: #fff; border: 2px dashed #7b2630; border-radius: 10px; padding: 6px 12px; }
.code button { border: 0; background: none; color: #7b2630; text-decoration: underline; cursor: pointer; }
.small { font-size: 13px; }
.muted { color: #5c4a3d; }
.err { color: #b3261e; }
#rules { margin-top: 16px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { #rot { transition-duration: .01s; } }
.prize-img { display: block; height: 150px; margin: 4px auto 6px; filter: drop-shadow(0 6px 8px rgba(42, 24, 16, .3)); }
/* სექტორების წარწერები — ყველგან ერთი ზომა */
.seg-main { font-size: 21px; font-weight: 800; }
.seg-sub { font-size: 10.5px; font-weight: 700; stroke-width: 1.5px; letter-spacing: .2px; }
.seg-emo { font-size: 24px; }
.seg-big { font-size: 23px; }
.nw { white-space: nowrap; }
/* გარისკვა — ოქროსფერი, თამაშის „ზარი“ */
.go.risk { background: #ffd75e; color: #2a1810; box-shadow: 0 4px 0 #b8873a; }
.go.risk:active:not(:disabled) { box-shadow: 0 1px 0 #b8873a; }
/* „პრიზს მიიღებ შეკვეთისას — ცალკე არ გაიცემა“ — გამოკვეთილი შენიშვნა მოგების ბარათზე */
.order-note { background: #fff3cd; border: 1px solid #e9b62f; border-radius: 10px; padding: 8px 10px; font-weight: 700; font-size: 14px; }
