/* "Şu an çalışıyoruz": minimal tam ekran sahne; metin kutusuz, gökyüzünün parçası gibi. */
.soon { position: relative; min-height: calc(100vh - 78px); }
.soon-scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; image-rendering: pixelated; image-rendering: crisp-edges; background: #06041A; }
.soon-in { position: relative; z-index: 1; display: grid; align-items: center; min-height: calc(100vh - 78px); padding-block: 24px 80px; pointer-events: none; }
.soon-in > * { pointer-events: auto; }
.soon-left { display: grid; gap: 10px; justify-items: start; max-width: min(640px, 100%); padding-bottom: 6vh; }
.soon-left h1 { margin: 0; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; color: #F2F4FF; text-shadow: 0 0 26px rgba(124, 255, 209, .25), 4px 4px 0 rgba(6, 4, 26, .7); }
.soon-sub { margin: 0; font: 600 clamp(1.25rem, 2.6vw, 2rem)/1.15 var(--font-display, var(--font-body)); color: #C9C3F2; text-shadow: 3px 3px 0 rgba(6, 4, 26, .7); }
/* tek satırlık montaj durumu: parça takıldıkça daktilo gibi yazılır */
.soon-status { margin: 14px 0 0; min-height: 1.5em; font: 500 .85rem/1.5 var(--font-mono, ui-monospace, 'JetBrains Mono', monospace); color: #7CFFD1; opacity: .9; }
.soon-status span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; max-width: 100%; border-right: 2px solid #7CFFD1; animation: soon-type .45s steps(var(--n, 12), end) forwards, soon-caret .7s steps(2, end) infinite; }
@keyframes soon-type { to { width: calc(var(--n, 12) * 1ch); } }
@keyframes soon-caret { 50% { border-right-color: transparent; } }
:root[data-motion="off"] .soon-status span { animation: none; width: auto; border: 0; }
.soon-play { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 8px; }
.soon-hint { font: 500 .98rem var(--font-body); color: #B9B2E8; }
.soon-start { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; cursor: pointer; color: #EDE9FF; background: transparent; border: 0; font: 700 1rem var(--font-body); box-shadow: 0 0 0 2px #7CFFD1, 3px 3px 0 2px rgba(6, 4, 26, .55); transition: transform .08s linear, background-color .15s; }
.soon-start i { width: 0; height: 0; border-left: 11px solid #7CFFD1; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.soon-start:hover { background: rgba(124, 255, 209, .14); }
.soon-start:active { transform: translate(2px, 2px); }
.soon-start:focus-visible { outline: 3px solid var(--lilac); outline-offset: 4px; }
@media (max-width: 760px) {
  .soon-in { align-items: start; padding-top: 12vh; padding-bottom: 230px; }
  .soon-left { gap: 8px; justify-items: center; text-align: center; margin-inline: auto; }
  .soon-play { align-items: center; }
  .soon-left h1 { font-size: clamp(2.3rem, 11.5vw, 3.2rem); }
  .soon-sub { font-size: clamp(1.15rem, 5.4vw, 1.5rem); }
  .soon-play { margin-top: 4px; }
}

/* ── Tam ekran oyun / gezinti ── */
body.sg-lock { overflow: hidden; }
.sg-full { position: fixed; inset: 0; z-index: 2000; background: #0F0C1F; color: #EDE9FF; touch-action: none; }
.sg-full.hit::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 90px 10px rgba(255, 60, 100, .75); animation: sg-hit .45s ease-out forwards; }
@keyframes sg-hit { from { opacity: 1; } to { opacity: 0; } }
.sg-cv { display: block; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; touch-action: none; outline: none; cursor: crosshair; }

/* HUD: tek kompakt çubuk; sağda ayarlar + çıkış ikon düğmeleri (çakışmasın diye sağ taraf ayrılır) */
.sg-hud { position: absolute; top: 10px; left: 10px; right: 108px; display: grid; gap: 8px; justify-items: start; pointer-events: none; font-variant-numeric: tabular-nums; }
.sg-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 6px 12px; background: rgba(21, 15, 52, .82); box-shadow: 0 0 0 2px #4C4488, 0 0 0 4px #0A0818, 4px 4px 0 4px rgba(10, 8, 24, .6); }
.sg-it { display: inline-flex; align-items: baseline; gap: 6px; position: relative; }
.sg-it small { font: 700 .6rem var(--font-body); letter-spacing: .12em; color: #9B94D8; }
.sg-it output, .sg-bar output { color: #FFC94D; font: 800 1.1rem var(--font-body); }
.sg-lifebox { display: inline-flex; align-items: center; gap: 6px; }
.sg-hearts { display: flex; gap: 4px; }
.sg-heart { display: block; width: 22px; height: 19px; }
.sg-heart svg, .sg-shield svg, .sg-coinbox i svg, .sg-ib svg { display: block; width: 100%; height: 100%; }
.sg-heart.break { animation: sg-break .5s steps(6, end); }
@keyframes sg-break { 0% { transform: scale(1.5) rotate(-12deg); } 30% { transform: scale(.8) rotate(10deg); } 60% { transform: scale(1.2) rotate(-6deg); } 100% { transform: none; } }
.sg-shield { width: 17px; height: 15px; animation: sg-pulse 1s steps(2, end) infinite; }
.sg-shield[hidden] { display: none; }
@keyframes sg-pulse { 50% { opacity: .55; } }
.sg-scorebox output { letter-spacing: .05em; }
.sg-combo { position: absolute; right: -12px; top: -14px; padding: 0 6px; background: #FF6FB5; color: #1A1033; font: 800 .78rem var(--font-body); box-shadow: 2px 2px 0 #0A0818; animation: sg-pop .25s steps(4, end); }
.sg-combo[hidden] { display: none; }
@keyframes sg-pop { from { transform: scale(1.8); } to { transform: none; } }
.sg-coinbox { align-items: center; }
.sg-coinbox i { display: block; width: 17px; height: 17px; }
.sg-pws { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-pw { display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px; background: rgba(21, 15, 52, .82); box-shadow: 0 0 0 2px var(--c), 3px 3px 0 2px rgba(10, 8, 24, .6); font: 700 .74rem var(--font-body); color: var(--c); }
.sg-pw i { width: 7px; height: 7px; background: var(--c); }
.sg-pw u { display: block; width: 46px; height: 5px; background: #2A2350; text-decoration: none; }
.sg-pw em { display: block; height: 100%; background: var(--c); }
.sg-tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 8px; align-items: flex-start; }
.sg-ib { width: 40px; height: 40px; padding: 11px; border: 0; cursor: pointer; background: rgba(21, 15, 52, .88); box-shadow: 0 0 0 2px #4C4488, 3px 3px 0 2px rgba(10, 8, 24, .6); transition: transform .08s linear; }
.sg-ib:hover { box-shadow: 0 0 0 2px #7CFFD1, 3px 3px 0 2px rgba(10, 8, 24, .6); }
.sg-ib:active { transform: translate(2px, 2px); }
.sg-ib:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; }
.sg-menu { position: absolute; top: 50px; right: 48px; display: grid; gap: 6px; min-width: 150px; padding: 8px; background: rgba(21, 15, 52, .96); box-shadow: 0 0 0 2px #4C4488, 4px 4px 0 2px rgba(10, 8, 24, .7); z-index: 5; }
.sg-menu[hidden] { display: none; }
.sg-mi { padding: 8px 12px; text-align: left; border: 0; cursor: pointer; color: #EDE9FF; background: transparent; font: 650 .9rem var(--font-body); }
.sg-mi:hover, .sg-mi:focus-visible { background: rgba(124, 255, 209, .14); outline: none; }
.sg-count { position: absolute; left: 0; right: 0; top: 36%; margin: 0; text-align: center; font: 800 clamp(4rem, 16vw, 8rem)/1 var(--font-display, var(--font-body)); color: #FFC94D; text-shadow: 5px 5px 0 #0F0C1F, 0 0 30px rgba(255, 201, 77, .35); pointer-events: none; animation: sg-cd .8s steps(5, end) infinite; }
.sg-count[hidden] { display: none; }
@keyframes sg-cd { from { transform: scale(1.5); opacity: .4; } to { transform: scale(1); opacity: 1; } }

.sg-banner { position: absolute; left: 0; right: 0; top: 26%; margin: 0; text-align: center; font: 700 clamp(1.6rem, 6vw, 3.2rem) var(--font-display, var(--font-body)); color: #7CFFD1; text-shadow: 4px 4px 0 #0F0C1F, 0 0 24px rgba(124, 255, 209, .35); pointer-events: none; }
.sg-banner.small { font-size: clamp(1rem, 3vw, 1.5rem); top: 34%; color: #FFC94D; }
.sg-banner.boss { color: #FF5C7A; text-shadow: 4px 4px 0 #0F0C1F, 0 0 28px rgba(255, 92, 122, .6); animation: sg-warn .3s steps(2, end) 6; }
.sg-banner.pop:not(.boss) { animation: sg-bpop .35s steps(5, end); }
@keyframes sg-bpop { from { transform: scale(1.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sg-warn { 50% { opacity: .35; } }
.sg-banner[hidden], .sg-over[hidden], .sg-stats[hidden] { display: none; }
.sg-over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 20px; padding: 20px; text-align: center; background: rgba(15, 12, 31, .8); }
.sg-over p { margin: 0; font: 700 clamp(1.4rem, 4vw, 2.2rem) var(--font-display, var(--font-body)); }
.sg-stats { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 0; }
.sg-stats div { min-width: 92px; padding: 10px 14px; background: rgba(21, 15, 52, .9); box-shadow: 0 0 0 2px #4C4488, 4px 4px 0 2px #0A0818; }
.sg-stats dt { font: 700 .62rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #9B94D8; }
.sg-stats dd { margin: 2px 0 0; font: 800 1.5rem var(--font-body); color: #FFC94D; }
.sg-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 640px) {
  .sg-hud { right: 100px; top: 8px; left: 8px; }
  .sg-tools { top: 8px; right: 8px; }
  .sg-bar { gap: 4px 10px; padding: 5px 9px; }
  .sg-heart { width: 19px; height: 16px; }
  .sg-it output, .sg-bar output { font-size: 1rem; }
  .sg-menu { right: 0; top: 48px; }
}


/* "Şu an çalışıyoruz" tek ekran: sayfa aşağı kaydırılamaz */
html:has(body.is-soon), body.is-soon { overflow: hidden; height: 100dvh; overscroll-behavior: none; }
body.is-soon .site-footer, body.is-soon footer { display: none; }
.soon { min-height: 0; height: calc(100dvh - 78px); overflow: hidden; }
.soon-in { min-height: 0; height: 100%; padding-block: 24px; }
@media (max-width: 760px) { .soon-in { padding-bottom: 24px; } }

/* Mobil tarayıcı çubuğu değişse de sahne görünür alanı tam kaplar; sayfa kaydırma/çekme yok */
.soon-scene { width: 100%; height: 100dvh; }
body.is-soon { touch-action: none; position: fixed; inset: 0; width: 100%; }
.soon { height: calc(100dvh - var(--header-h, 78px)); }
@media (max-width: 760px) { .soon-in { padding-top: 8dvh; } }
@media (max-width: 760px) { .soon-in { align-items: center; padding-top: 4dvh; padding-bottom: 26dvh; } .soon-left { padding-bottom: 0; } }
