/* ===== Oyun sunucusu sayfaları: Rust şablonu ekleri (oyun-sablon.css + oyun-rust.css üstüne) =====
   Karşılaştırmalı paket önerici, kartlarda tahmini oyuncu kapasitesi, oyun temaları, ikonlu kartlar ve panel görseli.
   Etkileşimler: oyun-sunucu.js */

/* ---------- paket kartı: tahmini oyuncu kapasitesi ---------- */
.mc-plan__cap { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 10px 12px; border: 1px dashed var(--mc-soft-line); border-radius: 14px; background: var(--mc-soft); }
.mc-plan__cap > .mc-i { width: 20px; height: 20px; color: var(--mc-accent); }
.mc-plan__cap small { display: block; margin-bottom: 2px; color: var(--mc-muted); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mc-plan__cap b { display: block; color: var(--mc-ink); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.mc-plan__cap b em { color: var(--mc-muted); font-style: normal; font-weight: 500; }
.mc-plan__cap b em::before { content: " · "; }
.mc-plans--4 .mc-plan__cap b em { display: block; }
.mc-plans--4 .mc-plan__cap b em::before { content: none; }
.mc-plans-note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; max-width: 860px; margin: 28px auto 0; color: var(--mc-muted); font-size: 13px; line-height: 1.6; }
.mc-plans-note .mc-i { width: 16px; height: 16px; margin-top: 2px; color: var(--mc-accent); }
.mc-plans-note a { color: var(--mc-accent); font-weight: 600; }
.mc-plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1252px; }
.mc .mc-plans--4 .mc-plan { padding: 22px; }
.mc .mc-plans--4 .mc-spec span { font-size: 12px; }
.mc .mc-plans--4 .mc-spec b { font-size: 12.5px; }

