/* arkney-roleplay.com tanıtım sayfaları. Yükleme ekranı ve forumla aynı dil: koyu toprak zemin,
   altın vurgu, Plus Jakarta Sans başlık, Inter metin, arkada GTA V manzarası. */

:root {
  --ink: #0d0b07;
  --ink-2: #120f09;
  --panel: #17130c;
  --panel-2: #1e1910;
  --line: #3a2f17;
  --line-hi: #6b5524;
  --text: #efe6cf;
  --muted: #a89c7d;
  --gold: #d4af37;
  --gold-soft: #e8c867;
  --gold-deep: #9c7a1c;
  --copper: #e8843a;
  --green: #5cb85c;
  --red: #d9534f;
  --serif: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --head: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.65 var(--body); }
/* GTA V manzarası (Rockstar Games ekran görüntüsü), sabit ve karartılmış: bölümler arkasında görünür */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,11,7,.82), rgba(13,11,7,.9) 60%, rgba(13,11,7,.96)), url(/img/bg/gunbatimi.webp) center / cover no-repeat; }
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.15; color: #fff; }
h2 { font: 800 clamp(1.7rem, 3.4vw, 2.4rem)/1.15 var(--head); letter-spacing: -.02em; }
h3 { font: 700 1.1rem/1.3 var(--head); }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, Consolas, "Cascadia Mono", monospace; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #1a1305; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* üst çubuk */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.topbar.is-solid, .topbar.always-solid { background: rgba(13, 11, 7, .92); backdrop-filter: blur(8px); border-color: var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.topbar .logo { display: flex; align-items: center; gap: .6rem; color: #fff; }
.topbar .logo:hover { text-decoration: none; }
.topbar .logo img { height: 46px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.topbar .logo span { font: 800 1.05rem/1 var(--head); letter-spacing: .04em; }
.menu { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.menu a { color: #d9cfb4; font: 600 .95rem/1 var(--body); }
.menu a:hover, .menu a[aria-current] { color: #fff; text-decoration: none; }
.menu .btn { color: #1a1305; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-hi); border-radius: 4px; width: 42px; height: 38px; padding: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px auto; }

/* düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 4px; border: 1px solid transparent; font: 700 .95rem/1 var(--body); cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep)); color: #1a1305; box-shadow: 0 10px 30px -12px rgba(212,175,55,.7); }
.btn-gold:hover { box-shadow: 0 14px 34px -10px rgba(212,175,55,.85); color: #1a1305; }
.btn-ghost { border-color: rgba(212,175,55,.5); color: var(--text); background: rgba(13,11,7,.4); }
.btn-ghost:hover { border-color: var(--gold); color: #fff; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { color: #fff; box-shadow: 0 12px 30px -12px rgba(88,101,242,.9); }
.btn-sm { padding: .6rem 1rem; font-size: .85rem; }

/* giriş */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 110px 0 80px; }
.hero-bg { position: absolute; inset: 0; background: url(/img/bg/chiliad.webp) center 60%/cover no-repeat; filter: saturate(.95) brightness(.5); transform: scale(1.04); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 50% at 50% 45%, rgba(212,175,55,.18), transparent 70%),
  linear-gradient(180deg, rgba(13,11,7,.65) 0%, rgba(13,11,7,.2) 40%, rgba(13,11,7,.85) 85%, var(--ink) 100%); }
.grain { position: absolute; inset: 0; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner { position: relative; display: grid; justify-items: center; gap: 1.2rem; }
.hero-logo { width: min(420px, 72vw, 50vh); height: auto; filter: drop-shadow(0 22px 40px rgba(0,0,0,.65)) drop-shadow(0 0 30px rgba(212,175,55,.2)); animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.tagline { font: 700 clamp(1.05rem, 2vw, 1.35rem)/1.4 var(--head); color: var(--gold-soft); animation: rise 1s .1s cubic-bezier(.2,.7,.2,1) both; }
.hero-lead { max-width: 640px; margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); color: #e2d8bf; animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .6rem; animation: rise 1s .3s cubic-bezier(.2,.7,.2,1) both; }
.status { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border: 1px solid var(--line-hi); border-radius: 999px; background: rgba(13,11,7,.6); font-size: .9rem; color: var(--muted); animation: rise 1s .4s cubic-bezier(.2,.7,.2,1) both; }
.status b { color: #fff; font-variant-numeric: tabular-nums; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #6b6250; }
.status.is-on .dot { background: var(--green); box-shadow: 0 0 0 0 rgba(92,184,92,.6); animation: pulse 2s infinite; }
.status.is-off .dot { background: var(--red); }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 1.4rem; animation: bob 2.2s ease-in-out infinite; }
.scroll-hint:hover { text-decoration: none; color: var(--gold); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(92,184,92,.55); } 70% { box-shadow: 0 0 0 9px rgba(92,184,92,0); } 100% { box-shadow: 0 0 0 0 rgba(92,184,92,0); } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* bölümler */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; scroll-margin-top: 40px; }
.section.alt { background: rgba(13,11,7,.55); border-block: 1px solid rgba(58,47,23,.6); }
.eyebrow { display: block; font: 700 .9rem/1 var(--body); color: var(--gold); margin-bottom: .8rem; }
.section-head { max-width: 680px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* hikâye */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story-art { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-hi); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); aspect-ratio: 370 / 576; max-height: 560px; justify-self: center; }
.story-art img { width: 100%; height: 100%; object-fit: cover; }
.story-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13,11,7,.7)); }
.story-text p { color: #ddd3b8; font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2rem; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.facts div { background: var(--panel); padding: 1rem 1.1rem; }
.facts b { display: block; font: 800 1.5rem/1.1 var(--head); color: var(--gold-soft); }
.facts span { font-size: .85rem; color: var(--muted); }

/* bağlan */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.4rem; background: rgba(23,19,12,.86); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 8px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 1.2rem; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1a1305; font: 800 1rem/1 var(--head); box-shadow: 0 0 0 4px var(--ink); }
.step h3 { margin: .4rem 0 .5rem; }
.step p { margin: 0 0 .8rem; color: var(--muted); font-size: .94rem; }
.step p:last-child { margin: 0; }
.connect-box { display: flex; align-items: center; gap: .5rem; padding: .35rem .35rem .35rem .9rem; background: var(--ink); border: 1px dashed var(--line-hi); border-radius: 4px; }
.connect-box code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; color: var(--gold-soft); font-size: .9rem; }
.copy { flex: none; border: 1px solid var(--line-hi); background: var(--panel-2); color: var(--text); font: 600 .8rem/1 var(--body); padding: .55rem .7rem; border-radius: 3px; cursor: pointer; }
.copy:hover { border-color: var(--gold); }
.copy.is-done { border-color: var(--green); color: var(--green); }
.connect-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.2rem; }
.note { margin-top: 1.5rem; text-align: center; font-size: .9rem; color: var(--muted); }

