:root {
  --bg: #0b0a09;
  --bg-2: #120f0c;
  --panel: #17130f;
  --panel-2: #1d1812;
  --line: #3a3024;
  --line-2: #5a4628;
  --text: #ece4d4;
  --muted: #a89d89;
  --gold: #d6a548;
  --gold-2: #f3d58a;
  --gold-3: #8a6326;
  --red: #b4432f;
  --green: #5fa35a;
  --serif: Cinzel, Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 Inter, system-ui, sans-serif;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
body::before { /* hafif doku */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, #2b1d0d55, transparent 70%),
    repeating-linear-gradient(45deg, #ffffff03 0 2px, transparent 2px 6px);
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); color: var(--gold-2); line-height: 1.25; margin: 0 0 .6em; letter-spacing: .5px; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ---------- ust menu ---------- */
.top { position: sticky; top: 0; z-index: 20; background: #0b0a09ee; border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top.over { position: fixed; left: 0; right: 0; background: linear-gradient(#000000c0, #00000000); border-bottom-color: transparent; backdrop-filter: none; transition: background .3s; }
.top.over.solid { background: #0b0a09ee; border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; flex-wrap: wrap; }
.logo img { height: 34px; width: auto; filter: drop-shadow(0 2px 6px #000); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; padding: 8px 0; }
.nav a { color: #d8cdb8; font-weight: 600; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; position: relative; }
.nav a.on, .nav a:hover { color: var(--gold-2); text-decoration: none; }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.nav .btn-sm { border: 1px solid var(--gold); padding: 6px 14px; border-radius: 3px; color: #1a1208 !important; background: linear-gradient(#efc770, #b98a35); }
.nav .btn-sm:hover { filter: brightness(1.1); }
.nav .btn-sm::after { display: none; }

.announce { background: linear-gradient(90deg, #2a1c0b, #4a3312, #2a1c0b); border-bottom: 1px solid var(--line-2); color: var(--gold-2); padding: 8px 0; font-size: 14px; text-align: center; }
.main { padding-top: 34px; padding-bottom: 56px; flex: 1; width: 100%; }

/* ic sayfa basligi */
.subhero { height: 150px; background: url(img/banner.jpg) center/cover; position: relative; border-bottom: 1px solid var(--line-2); }
.subhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#0b0a0900, var(--bg)); }
.subhero + .main { margin-top: -80px; position: relative; }
.subhero + .main > h1:first-of-type, .subhero + .main > h1 { font-size: 34px; text-shadow: 0 2px 12px #000; }

/* ---------- ana sayfa ---------- */
.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 110px 16px 90px;
  background: #000 url(img/hero.jpg) center 30%/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, #00000020 0%, #000000a0 70%), linear-gradient(#00000060, #00000000 30%, #00000000 60%, var(--bg)); }
.hero-in { position: relative; z-index: 2; max-width: 820px; }
.hero-logo { width: min(640px, 86vw); margin: 0 auto 8px; filter: drop-shadow(0 6px 30px #000); animation: rise 1.2s ease-out both; }
.hero p.slogan { font-family: var(--serif); color: #f1e6cf; font-size: clamp(16px, 2.4vw, 22px); letter-spacing: 4px; text-transform: uppercase; margin: 0 0 30px; text-shadow: 0 2px 10px #000; animation: rise 1.2s .2s ease-out both; }
.hero .btn-row { animation: rise 1.2s .4s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #ffb347; box-shadow: 0 0 8px 2px #ff8c1a; opacity: 0; animation: ember 9s linear infinite; }
@keyframes ember { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(60px, -95vh); opacity: 0; } }
.status-strip { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 34px; padding: 10px 22px; border: 1px solid #ffffff1a; background: #0000008a; border-radius: 40px; font-size: 13px; color: #d9cfbb; animation: rise 1.2s .6s ease-out both; }
.status-strip b { color: var(--gold-2); }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: #d9cfbb99; font-size: 22px; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

.btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(#f0c96f, #b4852f); color: #1a1208; font-weight: 700; padding: 11px 26px; border-radius: 3px; border: 1px solid #f6dc9a; cursor: pointer; font-size: 15px; font-family: inherit; box-shadow: 0 4px 18px #00000080, inset 0 1px 0 #fff6; text-shadow: 0 1px 0 #ffffff55; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-lg { padding: 15px 34px; font-size: 17px; font-family: var(--serif); letter-spacing: 1.5px; }
.btn-ghost { background: #00000066; border: 1px solid var(--gold); color: var(--gold-2); text-shadow: none; box-shadow: none; }
.btn-red { background: var(--red); color: #fff; border-color: #d46a55; text-shadow: none; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn svg { width: 18px; height: 18px; }

.section { padding: 70px 0; }
.section-alt { background: linear-gradient(var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 6px; }
.section-title p { color: var(--muted); margin: 0; }
.orn { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); margin: 8px auto 10px; }
.orn::before, .orn::after { content: ""; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.orn::after { transform: scaleX(-1); }
.orn span { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--gold); }

.classes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.class-card { position: relative; background: linear-gradient(#1d1812, #120f0c); border: 1px solid var(--line); border-radius: 4px; padding: 26px 20px 22px; text-align: center; transition: transform .25s, border-color .25s, box-shadow .25s; }
.class-card:hover { transform: translateY(-4px); border-color: var(--gold-3); box-shadow: 0 10px 30px #000a, 0 0 0 1px #d6a54833; }
.class-card .faces { display: flex; justify-content: center; margin-bottom: 14px; }
.class-card .faces img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gold-3); box-shadow: 0 0 0 3px #0b0a09, 0 4px 14px #000; object-fit: cover; }
.class-card .faces img + img { margin-left: -14px; }
.class-card h3 { font-size: 20px; margin-bottom: 4px; }
.class-card .role { color: var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.class-card p { color: var(--muted); font-size: 14px; margin: 0; }

.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { padding: 22px; border-left: 2px solid var(--gold-3); background: #ffffff05; }
.feature svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 10px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

.home-grid { display: grid; gap: 22px; grid-template-columns: 2fr 1fr; }
.mini-rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.mini-rank li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mini-rank li:last-child { border-bottom: 0; }
.mini-rank li::before { counter-increment: r; content: counter(r); width: 26px; height: 26px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); font: 700 12px var(--serif); color: var(--muted); transform: rotate(45deg); }
.mini-rank li:nth-child(1)::before { color: #ffd76a; border-color: #ffd76a; }
.mini-rank li:nth-child(2)::before { color: #e0e0e0; border-color: #bdbdbd; }
.mini-rank li:nth-child(3)::before { color: #d6955b; border-color: #d6955b; }
.mini-rank .nm { flex: 1; font-weight: 600; }
.mini-rank .lv { color: var(--gold-2); font-size: 13px; }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); }
.gallery a { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; grid-column: span 2; aspect-ratio: 16/9; }
.gallery a:nth-child(-n+2) { grid-column: span 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; filter: saturate(.9) brightness(.9); }
.gallery a:hover img { transform: scale(1.06); filter: none; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: #000000e6; display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox:target { display: flex; }
.lightbox img { max-height: 90vh; border: 1px solid var(--line-2); box-shadow: 0 0 60px #000; }
.lightbox .x { position: absolute; top: 14px; right: 20px; font-size: 30px; color: #fff; }

.cta { position: relative; text-align: center; padding: 80px 16px; background: url(img/banner.jpg) center/cover; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.cta::before { content: ""; position: absolute; inset: 0; background: #000000a0; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(24px, 3.6vw, 36px); }
.cta p { color: #d9cfbb; margin: 0 0 24px; }

/* ---------- alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); background: #080706; color: var(--muted); font-size: 13px; padding: 34px 0 26px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot img { height: 26px; width: auto; opacity: .85; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--gold-2); }

/* ---------- genel bilesenler ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { position: relative; background: linear-gradient(var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 4px; padding: 22px; box-shadow: 0 8px 26px #0007; }
.card::before { content: ""; position: absolute; top: -1px; left: 18px; right: 18px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.card h2, .card h3 { margin-top: 0; }
.card > h2 { font-size: 19px; text-transform: uppercase; letter-spacing: 1.5px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.status { list-style: none; padding: 0; margin: 0; }
.status li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); }
.status li:last-child { border-bottom: 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot.on { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot.off { background: var(--red); }

.news-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item h3 { font-size: 18px; margin-bottom: 2px; }
.news-item .meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.news-item p { white-space: pre-line; margin: 8px 0 0; color: #d4cab6; }

form.f { max-width: 460px; }
.f label { display: block; font-weight: 600; margin: 14px 0 4px; font-size: 14px; }
.f .hint { color: var(--muted); font-size: 12px; margin-top: 3px; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=url], select, textarea {
  width: 100%; background: #0c0a08; color: var(--text); border: 1px solid var(--line); border-radius: 3px;
  padding: 10px 12px; font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px #d6a5481f; }
.f .btn { margin-top: 18px; }

.msg { padding: 10px 14px; border-radius: 3px; margin-bottom: 16px; border: 1px solid; }
.msg-ok { background: #1c2d1a; border-color: #3f6b3a; color: #cfe8c9; }
.msg-err { background: #2e1714; border-color: #7a3328; color: #f4cfc8; }
.msg-info { background: #2a2414; border-color: #6b5a2f; color: var(--gold-2); }

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th, .t td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t th { color: var(--gold); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; background: #ffffff05; }
.t tr:hover td { background: #ffffff06; }
.table-wrap { overflow-x: auto; }
.rank-1 td:first-child { color: #ffd76a; font-weight: 700; }
.rank-2 td:first-child { color: #d9d9d9; font-weight: 700; }
.rank-3 td:first-child { color: #d6955b; font-weight: 700; }

.shop { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.item { background: linear-gradient(var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 4px; padding: 16px; display: flex; flex-direction: column; transition: border-color .2s; }
.item:hover { border-color: var(--gold-3); }
.item h3 { font-family: Inter, sans-serif; font-size: 15px; margin: 0 0 4px; color: var(--text); }
.item .price { color: var(--gold-2); font-weight: 700; margin: 8px 0; }
.item p { color: var(--muted); font-size: 13px; margin: 0; flex: 1; }
.item form { margin-top: 10px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tabs a { padding: 6px 16px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.tabs a.on, .tabs a:hover { border-color: var(--gold); color: var(--gold-2); text-decoration: none; background: #d6a54812; }

.gm-layout { display: grid; grid-template-columns: 210px 1fr; gap: 22px; }
.gm-side a { display: block; padding: 8px 12px; border-left: 2px solid transparent; color: var(--muted); font-weight: 600; font-size: 14px; }
.gm-side a.on, .gm-side a:hover { background: #ffffff0a; border-left-color: var(--gold); color: var(--gold-2); text-decoration: none; }
.inline { display: inline; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 1 1 140px; }
.row .btn { flex: 0 0 auto; }
code, .code { font-family: ui-monospace, Menlo, Consolas, monospace; background: #0b0a09; border: 1px solid var(--line); border-radius: 3px; padding: 1px 6px; font-size: 13px; color: var(--gold-2); }
.pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: #ffffff10; color: var(--muted); }
.pill.red { background: #7a332855; color: #f4cfc8; }
.pill.green { background: #3f6b3a55; color: #cfe8c9; }

@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery a, .gallery a:nth-child(-n+2) { grid-column: span 1; }
}
@media (max-width: 760px) {
  .gm-layout { grid-template-columns: 1fr; }
  .gm-side { display: flex; flex-wrap: wrap; gap: 4px; }
  h1 { font-size: 24px; }
  .nav { gap: 4px 14px; }
  .top.over { position: absolute; }
  .hero p.slogan { letter-spacing: 2px; }
  .hero { padding-top: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- nesne market ---------- */
.mk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.mk-head h1 { margin-bottom: 4px; }
.mk-head p { margin: 0; }
.mk-wallet { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 4px; background: linear-gradient(#2a1f10, #17130f); box-shadow: inset 0 1px 0 #f3d58a22, 0 6px 20px #0008; }
.mk-wallet svg { width: 28px; height: 28px; color: var(--gold); filter: drop-shadow(0 0 6px #d6a54888); }
.mk-wallet span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.mk-wallet strong { font: 800 22px var(--serif); color: var(--gold-2); }
.mk-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.mk-tabs { display: flex; flex-wrap: wrap; gap: 2px; }
.mk-tabs a { padding: 10px 16px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mk-tabs a b { font-weight: 600; font-size: 11px; padding: 1px 6px; border-radius: 8px; background: #ffffff10; margin-left: 4px; }
.mk-tabs a:hover { color: var(--gold-2); text-decoration: none; }
.mk-tabs a.on { color: var(--gold-2); border-bottom-color: var(--gold); }
.mk-tabs a.on b { background: #d6a54833; color: var(--gold-2); }
.mk-search input { background: #0e0c0a; border: 1px solid var(--line); color: var(--text); padding: 8px 12px; border-radius: 3px; width: 220px; font: inherit; font-size: 14px; }
.mk-search input:focus { outline: none; border-color: var(--gold-3); }
.mk-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mk-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 16px; border: 1px solid var(--line); border-radius: 4px; background: radial-gradient(ellipse at 50% 0%, #3a2a1255, transparent 60%), linear-gradient(var(--panel-2), var(--panel)); transition: transform .2s, border-color .2s, box-shadow .2s; }
.mk-item:hover { transform: translateY(-3px); border-color: var(--gold-3); box-shadow: 0 10px 28px #000a, 0 0 0 1px #d6a54826; }
.mk-hot { position: absolute; top: 10px; left: 10px; background: linear-gradient(#c4513a, #8e2f1f); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 8px; border-radius: 2px; }
.mk-slot { position: relative; width: 96px; height: 96px; display: grid; place-items: center; border: 1px solid #5a4628; border-radius: 4px; background: radial-gradient(circle, #2b2217 0%, #0d0b09 75%); box-shadow: inset 0 0 0 3px #0b0a09, inset 0 0 18px #000, 0 0 0 1px #00000088; margin-bottom: 14px; }
.mk-item:hover .mk-slot { box-shadow: inset 0 0 0 3px #0b0a09, inset 0 0 18px #000, 0 0 16px #d6a54840; }
.mk-slot img { width: auto; max-width: 72px; max-height: 86px; min-height: 60px; filter: drop-shadow(0 3px 6px #000); }
.mk-cnt { position: absolute; right: 5px; bottom: 3px; font-weight: 700; font-size: 13px; color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000; }
.mk-cat { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.mk-item h3 { font: 700 16px Inter, sans-serif; color: var(--text); margin: 0 0 6px; }
.mk-item p { color: var(--muted); font-size: 13px; margin: 0 0 14px; flex: 1; }
.mk-foot { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.mk-price { font: 800 20px var(--serif); color: var(--gold-2); }
.mk-price small { font-size: 12px; color: var(--gold); }
.btn-sm2 { padding: 8px 16px; font-size: 14px; }
.btn[disabled] { filter: grayscale(1) brightness(.6); cursor: not-allowed; }
.mk-history { margin-top: 30px; }
.mk-history ul { list-style: none; margin: 0; padding: 0; }
.mk-history li { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mk-history li:last-child { border-bottom: 0; }
.mk-history img { max-width: 32px; max-height: 36px; }
.mk-history b { color: var(--gold-2); }
.mk-dlg { background: linear-gradient(var(--panel-2), var(--panel)); color: var(--text); border: 1px solid var(--line-2); border-radius: 6px; padding: 28px 30px; width: min(360px, 90vw); text-align: center; box-shadow: 0 20px 60px #000; }
.mk-dlg::backdrop { background: #000a; backdrop-filter: blur(2px); }
.mk-dlg .mk-slot { margin: 0 auto 14px; }
.mk-dlg h3 { color: var(--gold-2); }
@media (max-width: 560px) { .mk-search, .mk-search input { width: 100%; } .mk-history li { grid-template-columns: 32px 1fr auto; } .mk-history li .small { display: none; } }
