/* Rankless Hunter sayfaları: oyunun açılış görselinin renkleri (gece laciverti, Kapı moru, jetpack camgöbeği) */
:root {
    --bg: #0f1122;
    --bg-deep: #0a0b17;
    --card: #171a31;
    --line: #2a2e52;
    --text: #e7e9f4;
    --muted: #a6abc8;
    --accent: #c95cff;
    --accent-2: #8b5cf6;
    --cyan: #5fe3ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
}

a {
    color: var(--cyan);
    text-underline-offset: 3px;
}

a:hover {
    color: #a8f0ff;
}

h1,
h2,
h3,
.brand {
    font-family: "Russo One", "Rubik", system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

/* Üst şerit */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(10, 11, 23, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
}

.brand {
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
}

.brand span {
    color: var(--accent);
}

.topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 15px;
}

.topbar nav a {
    color: var(--muted);
    text-decoration: none;
}

.topbar nav a:hover,
.topbar nav a[aria-current="page"] {
    color: var(--text);
}

/* Tanıtım */
.hero {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to bottom, rgba(15, 17, 34, 0), var(--bg));
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: -96px auto 0;
    padding: 0 16px;
    text-align: center;
}

.hero-text h1 {
    margin: 0;
    font-size: clamp(36px, 9vw, 64px);
    color: #fff;
    text-shadow: 0 0 24px rgba(201, 92, 255, 0.55), 0 3px 0 #2b1446;
}

.tagline {
    margin: 8px 0 0;
    font-size: 19px;
    color: var(--cyan);
}

.status {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 16px;
    border: 1px solid var(--accent-2);
    border-radius: 999px;
    color: var(--text);
    background: rgba(139, 92, 246, 0.16);
    font-size: 15px;
}

/* İçerik */
main {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
}

.card h2 {
    margin-top: 0;
}

.doc h1 {
    font-size: clamp(28px, 6vw, 38px);
    margin: 8px 0 4px;
}

.doc h2 {
    font-size: 21px;
    margin: 32px 0 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

/* Kart içindeki başlık bölüm çizgisi almaz (.doc h2'den sonra gelmeli) */
.doc .card h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.doc h3 {
    font-size: 17px;
    margin: 20px 0 6px;
    color: var(--cyan);
}

.meta {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 16px;
}

.lang-switch {
    display: flex;
    gap: 10px;
    margin: 12px 0 8px;
}

.lang-switch a {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
}

.lang-switch a:hover {
    border-color: var(--accent-2);
}

ul {
    padding-left: 22px;
}

li {
    margin: 4px 0;
}

.summary {
    border-left: 3px solid var(--accent);
}

/* Dil bağlantısıyla atlanınca başlık yapışkan şeridin altında kalmasın */
.lang-section {
    scroll-margin-top: 72px;
}

.lang-section + .lang-section {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 2px solid var(--accent-2);
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin: 28px 0 0;
}

.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(180deg, #b45cff, #7b3fe0);
    color: #fff;
    text-decoration: none;
    font-family: "Russo One", "Rubik", sans-serif;
    box-shadow: 0 4px 0 #3f1d77;
}

.button:hover {
    color: #fff;
    filter: brightness(1.08);
}

.button.secondary {
    background: transparent;
    border: 1px solid var(--line);
    box-shadow: none;
    font-family: "Rubik", sans-serif;
}

footer {
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    padding: 20px 16px 28px;
}

footer a {
    color: var(--muted);
}
