/* Bombomia portal — oyun sitesinin (bombomia.com) görsel diliyle: gece gökyüzü, ahşap + pirinç çerçeve,
   kor rengi düğmeler, Baloo 2 / Nunito. Fontlar ve görseller kendi sunucumuzdan sunulur
   (ziyaretçi adresi başka bir siteye gitmez).
   Launcher sayfayı eski bir tarayıcı çekirdeğiyle açabildiği için yeni CSS özelliklerinin (clamp, inset,
   aspect-ratio, flex gap, :focus-visible) eski tarayıcıda da çalışan bir yedeği yazılıdır. */

/* ---------------- Fontlar ---------------- */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/fonts/baloo2-var-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/fonts/baloo2-var-latin.woff2") format("woff2-variations");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/nunito-600-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/nunito-600-latin.woff2") format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/nunito-700-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/nunito-700-latin.woff2") format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("assets/fonts/nunito-800-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("assets/fonts/nunito-800-latin.woff2") format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------------- Tokenlar ---------------- */
:root {
  --night-0: #130d18; --night-1: #1b1322; --night-2: #241a29;
  --dusk-violet: #8a4fd6; --dusk-rose: #e0508f;
  --wood-0: #1f1916; --wood-1: #302722; --wood-2: #45362c;
  --brass-0: #6b4a22; --brass-1: #c58a3d; --brass-2: #ffd16a; --brass-3: #fff1c4;
  --ember-0: #b24f17; --ember-1: #f28b35; --ember-2: #ffb35c;
  --cream: #f5e5c5; --cream-dim: #c9b493; --cream-faint: #8d7c66;
  --leaf: #8fd14f; --rose: #ff6b5e;
  --font-display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-md: 1.0625rem; --fs-lg: 1.375rem;
  --r-frame: 22px; --r-panel: 14px; --r-ctrl: 10px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .86 0 0 0 0 .62 .16 0 0 0 -.04'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-wood-toon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='180'%3E %3Cg fill='none' stroke-linecap='round'%3E %3Cg stroke='%23ffd09a' stroke-opacity='.10' stroke-width='2.2'%3E %3Cpath d='M0 20 C90 13 170 29 250 21 S410 13 480 20'/%3E %3Cpath d='M0 41 C70 46 150 35 240 42 S400 47 480 41'/%3E %3Cpath d='M0 83 C60 77 120 90 190 84 S270 78 300 86 M362 92 C392 99 440 80 480 83'/%3E %3Cpath d='M0 104 C100 110 200 98 300 103 S420 109 480 104'/%3E %3Cpath d='M0 144 C80 138 180 151 260 144 S420 138 480 144'/%3E %3Cpath d='M0 165 C120 170 220 160 330 166 S440 168 480 165'/%3E %3C/g%3E %3Cg stroke='%231a0c06' stroke-opacity='.18' stroke-width='1.6'%3E %3Cpath d='M0 30 C110 34 190 24 300 31 S430 34 480 30'/%3E %3Cpath d='M0 94 C80 98 160 88 250 93 S300 97 312 96 M356 98 C400 102 440 92 480 94'/%3E %3Cpath d='M0 154 C90 150 200 159 300 154 S430 150 480 154'/%3E %3C/g%3E %3Cg stroke='%231a0c06' stroke-opacity='.3' stroke-width='1.8'%3E %3Cellipse cx='332' cy='92' rx='17' ry='7'/%3E %3Cellipse cx='332' cy='92' rx='8' ry='3.2'/%3E %3C/g%3E %3Cellipse cx='330' cy='90' rx='12' ry='3' stroke='%23ffd09a' stroke-opacity='.12' stroke-width='1.4'/%3E %3C/g%3E %3Crect y='0' width='480' height='3' fill='%231a0c06' fill-opacity='.42'/%3E %3Crect y='3' width='480' height='1.5' fill='%23ffd8a8' fill-opacity='.1'/%3E %3Crect y='60' width='480' height='3' fill='%231a0c06' fill-opacity='.42'/%3E %3Crect y='63' width='480' height='1.5' fill='%23ffd8a8' fill-opacity='.1'/%3E %3Crect y='120' width='480' height='3' fill='%231a0c06' fill-opacity='.42'/%3E %3Crect y='123' width='480' height='1.5' fill='%23ffd8a8' fill-opacity='.1'/%3E %3Crect x='158' y='3' width='3' height='57' fill='%231a0c06' fill-opacity='.36'/%3E %3Crect x='161' y='3' width='1.5' height='57' fill='%23ffd8a8' fill-opacity='.08'/%3E %3Crect x='392' y='123' width='3' height='57' fill='%231a0c06' fill-opacity='.36'/%3E %3Crect x='395' y='123' width='1.5' height='57' fill='%23ffd8a8' fill-opacity='.08'/%3E %3C/svg%3E");
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cdefs%3E%3Cg id='c' fill='none' stroke-linecap='round'%3E%3Cpath d='M3 26V11a8 8 0 0 1 8-8h15' stroke='%23e9b85c' stroke-width='1.8'/%3E%3Cpath d='M8 26v-9a9 9 0 0 1 9-9h9' stroke='%236b4a22' stroke-width='1.2'/%3E%3Cpath d='M12 22c0-6 4-10 10-10' stroke='%23c58a3d' stroke-width='1.4'/%3E%3Cpath d='M16 20c0-2.5 1.6-4 4-4' stroke='%23c58a3d' stroke-width='1.2'/%3E%3Ccircle cx='11' cy='11' r='2.8' fill='%23ffd16a' stroke='%236b4a22' stroke-width='.8'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23c'/%3E%3Cuse href='%23c' transform='matrix(-1 0 0 1 84 0)'/%3E%3Cuse href='%23c' transform='matrix(1 0 0 -1 0 84)'/%3E%3Cuse href='%23c' transform='matrix(-1 0 0 -1 84 84)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--night-0); color: var(--cream);
  font-family: var(--font-body); font-size: var(--fs-md); font-weight: 600; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; position: relative;
}
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--cream-dim); }
.mono { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .92em; }