/* ---------- paket önerici: işlemci serisi + karşılaştırma ---------- */
.mc-cfg .mc-seg { display: flex; width: 100%; margin-top: 18px; box-shadow: none; }
.mc-cfg .mc-seg button { flex: 1; justify-content: center; min-width: 0; padding: 0 10px; }
.mc-res__cap { display: inline-flex; align-items: center; gap: 8px; margin: -26px 0 28px; padding: 7px 14px; border: 1px solid var(--mc-soft-line); border-radius: 999px; background: var(--mc-soft); color: var(--mc-accent); font-size: 13px; font-weight: 600; }
.mc-res__cap .mc-i { width: 15px; height: 15px; }
.mc-cmp { max-width: 384px; margin: 26px auto 0; text-align: left; }
.mc-cmp__sep { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--mc-faint); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.mc-cmp__sep::before, .mc-cmp__sep::after { content: ""; flex: 1; height: 1px; background: var(--mc-line-2); }
.mc-cmp__row { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--mc-line); border-radius: 16px; background: var(--mc-card); box-shadow: var(--mc-shadow); }
.mc-cmp__row[hidden] { display: none; }
.mc-cmp__row + .mc-cmp__row { margin-top: 10px; }
.mc-cmp__ico { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mc-cyan-soft); color: var(--mc-cyan); }
.mc-cmp__ico .mc-i { width: 19px; height: 19px; }
.mc-cmp__txt { flex: 1; min-width: 0; }
.mc-cmp__txt small { display: block; color: var(--mc-cyan); font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mc-cmp__txt b { display: block; overflow: hidden; color: var(--mc-ink); font-size: 14.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mc-cmp__txt em { display: block; color: var(--mc-muted); font-size: 12.5px; font-style: normal; }
.mc-cmp__r { flex: none; text-align: right; }
.mc-cmp__r b { display: block; color: var(--mc-ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc .mc-cmp__r button { margin-top: 5px; padding: 5px 11px; border-radius: 9px; background: var(--mc-soft); color: var(--mc-accent); font-size: 12px; font-weight: 700; transition: background-color .2s, color .2s; }
.mc .mc-cmp__r button:hover { background: var(--mc-brand); color: #fff; }
.mc.is-over .mc-res__gb { font-size: 104px; }

/* ---------- ikonlu oyun kartları (görselsiz oyunlar) ---------- */
.mc-tile__ico { position: absolute; right: 22px; top: 50%; z-index: 1; width: 112px; height: 112px; color: rgba(255, 255, 255, .2); transform: translateY(-50%) rotate(-8deg); transition: transform .7s ease; }
.mc-tile__ico .mc-i { width: 100%; height: 100%; stroke-width: 1.4; }
.mc-tile:hover .mc-tile__ico { transform: translateY(-50%) rotate(0) scale(1.06); }
.mc-tile__desc { display: block; margin-top: 4px; color: rgba(255, 255, 255, .72); font-size: 12px; font-weight: 500; }

/* ---------- oyun görseli: dekupe karakter ---------- */
.mc--oyun .mc-art img { height: 94%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.mc--oyun .mc-pic__art { background: var(--mc-art); }
.mc--oyun .mc-pic__art img { top: auto; bottom: 0; width: auto; height: 96%; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .3)); }
.mc--oyun .mc-pic:hover .mc-pic__art img { transform: translateX(-50%) scale(1.03); }

/* ---------- oyun görseli: gerçek fotoğraf (Rust sayfasındaki kapak kartı gibi) ---------- */
.mc-art--foto { aspect-ratio: 1 / 1.06; background: #0a0f1c; }
.mc-art--foto::before { display: none; }
.mc-art--foto::after { height: 60%; background: linear-gradient(0deg, rgba(5, 5, 5, .78), transparent); }
.mc .mc-art--foto > img:not(.mc-art__logo) { left: 0; top: 0; bottom: auto; width: 100%; height: 100%; object-fit: cover; object-position: var(--foto-pos, 50% 50%); transform: none; filter: none; }
.mc .mc-art--foto:hover > img:not(.mc-art__logo) { transform: scale(1.05); }
.mc-art--foto .mc-art__cap { top: auto; bottom: 26px; }
.mc .mc-art__logo { position: absolute; left: 28px; right: auto; top: auto; bottom: 26px; z-index: 2; width: auto; max-width: 58%; height: auto; max-height: 22%; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); transform: none; }
.mc .mc-art:hover .mc-art__logo { transform: none; }
.mc-hero__vis--foto .mc-float--b { bottom: auto; top: 46%; }
.mc--valheim .mc-hero__vis .mc-float--b { bottom: auto; top: 9%; }
.mc-tile--foto { background: #0a0f1c; }
.mc-tile--foto::before { display: none; }
.mc .mc-tile--foto > img { inset: 0; right: auto; bottom: auto; width: 100%; height: 100%; object-fit: cover; }
.mc-pic__art--foto { aspect-ratio: 16 / 11; background: #0a0f1c; }
.mc-pic__art--foto::before { display: none; }
.mc .mc-pic__art--foto img { inset: 0; left: 0; top: 0; bottom: auto; width: 100%; height: 100%; max-width: 100%; object-fit: cover; transform: none; filter: none; }
.mc .mc-pic:hover .mc-pic__art--foto img { transform: scale(1.03); }

/* ---------- oyun görseli: sunucu paneli (görselsiz oyunlar) ---------- */
.mc-art--dash { display: flex; align-items: center; justify-content: center; aspect-ratio: auto; padding: 28px; }
.mc-hero__vis--dash .mc-float--b { bottom: -30px; left: -40px; }
.mc-art--dash::after { display: none; }
.mc-dash { position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; background: rgba(6, 10, 22, .62); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); color: #cbd5e1; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.mc-dash__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; color: #64748b; font-family: var(--mc-mono); font-size: 11px; }
.mc-dash__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.mc-dash__bar i:nth-child(2) { background: #f59e0b; }
.mc-dash__bar i:nth-child(3) { margin-right: 6px; background: #22c55e; }
.mc-dash__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mc-dash__logo { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--mc-dash-accent, #f59e0b); color: #0b1220; font-size: 13px; font-weight: 800; letter-spacing: -.02em; }
.mc-dash__head div { flex: 1; min-width: 0; }
.mc-dash__head b { display: block; overflow: hidden; color: #fff; font-size: 14.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mc-dash__head small { display: block; color: #94a3b8; font-family: var(--mc-mono); font-size: 11.5px; }
.mc-dash__on { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(34, 197, 94, .14); color: #4ade80; font-size: 11px; font-weight: 700; }
.mc-dash__on i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(74, 222, 128, .2); }
.mc-dash__map { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: #0b1324; }
.mc-dash__map svg { display: block; width: 100%; height: 100%; }
.mc-dash__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.mc-dash__stats div { min-width: 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.mc-dash__stats small { display: block; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mc-dash__stats b { display: block; overflow: hidden; color: #fff; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mc-dash__bars { display: grid; gap: 8px; margin-top: 12px; }
.mc-dash__bars div { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: #94a3b8; font-size: 11.5px; font-weight: 600; }
.mc-dash__bars i { position: relative; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.mc-dash__bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: var(--mc-dash-accent, #f59e0b); }
.mc-dash__bars b { color: #e2e8f0; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mc-pic__art--map { background: #0b1324; }
.mc-pic__art--map::before { display: none; }
.mc-pic__art--map > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mc-pic__chip { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: rgba(6, 10, 22, .72); color: #cbd5e1; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mc-pic__chip > div { flex: 1; min-width: 0; }
.mc-pic__chip b { display: block; overflow: hidden; color: #fff; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mc-pic__chip small { display: block; color: #94a3b8; font-size: 12px; }
.mc-pic__chip .mc-dash__logo { width: 38px; height: 38px; border-radius: 11px; font-size: 12px; }

/* ---------- oyun temaları (ikincil vurgu + görsel zemini) ---------- */
.mc--mta { --mc-cyan: #b45309; --mc-cyan-soft: rgba(217, 119, 6, .1); --mc-grad-2: linear-gradient(90deg, #d97706 0%, #ea580c 100%); --mc-art: linear-gradient(160deg, #16a34a 0%, #15803d 45%, #064e3b 100%); }
.mc--fivem { --mc-cyan: #e11d48; --mc-cyan-soft: rgba(225, 29, 72, .08); --mc-grad-2: linear-gradient(90deg, #f97316 0%, #e11d48 100%); --mc-art: linear-gradient(160deg, #fb923c 0%, #e11d48 52%, #581c87 100%); }
.mc--gmod { --mc-cyan: #0284c7; --mc-cyan-soft: rgba(2, 132, 199, .09); --mc-grad-2: linear-gradient(90deg, #0ea5e9 0%, #1457e6 100%); --mc-art: linear-gradient(160deg, #38bdf8 0%, #1d4ed8 55%, #1e1b4b 100%); }
.mc--unturned { --mc-cyan: #4d7c0f; --mc-cyan-soft: rgba(101, 163, 13, .1); --mc-grad-2: linear-gradient(90deg, #65a30d 0%, #15803d 100%); --mc-art: linear-gradient(160deg, #84cc16 0%, #4d7c0f 50%, #1a2e05 100%); }
.mc--cs2 { --mc-cyan: #c2410c; --mc-cyan-soft: rgba(234, 88, 12, .09); --mc-grad-2: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%); --mc-art: linear-gradient(160deg, #fbbf24 0%, #f59e0b 30%, #ea580c 70%, #9a3412 100%); --mc-dash-accent: #f59e0b; }
.mc--palworld { --mc-cyan: #0284c7; --mc-cyan-soft: rgba(14, 165, 233, .1); --mc-grad-2: linear-gradient(90deg, #22c55e 0%, #0ea5e9 100%); --mc-art: linear-gradient(160deg, #7dd3fc 0%, #0ea5e9 45%, #075985 100%); --mc-dash-accent: #38bdf8; }
.mc--valheim { --mc-cyan: #0f766e; --mc-cyan-soft: rgba(13, 148, 136, .1); --mc-grad-2: linear-gradient(90deg, #14b8a6 0%, #6366f1 100%); --mc-art: linear-gradient(160deg, #2b7a73 0%, #164e4a 40%, #0f2a33 75%, #0b1120 100%); --mc-dash-accent: #2dd4bf; }
.mc--oyun .mc-tile--2 { background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #334155 100%); }
.mc--oyun .mc-tile--3 { background: linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 55%, #172554 100%); }
html[data-ob-theme="dark"] .mc--mta { --mc-cyan: #fbbf24; --mc-cyan-soft: rgba(251, 191, 36, .12); --mc-grad-2: linear-gradient(90deg, #fbbf24 0%, #fb923c 100%); --mc-art: linear-gradient(160deg, #14532d 0%, #064e3b 55%, #022c22 100%); }
html[data-ob-theme="dark"] .mc--fivem { --mc-cyan: #fb7185; --mc-cyan-soft: rgba(251, 113, 133, .12); --mc-grad-2: linear-gradient(90deg, #fb923c 0%, #fb7185 100%); --mc-art: linear-gradient(160deg, #9a3412 0%, #9f1239 52%, #3b0764 100%); }
html[data-ob-theme="dark"] .mc--gmod { --mc-cyan: #38bdf8; --mc-cyan-soft: rgba(56, 189, 248, .12); --mc-grad-2: linear-gradient(90deg, #38bdf8 0%, #7ea8ff 100%); }
html[data-ob-theme="dark"] .mc--unturned { --mc-cyan: #a3e635; --mc-cyan-soft: rgba(163, 230, 53, .12); --mc-grad-2: linear-gradient(90deg, #a3e635 0%, #4ade80 100%); --mc-art: linear-gradient(160deg, #3f6212 0%, #365314 50%, #1a2e05 100%); }
html[data-ob-theme="dark"] .mc--cs2 { --mc-cyan: #fbbf24; --mc-cyan-soft: rgba(251, 191, 36, .12); --mc-grad-2: linear-gradient(90deg, #fbbf24 0%, #fb923c 100%); --mc-art: linear-gradient(160deg, #d97706 0%, #c2410c 45%, #431407 100%); }
html[data-ob-theme="dark"] .mc--palworld { --mc-cyan: #38bdf8; --mc-cyan-soft: rgba(56, 189, 248, .12); --mc-grad-2: linear-gradient(90deg, #4ade80 0%, #38bdf8 100%); --mc-art: linear-gradient(160deg, #0369a1 0%, #075985 50%, #0c4a6e 100%); }
html[data-ob-theme="dark"] .mc--valheim { --mc-cyan: #2dd4bf; --mc-cyan-soft: rgba(45, 212, 191, .12); --mc-grad-2: linear-gradient(90deg, #2dd4bf 0%, #818cf8 100%); }
html[data-ob-theme="dark"] .mc-cmp__row { background: rgba(255, 255, 255, .03); }
html[data-ob-theme="dark"] .mc-plan__cap { background: rgba(47, 107, 240, .08); }

@media (max-width: 1199.98px) {
    .mc-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
@media (max-width: 767.98px) {
    .mc-plans--4 { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
    .mc-cfg .mc-seg button { font-size: 12.5px; }
    .mc-cfg .mc-seg .mc-i { display: none; }
    .mc-res__cap { margin-top: -18px; }
    .mc.is-over .mc-res__gb { font-size: 80px; }
    .mc-art--dash { padding: 16px; }
    .mc-dash { padding: 14px; border-radius: 20px; }
    .mc-dash__stats b { font-size: 13px; }
    .mc-tile__ico { width: 88px; height: 88px; }
    .mc-hero__vis--dash .mc-float { display: none; }
    .mc-hero__vis--foto .mc-float--b, .mc--valheim .mc-hero__vis .mc-float--b { display: none; }
}
@media (max-width: 575.98px) {
    .mc--oyun .mc-tbl table { min-width: 0; }
    .mc--oyun .mc-tbl th, .mc--oyun .mc-tbl td { padding: 13px 14px; }
}
@media (max-width: 419.98px) {
    .mc-cmp__row { flex-wrap: wrap; }
    .mc-cmp__r { width: 100%; padding-left: 52px; text-align: left; }
    .mc-cmp__r b, .mc .mc-cmp__r button { display: inline-block; }
    .mc .mc-cmp__r button { margin: 0 0 0 10px; }
}
