:root {
    --bg-deep:      #0a0503;
    --bg-mid:       #15090a;
    --bg-warm:      #2a1810;

    --parch-light:  #f8ecc8;
    --parch:        #ecdab2;
    --parch-mid:    #d9c388;
    --parch-edge:   #b89860;
    --parch-shadow: #8a6938;

    --ink:          #3a2410;
    --ink-soft:     #5a3a1c;
    --ink-dim:      #7a5a3a;
    --ink-mute:     #9a7e58;

    --gold:         #c79b3e;
    --gold-light:   #f0d48a;
    --gold-deep:    #8a6520;
    --gold-line:    rgba(212, 168, 80, 0.55);

    --red:          #b22a1f;
    --red-light:    #d44a3a;
    --red-dark:     #7a1810;
    --red-grad:     linear-gradient(180deg, #d44a3a 0%, #b22a1f 50%, #7a1810 100%);

    --green:        #5fc94e;
    --green-dark:   #2a7a20;

    --blue:         #5865f2;
    --blue-dark:    #3a4dd0;

    --container:    1180px;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }   /* sabit (fixed) gradyanın kaplamadığı yer beyaz kalmasın */
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--parch);
    line-height: 1.5;
    min-height: 100vh;
    background:
        radial-gradient(1400px 800px at 50% -10%, rgba(196,138,50,0.10) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
    background-attachment: fixed;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ═══ Subtle animations (canlandırma) ═══ */
@keyframes sr-orb-pulse {
    0%, 100% { box-shadow:
        inset 0 -4px 12px rgba(0,0,0,0.4),
        inset 0 4px 12px rgba(255,255,255,0.25),
        0 0 22px rgba(95,201,78,0.55); }
    50%      { box-shadow:
        inset 0 -4px 12px rgba(0,0,0,0.4),
        inset 0 4px 12px rgba(255,255,255,0.25),
        0 0 36px rgba(95,201,78,0.85),
        0 0 60px rgba(95,201,78,0.4); }
}
@keyframes sr-orb-pulse-red {
    0%, 100% { box-shadow:
        inset 0 -4px 12px rgba(0,0,0,0.4),
        inset 0 4px 12px rgba(255,255,255,0.25),
        0 0 22px rgba(230,40,40,0.55); }
    50%      { box-shadow:
        inset 0 -4px 12px rgba(0,0,0,0.4),
        inset 0 4px 12px rgba(255,255,255,0.25),
        0 0 36px rgba(230,40,40,0.85),
        0 0 60px rgba(230,40,40,0.4); }
}
@keyframes sr-gold-pulse {
    0%, 100% { box-shadow:
        inset 0 0 0 2px #c89820,
        inset 0 0 0 3px #f5d36a,
        inset 0 2px 0 rgba(255,255,255,0.18),
        inset 0 -3px 8px rgba(0,0,0,0.4),
        0 3px 8px rgba(0,0,0,0.5); }
    50%      { box-shadow:
        inset 0 0 0 2px #c89820,
        inset 0 0 0 3px #f5d36a,
        inset 0 2px 0 rgba(255,255,255,0.22),
        inset 0 -3px 8px rgba(0,0,0,0.4),
        0 3px 8px rgba(0,0,0,0.5),
        0 0 18px rgba(200,152,32,0.45); }
}
@keyframes sr-shimmer {
    0%, 70%, 100% { background-position: -200% 0; }
    85%           { background-position: 200% 0; }
}
@keyframes sr-coin-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.08); opacity: 0.92; }
}
@keyframes sr-banner-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2px); }
}
@keyframes sr-btn-shine {
    0%       { transform: translateX(-100%) skewX(-18deg); }
    55%      { transform: translateX(280%) skewX(-18deg); }
    100%     { transform: translateX(280%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ═════════ TOPBAR ═════════ */
.topbar {
    background: linear-gradient(180deg, #1f1208 0%, #15090a 100%);
    border-bottom: 1px solid var(--gold-deep);
    font-size: 12px;
    color: var(--parch);
}
.topbar__inner {
    max-width: var(--container); margin: 0 auto; padding: 6px 16px;
    display: flex; align-items: center; gap: 16px;
    min-height: 30px;
}
.topbar__welcome {
    color: var(--gold-light); font-weight: 600;
    position: relative;
    background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold-light) 40%, #fff7d0 50%, var(--gold-light) 60%, var(--gold-light) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sr-shimmer 7s ease-in-out infinite;
}
.topbar__welcome::before { content: '★ '; color: var(--gold); -webkit-text-fill-color: var(--gold); }
.topbar__center { margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.topbar__time .lbl, .topbar__online .lbl { color: var(--ink-mute); }
.topbar__time .val { color: var(--parch); font-weight: 600; }
.topbar__online { display: flex; align-items: center; gap: 6px; }
.topbar__online__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 6px var(--green);
}
.topbar__online .count { color: var(--green); font-weight: 700; }
.topbar__online--offline .topbar__online__dot {
    background: #ff4d4d;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.85);
    animation: topbar-dot-pulse 2s ease-in-out infinite;
}
.topbar__online--offline .count {
    color: #ff4d4d;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
}
@keyframes topbar-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}
.topbar__lang {
    padding: 3px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: var(--parch);
}

/* ═════════ MAIN NAV (komple CSS-rendered — chrome image kullanmıyor) ═════════ */
.mainnav {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}
.mainnav__inner {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 0%, #fbf2d0 0%, #ecdab2 60%, #d4be7c 100%);
    border-top: 3px solid #c89820;
    border-bottom: 3px solid #c89820;
    box-shadow:
        inset 0 1px 0 #f5d36a,
        inset 0 -1px 0 #8a6520,
        0 6px 16px rgba(0,0,0,0.55);
    padding: 8px 12px;
    display: flex;
    gap: 4px;
    min-height: 64px;
}
/* Gold ornate end caps */
.mainnav__inner::before,
.mainnav__inner::after {
    content: '';
    position: absolute;
    top: -3px; bottom: -3px;
    width: 22px;
    background:
        linear-gradient(180deg, #f5d36a 0%, #c89820 50%, #8a6520 100%);
    border: 1px solid #6a4810;
    box-shadow: inset 0 0 0 1px #f5d36a, 0 2px 4px rgba(0,0,0,0.4);
    z-index: 2;
}
.mainnav__inner::before { left: -8px; border-radius: 4px 0 0 4px; }
.mainnav__inner::after  { right: -8px; border-radius: 0 4px 4px 0; }

.mainnav__tabs {
    display: flex;
    gap: 4px;
    flex: 1;
}
.mainnav__tab {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    position: relative;
    font-family: 'Cinzel', serif;
    font-size: clamp(11px, 1.05vw, 14px);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #5a3a1c;
    text-shadow: 0 1px 0 rgba(255,240,200,0.5);
    transition: filter 0.15s, transform 0.15s;
    text-decoration: none;
    border-radius: 3px;
    padding: 12px 8px;
    line-height: 1;
    min-width: 0;
}
/* Subtle divider between tabs */
.mainnav__tab + .mainnav__tab::before {
    content: '';
    position: absolute;
    left: -2px; top: 25%; bottom: 25%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(122,90,58,0.45), transparent);
}
.mainnav__tab img.ico,
.mainnav__tab .ico-svg {
    height: clamp(14px, 1.3vw, 20px);
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 0 rgba(255,240,200,0.4));
}
.mainnav__tab .ico-svg { width: clamp(14px, 1.3vw, 20px); }
.mainnav__tab:hover { filter: brightness(1.12); transform: translateY(-1px); background: rgba(184,144,96,0.18); }

/* Active state — Play Now red, INSET box-shadow border (layout-safe) */
.mainnav__tab.active {
    color: #f5d36a;
    text-shadow: 0 2px 3px rgba(0,0,0,0.75);
    background: linear-gradient(180deg, #c5202e 0%, #9a0e1c 45%, #6a0810 85%, #4a0610 100%);
    animation: sr-gold-pulse 3.2s ease-in-out infinite;
}
.mainnav__tab.active:hover { background: linear-gradient(180deg, #c5202e 0%, #9a0e1c 45%, #6a0810 85%, #4a0610 100%); }
/* Hide divider before active tab */
.mainnav__tab.active::before,
.mainnav__tab.active + .mainnav__tab::before { display: none; }
.mainnav__tab.active .ico-svg,
.mainnav__tab.active img.ico {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.7));
}
/* SILK YUKLE sekmesi (2026-10-01, eski "Item Mall"): zumrut renk + kayan parilti + nefes alan isik */
.mainnav__tab.mainnav__tab--silk,
.mainnav__tab.mainnav__tab--silk:hover,
.mainnav__tab.mainnav__tab--silk.active {
    color: #fff6d8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.65);
    background: linear-gradient(180deg, #3fd9a8 0%, #17a077 48%, #0c6e50 100%);
    overflow: hidden;
}
.mainnav__tab.mainnav__tab--silk { animation: navSilkGlow 2.8s ease-in-out infinite; }
.mainnav__tab.mainnav__tab--silk:hover { filter: brightness(1.1); }
.mainnav__tab.mainnav__tab--silk.active { animation: sr-gold-pulse 3.2s ease-in-out infinite; }
.mainnav__tab--silk::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
    background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: navSilkShine 3.6s ease-in-out infinite;
    pointer-events: none;
}
.mainnav__tab--silk .ico-svg { filter: drop-shadow(0 0 4px rgba(210,255,240,0.95)); }
.mainnav__badge {
    position: absolute; top: 3px; right: 4px;
    padding: 2px 5px; border-radius: 8px;
    font-family: Arial, sans-serif; font-size: 8.5px; font-weight: 800; letter-spacing: 0.3px; line-height: 1;
    color: #fff3d0; text-shadow: none;
    background: linear-gradient(180deg, #e0303e, #9a0e1c);
    box-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
@keyframes navSilkShine { 0% { left: -70%; } 55%, 100% { left: 135%; } }
@keyframes navSilkGlow {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28), inset 0 0 0 2px #0a5640, 0 0 6px rgba(47,199,154,0.45); }
    50%      { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.40), inset 0 0 0 2px #0a5640, 0 0 16px rgba(80,240,190,0.85); }
}
@media (prefers-reduced-motion: reduce) {
    .mainnav__tab.mainnav__tab--silk, .mainnav__tab--silk::after { animation: none; }
}
@media (max-width: 900px) {
    .mainnav__inner { padding: 6px 10px; min-height: 54px; }
    .mainnav__tabs { gap: 2px; }
    .mainnav__tab { font-size: 9px; letter-spacing: 0.5px; gap: 3px; padding: 8px 2px; }
    .mainnav__tab img.ico, .mainnav__tab .ico-svg { height: 12px; width: 12px; }
}

/* ═════════ LAYOUT ═════════ */
.wrap { max-width: var(--container); margin: 0 auto; padding: 14px 12px 0; }
.layout {
    display: grid;
    grid-template-columns: 210px 1fr 210px;
    gap: 12px;
}

/* ═════════ JOYMAX LOGIN (eski hali — birebir 200x168 native asset boyutlarında) ═════════ */
.jmx-login {
    width: 200px;
    height: 168px;
    margin: 0 auto 12px;
    padding: 26px 12px 12px;
    background: url("../images/joymax/us/mem_img/login_bg.gif") no-repeat center top;
    background-size: 100% 100%;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.jmx-login__row {
    display: flex; gap: 4px;
    align-items: stretch;
    margin-bottom: 6px;
}
.jmx-login__inputs {
    display: flex; flex-direction: column; gap: 4px;
    flex: 1;
}
.jmx-login__field {
    width: 102px; height: 18px;
    background: url("../images/joymax/us/mem_img/bg_id.gif") no-repeat center / 100% 100%;
    border: 0; outline: none;
    padding: 0 4px 0 22px;
    font-size: 10px; font-family: inherit; color: #fff;
    background-color: transparent;
}
.jmx-login__field--pw { background-image: url("../images/joymax/us/mem_img/bg_pw.gif"); }
.jmx-login__field::placeholder { color: rgba(255,255,255,0.35); font-size: 0; }
/* "ID" / "Password" yazısı ARKA PLAN GÖRSELİNİN İÇİNDE (bg_id.gif / bg_pw.gif =
           düz #494949 zemin + beyaz yazı, çerçeve yok). Gerçek bir placeholder olmadığı için
           yazmaya başlayınca kendiliğinden kaybolmuyor, yazılan metin etiketin üstüne biniyordu.
           Kutu odaktayken ya da doluyken görseli kaldır: gif'in kendi zemin rengi kaldığından
           görünüm birebir aynı, yalnızca etiket gider ve metin tüm genişliği kullanır.
           (Boş bırakıp başka yere tıklanırsa etiket geri gelir.) */
.jmx-login__field:focus,
.jmx-login__field:not(:placeholder-shown) {
    background-image: none;
    background-color: #494949;
    padding-left: 4px;
}
.jmx-login__signin {
    width: 60px; height: 41px;
    background: linear-gradient(180deg, #7a7a78 0%, #4a4a48 45%, #2e2e2c 100%);
    border: 1px solid #141414; border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.5);
    color: #f0e6c8; font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 9.5px; letter-spacing: 0.5px; line-height: 1.2;
    cursor: pointer; text-transform: uppercase;
    transition: filter 0.15s;
}
.jmx-login__signin:hover { filter: brightness(1.15); }
.jmx-login__search {
    display: flex; justify-content: center; align-items: center; gap: 7px;
    flex-wrap: wrap;
    margin: 8px 0 6px;
}
.jmx-login__search a {
    font-family: 'Cinzel', serif; font-size: 9px; font-weight: 700;
    letter-spacing: 0.4px; text-transform: uppercase;
    color: #cabb9a; text-decoration: none; white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0,0,0,0.7);
    transition: color 0.15s;
}
.jmx-login__search a:hover { color: #f5d36a; }
.jmx-login__search .sep { color: #6a5e48; font-size: 9px; }
.jmx-login__signup {
    display: flex; align-items: center; justify-content: center;
    width: 168px; height: 25px;
    margin: 0 auto;
    background: linear-gradient(180deg, #f0b44e 0%, #d88a20 50%, #a85e0c 100%);
    border: 1px solid #6a3c08; border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,240,200,0.55), 0 1px 3px rgba(0,0,0,0.5);
    font-family: 'Cinzel', serif; font-weight: 800; font-size: 13px;
    letter-spacing: 1.5px; color: #fff7d0; text-decoration: none;
    text-shadow: 0 1px 2px rgba(90,40,0,0.8);
    transition: filter 0.15s, transform 0.15s;
}
.jmx-login__signup:hover { filter: brightness(1.12); transform: translateY(-1px); }
.jmx-login__msg {
    display: none;
    margin-top: 6px; padding: 3px 6px;
    font-size: 10px; text-align: center; border-radius: 2px;
}
.jmx-login__msg.success { display: block; background: rgba(34,197,94,0.2); color: #98e98e; }
.jmx-login__msg.error   { display: block; background: rgba(239,68,68,0.25); color: #f5a89e; }

/* Logged-in summary uses same dark panel feel */
.jmx-account {
    width: 200px; min-height: 168px;
    margin: 0 auto 12px;
    padding: 16px 12px;
    background: url("../images/joymax/us/mem_img/login_bg.gif") no-repeat center top / 100% 100%;
    text-align: center;
    color: #f0d48a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.jmx-account__name { font-family: 'Cinzel', serif; font-weight: 700; font-size: 14px; color: #f5d36a; margin-bottom: 4px; }
.jmx-account__id   { font-size: 10px; color: #c89820; margin-bottom: 8px; }
.jmx-account__silk {
    font-size: 11px; color: #e8d49a; margin-bottom: 12px;
    padding: 4px 8px; border: 1px solid rgba(200,152,32,0.45); border-radius: 3px;
    background: rgba(200,152,32,0.10);
}
.jmx-account__silk b { color: #f5d36a; }
.jmx-account__silk .g { color: #c89820; font-size: 10px; }
.jmx-account a { margin-bottom: 6px; }

/* ═════════ FREE 2 PLAY CLIENT DOWNLOAD banner ═════════ */
.jmx-cd {
    display: block;
    width: 210px; height: 72px;
    margin: 0 auto 12px;
    background: url("../images/joymax/us/main_img/client_download.png") no-repeat center / 100% 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.55);
    transition: filter 0.15s, transform 0.15s;
}
.jmx-cd:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ═════════ JOYMAX LEFT MENU (10 GIF bars) ═════════ */
.jmx-leftmenu {
    display: flex; flex-direction: column;
    gap: 1px;
    margin-bottom: 12px;
    padding: 5px 0;
    background: linear-gradient(180deg, #2a1810 0%, #15090a 100%);
    border: 1px solid #1a0e07;
    box-shadow: inset 0 0 0 1px #c89820, 0 2px 8px rgba(0,0,0,0.5);
}
.jmx-leftmenu__item {
    display: flex; align-items: center; gap: 7px;
    width: 200px; height: 25px;
    margin: 0 auto; padding: 0 7px;
    background: linear-gradient(180deg, #6a5a34 0%, #4a3c1e 40%, #322610 100%);
    border: 1px solid #14100a; border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px rgba(214, 200, 158, 0.85),
        inset 0 0 0 2px rgba(90, 72, 40, 0.55),
        inset 0 -3px 5px rgba(0,0,0,0.35),
        0 1px 2px rgba(0,0,0,0.4);
    font-family: 'Cinzel', serif; font-weight: 700; font-size: 11px;
    letter-spacing: 1px; color: #ead9ac; text-decoration: none;
    text-shadow: 0 1px 1px rgba(0,0,0,0.7);
    white-space: nowrap; overflow: hidden;
    transition: filter 0.15s, transform 0.15s;
}
.jmx-leftmenu__item::before { content: '◆'; font-size: 7px; color: #c89820; flex-shrink: 0; }
.jmx-leftmenu__item::after {
    content: '+'; margin-left: auto; flex-shrink: 0;
    width: 13px; height: 13px; line-height: 12px; text-align: center;
    font-family: Arial, sans-serif; font-size: 11px; color: #cfc09a;
    border: 1px solid rgba(214, 200, 158, 0.6); border-radius: 2px;
    background: rgba(0,0,0,0.3);
    box-shadow: inset 0 0 0 1px rgba(40, 30, 14, 0.8);
}
.jmx-leftmenu__item:hover { filter: brightness(1.18); transform: translateX(2px); }

/* ═════════ JOYMAX SOCIAL ICONS (real 32x32 GIFs) ═════════ */
.jmx-social {
    display: flex; justify-content: center; gap: 6px;
}
.jmx-social a {
    display: block; width: 32px; height: 32px;
    transition: transform 0.15s, filter 0.15s;
}
.jmx-social a img { width: 32px; height: 32px; display: block; }
.jmx-social a:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* ═════════ RIGHT COL — Buy Item banner + Premium widgets ═════════ */
.jmx-buyitem {
    display: block; width: 210px; height: 67px;
    margin: 0 auto 12px;
    background: url("../images/joymax/us/main_img/banner_buyitem.png") no-repeat center / 100% 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.55);
    transition: filter 0.15s, transform 0.15s;
}
.jmx-buyitem:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Server Time — temiz CSS (banner image kaldırıldı, çizgi sorunu gitti) */
.jmx-srvtime {
    width: 210px;
    margin: 0 auto 12px;
    padding: 0;
    background: linear-gradient(180deg, #15090a 0%, #0a0503 100%);
    border: 2px solid var(--gold-deep);
    box-shadow:
        inset 0 0 0 1px var(--gold-light),
        0 3px 8px rgba(0,0,0,0.6);
    overflow: hidden;
}
.jmx-srvtime__title {
    display: block;
    text-align: center;
    padding: 6px 0;
    background: linear-gradient(180deg, #3a2410 0%, #1a0e07 100%);
    border-bottom: 1px solid var(--gold-deep);
    color: #f0d48a;
    font-family: 'Cinzel', serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 #000;
}
.jmx-srvtime__inner {
    padding: 10px 8px 12px;
    text-align: center;
    font-family: 'Cinzel', serif;
}
.jmx-srvtime__date {
    color: #f0d48a;
    font-size: 11px;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
    text-shadow: 0 1px 0 #000;
}
.jmx-srvtime__clock {
    color: #ff5a48;
    font-size: 24px; font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 3px; line-height: 1;
    margin: 2px 0 4px;
    text-shadow:
        0 0 8px rgba(255,90,72,0.5),
        0 1px 0 #000;
}
.jmx-srvtime__sub {
    color: #b09872;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Quick banner cards (cartoon / guide / an) */
.jmx-qb-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    width: 210px; margin: 0 auto 12px;
}
/* Tek basina kalan son kart yarim durmasin, satiri doldursun */
.jmx-qb-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.jmx-qb {
    display: block;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    transition: filter 0.15s, transform 0.15s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.35);
}
.jmx-qb:hover { filter: brightness(1.1); transform: translateY(-1px); }
.jmx-qb--cartoon { background-image: url("../images/joymax/us/main_img/quick_banner_cartoon.gif"); }
.jmx-qb--guide   { background-image: url("../images/joymax/us/main_img/quick_banner_guide.gif"); }
.jmx-qb--an      { background-image: url("../images/joymax/us/main_img/quick_banner_an.gif"); }

/* ═════════ PARCHMENT CARD (unified panel) ═════════ */
.p-card {
    background: linear-gradient(180deg, var(--parch-light) 0%, var(--parch) 100%);
    border: 1px solid var(--gold);
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow:
        inset 0 0 0 1px rgba(255,240,200,0.45),
        0 2px 8px rgba(0,0,0,0.55);
    position: relative;
}
.p-card::before, .p-card::after {
    content: ''; position: absolute;
    width: 10px; height: 10px;
    border: 1px solid var(--gold-deep);
    pointer-events: none;
}
.p-card::before { top: 3px; left: 3px; border-right: 0; border-bottom: 0; }
.p-card::after  { bottom: 3px; right: 3px; border-left: 0; border-top: 0; }
.p-card__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 12px;
    border-bottom: 1px solid var(--parch-edge);
    background:
        linear-gradient(180deg, rgba(184,144,96,0.18) 0%, rgba(184,144,96,0.04) 100%);
}
.p-card__title {
    display: flex; align-items: center; gap: 6px;
    font-family: 'Cinzel', serif;
    color: var(--ink);
    font-size: 12px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
}
.p-card__title::before { content: '+'; color: var(--ink-soft); font-weight: 800; font-size: 13px; }
.p-card__more {
    font-size: 10px; color: var(--ink-dim);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.p-card__more::after { content: ' ›'; color: var(--gold-deep); font-weight: 700; }
.p-card__more:hover { color: var(--red-dark); }
.p-card__body { padding: 10px 12px 12px; }

/* ═════════ MEMBER LOGIN ═════════ */
.login-form .field {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--parch-edge);
    border-radius: 2px;
    margin-bottom: 6px;
    padding-left: 8px;
}
.login-form .field .ico { color: var(--ink-dim); margin-right: 6px; font-size: 11px; }
.login-form input[type=text],
.login-form input[type=password] {
    flex: 1;
    padding: 6px 8px 6px 0;
    background: transparent; border: 0; outline: none;
    color: var(--ink);
    font-size: 12px;
    font-family: inherit;
}
.login-form__row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 10px; color: var(--ink-dim);
    margin: 4px 0 8px;
}
.login-form__row a { color: var(--red); border-bottom: 1px dotted var(--red); }
.login-form__row label { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.login-form__row input[type=checkbox] { width: 11px; height: 11px; }
.btn-red {
    display: block; width: 100%;
    padding: 8px;
    font-family: 'Cinzel', serif;
    font-weight: 700; font-size: 12px;
    letter-spacing: 3px;
    color: #fff;
    background: var(--red-grad);
    border: 1px solid var(--red-dark);
    border-radius: 2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.15s;
}
.btn-red:hover { filter: brightness(1.08); transform: translateY(-1px); }
.login-form__foot {
    text-align: center;
    font-size: 10px; color: var(--ink-dim);
    margin-top: 8px;
}
.login-form__foot a { color: var(--red); font-weight: 600; border-bottom: 1px dotted var(--red); }

.acct-summary { text-align: center; padding: 4px 0; }
.acct-summary__name { font-family: 'Cinzel', serif; color: var(--ink); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.acct-summary__id { color: var(--ink-dim); font-size: 11px; margin-bottom: 10px; }
.acct-summary .btn-red { margin-bottom: 6px; }
.btn-brown {
    display: block; text-align: center; width: 100%;
    padding: 6px 10px;
    font-family: 'Cinzel', serif;
    font-size: 11px; letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--ink);
    background: linear-gradient(180deg, #ecd9a4 0%, #d4be7c 45%, #b89860 100%);
    border: 1px solid var(--gold-deep);
    border-radius: 2px;
    box-shadow: inset 0 1px 0 rgba(255,240,200,0.5), 0 1px 2px rgba(0,0,0,0.25);
    transition: filter 0.15s;
    text-decoration: none;
}
.btn-brown:hover, .btn-brown:focus { filter: brightness(1.06); text-decoration: none; color: var(--ink); }
.btn-brown.disabled, .btn-brown:disabled { filter: grayscale(0.3); opacity: 0.65; cursor: not-allowed; }

/* ═════════ GAME MENU (compact list) ═════════ */
.g-menu { list-style: none; }
.g-menu li a {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 4px;
    border-bottom: 1px dotted rgba(122,90,58,0.35);
    font-size: 12px; color: var(--ink);
    font-weight: 600;
    transition: all 0.1s;
}
.g-menu li:last-child a { border-bottom: 0; }
.g-menu li a:hover { color: var(--red); padding-left: 8px; }
.g-menu li a .ico {
    width: 16px; height: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-deep);
    font-size: 12px;
}
.g-menu li a .chev {
    margin-left: auto;
    color: var(--gold-deep);
    font-size: 12px;
}

/* ═════════ DOWNLOADS (compact) ═════════ */
.dl-row {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 4px;
    border-bottom: 1px dotted rgba(122,90,58,0.35);
    font-size: 12px; color: var(--ink);
}
.dl-row:last-child { border-bottom: 0; }
.dl-row .ico {
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-deep);
    font-size: 14px;
}
.dl-row .text { flex: 1; line-height: 1.2; }
.dl-row .text b { display: block; font-weight: 700; font-size: 12px; }
.dl-row .text span { display: block; font-size: 10px; color: var(--ink-dim); margin-top: 1px; }
.dl-row .arrow { color: var(--gold-deep); font-size: 12px; }
.dl-row:hover .arrow { color: var(--red); }

/* ═════════ SOSYAL MEDYA paneli — dilimli: üst kapak + bant (tekrar) + kutucuklar + alt kapak ═════════
           Oranlar eski tek parça panel.png'den (713 px): kutucuk 236 px, kenar 98 px, ara 48 px. */
.sns-panel {
    position: relative;
    width: 100%;
    margin: 0 auto 12px;
    filter: drop-shadow(0 5px 16px rgba(0,0,0,0.5));
}
.sns-panel__top { position: relative; }
.sns-panel__top img,
.sns-panel__bot { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.sns-panel__body {
    display: flex; flex-wrap: wrap; justify-content: center;
    column-gap: 9.2%; row-gap: 8px;
    padding: 1% 13.7% 2%;
    margin: -1px 0;
    background: url("../images/social/sns_band.png") center top / 100% auto repeat-y;
}
.sns-tile {
    flex: 0 0 45.4%;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    text-decoration: none;
    --c: #f0d48a;
    transition: transform 0.22s ease, filter 0.22s ease;
}
.sns-tile img { display: block; width: 100%; height: auto; border-radius: 10px; transition: filter 0.22s ease; }
.sns-tile span {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 10.5px; letter-spacing: 0.3px;
    color: #cabb9a; text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.sns-tile:hover { transform: scale(1.04); }
.sns-tile:hover img { filter: brightness(1.3) saturate(1.2) drop-shadow(0 0 7px var(--c)); }
.sns-tile--discord   { --c: #5865f2; }
.sns-tile--facebook  { --c: #1877f2; }
.sns-tile--instagram { --c: #dd2a7b; }
.sns-tile--youtube   { --c: #ff2020; }
.sns-tile--tiktok    { --c: #25f4ee; }
.sns-tile--twitter   { --c: #e7e9ea; }
.sns-tile--telegram  { --c: #2aabee; }
.sns-tile--whatsapp  { --c: #25d366; }
/* başlık üst kapağın boş alanına (eski panelde %5.2 → kapakta %28.6) */
.sns-panel__title {
    position: absolute; top: 28.6%; left: 8%; right: 8%;
    text-align: center; pointer-events: none;
    font-family: 'Cinzel', serif; font-weight: 800; font-size: 14px; letter-spacing: 2px;
    background: linear-gradient(180deg, #f7e3a0 0%, #d4a850 55%, #f0d48a 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: snsTitleGlow 3.2s ease-in-out infinite;
}
.sns-panel__title span {
    display: block; margin-top: 3px;
    font-family: 'Segoe UI', sans-serif; font-weight: 400; font-style: italic;
    font-size: 9.5px; letter-spacing: 0.4px;
    -webkit-text-fill-color: #b09872; color: #b09872;
}
@keyframes snsTitleGlow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(240,212,138,0.25)); }
    50%      { filter: drop-shadow(0 0 7px rgba(240,212,138,0.75)); }
}
/* yumusak parilti susmesi — tum panelde 7sn'de bir gecer */
.sns-panel::after {
    content: ''; position: absolute; inset: 1.5% 4%;
    border-radius: 10px; pointer-events: none;
    background: linear-gradient(115deg, transparent 38%, rgba(255,240,190,0.13) 50%, transparent 62%);
    background-size: 300% 100%;
    animation: snsSheen 7s ease-in-out infinite;
}
@keyframes snsSheen {
    0%, 55% { background-position: 110% 0; }
    85%, 100% { background-position: -60% 0; }
}

/* ═════════ STAY CONNECTED (social icons row) ═════════ */
.stay-text {
    font-size: 11px; color: var(--ink-dim);
    text-align: center; margin-bottom: 10px;
}
.stay-icons {
    display: flex; justify-content: center; gap: 6px;
}
.stay-icons a {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 3px;
    font-size: 16px; color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.35);
    transition: transform 0.15s, filter 0.15s;
}
.stay-icons a:hover { transform: translateY(-2px); filter: brightness(1.15); }
.stay-icons .sc-facebook  { background: #1d5dca; }
.stay-icons .sc-discord   { background: #5865f2; }
.stay-icons .sc-youtube   { background: #c41818; }
.stay-icons .sc-twitter   { background: #000; }
.stay-icons .sc-instagram { background: linear-gradient(135deg,#f58529,#dd2a7b 45%,#8134af 80%,#515bd4); }

/* ═════════ HERO V2 (new banner 1.png + 2/3/5 buttons + 4 ribbon) ═════════ */
.hero {
    position: relative;
    aspect-ratio: 1916 / 821;
    background: url("../images/hero-v2/1.png?v=1779291549") center / cover no-repeat;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.6);
    border: 1px solid #c79b3e;
}
/* Legend ribbon overlay (4.png) */
.hero__legend {
    position: absolute;
    /* 18% iken arka plandaki FAIR PLAY yazisiyla ayni hizaya geliyordu */
    left: 8%; bottom: 9%;
    width: 28%; max-width: 280px;
    height: auto;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.6));
    pointer-events: none;
    z-index: 1;
}
/* Right-side action panel */
.hero__ctas {
    position: absolute;
    top: 6%; right: 2.5%; bottom: 6%;
    width: 28%; max-width: 230px;
    display: flex; flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    z-index: 2;
}
/* Hero buttons — use real PNG assets (2/3/5) */
.hero-btn {
    display: block;
    position: relative;
    overflow: hidden;
    transition: filter 0.15s, transform 0.15s;
}
.hero-btn img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
/* Subtle shimmer pass — only on the big Play Now & Client Download buttons */
.hero-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 35%; height: 100%;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.32) 50%, transparent 70%);
    transform: translateX(-100%) skewX(-18deg);
    pointer-events: none;
    animation: sr-btn-shine 5.5s ease-in-out infinite;
    mix-blend-mode: overlay;
}
.hero-btn:nth-of-type(2)::after { animation-delay: 2.5s; }
.hero-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hero-mini-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.hero-mini-btn {
    display: block;
    aspect-ratio: 220 / 145;
    background-image: url("../images/hero-v2/5.png?v=1779360603");
    background-size: 200% 100%;
    background-repeat: no-repeat;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    transition: filter 0.15s, transform 0.15s;
}
.hero-mini-btn:hover { filter: brightness(1.1) drop-shadow(0 2px 6px rgba(0,0,0,0.5)); transform: translateY(-1px); }
.hero-mini-btn--how    { background-position: left center; }
.hero-mini-btn--bonus  { background-position: right center; }

/* ═════════ NEWS SLIDER (3-slide carousel) ═════════ */
.news-slider {
    position: relative;
    height: 220px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    background: #1a1006;
}
.news-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-slider__slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.news-slider__slide img.news-slider__bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
/* Slide 1 (Grand Opening) special CSS-styled with overlay */
.news-slider__slide--grand {
    background: url("../images/hero.png?v=1779276850") center / cover no-repeat;
}
.news-slider__slide--grand::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,8,4,0.55) 0%, rgba(15,8,4,0.7) 100%);
}
.news-slider__inner {
    position: relative; z-index: 1;
    height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 14px 60px;
    text-align: center;
}
.news-slider__title {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 36px; font-weight: 800;
    background: linear-gradient(180deg, #fef3c7 0%, #f0d48a 50%, #c79b3e 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,0.6));
}
.news-slider__date {
    font-family: 'Cinzel', serif;
    font-size: 26px; font-weight: 800;
    color: #d44a3a;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    margin-top: -2px;
}
.news-slider__sub {
    color: #f0d48a; font-family: 'Cinzel', serif;
    font-size: 14px; letter-spacing: 3px;
    margin-top: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.news-slider__desc {
    color: var(--parch);
    font-size: 11px; letter-spacing: 1px;
    margin-top: 2px;
}
.news-slider__btn {
    margin-top: 10px;
    padding: 8px 24px;
    background: var(--red-grad);
    color: #fff;
    font-family: 'Cinzel', serif; font-weight: 700; font-size: 11px;
    letter-spacing: 2px;
    border: 1px solid var(--red-dark);
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 2px 6px rgba(0,0,0,0.4);
}
.news-slider__btn:hover { filter: brightness(1.1); }
.news-slider__arrows {
    position: absolute; top: 50%; transform: translateY(-50%);
    left: 12px; right: 12px;
    display: flex; justify-content: space-between;
    pointer-events: none; z-index: 2;
}
.news-slider__arrow {
    width: 28px; height: 28px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--parch);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer;
    pointer-events: auto;
}
.news-slider__arrow:hover { background: rgba(0,0,0,0.65); }
.news-slider__dots {
    position: absolute; bottom: 8px; left: 0; right: 0; z-index: 2;
    display: flex; justify-content: center; gap: 5px;
}
.news-slider__dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
}
.news-slider__dots .active { background: var(--gold-light); }

/* ═════════ Item Mall frame (reusable: .im-frame for Why / Tanitim / etc.) ═════════ */
.im-frame {
    position: relative;
    background: linear-gradient(180deg, #e0c995 0%, #d6be8a 45%, #cab27a 100%);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.45);
    overflow: hidden;
}
.im-frame__top {
    position: relative;
    height: 38px;
    background: url("../images/joymax/us/main_img/skin_img/01_img/item_frame1_2.gif") no-repeat center top;
    background-size: 100% 100%;
    margin-bottom: -1px;
    z-index: 2;
}
.im-frame__bottom {
    position: relative;
    height: 26px;
    background: url("../images/joymax/us/main_img/skin_img/01_img/item_frame2_2.gif") no-repeat center top;
    background-size: 100% 100%;
    margin-top: -1px;
    z-index: 2;
}
.im-frame__body { padding: 0 18px 6px; position: relative; }

/* ═════════ WHY SILKROAD RISE? (composed banner) ═════════ */
.why-banner {
    display: block;
    margin-bottom: 12px;
    border: 2px solid var(--gold-deep);
    box-shadow:
        inset 0 0 0 1px var(--gold-light),
        0 4px 14px rgba(0,0,0,0.55);
    background: #ecdab2;
    line-height: 0;
}
.why-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.why__head {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 4px 0 14px;
    position: relative;
}
.why__head::before, .why__head::after {
    content: '✦';
    color: var(--gold-deep);
    margin: 0 14px;
    opacity: 0.7;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.why-card {
    background: linear-gradient(180deg, #fbf2d2 0%, #ecdab2 100%);
    border: 1px solid var(--parch-edge);
    border-radius: 3px;
    padding: 12px 6px;
    text-align: center;
    transition: transform 0.15s;
}
.why-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.why-card__icon {
    width: 48px; height: 48px;
    margin: 0 auto 8px;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(circle at 35% 30%, #4a72b8 0%, #2a4a78 60%, #1a2a48 100%);
    border: 2px solid var(--gold);
    box-shadow:
        inset 0 0 0 1px var(--gold-light),
        inset 0 1px 4px rgba(0,0,0,0.4),
        0 2px 4px rgba(0,0,0,0.3);
    color: var(--gold-light);
    font-size: 18px;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    border-radius: 4px;
    position: relative;
}
.why-card__icon.icon-gold {
    background: radial-gradient(circle at 35% 30%, #d4a02d 0%, #8a6520 60%, #4a3a14 100%);
}
.why-card__icon.icon-green {
    background: radial-gradient(circle at 35% 30%, #5fc94e 0%, #2a7a20 60%, #1a4a14 100%);
}
.why-card__title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--ink);
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ═════════ CC ROW (Latest News + Item Mall) ═════════ */
.cc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

/* News list */
.news-list { list-style: none; }
.news-list li a {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 0;
    border-bottom: 1px dotted rgba(122,90,58,0.35);
    font-size: 11px; color: var(--ink);
}
.news-list li:last-child a { border-bottom: 0; }
.news-list li a:hover { color: var(--red); }
.news-list__badge {
    background: #3a72c8; color: #fff;
    padding: 2px 6px;
    font-size: 9px; font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
    flex-shrink: 0;
}
.news-list__title { flex: 1; }
.news-list__date {
    font-size: 10px; color: var(--ink-dim);
    flex-shrink: 0;
}

/* Featured Item Mall */
.fim-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}
.fim-cell {
    text-align: center;
    padding: 2px;
}
.fim-cell__icon {
    width: 38px; height: 38px;
    margin: 0 auto 4px;
    border: 2px solid var(--gold);
    box-shadow:
        inset 0 0 0 1px var(--gold-light),
        inset 0 0 0 2px var(--gold-deep),
        0 1px 2px rgba(0,0,0,0.35);
    background: #15233a;
    display: block;
}
.fim-cell__name {
    font-size: 8px; color: var(--ink);
    line-height: 1.1;
    min-height: 18px;
    margin-bottom: 3px;
    font-weight: 600;
}
.fim-cell__price {
    display: flex; align-items: center; justify-content: center; gap: 3px;
    font-size: 9px; font-weight: 800; color: #8a4a14;
}
.fim-cell__coin {
    display: inline-block;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fdec90, #d4a02d 60%, #8a6520);
    border: 1px solid #6a4810;
    animation: sr-coin-pulse 2.4s ease-in-out infinite;
}

/* ═════════ NEXT WEEK NEW AVATARS (panel) ═════════ */
.nwa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.nwa__card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    padding: 22px 8px 12px;  /* extra top padding for COMING badge clearance */
    background: linear-gradient(180deg, #fbf2d0 0%, #ecdab2 100%);
    border: 1px solid var(--gold);
    box-shadow: inset 0 0 0 1px rgba(255,240,200,0.5), 0 2px 6px rgba(0,0,0,0.25);
    text-align: center;
    overflow: visible;
}
.nwa__card::before {
    content: 'COMING';
    position: absolute;
    top: -8px; right: 6px;
    padding: 3px 9px;
    background: linear-gradient(180deg, #d44a3a 0%, #8a1a14 100%);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 9px; font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 2px;
    border: 1px solid #5a0e08;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 2px 4px rgba(0,0,0,0.4);
    z-index: 2;
}
.nwa__icon {
    position: relative;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, #2a3850 0%, #14213a 100%);
    border: 2px solid #c89820;
    box-shadow:
        inset 0 0 0 1px #f5d36a,
        inset 0 0 8px rgba(0,0,0,0.4),
        0 2px 4px rgba(0,0,0,0.35);
    border-radius: 3px;
    margin-bottom: 8px;
}
.nwa__icon img {
    width: 48px; height: 48px;
    image-rendering: -webkit-optimize-contrast;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.nwa__name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 11px;
    color: var(--brown);
    line-height: 1.25;
    margin-bottom: 4px;
    text-align: center;
    letter-spacing: 0.3px;
    width: 100%;
}
.nwa__race {
    display: block;
    font-size: 9px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    font-weight: 600;
}
.nwa__price {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    font-size: 11px; font-weight: 800;
    color: #8a4a14;
}
.nwa__coin {
    display: inline-block;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fdec90, #d4a02d 60%, #8a6520);
    border: 1px solid #6a4810;
    animation: sr-coin-pulse 2.4s ease-in-out infinite;
}
.nwa__footer {
    text-align: center;
    padding: 10px 0 4px;
    font-size: 11px;
    color: var(--ink-soft);
    font-family: 'Cinzel', serif;
    letter-spacing: 1.2px;
    border-top: 1px dotted rgba(122,90,58,0.4);
    margin-top: 14px;
}
.nwa__footer b { color: var(--red); font-weight: 700; }

/* ═════════ RANKINGS PAGE (yeni tasarım) ═════════ */
/* Tab row — full width white parchment with icons */
.rk-tabs {
    display: grid;
    grid-template-columns: repeat(var(--rk-n, 5), 1fr);   /* --rk-n = sekme sayısı (index.php basar) */
    background: linear-gradient(180deg, #fbf2d0 0%, #ecdab2 100%);
    border: 1px solid var(--gold-deep);
    box-shadow: inset 0 0 0 1px rgba(255,240,200,0.5), 0 2px 8px rgba(0,0,0,0.35);
    margin-bottom: 16px;
}
.rk-tab {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    font-family: 'Cinzel', serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1.5px;
    color: #5a3a1c;
    text-transform: uppercase;
    border-right: 1px solid rgba(122,90,58,0.3);
    transition: background 0.12s;
    text-decoration: none;
}
.rk-tab:last-child { border-right: 0; }
.rk-tab:hover { background: rgba(184,144,96,0.18); color: var(--red-dark); }
.rk-tab.active {
    background: linear-gradient(180deg, #c5202e 0%, #9a0e1c 45%, #6a0810 100%);
    color: #f5d36a;
    text-shadow: 0 1px 2px rgba(0,0,0,0.55);
    box-shadow:
        inset 0 0 0 2px #c89820,
        inset 0 0 0 3px #f5d36a,
        inset 0 -3px 8px rgba(0,0,0,0.35);
}
.rk-tab__ico { font-size: 14px; flex-shrink: 0; }

/* Unique Rank alt görünümleri: Haftalık Rank (oyundaki liste) / Tüm Zamanlar */
.rk-subtabs { display: flex; justify-content: center; margin: -4px 0 16px; }
.rk-subtab {
    padding: 9px 22px;
    font-family: 'Cinzel', serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #5a3a1c;
    background: linear-gradient(180deg, #fbf2d0 0%, #ecdab2 100%);
    border: 1px solid var(--gold-deep);
}
.rk-subtab + .rk-subtab { border-left: 0; }
.rk-subtab:hover { background: rgba(184,144,96,0.18); color: var(--red-dark); }
.rk-subtab.active {
    background: linear-gradient(180deg, #c5202e 0%, #9a0e1c 45%, #6a0810 100%);
    color: #f5d36a;
    text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}

/* Search row */
.rk-search {
    display: flex; gap: 8px;
    margin-bottom: 22px;
}
.rk-search__input {
    position: relative; flex: 0 0 280px;
}
.rk-search__input input {
    width: 100%;
    padding: 7px 12px 7px 30px;
    font-family: inherit; font-size: 12px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--parch-edge);
    color: var(--ink);
    outline: none;
}
.rk-search__input::before {
    content: '🔍';
    position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
    color: var(--ink-dim);
    font-size: 12px;
}
.rk-search button {
    padding: 7px 22px;
    background: linear-gradient(180deg, #ecd9a4 0%, #d4be7c 100%);
    color: var(--ink);
    border: 1px solid var(--gold-deep);
    font-family: 'Cinzel', serif;
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,240,200,0.5);
}
.rk-search button:hover { filter: brightness(1.08); }
.rk-search button:disabled, .rk-search button:disabled:hover { opacity: .55; cursor: not-allowed; filter: grayscale(.35); }
.rk-search-info { margin: -6px 0 10px; font-size: 12px; color: var(--ink-dim); font-style: italic; }
.rk-search-info[hidden] { display: none; }
.rk-search-info a { color: var(--red); font-style: normal; font-weight: 600; border-bottom: 1px dotted var(--red); }
.rk-noresult {
    text-align: center; padding: 26px 12px;
    color: var(--ink-dim); font-style: italic;
    border: 1px dashed var(--parch-edge);
    background: rgba(255,255,255,0.28);
}

/* Top 3 Podium */
.rk-podium {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 12px;
    align-items: end;
    margin: 50px 0 26px;
    padding: 0;
}
.rk-pod {
    position: relative;
    background: linear-gradient(180deg, #fbf2d0 0%, #ecdab2 100%);
    border: 1px solid var(--gold-deep);
    box-shadow: inset 0 0 0 1px rgba(255,240,200,0.5), 0 3px 10px rgba(0,0,0,0.35);
    text-align: center;
    padding: 42px 12px 16px;
    transition: transform 0.2s;
    border-radius: 2px;
}
.rk-pod:hover { transform: translateY(-3px); }
/* Medal disc with laurel wreath */
.rk-pod__medal-wrap {
    position: absolute;
    top: -32px; left: 50%; transform: translateX(-50%);
    width: 86px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.rk-pod__medal {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 -3px 6px rgba(0,0,0,0.25), inset 0 2px 6px rgba(255,255,255,0.45);
    border: 3px solid;
    position: relative;
    z-index: 2;
}
/* Laurel wreath via pseudo-elements (left & right leaves) */
.rk-pod__medal-wrap::before,
.rk-pod__medal-wrap::after {
    content: '';
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 30px; height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
}
.rk-pod__medal-wrap::before {
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 50'%3E%3Cg fill='%23c89820' stroke='%236a4810' stroke-width='0.5'%3E%3Cpath d='M28 25 C 22 14, 12 10, 6 6 C 8 12, 10 16, 14 19 C 8 17, 4 14, 2 10 C 5 17, 9 22, 14 25 C 9 26, 4 26, 2 24 C 5 30, 10 33, 14 31 C 12 35, 8 38, 6 44 C 12 40, 22 36, 28 25 Z'/%3E%3C/g%3E%3C/svg%3E");
}
.rk-pod__medal-wrap::after {
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 50'%3E%3Cg fill='%23c89820' stroke='%236a4810' stroke-width='0.5'%3E%3Cpath d='M2 25 C 8 14, 18 10, 24 6 C 22 12, 20 16, 16 19 C 22 17, 26 14, 28 10 C 25 17, 21 22, 16 25 C 21 26, 26 26, 28 24 C 25 30, 20 33, 16 31 C 18 35, 22 38, 24 44 C 18 40, 8 36, 2 25 Z'/%3E%3C/g%3E%3C/svg%3E");
}
.rk-pod--gold .rk-pod__medal {
    background: radial-gradient(circle at 35% 30%, #fff7d0 0%, #f5d36a 40%, #c89820 75%, #6a4810 100%);
    border-color: #6a4810;
    color: #4a2810;
    animation: sr-orb-sparkle 4s ease-in-out infinite;
}
.rk-pod--silver .rk-pod__medal {
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e0e0e0 40%, #989898 75%, #4a4a4a 100%);
    border-color: #4a4a4a;
    color: #2a2a2a;
}
.rk-pod--bronze .rk-pod__medal {
    background: radial-gradient(circle at 35% 30%, #ffd0a0 0%, #d4954a 40%, #8a4a18 75%, #4a2410 100%);
    border-color: #4a2410;
    color: #2a1004;
}
/* Gold #1 raised + bigger ornate border */
.rk-pod--gold {
    transform: translateY(-18px);
    padding: 50px 14px 22px;
    border: 2px solid #c89820;
    box-shadow:
        inset 0 0 0 1px #f5d36a,
        inset 0 0 0 4px rgba(255,247,200,0.5),
        inset 0 0 0 5px #c89820,
        0 8px 28px rgba(212,160,45,0.5);
}
.rk-pod--silver { border-color: #888; box-shadow: inset 0 0 0 1px #d0d0d0, 0 4px 14px rgba(0,0,0,0.4); }
.rk-pod--bronze { border-color: #8a5018; box-shadow: inset 0 0 0 1px #d4954a, 0 4px 14px rgba(0,0,0,0.4); }

.rk-pod__name {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    color: var(--brown);
    font-size: 18px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rk-pod--gold .rk-pod__name { font-size: 22px; }
.rk-pod__race {
    display: inline-block;
    padding: 3px 12px;
    color: #fff;
    font-size: 10px; font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 10px;
    border: 1px solid;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.rk-pod__race--ch { background: linear-gradient(180deg, #d8323a, #8a141a); border-color: #5a0e14; }
.rk-pod__race--eu { background: linear-gradient(180deg, #4a82d8, #1a3a7a); border-color: #0e2050; }
.rk-pod__class {
    font-size: 12px;
    color: var(--ink-dim);
    margin-bottom: 10px;
}
.rk-pod__metric-lbl {
    position: relative;
    font-size: 10px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 6px 0 4px;
}
.rk-pod__metric-lbl::before, .rk-pod__metric-lbl::after {
    content: '';
    position: absolute; top: 50%;
    width: 40px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}
.rk-pod__metric-lbl::before { right: calc(50% + 22px); }
.rk-pod__metric-lbl::after  { left:  calc(50% + 22px); }
.rk-pod__score {
    font-family: 'Cinzel', serif;
    font-size: 22px; font-weight: 800;
    color: var(--brown);
    letter-spacing: 1px;
}
.rk-pod--gold .rk-pod__score { font-size: 26px; color: #4a2810; }

/* Rankings table */
.rk-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(180deg, #fbf2d0 0%, #ecdab2 100%);
    border: 1px solid var(--gold-deep);
    box-shadow: inset 0 0 0 1px rgba(255,240,200,0.45), 0 2px 6px rgba(0,0,0,0.3);
}
.rk-table thead {
    background: linear-gradient(180deg, #3a2410 0%, #1a0e07 100%);
}
.rk-table th {
    padding: 12px 14px;
    color: #f5d36a;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: left;
    text-shadow: 0 1px 0 #000;
}
.rk-table th.c { text-align: center; }
.rk-table th.r { text-align: right; }
.rk-table tbody tr {
    border-bottom: 1px solid rgba(122,90,58,0.25);
    transition: background 0.12s;
}
.rk-table tbody tr:hover { background: rgba(255,240,200,0.45); }
.rk-table tbody tr:last-child { border-bottom: 0; }
.rk-table td {
    padding: 10px 14px;
    color: var(--ink);
    font-size: 13px;
    vertical-align: middle;
}
.rk-table td.c { text-align: center; }
.rk-table td.r { text-align: right; }
/* Rank cell with medal circle for top 3 */
.rk-table .rank-cell {
    width: 60px;
    text-align: center;
}
.rk-medal {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 13px;
    border: 2px solid;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.25), inset 0 2px 4px rgba(255,255,255,0.35), 0 1px 3px rgba(0,0,0,0.35);
}
.rk-medal--1 {
    background: radial-gradient(circle at 35% 30%, #fff7d0, #f5d36a 45%, #c89820 80%);
    border-color: #6a4810;
    color: #3a2010;
}
.rk-medal--2 {
    background: radial-gradient(circle at 35% 30%, #ffffff, #e0e0e0 45%, #989898 80%);
    border-color: #4a4a4a;
    color: #1a1a1a;
}
.rk-medal--3 {
    background: radial-gradient(circle at 35% 30%, #ffd0a0, #d4954a 45%, #8a4a18 80%);
    border-color: #4a2410;
    color: #2a1004;
}
.rk-rank-plain {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--ink-soft);
    font-size: 13px;
}
.rk-race {
    display: inline-block;
    padding: 3px 10px;
    font-family: 'Cinzel', serif;
    font-size: 10px; font-weight: 800;
    letter-spacing: 1.3px;
    border-radius: 2px;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    border: 1px solid;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.rk-race--ch { background: linear-gradient(180deg, #d8323a, #8a141a); border-color: #5a0e14; }
.rk-race--eu { background: linear-gradient(180deg, #4a82d8, #1a3a7a); border-color: #0e2050; }
.rk-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--brown);
    font-size: 14px;
    letter-spacing: 0.3px;
}
.rk-name a { color: inherit; }
.rk-name a:hover { color: var(--red); }
.rk-class {
    color: var(--ink-dim);
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
}
.rk-lvl {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--brown);
    font-size: 14px;
}
.rk-score {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    color: var(--brown);
    font-size: 14px;
}
.rk-guild {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
}
.rk-guild--none { color: var(--ink-mute); font-style: italic; }

@media (max-width: 720px) {
    .rk-tabs { grid-template-columns: repeat(2, 1fr); }
    .rk-tab { padding: 10px 6px; font-size: 10px; letter-spacing: 0.8px; }
    .rk-podium { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
    .rk-pod--gold { transform: none; order: -1; }
    .rk-table th, .rk-table td { padding: 7px 8px; font-size: 11px; }
    .rk-class { display: none; }
}

/* ═════════ RANK DETAIL DRAWER ═════════ */
.rk-table tbody tr { cursor: pointer; }
.rk-table tbody tr.rk-row--static { cursor: default; }   /* guild satırı: detay paneli yok */
.rk-table tbody tr.is-active { background: rgba(212,160,45,0.18) !important; box-shadow: inset 3px 0 0 var(--gold); }
.rk-pod { cursor: pointer; transition: transform 0.18s; }
.rk-pod:hover { transform: translateY(-3px); }
.rk-pod--gold:hover { transform: translateY(-19px); }

/* ═════════════════════════════════════════════════════════════════
           Character Detail Drawer — PNG template + pixel overlays
           Katmanlar: rank_panel.png (opak zemin) + rank_stage.png (podyum, multiply)
           Boyut: 1448 x 1086 native, transform:scale ile responsive
           ═════════════════════════════════════════════════════════════════ */

.rkd-backdrop {
    position: fixed; inset: 0;
    background: rgba(8,4,2,0.78);
    backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.22s;
    z-index: 998;
}
.rkd-backdrop.open { opacity: 1; pointer-events: auto; }

.rkd {
    position: fixed;
    top: 50%; left: 50%;
    width: 1448px; height: 1086px;
    transform: translate(-50%, -50%) scale(var(--rkd-scale, 0.42));
    transform-origin: center center;
    z-index: 999;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
    filter: drop-shadow(0 30px 70px rgba(0,0,0,0.85));
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-width: none;
    max-height: none;
}
.rkd.open {
    opacity: 1; pointer-events: auto;
    transform: translate(-50%, -50%) scale(var(--rkd-scale, 0.42));
}
.rkd__topframe { display: none; }
.rkd__inner { position: static; padding: 0; }

.rkd__bg {
    position: absolute; inset: 0;
    width: 1448px; height: 1086px;
    user-select: none; pointer-events: none;
    z-index: 0;
    image-rendering: -webkit-optimize-contrast;
}
/* 3D sahne/podyum — multiply ile parşömene kaynaşır (beyaz ışık nötrlenir) */
.rkd__stage {
    position: absolute; inset: 0;
    width: 1448px; height: 1086px;
    user-select: none; pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
    transform-origin: 724px 1086px;        /* alt-orta sabit, yukarı doğru büyür */
    transform: translate(-356px, 193px) scale(1.45);   /* sola hizala + ayak diski ortala + arka duvarı en yukarı uzat */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 22%, #000 33%, #000 70%, transparent 82%);
    mask-image: linear-gradient(to bottom, transparent 0, transparent 22%, #000 33%, #000 70%, transparent 82%);   /* üst+alt taşan parşömen fade, orta (duvar+podyum) dolu */
    clip-path: inset(0 37% 0 37%);   /* sadece karakter penceresi şeridi — kenar parşömeni köşelere/şeffaf alanlara taşmasın */
}
/* Başlık (PNG'ye gömülü değil — overlay) */
.rkd__title {
    position: absolute; left: 0; top: 50px; width: 1448px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 38px; font-weight: 700;
    letter-spacing: 0.14em;
    color: #6a3f15;
    text-shadow: 0 1px 0 rgba(255,245,210,0.6);
    z-index: 6; pointer-events: none;
}
/* Sekmeler */
.rkd__tabs { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; }
.rkd__tab {
    position: absolute;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    white-space: nowrap;
}
.rkd__tab--active {
    left: 712px; top: 150px; width: 362px; height: 58px;
    line-height: 58px;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(180deg, #b8281c, #8a1a14);
    border: 2px solid #c89820;
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 1px 0 rgba(255,210,140,0.4), 0 3px 8px rgba(80,10,10,0.4);
    text-shadow: 0 2px 3px rgba(60,8,8,0.7);
}
.rkd__tab--inactive {
    left: 1086px; top: 160px; width: 330px;
    color: #8a6a3c;
    font-size: 23px;
}

.rkd__close {
    position: absolute;
    top: 20px; right: 30px;
    width: 50px; height: 50px;
    border: 2px solid #b88a2e; border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #f3e0a0, #d9b455 70%, #b5892f);
    color: #4a2f12;
    font-size: 26px; font-weight: 800; line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: transform 0.18s, filter 0.18s;
}
.rkd__close:hover { transform: scale(1.08); filter: brightness(1.08); }

/* ─── HEADER OVERLAY (sağ profil üst) ─── */
.rkd__head { display: contents; }
.rkd__head > div { display: contents; }
.rkd__head > .rkd__head-badges { display: contents; }
.rkd__head > .rkd__avatar,
.rkd .rkd__avatar {
    display: block !important;
    position: absolute;
    left: 747px; top: 243px;
    width: 131px; height: 150px;
    background-color: #2a1810;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    background-origin: border-box;
    background-clip: border-box;
    border: 2px solid #6e4a1f;
    box-shadow: inset 0 0 0 1px rgba(246,210,122,0.45), 0 2px 6px rgba(0,0,0,0.55);
    color: transparent; font-size: 0;
    z-index: 5; overflow: hidden;
}
.rkd__avatar-img {
    width: 100%; height: 100%; display: block;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.12) translate(0%, -4%);   /* yatay ortalı, hafif yukarı (zoom fazlalığı ile kenar açılmaz) */
}
/* Kenar vignette — açık zemin kenarda koyulaşıp border'la kaynaşır */
.rkd__avatar::after {
    content: ""; position: absolute; inset: 0;
    box-shadow: inset 0 0 16px 5px rgba(40,24,12,0.6);
    pointer-events: none; z-index: 2;
}
.rkd__name {
    position: absolute;
    left: 905px; top: 248px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 44px; font-weight: 700;
    text-transform: none;          /* DB'deki harf kasası korunsun (teste→teste) */
    color: #3a2410;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    max-width: 490px; overflow: hidden; text-overflow: ellipsis;
    z-index: 5;
}
.rkd__sub { display: contents; }
.rkd__sub span {
    position: absolute;
    font-size: 23px; color: #6a3f15;
    white-space: nowrap; z-index: 5;
}
.rkd__sub span:nth-child(1) { left: 907px; top: 330px; }   /* Karakter Puanı */
.rkd__sub span:nth-child(2) { display: none; }              /* Seviye → sağ profilde gösteriliyor */
.rkd__sub span b { color: #8a1f1f; font-weight: 800; font-size: 24px; margin-left: 8px; }
.rkd__head-badge { display: none; }                         /* Rank/Race rozetleri gizli */

/* ─── 3D KARAKTER CANVAS ─── */
.rkd__layout, .rkd__main, .rkd__side { display: contents; }
.rkd__corner-orn { display: none; }
.rkd-equip__header, .rkd-equip__title, .rkd-equip__tabs { display: none; }

.rkd-char-canvas {
    position: absolute;
    left: 168px; top: 168px;
    width: 400px; height: 650px;
    overflow: hidden;
    z-index: 2;
    background: transparent;
}
.rkd-char-badges { display: none; }
.rkd-3d-frame {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0; background: transparent;
    opacity: 0; transition: opacity 0.3s;
}
.rkd-char-canvas.has-3d .rkd-3d-frame { opacity: 1; background: transparent; }
.rkd-char-portrait {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 15%;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.rkd-char-canvas.has-portrait .rkd-char-portrait { opacity: 1; }
/* 3D yüklendiğinde portre fallback'i gizle — arkada yarı saydam kalmasın */
.rkd-char-canvas.has-3d .rkd-char-portrait { opacity: 0 !important; }
.rkd-char-sil {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    opacity: 0.6;
}
.rkd-char-canvas.has-3d .rkd-char-sil,
.rkd-char-canvas.has-portrait .rkd-char-sil { opacity: 0; }
.rkd-char-weapon-overlay {
    display: none !important;   /* karakter arkasındaki silah showcase'i kapat */
}
.rkd-char-class,
.rkd-char-rank { display: none; }
.rkd-nav-bar { display: none; }

/* ─── EQUIPMENT SLOTS ─── */
.rkd-equip {
    position: absolute;
    inset: 0;
    width: 1448px; height: 1086px;
    background: transparent; border: 0; box-shadow: none;
}
.rkd-equip__body {
    display: contents;
}
.rkd-equip__col {
    display: contents;
}
.rkd-eslot {
    position: absolute;
    width: 105px; height: 92px;
    cursor: pointer;
    z-index: 3;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    aspect-ratio: auto;
}
.rkd-eslot:hover { box-shadow: inset 0 0 0 2px rgba(246,210,122,0.6); }
.rkd-eslot__png {
    width: 100%; height: 100%;
    object-fit: contain;
    display: none;
    background: transparent;
    border: 0;
    padding: 0;
    max-width: none; max-height: none;
}
.rkd-eslot__svg { display: none !important; }
.rkd-eslot__plus {
    position: absolute;
    right: 6px; bottom: 4px;
    font-family: 'Cinzel', serif;
    font-size: 16px; font-weight: 800;
    color: #f6d27a;
    text-shadow: 0 1px 2px rgba(0,0,0,0.95);
    pointer-events: none;
    top: auto; left: auto;
}

/* INVENTORY slot positions — yeni 1.png template (otomatik ölçülen) */
/* Slot konumları 1.png'deki placeholder ikonlara göre eşleştirildi */
/* SOL kolon (üstten): kılıç, kask, zırh, pantolon, küpe, yüzük */
#rkdEq .rkd-eslot[data-inv="6"]  { left: 73px;  top: 169px; }   /* weapon  (kılıç)    */
#rkdEq .rkd-eslot[data-inv="0"]  { left: 73px;  top: 284px; }   /* helmet  (kask)     */
#rkdEq .rkd-eslot[data-inv="1"]  { left: 73px;  top: 397px; }   /* mail    (zırh)     */
#rkdEq .rkd-eslot[data-inv="4"]  { left: 73px;  top: 509px; }   /* legs    (pantolon) */
#rkdEq .rkd-eslot[data-inv="9"]  { left: 73px;  top: 619px; }   /* earring (küpe)     */
#rkdEq .rkd-eslot[data-inv="11"] { left: 73px;  top: 730px; }   /* ring    (yüzük)    */

/* SAĞ kolon (üstten): kalkan, omuz, eldiven, bot, kolye, yüzük */
#rkdEq .rkd-eslot[data-inv="7"]  { left: 549px; top: 169px; }   /* shield   (kalkan)  */
#rkdEq .rkd-eslot[data-inv="2"]  { left: 549px; top: 284px; }   /* shoulder (omuz)    */
#rkdEq .rkd-eslot[data-inv="3"]  { left: 549px; top: 397px; }   /* hands    (eldiven) */
#rkdEq .rkd-eslot[data-inv="5"]  { left: 549px; top: 509px; }   /* boots    (bot)     */
#rkdEq .rkd-eslot[data-inv="10"] { left: 549px; top: 619px; }   /* necklace (kolye)   */
#rkdEq .rkd-eslot[data-inv="12"] { left: 549px; top: 730px; }   /* ring     (yüzük)   */

/* Alt aksesuar sırası — avatar slotları her zaman görünür */
.rkd-equip__col--av { display: contents !important; }
#rkdEq .rkd-eslot[data-av="0"] { left: 93px;  top: 907px; }
#rkdEq .rkd-eslot[data-av="1"] { left: 196px; top: 907px; }
#rkdEq .rkd-eslot[data-av="2"] { left: 299px; top: 907px; }
#rkdEq .rkd-eslot[data-av="3"] { left: 406px; top: 907px; }
#rkdEq .rkd-eslot[data-av="4"] { left: 507px; top: 907px; }

/* ─── PROFİL DEĞERLERİ (label PNG'ye gömülü — sadece değer overlay) ─── */
.rkd__info-card { display: contents; }
.rkd__info-row {
    position: absolute;
    left: 942px; width: 460px;
    font-size: 26px; font-weight: 600;
    color: #3a2410;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    z-index: 5;
    height: 34px; line-height: 34px;
    display: flex; align-items: center; gap: 10px;
}
.rkd__info-row .val { color: #3a2410; font-weight: 600; display: inline-flex; align-items: center; gap: 9px; }
.rkd-flag { width: 27px; height: 27px; object-fit: contain; flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
/* y = ölçülen label merkezi - 17 (dikey ortalama) */
.rkd__info-row--irk    { top: 445px; }
.rkd__info-row--guild  { top: 509px; }
.rkd__info-row--seviye { top: 574px; }
.rkd__info-row--unvan  { top: 638px; }

/* ─── HP / MP / STR / INT (label gömülü — ikon + değer overlay) ─── */
.rkd__stats { display: contents; }
.rkd__stat-val {
    position: absolute;
    left: 942px;
    font-family: 'Cinzel', serif;
    font-size: 26px; font-weight: 700;
    color: #3a2410;
    white-space: nowrap;
    z-index: 5;
}
/* y = ölçülen label merkezi - 17 */
.rkd__stat-val--hp  { top: 758px; }
.rkd__stat-val--mp  { top: 819px; }
.rkd__stat-val--str { top: 894px; }
.rkd__stat-val--int { top: 959px; }

.rkd__stat-ic { position: absolute; left: 736px; z-index: 5; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.rkd__stat-ic--hp  { top: 753px; width: 40px; height: 40px; }
.rkd__stat-ic--mp  { top: 814px; width: 40px; height: 40px; }
.rkd__stat-ic--str { top: 894px; width: 34px; height: 34px; }
.rkd__stat-ic--int { top: 959px; width: 34px; height: 34px; }

/* ─── RESPONSIVE SCALE (drawer kompakt — geniş ekranda da büyümesin) ─── */
@media (min-width: 1700px) { .rkd { --rkd-scale: 0.48; } }
@media (max-width: 1280px) { .rkd { --rkd-scale: 0.40; } }
@media (max-width: 980px)  { .rkd { --rkd-scale: 0.34; } }
@media (max-width: 760px)  { .rkd { --rkd-scale: 0.28; } }
@media (max-width: 560px)  { .rkd { --rkd-scale: 0.22; } }

/* ═════════ AVATARS SCHEDULE PAGE ═════════ */
.av-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px 14px; /* extra row gap so badges have breathing room */
    margin-top: 20px; /* clearance for first row's badges */
}
.av-week {
    background: linear-gradient(180deg, #fbf2d0 0%, #ecdab2 100%);
    border: 1px solid var(--gold);
    box-shadow: inset 0 0 0 1px rgba(255,240,200,0.5), 0 2px 6px rgba(0,0,0,0.3);
    position: relative;
    padding: 0;
    overflow: visible;
    transition: filter 0.2s, opacity 0.2s;
}
.av-week--past    { opacity: 0.45; filter: grayscale(0.4); }
.av-week--soon    { opacity: 0.78; filter: saturate(0.8); }
.av-week--current { box-shadow: inset 0 0 0 1px #f5d36a, 0 4px 18px rgba(212,160,45,0.55); opacity: 1; filter: none; }
.av-week__head {
    padding: 8px 10px;
    background: linear-gradient(180deg, #3a2410 0%, #2a1810 50%, #0a0503 100%);
    border-bottom: 1px solid var(--gold-deep);
    color: #f5d36a;
    font-family: 'Cinzel', serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0,0,0,0.6);
    text-transform: uppercase;
}
.av-week__head b { color: #fff; font-weight: 800; }
.av-week__badge {
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    font-family: 'Cinzel', serif;
    font-size: 10px; font-weight: 800;
    letter-spacing: 1.8px;
    border-radius: 2px;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.55);
    z-index: 3;
    white-space: nowrap;
}
.av-week__badge--past    { background: linear-gradient(180deg, #6a6a6a, #3a3a3a); }
.av-week__badge--current { background: linear-gradient(180deg, #d44a3a, #8a1a14); border: 1px solid #5a0e08; }
.av-week__badge--soon    { background: linear-gradient(180deg, #c89820, #6a4810); border: 1px solid #3a2410; color: #1a1004; }
.av-week__pair {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 12px;
}
.av-week__person {
    text-align: center;
    font-size: 10px;
}
.av-week__person img {
    width: 48px; height: 48px;
    margin: 0 auto 4px;
    background: radial-gradient(circle at 30% 30%, #2a3850 0%, #14213a 100%);
    border: 2px solid #c89820;
    box-shadow: inset 0 0 0 1px #f5d36a, 0 1px 3px rgba(0,0,0,0.35);
    border-radius: 3px;
    image-rendering: -webkit-optimize-contrast;
}
.av-week__person b { display: block; color: var(--brown); font-family: 'Cinzel', serif; font-size: 11px; font-weight: 700; margin-bottom: 1px; }
.av-week__person span { color: var(--ink-mute); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }
.av-week__foot {
    padding: 6px 10px;
    border-top: 1px dotted rgba(122,90,58,0.4);
    text-align: center;
    font-size: 10px; color: var(--ink-soft);
    display: flex; justify-content: center; align-items: center; gap: 4px;
}
.av-week__foot .coin {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fdec90, #d4a02d 60%, #8a6520);
    border: 1px solid #6a4810;
}
.av-week__foot b { color: var(--brown); font-weight: 800; }

/* ═════════ TANITIM SHOWCASE (3 tabs + mouse-scrollable) ═════════ */
/* col-center'ı flex yap ki order ile Tanıtım'ı News Slider altına alabilelim */
.col-center { display: flex; flex-direction: column; }
.col-center > .hero        { order: 1; }
.col-center > .news-slider { order: 2; }
.col-center > #tan-show    { order: 3; }
.col-center > #why,
.col-center > .cc-row,
.col-center > #latest-news { order: 5; }

.tan-show {
    margin-bottom: 12px;
}
/* When .tan-show is wrapped in .im-frame, override body padding & tabs styling */
.tan-show .im-frame__top,
.tan-show .im-frame__bottom { display: none; } /* gri alt/üst çizgiler gizlendi */
.tan-show .im-frame__body { padding: 0 !important; }
.tan-show .tan-tabs {
    margin: 0;
    border: 1px solid var(--gold-deep);
    border-bottom: 0;
    border-radius: 0;
}
.tan-show .tan-scroll {
    border: 1px solid var(--gold-deep);
    border-top: 0;
    margin: 0;
    border-radius: 0 0 3px 3px;
}
.tan-tabs {
    display: flex;
    background: linear-gradient(180deg, #3a2410 0%, #1a0e07 50%, #0a0503 100%);
    border: 2px solid #c89820;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px #f0d48a,
        inset 0 1px 0 rgba(245,211,106,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.4);
}
.tan-tab {
    flex: 1;
    padding: 12px 10px;
    background:
        linear-gradient(180deg, #3a2410 0%, #2a1810 35%, #1a0e07 75%, #0a0503 100%);
    border: 0;
    border-right: 1px solid rgba(200, 152, 32, 0.4);
    color: #f0d48a;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.18s;
    text-shadow: 0 1px 0 rgba(0,0,0,0.6), 0 0 4px rgba(245,211,106,0.15);
    position: relative;
}
.tan-tab:last-child { border-right: 0; }
.tan-tab:hover {
    background:
        linear-gradient(180deg, #d44a3a 0%, #b22a1f 50%, #7a1810 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.tan-tab.active {
    color: #fff;
    background:
        linear-gradient(180deg, #d44a3a 0%, #b22a1f 50%, #7a1810 100%);
    box-shadow:
        inset 0 -2px 0 #c89820,
        inset 0 1px 0 rgba(255,255,255,0.18);
    text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}
.tan-scroll {
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ecdab2;
    border: 1px solid var(--gold);
    border-radius: 0 0 4px 4px;
    box-shadow: inset 0 0 30px rgba(122, 88, 24, 0.22), 0 8px 24px rgba(0,0,0,0.5);
    scroll-behavior: smooth;
}
.tan-pane { display: none; }
.tan-pane.active { display: block; }
.tan-pane img { width: 100%; height: auto; display: block; vertical-align: top; }
.tan-pane img + img { margin-top: -1px; }

/* Resmi baglantilar: 1. sayfanin altina dikissiz oturan plaka seti.
           Ust kenar 1.png'nin son piksel seridinden (--tan-edge) geliyor, alt kenar
           2.png'nin ust tonuna eriyor; iki gorsel arasinda cizgi gorunmuyor. */
.tan-links {
    margin-top: -1px;
    padding: 12px clamp(10px, 2.2%, 26px) 18px;
    background-color: #f2dcae;
    background-image: var(--tan-edge, none);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.tan-links + img { margin-top: -1px; }
.tan-links__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 auto;
    width: 100%;
}
.tan-links__btn {
    display: inline-block;
    flex: 0 1 200px;
    max-width: 220px;
    min-width: 140px;
    transition: transform 0.16s ease, filter 0.16s ease;
}
.tan-links__btn img {
    width: 100%; height: auto; display: block;
    filter: drop-shadow(0 2px 4px rgba(70, 42, 12, 0.30));
}
.tan-links__btn:hover { transform: translateY(-1px); filter: brightness(1.07) saturate(1.04); }
.tan-links__btn:active { transform: translateY(0); }
.tan-links__btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 560px) {
    .tan-links__grid { gap: 8px; }
    .tan-links__btn { flex: 0 1 calc(50% - 8px); max-width: 180px; min-width: 120px; }
}
.tan-list { padding: 16px 22px; color: var(--ink); }
.tan-list__item {
    padding: 14px 0;
    border-bottom: 1px dashed rgba(122, 88, 24, 0.35);
}
.tan-list__item:last-child { border-bottom: 0; }
.tan-list__head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 6px;
}
.tan-list__badge {
    display: inline-block;
    padding: 2px 9px;
    font-size: 10px; font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 2px;
    color: #fff;
}
/* Rozet renkleri haber türüyle aynı (Haberler sayfasındaki .badge-info.k-* ile eşleşir). */
.tan-list__badge--duyuru     { background: #3a72c8; }
.tan-list__badge--bakim      { background: #a8291d; }
.tan-list__badge--etkinlik   { background: #2a7a20; }
.tan-list__badge--guncelleme { background: #d4a02d; color: #1a1004; }
.tan-list__empty { color: var(--ink-dim); font-size: 12.5px; padding: 16px 4px; text-align: center; }
.tan-list__title {
    flex: 1;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--ink);
    font-size: 14px;
}
.tan-list__date { font-size: 11px; color: var(--ink-dim); }
.tan-list__body { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.tan-list__body strong { color: var(--ink); }
.tan-list__body p { margin-bottom: 8px; }
/* Custom gold scrollbar */
.tan-scroll::-webkit-scrollbar { width: 12px; }
.tan-scroll::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #3a2410 0%, #2a160a 100%);
    border-left: 1px solid var(--gold-deep);
}
.tan-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    border: 1px solid var(--gold-deep);
    border-radius: 6px;
}
.tan-scroll::-webkit-scrollbar-thumb:hover { filter: brightness(1.1); }

/* ═════════ SERVER STATUS (asset-based, status1-5 PNG) ═════════ */
.ss-panel {
    position: relative;
    width: 210px;
    margin: 0 auto 12px;
    background: url("../images/status/bg.png") no-repeat center top;
    background-size: 100% 100%;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.55);
}
.ss-panel__header {
    display: block;
    width: 100%; height: auto;
    margin-top: -10px;
    position: relative;
    z-index: 2;
}
.ss-panel__body {
    text-align: center;
    padding: 4px 18px 22px;
}
.ss-panel__orb-wrap {
    display: flex; justify-content: center; align-items: center;
    margin: 4px 0 6px;
    position: relative;
}
.ss-panel__orb-glow {
    position: absolute;
    width: 130px; height: 130px;
    background: radial-gradient(circle, rgba(95,201,78,0.55) 0%, rgba(95,201,78,0.18) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(6px);
    animation: sr-orb-pulse 3.5s ease-in-out infinite;
    pointer-events: none;
}
.ss-panel__orb {
    position: relative;
    width: 130px; height: auto;
    z-index: 1;
    filter: drop-shadow(0 0 12px rgba(95,201,78,0.6));
}
.ss-panel__state {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 5px;
    color: #2a7a20;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15), 0 0 12px rgba(95,201,78,0.55);
    margin: 8px 0 4px;
}
/* Bakım modu: yeşil "ONLINE" yerine kehribar uyarı rengi (2026-08-08).
           Küre parlaması da soğur — panelin tamamı "kapalı" okunsun. */
.ss-panel--maint .ss-panel__state {
    color: #8a5410;
    font-size: 18px;
    letter-spacing: 3px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15), 0 0 12px rgba(217,151,42,0.55);
}
.ss-panel--maint .ss-panel__orb { filter: grayscale(0.75) drop-shadow(0 0 12px rgba(217,151,42,0.5)); }
.ss-panel--maint .ss-panel__orb-glow { opacity: .35; }

/* Offline Durumu */
.ss-panel--offline .ss-panel__state {
    color: #ff4d4d;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15), 0 0 12px rgba(255,77,77,0.55);
}
.ss-panel--offline .ss-panel__orb {
    filter: drop-shadow(0 0 12px rgba(230,40,40,0.6));
    animation: sr-orb-sparkle-red 4s ease-in-out infinite;
}
.ss-panel--offline .ss-panel__orb-glow {
    background: radial-gradient(circle, rgba(230,40,40,0.55) 0%, rgba(230,40,40,0.18) 40%, transparent 70%);
    animation: sr-orb-pulse-red 3.5s ease-in-out infinite;
}
.ss-panel--offline .ss-panel__bar-fill {
    background: linear-gradient(180deg, #ff9696 0%, #c94e4e 50%, #7a2020 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 0 8px rgba(230,40,40,0.8);
}
.ss-panel__row {
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid rgba(122,90,58,0.4);
    position: relative;
}
.ss-panel__row::before, .ss-panel__row::after {
    content: '◆';
    position: absolute; top: -8px;
    color: var(--gold-deep);
    font-size: 10px;
    background: #ecdab2;
    padding: 0 4px;
}
.ss-panel__row::before { left: 50%; transform: translateX(-50%); }
.ss-panel__row::after { display: none; }
.ss-panel__lbl {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    color: #4a2a14;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 3px;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255,240,200,0.5);
}
.ss-panel__val {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 800;
    color: #2a160a;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 rgba(255,240,200,0.5);
}
/* Clean CSS-only capacity bar (replaces bar.png — looked like double-bar) */
.ss-panel__bar-wrap {
    position: relative;
    margin: 8px auto 0;
    width: 92%;
    height: 14px;
    background: linear-gradient(180deg, #1a0e07 0%, #0a0503 100%);
    border: 2px solid #c89820;
    border-radius: 8px;
    box-shadow:
        inset 0 1px 3px rgba(0,0,0,0.5),
        inset 0 0 0 1px #f5d36a,
        0 1px 2px rgba(0,0,0,0.3);
    overflow: hidden;
}
.ss-panel__bar-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0;
    background:
        linear-gradient(180deg, #b8ff96 0%, #5fc94e 50%, #2a7a20 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.45),
        0 0 8px rgba(95,201,78,0.8);
    border-radius: 6px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: sr-bar-shimmer 2.4s ease-in-out infinite;
}
@keyframes sr-bar-shimmer {
    0%,100% { filter: brightness(1); }
    50%     { filter: brightness(1.3); }
}
/* Orb periodic sparkle */
.ss-panel__orb {
    animation: sr-orb-sparkle 4s ease-in-out infinite;
}
@keyframes sr-orb-sparkle {
    0%, 60%, 100% { filter: drop-shadow(0 0 12px rgba(95,201,78,0.6)); }
    70%           { filter: drop-shadow(0 0 22px rgba(170,255,140,0.85)) drop-shadow(0 0 8px rgba(255,255,255,0.6)); }
    80%           { filter: drop-shadow(0 0 12px rgba(95,201,78,0.6)); }
}
@keyframes sr-orb-sparkle-red {
    0%, 60%, 100% { filter: drop-shadow(0 0 12px rgba(230,40,40,0.6)); }
    70%           { filter: drop-shadow(0 0 22px rgba(255,140,140,0.85)) drop-shadow(0 0 8px rgba(255,255,255,0.6)); }
    80%           { filter: drop-shadow(0 0 12px rgba(230,40,40,0.6)); }
}

/* ═════════ QUICK LINKS ═════════ */
.ql { list-style: none; }
.ql li a {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 4px;
    border-bottom: 1px dotted rgba(122,90,58,0.35);
    font-size: 11px; color: var(--ink);
    font-weight: 600;
}
.ql li:last-child a { border-bottom: 0; }
.ql li a:hover { color: var(--red); }
.ql li a .ico { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; color: var(--gold-deep); font-size: 12px; }
.ql li a .arrow { margin-left: auto; color: var(--gold-deep); font-size: 11px; }

/* ═════════ TOP RANKINGS ═════════ */
.rank-tabs {
    display: flex; gap: 3px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(184,144,96,0.5);
}
.rank-tab {
    flex: 1 1 auto;
    min-width: 48px;
    padding: 4px 6px;
    font-size: 9px; font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: rgba(184,144,96,0.15);
    border: 1px solid transparent;
    border-radius: 2px 2px 0 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
}
.rank-tab:hover:not(.active) {
    background: rgba(184,144,96,0.3);
    color: var(--ink);
}
.rank-tab.active {
    background: var(--red-grad); color: #fff; border-color: var(--red-dark);
}
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 2px;
    font-size: 11px;
    border-bottom: 1px dotted rgba(122,90,58,0.3);
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list .rk { color: var(--gold-deep); font-weight: 700; width: 14px; flex-shrink: 0; text-align: center; }
.rank-list .nm { flex: 1; color: var(--ink); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .lv { color: var(--ink-soft); font-size: 10px; flex-shrink: 0; text-align: right; }
.rank-list li.rank-empty { color: var(--ink-mute); font-style: italic; font-weight: 400; justify-content: center; }

/* ═════════ FOOTER ═════════ */
.site-footer {
    background: linear-gradient(180deg, #1a0e07 0%, #0a0503 100%);
    border-top: 1px solid var(--gold-deep);
    padding: 18px 16px;
    margin-top: 18px;
    font-size: 11px;
    color: var(--ink-mute);
}
.site-footer__inner {
    max-width: var(--container); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    flex-wrap: wrap;
}
.site-footer__inner a { color: var(--ink-mute); }
.site-footer__inner a:hover { color: var(--gold-light); }
.site-footer__links { display: flex; gap: 22px; }

/* ═════════ BACKLINKS ═════════ */
.backlinks {
    border-top: 1px solid var(--gold-deep);
    padding: 26px 16px 4px;
    text-align: center;
}
.backlinks__title {
    font-size: 13px; letter-spacing: 6px; font-weight: 700;
    color: var(--gold-light); margin-bottom: 16px;
}
.backlinks__row {
    display: flex; justify-content: center; align-items: center;
    gap: 14px; flex-wrap: wrap;
}
.backlinks__item {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 150px; height: 52px; padding: 0 22px;
    background: #12100c;
    border: 1px solid var(--gold-deep); border-radius: 8px;
    color: #e8e2d4; font-size: 15px; font-weight: 700; letter-spacing: .5px;
    text-decoration: none; transition: border-color .15s, color .15s;
}
.backlinks__item:hover { border-color: var(--gold-light); color: var(--gold-light); }
.backlinks__item { gap: 10px; }
.backlinks__item img { height: 36px; width: auto; display: block; }

/* ═════════ JOYMAX-STYLE DETAIL PAGE TEMPLATE ═════════ */
.jpage {
    max-width: 900px;
    margin: 24px auto;
    padding: 0;
    position: relative;
}
.jpage__frame {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(255,240,200,0.4) 0%, transparent 60%),
        linear-gradient(180deg, #efe1bb 0%, #e2cf99 50%, #d4be7c 100%);
    border: 1px solid var(--gold-deep);
    padding: 50px 36px 36px;
    box-shadow:
        inset 0 0 0 2px rgba(184,144,96,0.4),
        0 4px 18px rgba(0,0,0,0.6);
    min-height: 500px;
}
/* Aged parchment paper texture overlay */
.jpage__frame::before {
    content: ''; position: absolute; inset: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.40  0 0 0 0 0.18  0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
    pointer-events: none; mix-blend-mode: multiply;
}
/* Gold corner brackets (top-left, top-right, bottom-left, bottom-right) */
.jpage__frame > .jpage__corner {
    position: absolute; width: 28px; height: 28px;
    border: 2px solid var(--gold-deep);
    pointer-events: none;
    z-index: 2;
}
.jpage__frame > .jpage__corner--tl { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.jpage__frame > .jpage__corner--tr { top: 4px; right: 4px; border-left: 0; border-bottom: 0; }
.jpage__frame > .jpage__corner--bl { bottom: 4px; left: 4px; border-right: 0; border-top: 0; }
.jpage__frame > .jpage__corner--br { bottom: 4px; right: 4px; border-left: 0; border-top: 0; }
/* Title chip — small parchment box top-left with NEWS / INTRODUCTION etc. */
.jpage__chip {
    position: absolute;
    top: 16px; left: 50%; transform: translateX(-50%);
    white-space: nowrap;
    padding: 8px 22px;
    background:
        linear-gradient(180deg, #f4e4b2 0%, #d4be7c 100%);
    border: 1px solid var(--gold-deep);
    box-shadow:
        inset 0 0 0 1px rgba(255,240,200,0.55),
        0 2px 4px rgba(0,0,0,0.3);
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--ink);
    text-transform: uppercase;
    z-index: 3;
}
.jpage__chip::before {
    content: '📜';
    margin-right: 8px;
    opacity: 0.75;
}
/* Breadcrumb top-right */
.jpage__crumb {
    position: absolute;
    top: 24px; right: 28px;
    font-size: 11px;
    color: var(--ink-dim);
    font-weight: 500;
    z-index: 3;
}
.jpage__crumb a { color: var(--ink-soft); }
.jpage__crumb a:hover { color: var(--red); }
.jpage__crumb b { color: var(--ink); font-weight: 700; }
/* Header banner area (themed art image) */
.jpage__banner {
    position: relative;
    margin: 0 0 24px;
    border: 1px solid var(--parch-edge);
    background: linear-gradient(135deg, #6a4a30 0%, #3a2410 100%);
    overflow: hidden;
    min-height: 130px;
    display: flex; align-items: flex-end;
    padding: 18px 22px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}
.jpage__banner img {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    /* Banner cok genis/kisa: yatayda kirpma olmuyor, bu yuzden dikeyde
               ust banda kaydirildi - gorselin kendi logosu basligin altina
               denk gelmiyor. */
    object-position: center 20%;
    opacity: 0.55;
}
/* Basligin arkasini soldan karart - yazi zeminden ayrissin */
.jpage__banner::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
    rgba(20,11,5,0.88) 0%, rgba(20,11,5,0.62) 42%, rgba(20,11,5,0) 78%);
    pointer-events: none;
}
.jpage__banner h2 {
    position: relative; z-index: 1;
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 2rem; font-weight: 800;
    color: var(--gold-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    letter-spacing: 2px;
}
.jpage__banner__sub {
    position: relative; z-index: 1;
    display: block;
    font-family: 'IM Fell English', serif;
    font-style: italic;
    color: var(--parch);
    font-size: 0.95rem;
    margin-top: 4px;
    letter-spacing: 1px;
}
/* Content area */
.jpage__content { position: relative; z-index: 1; }
/* Metin sayfaları (Destek / Oyun Rehberi / Oyun Sistemi / Oyun Bilgisi): parşömen üstünde koyu mürekkep.
           2026-09-29: renk tanımsızdı → body'nin açık rengini alıyor, parşömende okunmuyordu. */
.jpage-text { color: var(--ink); font-size: 14px; line-height: 1.65; }
.jpage-text h3 {
    margin: 20px 0 6px;
    font-family: 'Cinzel', serif; font-size: 17px; font-weight: 800; letter-spacing: 0.5px;
    color: var(--red);
}
.jpage-text h3:first-child { margin-top: 0; }
.jpage-text p { margin: 0 0 10px; }
.jpage-text ul, .jpage-text ol { margin: 0 0 12px; padding-left: 22px; }
.jpage-text li { margin: 4px 0; }
.jpage-text strong, .jpage-text b { color: #2a1606; }
.jpage-text a { color: var(--red); }

/* News list table */
.news-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--ink);
}
.news-table thead {
    background: linear-gradient(180deg, #8a6938 0%, #5a3a1c 100%);
    color: var(--gold-light);
}
.news-table th {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 9px 14px;
    color: #f5d36a;
    text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}
.news-table tbody tr {
    border-bottom: 1px solid rgba(122,90,58,0.4);
    transition: background 0.12s;
}
.news-table tbody tr:hover { background: rgba(255,240,200,0.4); cursor: pointer; }
.news-table td {
    padding: 9px 14px;
    vertical-align: middle;
}
.news-table td.col-title { width: 75%; }
.news-table td.col-date { width: 20%; color: var(--ink-soft); text-align: right; font-size: 12px; }
/* Haber türü renkleri — panelde seçilen tür (duyuru/bakim/etkinlik/guncelleme)
           `k-<tür>` sınıfı olarak basılır; varsayılan mavi rozeti ezer. */
/* ⚠️ `.news-table .badge-info` (0-2-0) altta tanımlı ve aynı özgüllükte bir kuralı ezer —
           bu yüzden tür renkleri de `.news-table` ile kapsanıp 0-3-0'a çıkarıldı. */
.news-table .badge-info.k-bakim,      .news-list__badge.k-bakim      { background: #a8291d; }
.news-table .badge-info.k-etkinlik,   .news-list__badge.k-etkinlik   { background: #2a7a20; }
.news-table .badge-info.k-guncelleme, .news-list__badge.k-guncelleme { background: #a8761a; color: #1a1004; }
.news-empty { text-align: center; color: var(--ink-dim); padding: 26px 10px; font-size: 13px; }
.news-list__empty { color: var(--parch-mid); font-size: 12px; padding: 10px 2px; opacity: .8; }
.news-table .badge-info {
    display: inline-block;
    padding: 2px 7px;
    background: #3a72c8;
    color: #fff;
    font-size: 9px; font-weight: 800;
    letter-spacing: 1.2px;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.news-table .expand-btn {
    display: inline-block;
    width: 18px; height: 18px;
    background: linear-gradient(180deg, #5a8acf 0%, #3a72c8 100%);
    color: #fff;
    border-radius: 2px;
    margin-left: 8px;
    font-size: 13px; font-weight: 700;
    text-align: center; line-height: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.2);
}
.news-table .news-body {
    padding: 18px 28px;
    background: rgba(255,255,255,0.25);
    color: var(--ink);
    font-size: 13px; line-height: 1.7;
    border-top: 1px dashed rgba(122,90,58,0.3);
    border-bottom: 1px solid rgba(122,90,58,0.4);
}
.news-table .news-body p { margin-bottom: 8px; }
.news-table .news-body strong { color: var(--brown); }
.news-row--open .expand-btn {
    background: linear-gradient(180deg, #c84a3a 0%, #8a1a14 100%);
}
.news-row--open .expand-btn::before { content: '−'; }
/* Pagination */
.jpage-pager {
    display: flex; justify-content: center; align-items: center; gap: 4px;
    margin: 18px 0;
    font-size: 13px; color: var(--ink-soft);
}
.jpage-pager a {
    display: inline-block;
    width: 22px; height: 22px;
    text-align: center; line-height: 22px;
    color: var(--ink);
    font-weight: 600;
}
.jpage-pager a:hover { color: var(--red); }
.jpage-pager a.active { color: var(--red); font-weight: 800; font-size: 14px; }
.jpage-pager .arrow { color: var(--ink-dim); padding: 0 6px; }
/* Search row */
.jpage-search {
    display: flex; align-items: center; justify-content: center;
    gap: 12px;
    margin: 14px auto 0;
    padding: 16px;
    background: rgba(255,255,255,0.35);
    border: 1px solid var(--parch-edge);
}
.jpage-search label {
    font-size: 12px; color: var(--ink-soft); font-weight: 600;
}
.jpage-search input[type=text] {
    padding: 6px 10px;
    background: rgba(212,168,80,0.18);
    border: 1px solid var(--parch-edge);
    font-family: inherit; font-size: 13px;
    color: var(--ink);
    outline: none;
    width: 220px;
}
.jpage-search input:focus { border-color: var(--gold); }
.jpage-search button {
    padding: 7px 18px;
    background: linear-gradient(180deg, #8a6938 0%, #5a3a1c 100%);
    color: var(--gold-light);
    border: 1px solid #2a160a;
    font-family: 'Cinzel', serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(245,211,106,0.2);
}
.jpage-search button::before { content: '▸ '; color: #f5d36a; }
.jpage-search button:hover { filter: brightness(1.12); }

/* Introduction page: tanitim images stacked */
.jpage-intro-scroll {
    border: 2px solid var(--gold);
    background: #ecdab2;
    box-shadow: inset 0 0 30px rgba(122,88,24,0.2), 0 4px 14px rgba(0,0,0,0.5);
}
.jpage-intro-scroll img {
    width: 100%; height: auto; display: block; vertical-align: top;
}
.jpage-intro-scroll img + img { margin-top: -1px; }

/* ═════════ PAGE PADS (login/register/account/download) ═════════ */
.page-pad { padding: 30px 0 50px; }
/* "Kayıt/Giriş kapalı" ekranının metni — panelden çok paragraflı yazılabiliyor. */
.dis-body { color: var(--ink-dim); font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
.dis-body p { margin: 0 0 9px; }
.dis-body p:last-child { margin-bottom: 0; }
.dis-body strong { color: var(--ink); }
.lang-ar .dis-body { direction: rtl; }
.page-title {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.form-card { max-width: 460px; margin: 0 auto; }
.form-card .p-card__body { padding: 24px 22px; }
.form-card .form-group { margin-bottom: 14px; }
.form-card label {
    display: block;
    font-size: 11px; font-weight: 700;
    color: var(--ink);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 6px;
}
.form-card input {
    width: 100%; padding: 9px 12px;
    background: #fff;
    border: 1px solid var(--parch-edge);
    border-radius: 2px;
    color: var(--ink);
    font-size: 13px; font-family: inherit;
    outline: none;
}
.form-card input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,155,62,0.18); }
.form-msg {
    margin-top: 12px; padding: 8px 12px;
    border-radius: 3px; font-size: 12px;
    text-align: center; display: none;
}
.form-msg.success { display: block; background: #e3f5dc; color: #2a6a1f; border: 1px solid #98d188; }
.form-msg.error   { display: block; background: #fae0dd; color: #8a1a14; border: 1px solid #d99a8e; }

/* ═════════ REGISTER (yeniden tasarım) ═════════ */
.reg-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 20px; align-items: start; max-width: 880px; margin: 0 auto; }
@media (max-width: 860px) { .reg-grid { grid-template-columns: 1fr; } }
.reg-card { max-width: none; }
.reg-sub { text-align: center; color: var(--ink-dim); font-size: 13px; margin: -4px 0 18px; }
.form-hint { font-size: 11px; color: var(--ink-mute); margin-top: 4px; line-height: 1.4; }
.form-group.has-err input { border-color: #c0392b; }
.form-group.has-err .form-hint { color: #8a1a14; }
.reg-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .reg-row2 { grid-template-columns: 1fr; } }
/* sifre guc cubugu */
.pw-meter { height: 5px; border-radius: 3px; background: rgba(0,0,0,0.12); margin-top: 6px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .25s, background .25s; }
.pw-meter.w span { width: 33%; background: #c0392b; }
.pw-meter.m span { width: 66%; background: #d49b2a; }
.pw-meter.s span { width: 100%; background: #4a8a2a; }
/* sozlesme onay kutulari */
.reg-agree { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 10px; font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.reg-agree input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--red); flex: 0 0 auto; cursor: pointer; }
.reg-agree a { color: var(--red); font-weight: 700; text-decoration: underline; }
/* sag bilgi paneli */
.reg-side .p-card { margin-bottom: 16px; }
.reg-steps { list-style: none; margin: 0; padding: 0; }
.reg-steps li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--parch-edge); }
.reg-steps li:last-child { border-bottom: none; }
.reg-steps .n {
    flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    border: 1px solid var(--gold-deep); color: var(--ink);
    font-family: 'Cinzel', serif; font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.reg-steps b { display: block; color: var(--ink); font-size: 12.5px; }
.reg-steps p { color: var(--ink-dim); font-size: 11.5px; margin: 2px 0 0; line-height: 1.45; }
.reg-side-note { font-size: 11.5px; color: var(--ink-dim); line-height: 1.55; }
.reg-side-note b { color: var(--ink); }
/* basari paneli */
.reg-done { text-align: center; padding: 10px 4px 4px; }
.reg-done__ico { font-size: 46px; margin-bottom: 10px; }
.reg-done h3 { font-family: 'Cinzel', serif; color: var(--ink); letter-spacing: 1px; margin-bottom: 8px; }
.reg-done p { color: var(--ink-dim); font-size: 13px; margin-bottom: 18px; line-height: 1.55; }
.reg-done .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ═════════ LEGAL / KURALLAR sayfalari ═════════ */
.legal-card { max-width: 780px; margin: 0 auto; }
.legal-card .p-card__body { padding: 26px 30px; }
.legal-updated { text-align: center; color: var(--ink-mute); font-size: 11.5px; margin: -2px 0 18px; font-style: italic; }
.legal-doc h3 {
    font-family: 'Cinzel', serif; color: var(--ink); font-size: 15px;
    letter-spacing: 1px; margin: 22px 0 8px; padding-bottom: 5px;
    border-bottom: 1px solid var(--parch-edge);
}
.legal-doc h3:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.legal-doc p { margin-bottom: 10px; }
.legal-doc ul { margin: 0 0 10px 20px; }
.legal-doc li { margin-bottom: 5px; }
.legal-doc b { color: var(--ink); }
.legal-doc a { color: var(--red); font-weight: 700; }
/* kural listesi */
.rule-item { padding: 14px 0; border-bottom: 1px dashed var(--parch-edge); }
.rule-item:last-child { border-bottom: none; }
.rule-item h4 { color: var(--ink); font-size: 13.5px; margin-bottom: 5px; }
.rule-item h4 .no { color: var(--gold-deep); font-family: 'Cinzel', serif; margin-right: 6px; }
.rule-item p { color: var(--ink-soft); font-size: 12.5px; line-height: 1.6; margin: 0 0 6px; }
.rule-pen {
    display: inline-block; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 3px;
    background: rgba(178,42,31,0.10); color: #8a1a14; border: 1px solid rgba(178,42,31,0.35);
}
.rule-pen.soft { background: rgba(199,155,62,0.14); color: var(--gold-deep); border-color: rgba(199,155,62,0.5); }

/* ═════════ HESAP KURTARMA sekmeleri ═════════ */
.rec-tabs { display: flex; gap: 6px; max-width: 460px; margin: 0 auto 14px; }
.rec-tab {
    flex: 1; padding: 9px 6px; text-align: center; cursor: pointer;
    font-family: 'Cinzel', serif; font-weight: 700; font-size: 12px; letter-spacing: 1px;
    color: var(--parch); background: rgba(255,255,255,0.06);
    border: 1px solid var(--gold-deep); border-radius: 4px 4px 0 0;
    transition: background .15s, color .15s;
}
.rec-tab:hover { background: rgba(199,155,62,0.18); }
.rec-tab.active {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    color: var(--ink); border-color: var(--gold);
}
.rec-note { font-size: 11.5px; color: var(--ink-dim); line-height: 1.5; margin-bottom: 14px;
    padding: 8px 10px; background: rgba(199,155,62,0.10); border: 1px dashed var(--parch-edge); border-radius: 4px; }
.form-link { text-align: center; margin-top: 14px; color: var(--ink-dim); font-size: 12px; }
.form-link a { color: var(--red); font-weight: 700; border-bottom: 1px dotted var(--red); }

/* Kart genişliği 250px'te sabit + ortalı: 1-4 bağlantının hepsinde tek sıra, düzgün durur.
           1fr kullanılırsa 2 bağlantıda kartlar aşırı genişliyor, 4'te alta kayıyordu. */
.download-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 250px));
    gap: 14px; max-width: 1060px; margin: 0 auto; justify-content: center;
}
.dl-card-big { text-align: center; padding: 22px 18px; }
.dl-card-big .ico { font-size: 38px; margin-bottom: 10px; line-height: 1; }
.dl-card-big .ico svg {
    width: 46px; height: 46px; display: block; margin: 0 auto;
    filter: drop-shadow(0 2px 3px rgba(58,36,16,0.32));
}
.dl-card-big h3 { font-family: 'Cinzel', serif; color: var(--ink); font-size: 15px; letter-spacing: 1.5px; margin-bottom: 4px; }
.dl-card-big p { color: var(--ink-dim); font-size: 11px; margin-bottom: 14px; }
/* NOT: .dl-intro ve .dl-note parşömen kartın DIŞINDA, koyu zemindedir —
           --ink-* (koyu mürekkep) değil --parch-* (açık) paleti kullanılır. */
.dl-intro { max-width: 820px; margin: -6px auto 20px; text-align: center;
    color: var(--parch-mid); font-size: 13px; line-height: 1.75; }
.dl-info {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px; max-width: 1060px; margin: 22px auto 0; align-items: start;
}
.dl-spec { width: 100%; border-collapse: collapse; }
.dl-spec th, .dl-spec td {
    padding: 7px 2px; font-size: 12.5px; text-align: left;
    border-bottom: 1px solid var(--parch-edge); vertical-align: top;
}
.dl-spec tr:last-child th, .dl-spec tr:last-child td { border-bottom: 0; }
.dl-spec th { color: var(--ink-dim); font-weight: 600; width: 44%; }
.dl-spec td { color: var(--ink); }
.dl-steps { margin: 0; padding-left: 18px; }
.dl-steps li { color: var(--ink-soft); font-size: 12.5px; line-height: 1.75; margin-bottom: 9px; }
.dl-steps li:last-child { margin-bottom: 0; }
.dl-steps b { color: var(--ink); }
.dl-steps li::marker { color: var(--gold-deep); font-weight: 700; }
.dl-code {
    font-family: Consolas, 'Courier New', monospace; font-size: 11.5px;
    background: rgba(199,155,62,0.16); border: 1px solid var(--parch-edge);
    border-radius: 3px; padding: 1px 5px; color: var(--ink);
    direction: ltr; unicode-bidi: embed; white-space: nowrap;
}
.dl-note {
    max-width: 1060px; margin: 14px auto 0; font-size: 12px; line-height: 1.75;
    color: var(--parch-mid); padding: 11px 14px;
    background: rgba(199,155,62,0.08); border: 1px dashed var(--gold-line); border-radius: 4px;
}
.dl-note b { color: var(--gold-light); }
.dl-note .dl-code {
    background: rgba(199,155,62,0.18); border-color: var(--gold-line); color: var(--parch-light);
}

/* ═════════ TANITIM MODAL ═════════ */
.tanitim-modal {
    position: fixed; inset: 0;
    background: rgba(15, 8, 4, 0.92);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    padding: 30px 16px;
}
.tanitim-modal.open { display: block; animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.tanitim-modal__close {
    position: fixed;
    top: 16px; right: 20px;
    width: 44px; height: 44px;
    background: rgba(178, 42, 31, 0.9);
    border: 2px solid var(--red-dark);
    border-radius: 50%;
    color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
    z-index: 10000;
}
.tanitim-modal__head { text-align: center; margin-bottom: 24px; color: var(--gold-light); }
.tanitim-modal__title {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #fef3c7 0%, #f0d48a 50%, #c79b3e 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}
.tanitim-modal__scroll {
    max-width: 820px; margin: 0 auto;
    border: 2px solid var(--gold);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    overflow: hidden;
    background: #ecdab2;
}
.tanitim-modal__img {
    width: 100%; height: auto; display: block; margin: 0;
}
.tanitim-modal__img + .tanitim-modal__img { margin-top: -1px; }
body.modal-open { overflow: hidden; }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1100px) {
    .layout { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .fim-grid { grid-template-columns: repeat(3, 1fr); }
    .cc-row { grid-template-columns: 1fr; }

    /* 2026-09-29 mobil/tablet ana sayfa: sütunlar tek akışa açılır (display:contents) ve bloklar
               sıraya dizilir — önce vitrin (hero, slider, duyurular, haberler), sonra hesap + menü,
               sonra sunucu/sıralama, en sonda sosyal. Eskiden giriş kutusu + menü + dev sosyal panel
               sayfanın EN ÜSTÜNDE duruyordu. */
    .layout { display: flex; flex-direction: column; gap: 0; }
    .layout > .col-left, .layout > .col-center, .layout > .col-right { display: contents; }
    .layout .hero          { order: 1; }
    .layout .news-slider   { order: 2; }
    .layout #tan-show      { order: 3; }
    .layout .why-banner    { order: 4; }
    .layout .cc-row,
    .layout #latest-news   { order: 5; }
    .layout .jmx-login,
    .layout .jmx-account   { order: 6; }
    .layout .jmx-leftmenu  { order: 7; }
    .layout .jmx-srvtime   { order: 8; }
    .layout .ss-panel      { order: 9; }
    .layout #rankings      { order: 10; }
    .layout .col-right > .p-card:not(#rankings) { order: 11; }
    .layout .jmx-buyitem   { order: 12; }
    .layout .jmx-qb-grid   { order: 13; }
    .layout .sns-panel     { order: 14; max-width: 340px; }
    .layout .jmx-cd        { display: none; }   /* hero'daki CLIENT DOWNLOAD aynı işi görüyor */

    /* Sol menü: 200 px'lik tek sütun yerine tam genişlik 2 sütun */
    .jmx-leftmenu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
    .jmx-leftmenu__item { width: auto; margin: 0; }

    /* Sosyal: 4'e kadar kutucuk yan yana */
    .sns-panel__body { column-gap: 4%; padding: 1% 9% 2%; }
    .sns-tile { flex-basis: 22%; }
}
@media (max-width: 720px) {
    /* Nav: 5 sekme tek satırda, ikon üstte yazı altta — eskiden 408 px'e taşıp sayfayı yana kaydırıyordu */
    .mainnav { padding: 0 10px; }
    .mainnav__inner { padding: 5px 6px; min-height: 0; }
    .mainnav__inner::before { left: -6px; width: 12px; }
    .mainnav__inner::after  { right: -6px; width: 12px; }
    /* 2026-10-07: 6 sekme (Bakim eklendi) — esit genislikte "SIRALAMALAR" kirpiliyordu; genislik yaziya gore paylasilir */
    .mainnav__tabs { display: flex; gap: 0; }
    .mainnav__tab {
        flex: 1 1 auto;
        flex-direction: column; gap: 4px;
        padding: 7px 1px 6px;
        font-size: clamp(7.5px, 2.3vw, 9.5px); letter-spacing: 0.2px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .mainnav__tab img.ico, .mainnav__tab .ico-svg { height: 16px; width: auto; }
    .mainnav__tab .ico-svg { width: 16px; }
    .mainnav__badge { display: none; }   /* 5 dar sekmede ikonun ustune biniyor */

    /* Haber slider'ı: banner oranında (2.35:1); görselli slaytlar kırpılmaz, Büyük Açılış metni sığar */
    .news-slider { height: auto; aspect-ratio: 2.35 / 1; }
    .news-slider__slide img.news-slider__bg { object-fit: contain; }
    .news-slider__inner { padding: 8px 40px; }
    .news-slider__title { font-size: 21px; letter-spacing: 2px; }
    .news-slider__date { font-size: 17px; letter-spacing: 1.5px; }
    .news-slider__sub { font-size: 10.5px; letter-spacing: 1.5px; margin-top: 4px; }
    .news-slider__desc { font-size: 9.5px; letter-spacing: 0.5px; }
    .news-slider__btn { margin-top: 6px; padding: 5px 16px; font-size: 9.5px; }

    /* Duyurular / Güncellemeler / Tanıtım sekmeleri 3'ü de sığsın */
    .tan-tab { padding: 10px 4px; font-size: 10px; letter-spacing: 1px; }

    /* Metin sayfaları: yan boşluk daralsın, breadcrumb başlık çipiyle çakışmasın */
    .jpage { margin: 14px 10px; }
    .jpage__frame { padding: 60px 14px 22px; }
    .jpage__crumb { display: none; }
    .jpage__banner { min-height: 100px; padding: 14px 16px; }
    .jpage__banner h2 { font-size: 1.5rem; }
    .jpage-text { font-size: 13.5px; }
    .hero__ctas { width: 160px; }
    .topbar__inner { flex-wrap: wrap; gap: 8px; justify-content: center; }
    .topbar__center { width: 100%; justify-content: center; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .suncu { flex-direction: column; text-align: center; }
    .suncu__cta { margin: 0; }
}
/* ═════════ DİL SEÇİCİ + ARAPÇA (RTL) ═════════ */
.topbar__lang-wrap { position: relative; cursor: pointer; }
.topbar__lang-menu {
    display: none; position: absolute; top: 100%; right: 0; z-index: 5000;
    min-width: 130px; padding: 4px;
    background: linear-gradient(180deg, #2a1810, #15090a);
    border: 1px solid var(--gold-deep); border-radius: 4px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}
.topbar__lang-wrap:hover .topbar__lang-menu { display: block; }
.topbar__lang-menu a {
    display: block; padding: 7px 12px; border-radius: 3px;
    color: var(--parch); text-decoration: none; font-size: 12px;
}
.topbar__lang-menu a:hover { background: rgba(199,155,62,0.18); color: var(--gold-light); }
.topbar__lang-menu a.on { color: var(--gold-light); font-weight: 700; background: rgba(199,155,62,0.10); }
/* Arapça: metin bloklarını RTL yap, oyun çerçevesi LTR kalır */
.lang-ar .legal-doc, .lang-ar .jpage-text, .lang-ar .rec-note,
.lang-ar .reg-side-note, .lang-ar .form-hint, .lang-ar .reg-agree,
.lang-ar .tan-list__body, .lang-ar .reg-steps p,
.lang-ar .form-card label, .lang-ar .reg-sub, .lang-ar .legal-updated,
.lang-ar .news-body, .lang-ar .post__content, .lang-ar .av-schedule + p,
.lang-ar .reg-done p, .lang-ar .dl-card-big p {
    direction: rtl; text-align: right;
}
.lang-ar .legal-doc h3, .lang-ar .jpage-text h3, .lang-ar .rule-item h4,
.lang-ar .rule-item p, .lang-ar .legal-doc p, .lang-ar .legal-doc li,
.lang-ar .jpage-text p, .lang-ar .jpage-text li { direction: rtl; text-align: right; }
.lang-ar .reg-sub, .lang-ar .legal-updated { text-align: center; }
/* İndirme sayfası: metin blokları RTL, dosya adları (.dl-code) LTR kalır */
.lang-ar .dl-steps li, .lang-ar .dl-note,
.lang-ar .dl-spec th, .lang-ar .dl-spec td { direction: rtl; text-align: right; }
.lang-ar .dl-intro { direction: rtl; text-align: center; }
.lang-ar .dl-steps { padding-left: 0; padding-right: 18px; }