/* forumdan */
.feed { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.2rem; }
.feed-col { background: rgba(23,19,12,.86); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.feed-col h3 { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); font: 700 1rem/1.2 var(--head); color: #fff; }
.feed-list { list-style: none; margin: 0; padding: 0; }
.feed-list li + li { border-top: 1px solid #2a2214; }
.feed-list a { display: block; padding: .9rem 1.2rem; color: var(--text); }
.feed-list a:hover { background: rgba(212,175,55,.05); text-decoration: none; }
.feed-list b { display: block; font-weight: 600; color: #fff; }
.feed-list .ex { display: block; margin-top: .25rem; font-size: .88rem; color: var(--muted); }
.feed-list .meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .35rem; font-size: .78rem; color: var(--muted); }
.feed-list .cat { color: var(--c, var(--gold)); font-weight: 600; }
.feed-empty { padding: 1.2rem; color: var(--muted); font-size: .92rem; margin: 0; }
.feed-more { display: flex; justify-content: center; margin-top: 1.6rem; }

/* discord çağrısı */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.2rem); border-radius: 8px; border: 1px solid var(--line-hi); background:
  radial-gradient(ellipse 50% 90% at 100% 50%, rgba(212,175,55,.16), transparent 70%),
  linear-gradient(135deg, var(--panel-2), var(--panel)); }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { margin: .7rem 0 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* alt bilgi */
.footer { border-top: 1px solid var(--line); padding: 2.5rem 0; background: rgba(10,8,5,.92); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand small { display: block; color: var(--muted); font-size: .8rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
.footer nav a { color: var(--muted); font-size: .9rem; }
.footer nav a:hover { color: #fff; }
.footer .legal { flex-basis: 100%; font-size: .78rem; color: #75694f; margin: 0; }

/* düz metin sayfaları (bağlan, gizlilik, 404) */
.page { padding: 120px 0 4rem; min-height: 70vh; }
.page .wrap { max-width: 820px; }
.page h1 { font: 800 clamp(1.8rem, 4vw, 2.5rem)/1.15 var(--head); letter-spacing: -.02em; margin-bottom: 1rem; }
.page h2 { font: 700 1.3rem/1.3 var(--head); margin: 2.2rem 0 .7rem; }
.page p, .page li { color: #ddd3b8; }
.page ul, .page ol { padding-left: 1.3rem; }
.page li { margin-bottom: .4rem; }
.page .lead { font-size: 1.1rem; color: var(--muted); }
.page .steps { grid-template-columns: 1fr; margin-top: 2.2rem; gap: 1.6rem; }
.center-page { text-align: center; display: grid; place-items: center; }
.center-page img { width: 200px; margin: 0 auto 1.5rem; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-art { max-height: 420px; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .feed { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; background: rgba(13,11,7,.97); border-bottom: 1px solid var(--line); }
  .menu.is-open { display: flex; }
  .menu a { padding: .85rem .2rem; border-bottom: 1px solid #241d10; }
  .menu .btn { margin-top: .8rem; border: 0; }
  .topbar.is-open { background: rgba(13,11,7,.97); }
  .facts { grid-template-columns: 1fr; }
  .topbar .logo span { display: none; }
}

/* sıralamalar (oyun sunucusundan, /forum/api/game.json) */
.ranks { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.2rem; }
.rank-list { list-style: none; margin: 0; padding: .4rem 1.2rem 1rem; }
.rank-list li { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; border-top: 1px solid rgba(58,47,23,.6); }
.rank-list li:first-child { border-top: 0; }
.rank-pos { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); font: 800 .8rem/1 var(--head); color: var(--muted); }
.rank-list li:nth-child(1) .rank-pos { background: #d4af37; color: #1a1305; }
.rank-list li:nth-child(2) .rank-pos { background: #c0c6cc; color: #15171a; }
.rank-list li:nth-child(3) .rank-pos { background: #c47d3c; color: #1a0f05; }
.rank-name { flex: 1; min-width: 0; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-name small { display: block; font-weight: 400; color: var(--muted); }
.rank-lvl { flex: none; font: 700 .78rem/1 var(--body); color: #1a1305; background: var(--gold); padding: .32rem .55rem; border-radius: 99px; }
.rank-fac { flex: none; color: var(--muted); font-size: .88rem; }
.rank-fac b { color: #fff; }
@media (max-width: 900px) { .ranks { grid-template-columns: 1fr; } }

.staff-tag { display: inline-block; vertical-align: middle; font: 600 .7rem/1 var(--body); color: #e8c867; border: 1px solid rgba(232,200,103,.5); border-radius: 99px; padding: .15rem .4rem; }