/* ---------------- Sahne: gece gökyüzü, ay, bulutlar, meydan ---------------- */
.scene { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scene > * { position: absolute; }
.scene__sky {
  top: -4%; right: -4%; bottom: -4%; left: -4%;
  background:
    radial-gradient(70% 42% at 50% 100%, #ff963c99, #0000 72%),
    radial-gradient(42% 34% at 10% 88%, #e0508f52, #0000 70%),
    radial-gradient(42% 34% at 90% 84%, #8a4fd657, #0000 70%),
    radial-gradient(38% 30% at 74% 14%, #8a4fd633, #0000 70%),
    radial-gradient(30% 24% at 24% 22%, #e0508f1a, #0000 70%),
    linear-gradient(#0d0918 0%, #181029 30%, #29143c 54%, #4b1f43 75%, #85392f 100%);
}
.scene__stars {
  top: 0; right: 0; bottom: 30%; left: 0; opacity: .9;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff1c4 60%, #0000 100%),
    radial-gradient(1px 1px at 27% 42%, #ffffffc9 60%, #0000 100%),
    radial-gradient(1.4px 1.4px at 41% 12%, #fff1c4 60%, #0000 100%),
    radial-gradient(1px 1px at 58% 33%, #ffffffb0 60%, #0000 100%),
    radial-gradient(1.3px 1.3px at 69% 9%, #ffe2b0 60%, #0000 100%),
    radial-gradient(1px 1px at 83% 27%, #ffffffc9 60%, #0000 100%),
    radial-gradient(1.2px 1.2px at 93% 48%, #fff1c4 60%, #0000 100%),
    radial-gradient(1px 1px at 6% 58%, #ffffff99 60%, #0000 100%),
    radial-gradient(1px 1px at 49% 55%, #ffffff8c 60%, #0000 100%),
    radial-gradient(1.1px 1.1px at 77% 61%, #ffe2b0 60%, #0000 100%);
  background-size: 620px 420px; background-repeat: repeat;
}
.scene__moon {
  top: 13%; left: 9%; width: 100px; height: 100px; width: clamp(70px, 8vw, 124px); height: clamp(70px, 8vw, 124px); border-radius: 50%;
  background:
    radial-gradient(circle at 64% 60%, #966e3c47 0 9%, #0000 10%),
    radial-gradient(circle at 38% 70%, #966e3c38 0 6%, #0000 7%),
    radial-gradient(circle at 30% 34%, #fff7dc, #f2d69a 56%, #c9a062);
  box-shadow: 0 0 50px 14px #ffd68c33, 0 0 180px 70px #ffb46417;
}
.twinkle {
  width: 30px; height: 30px; background: url("assets/img/twinkle.png") center / contain no-repeat;
  opacity: 0; animation: twinkle 7s infinite;
}
.twinkle.t1 { left: 22%; top: 16%; animation-delay: .4s; }
.twinkle.t2 { left: 46%; top: 9%; animation-delay: 2.1s; }
.twinkle.t3 { left: 71%; top: 20%; animation-delay: 3.6s; }
.twinkle.t4 { left: 87%; top: 11%; animation-delay: 5.2s; }
.twinkle.t5 { left: 33%; top: 31%; animation-delay: 1.3s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.5) rotate(0deg); } 12% { opacity: .95; transform: scale(1) rotate(40deg); } 26% { opacity: 0; transform: scale(.5) rotate(80deg); } }

.scene__cloud {
  width: 330px; height: 138px; width: clamp(220px, 28vw, 430px); height: clamp(92px, 11.7vw, 180px); opacity: .5;
  background: url("assets/img/cloud.png") center / contain no-repeat;
  animation: drift 120s linear infinite;
}
.scene__cloud.c1 { top: 12%; left: -30%; }
.scene__cloud.c2 { top: 30%; left: -30%; opacity: .32; width: 260px; height: 108px; width: clamp(180px, 22vw, 340px); height: clamp(75px, 9.2vw, 142px); animation-duration: 170s; animation-delay: -60s; }
.scene__cloud.c3 { top: 5%; left: -30%; opacity: .26; width: 220px; height: 92px; width: clamp(160px, 18vw, 280px); height: clamp(67px, 7.5vw, 117px); animation-duration: 210s; animation-delay: -130s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(160vw); } }

.scene__plaza {
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("assets/img/plaza.png") center bottom / 100% auto no-repeat;
}
@media (max-width: 1180px) { .scene__plaza { background-size: 1180px auto; } }
.scene__fog {
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse 60% 22% at 50% 100%, #ff963c29, #0000 70%),
    linear-gradient(to top, var(--night-0) 0%, #130d18b3 5%, #130d1814 18%, #0000 30%);
}

/* ---------------- Yerleşim ---------------- */
.stage {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 36px 16px 48px; padding: clamp(20px, 5vh, 56px) 16px clamp(28px, 6vh, 72px);
}
.brand { display: block; margin-bottom: 6px; line-height: 0; transition: transform .3s var(--ease-out), filter .3s; }
.brand img { width: 300px; width: clamp(210px, 32vw, 340px); filter: drop-shadow(0 8px #1e0a1466) drop-shadow(0 0 38px #ffaa5066); }
a.brand:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); }
a.brand:focus-visible { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); }
a.brand:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 6px; border-radius: 12px; }

/* Ahşap gövde + pirinç kenarlı çerçeve (sitedeki pencere çerçevesi) */
.frame {
  position: relative; border-radius: var(--r-frame);
  background:
    radial-gradient(120% 70% at 50% -14%, #ffc47829, #0000 62%),
    radial-gradient(90% 55% at 50% 118%, #14080457, #0000 70%),
    var(--tex-wood-toon) 0 0 / 480px 180px,
    linear-gradient(180deg, #5a3a26, #462c1d 62%, #3a2318);
  box-shadow: inset 0 2px #ffdeaa33, inset 0 -3px #1408045c, inset 0 0 0 1px #14080499, inset 0 0 32px #1408044d, 0 30px 70px #0000008c;
}
.frame::before {
  content: ""; position: absolute; top: -3px; right: -3px; bottom: -3px; left: -3px; padding: 3px; border-radius: calc(var(--r-frame) + 3px); pointer-events: none;
  background: linear-gradient(160deg, #ffe39a, var(--brass-1) 18%, #5a3d1c 40%, #a8742f 58%, #4a3216 80%, var(--brass-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.frame::after {
  content: ""; position: absolute; top: 7px; right: 7px; bottom: 7px; left: 7px; pointer-events: none;
  border: 26px solid #0000; border-image: var(--ornament) 26 / 26px stretch;
}

.card { width: 100%; max-width: 470px; padding: 38px 30px 28px; text-align: center; animation: rise .7s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

.tag {
  display: inline-flex; align-items: center; margin-bottom: 14px; padding: 4px 14px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-2);
  background: #ffd16a1f; box-shadow: inset 0 0 0 1px #ffd16a73;
}
.tag--ok { color: #b9ec8a; background: #8fd14f1f; box-shadow: inset 0 0 0 1px #8fd14f80; }
.card h1, .card__title {
  margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; line-height: 1.12; text-wrap: balance;
  font-size: 2rem; font-size: clamp(1.7rem, 1.25rem + 2vw, 2.25rem); color: var(--cream); text-shadow: 0 2px #1e0a02cc;
}
.shine {
  background: linear-gradient(180deg, #fff1c4, var(--brass-2) 45%, var(--ember-1));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--brass-2);
  text-shadow: none; filter: drop-shadow(0 2px #1e0a02cc);
}
.lede { margin: 0 auto 18px; max-width: 40ch; color: var(--cream-dim); font-size: var(--fs-sm); font-weight: 700; }

.ipchip {
  display: inline-flex; align-items: center; max-width: 100%; margin-bottom: 18px; padding: 8px 16px; border-radius: 999px;
  background: linear-gradient(#1e110b, #2a1810); color: var(--cream-dim); font-size: var(--fs-sm); font-weight: 700;
  box-shadow: inset 0 3px 6px #0000008c, inset 0 0 0 1.5px #d6a0528c, 0 1px #ffdeaa29; overflow-wrap: anywhere;
}
.ipchip strong { color: var(--cream); font-weight: 800; }
.dot { flex: none; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: var(--leaf); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #8fd14f80; } 70% { box-shadow: 0 0 0 9px #8fd14f00; } 100% { box-shadow: 0 0 0 0 #8fd14f00; } }

/* Turnstile kutusu */
.box { display: flex; justify-content: center; min-height: 66px; margin: 4px 0 12px; }

/* Mesajlar */
#msg { margin: 12px 0 2px; min-height: 1.3em; font-size: var(--fs-sm); font-weight: 800; color: var(--cream); }
#msg:empty { margin: 0; min-height: 0; }
.bad, #msg.bad { color: var(--rose); }
.ok, #msg.ok { color: #b9ec8a; }
.note { margin: 18px 0 0; color: var(--cream-faint); font-size: var(--fs-xs); font-weight: 700; }

/* ---------------- Düğme (sitedeki perçinli pirinç düğme) ---------------- */
.btn {
  --lift: 4px;
  --face: radial-gradient(120% 95% at 50% -10%, #ffdca080, #0000 55%) padding-box, linear-gradient(180deg, #f89c48, #e0711f 50%, #b04e17) padding-box;
  --rim: linear-gradient(180deg, #fff1c2, #e9b45c 24%, #a5672a 52%, #5e3110 74%, #e2a24e);
  --edge: #3f1906; --ink: #fff8ea; --glow: #ff963c6b; --stud: #ffd98a; --stud-x: 12px;
  --stud-img: radial-gradient(circle, #fff6d6 0 18%, var(--stud) 42%, #6e4519 70%, #1e0e0499 86%, #0000 100%);
  --bevel: inset 0 1px 0 #fff6dc6b, inset 0 -3px 0 #14080242, inset 0 0 0 1px #1e0e0452;
  display: none; position: relative; isolation: isolate; overflow: hidden; align-items: center; justify-content: center; gap: .5em;
  width: 100%; min-height: 48px; margin: 14px 0 var(--lift); padding: .5em 1.65em .42em;
  border: 2px solid #0000; border-radius: 11px; cursor: pointer; white-space: nowrap; text-decoration: none;
  background:
    var(--stud-img) var(--stud-x) 50% / 7px 7px no-repeat padding-box,
    var(--stud-img) calc(100% - var(--stud-x)) 50% / 7px 7px no-repeat padding-box,
    var(--face), var(--rim) border-box;
  color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); line-height: 1.15; letter-spacing: .01em;
  text-shadow: 0 2px #6e2806d9;
  box-shadow: var(--bevel), 0 0 0 1.5px var(--edge), 0 var(--lift) 0 1.5px var(--edge), 0 calc(var(--lift) + 8px) 18px #0000006b;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), filter .22s;
}
.btn.show { display: inline-flex; }
.btn::before {
  content: ""; position: absolute; z-index: -1; top: 2px; bottom: 52%; left: 3px; right: 3px; pointer-events: none;
  border-radius: 9px 9px 50% 50% / 9px 9px 7px 7px; background: linear-gradient(#fffaeb3d, #fffaeb00);
}
.btn:hover {
  filter: brightness(1.08) saturate(1.06); transform: translateY(-2px);
  box-shadow: var(--bevel), 0 0 0 1.5px var(--edge), 0 calc(var(--lift) + 2px) 0 1.5px var(--edge), 0 calc(var(--lift) + 12px) 22px #0000007a, 0 0 18px var(--glow), 0 0 0 2.5px var(--glow);
}
.btn:focus-visible { filter: brightness(1.08) saturate(1.06); transform: translateY(-2px); outline: 2px solid var(--brass-2); outline-offset: 4px; }
.btn:active {
  transform: translateY(var(--lift)); filter: brightness(.94); transition-duration: 70ms;
  box-shadow: inset 0 3px 7px #14080273, inset 0 0 0 1px #1e0e0466, 0 0 0 1.5px var(--edge), 0 3px 8px #0006;
}
.btn:disabled { cursor: default; filter: saturate(.45) brightness(.8); transform: none; }
.btn.small { --lift: 3px; --stud-x: 9px; width: auto; min-height: 40px; margin: 0 0 var(--lift); padding: .4em 1.35em .34em; font-size: var(--fs-sm); }
.btn.ghost {
  --face: radial-gradient(120% 90% at 50% -10%, #ffc88224, #0000 60%) padding-box, linear-gradient(180deg, #3a2b22, #1f1712) padding-box;
  --rim: linear-gradient(180deg, #fff1c2 0%, #e2ad55 22%, #9a6526 50%, #5a3814 72%, #d9a24a 100%);
  --edge: #170e08; --ink: var(--cream); --glow: #ffd16a4d; --stud: #e9bf68; text-shadow: 0 2px #0000008c;
}
.btn.danger {
  --face: radial-gradient(120% 95% at 50% -12%, #ffc8aa52, #0000 56%) padding-box, linear-gradient(180deg, #a2402a, #7c2a1a 52%, #561b10) padding-box;
  --rim: linear-gradient(180deg, #ffd6a8, #c0743c 45%, #4d1d0d); --edge: #2a0b05; --ink: #fff0e6; --glow: #ff78505c; text-shadow: 0 2px #3c0e04d9;
}

/* ---------------- Giriş alanları ---------------- */
.inp {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: var(--r-ctrl);
  background: linear-gradient(#1e110b, #2a1810); color: var(--cream); font: inherit; font-weight: 700;
  box-shadow: inset 0 3px 6px #0000008c, inset 0 0 0 1.5px #d6a0528c, 0 1px #ffdeaa29; transition: box-shadow .2s;
}
.inp::placeholder { color: #f0dcbe9e; }
.inp:focus { outline: none; box-shadow: inset 0 3px 6px #0000008c, inset 0 0 0 2px var(--brass-2), 0 0 16px #ffd16a38; }
textarea.inp { min-height: 84px; resize: vertical; line-height: 1.5; }
select.inp { width: auto; cursor: pointer; }
select.inp option { background: #2a1810; color: var(--cream); }
.pass-form { display: grid; gap: 4px; }
.pass-form .inp { text-align: center; }

/* Discord destek kutusu */
.discord {
  display: flex; align-items: center; margin-top: 16px; padding: 12px 14px; text-align: left; text-decoration: none;
  border-radius: var(--r-ctrl); background: #5865f224; box-shadow: inset 0 0 0 1.5px #5865f28c;
  color: #d5d9ff; font-size: var(--fs-sm); font-weight: 700; transition: background .2s;
}
.discord:hover { background: #5865f23d; }
.discord:focus-visible { background: #5865f23d; }
.discord svg { flex: none; width: 26px; height: 26px; margin-right: 12px; color: #9aa3ff; }
.discord strong { color: #fff; }

.footer { padding: 16px; text-align: center; color: #f5e5c5b3; font-size: var(--fs-xs); font-weight: 700; text-shadow: 0 1px 2px #000c; }

/* ---------------- Ana sayfadaki tanıtım bölümü (bkz. seo.php) ---------------- */
.about { width: 100%; max-width: 860px; margin-top: 44px; display: grid; grid-gap: 16px; gap: 16px; text-align: left; }
.about h1 {
  margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.15; color: var(--cream); text-shadow: 0 2px #1e0a02cc;
  font-size: 1.7rem; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2rem);
}
.about p, .about li, .about dd { color: var(--cream-dim); font-weight: 700; }
.about strong { color: var(--cream); font-weight: 800; }
.feat { margin: 0; padding: 0; list-style: none; display: grid; grid-gap: 10px 22px; gap: 10px 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); font-size: var(--fs-sm); }
.feat li { padding-left: 14px; box-shadow: inset 3px 0 0 var(--ember-1); }
.feat strong { display: block; color: var(--brass-2); font-family: var(--font-display); font-size: var(--fs-md); }
.faq { margin: 0; font-size: var(--fs-sm); }
.faq dt { margin-top: 14px; color: var(--cream); font-weight: 800; font-size: var(--fs-md); }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; }
.about__legal { margin: 0; text-align: center; color: #f5e5c5b3; font-size: var(--fs-xs); font-weight: 700; text-shadow: 0 1px 2px #000c; }

/* ---------------- Yönetim paneli ---------------- */
.panel { width: 100%; max-width: 1180px; margin: 0 auto; padding: 26px 16px 40px; display: grid; gap: 18px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; }
.panel-head.frame::after { display: none; }
.panel-brand { display: flex; align-items: center; gap: 14px; }
.panel-brand img { width: 150px; filter: drop-shadow(0 4px #1e0a1466); }
.panel-title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); color: var(--brass-2); text-shadow: 0 2px #1e0a02cc; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row .grow { flex: 1 1 220px; width: auto; }

.pcard {
  position: relative; display: grid; gap: 12px; padding: 20px 22px; border-radius: var(--r-panel);
  background: radial-gradient(130% 100% at 0% 0%, #ffd69614, #0000 55%), var(--tex-grain), linear-gradient(180deg, #2a2420, #1c1815 60%, #161312);
  box-shadow: inset 0 0 0 1px #c58a3d80, inset 0 0 0 3px #0006, inset 0 1px #fff1c41f, 0 14px 30px #0000007a;
}
.pcard h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); color: var(--brass-2); text-shadow: 0 2px #1e0a02cc; }
.pcard h2 .muted { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; }
.pcard p { margin: 0; font-size: var(--fs-sm); }

.pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 800; color: var(--cream-dim); background: #0000004d; box-shadow: inset 0 0 0 1px #c58a3d80; }
.pill.ok { color: #b9ec8a; box-shadow: inset 0 0 0 1px #8fd14f99; background: #8fd14f1f; }
.pill.bad { color: #ffb3ab; box-shadow: inset 0 0 0 1px #ff6b5e99; background: #ff6b5e1f; }

.notice { padding: 12px 16px; border-radius: var(--r-ctrl); font-size: var(--fs-sm); font-weight: 800; color: var(--cream); background: linear-gradient(180deg, var(--wood-2), var(--wood-1)); box-shadow: inset 0 0 0 1px var(--brass-1), 0 10px 24px #0000006b; }
.notice.ok { color: #d6f5b8; box-shadow: inset 0 0 0 1.5px #8fd14fb3, 0 10px 24px #0000006b; }
.notice.bad { color: #ffd0ca; box-shadow: inset 0 0 0 1.5px #ff6b5eb3, 0 10px 24px #0000006b; }
.notice[hidden] { display: none; }

.tbl-wrap { max-height: 460px; overflow: auto; border-radius: var(--r-ctrl); background: #0000003d; box-shadow: inset 0 0 0 1px #c58a3d59; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid #c58a3d2e; vertical-align: middle; }
th { position: sticky; top: 0; z-index: 1; background: #2a1c13; color: var(--brass-2); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
tbody tr:hover { background: #ffd16a0f; }
td .btn { margin: 0 0 3px; }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--ember-1); cursor: pointer; }
.st { font-weight: 800; }
.st-ok { color: #b9ec8a; }
.st-bad { color: var(--rose); }
.st-off { color: var(--cream-faint); }

.log { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--fs-sm); }
.log li { padding: 8px 12px; border-radius: 8px; background: #0000003d; box-shadow: inset 3px 0 0 var(--cream-faint); overflow-wrap: anywhere; }
.log li.ok { box-shadow: inset 3px 0 0 var(--leaf); color: var(--cream); }
.log li.bad { box-shadow: inset 3px 0 0 var(--rose); }

/* ---------------- Küçük ekranlar / hareket tercihi ---------------- */
@media (max-width: 560px) {
  .card { padding: 34px 20px 24px; }
  .frame::after { top: 5px; right: 5px; bottom: 5px; left: 5px; border-width: 20px; border-image-width: 20px; }
  .scene__moon { top: 5%; left: 5%; }
  .panel-brand img { width: 118px; }
  select.inp { width: 100%; }
  .row .btn.small { flex: 1 1 auto; }
}
@media (max-height: 640px) { .brand img { width: 220px; width: clamp(170px, 24vw, 240px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .twinkle { opacity: .7; }
}
