/* =====================================================================
   Nova (Minexon) düzeni — RivaCraft pembesi
   Siyah zemin, #0f0f0f kartlar (16px köşe), Poppins, 12px köşeli butonlar.
   style.css + nova.css'ten sonra yüklenir, onların üstüne yazar.
   ===================================================================== */
:root {
  --font-sans: 'Poppins', system-ui, sans-serif;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --nx-bg: #000;
  --nx-card: #0f0f0f;
  --nx-card2: #161616;
  --nx-line: rgba(255, 255, 255, .06);
  --nx-text2: #a1a1aa;
  --nx-p900: oklch(0.32 0.12 var(--hue));
  --nx-success: #22c55e;
}
body { background: var(--nx-bg); font-family: var(--font-sans); }
.page-glow { display: none; }
.container { max-width: 1240px; }

/* ---------- Butonlar ---------- */
.btn { border-radius: 12px; padding: 12px 24px; font-weight: 600; }
.btn-sm { padding: 8px 16px; border-radius: 10px; }
.btn-primary { box-shadow: none; }
.btn-primary:hover { transform: none; box-shadow: none; filter: brightness(1.08); }
.nx-btn-success { background: var(--nx-success); color: #fff; }
.nx-btn-success:hover { color: #fff; filter: brightness(1.08); }

/* ---------- Üst menü ---------- */
.topbar.nx-top { position: sticky; top: 0; background: rgba(0, 0, 0, .82); border-bottom: 1px solid var(--nx-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nx-top .nav-wrap { height: 76px; gap: 24px; }
.nx-logo .brand-text { font-family: var(--font-sans); font-weight: 800; letter-spacing: 0; }
.nx-nav.main-nav { flex: 1; justify-content: center; gap: 4px; padding: 0; border: 0; background: none; border-radius: 0; }
.nx-nav > a, .nx-nav .nav-more-btn { position: relative; height: 76px; padding: 0 14px; border-radius: 0; font-weight: 500; font-size: 14px; color: var(--nx-text2); background: none !important; }
.nx-nav > a i { display: inline-block; font-size: 14px; opacity: .8; }
.nx-nav > a:hover, .nx-nav .nav-more-btn:hover { color: #fff; }
.nx-nav > a.active, .nx-nav .nav-more-btn.active { color: #fff; }
.nx-nav > a.active i { color: var(--primary); opacity: 1; }
.nx-nav > a.active::after { display: none; }
.nx-bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.nx-nav > a:hover .nx-bar, .nx-nav > a.active .nx-bar { transform: scaleX(1); }
.nx-nav .nx-extra { display: none; }
.nx-top .nav-more-menu { background: var(--nx-card); border-color: var(--nx-line); border-radius: 14px; }
.nx-top .user-btn { border-radius: 12px; background: var(--nx-card); border: 1px solid var(--nx-line); }
.nx-top .dropdown-menu { background: var(--nx-card); border-color: var(--nx-line); border-radius: 14px; }
.nx-top .btn-login { padding: 10px 22px; }
@media (max-width: 1240px) { .nx-nav > a i { display: none; } .nx-nav > a, .nx-nav .nav-more-btn { padding: 0 10px; } }
@media (max-width: 1024px) {
  .nx-nav.main-nav { top: 76px; background: var(--nx-card); border: 1px solid var(--nx-line); border-radius: 16px; padding: 8px; }
  .nx-nav > a { height: auto; padding: 10px 16px; border-radius: 10px; }
  .nx-nav > a i { display: inline-block; }
  .nx-nav .nx-extra { display: flex; }
  .nx-nav .nx-more { display: none; }
  .nx-bar { display: none; }
  .nx-nav > a.active { background: var(--p10) !important; }
}

/* ---------- Kahraman ---------- */
.nx-hero { position: relative; overflow: hidden; padding: 8rem 0 9rem; background: var(--nx-p900); isolation: isolate; }
.nx-hero-bg { position: absolute; inset: 0; z-index: -3; background: center / cover no-repeat; opacity: .2; }
.nx-hero-grad { position: absolute; inset: 0; z-index: -2; background: linear-gradient(to bottom, color-mix(in oklab, var(--nx-p900) 30%, transparent), color-mix(in oklab, var(--primary) 25%, transparent) 60%, #000); }
.nx-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nx-particles i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: .5; animation: nxFloat var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes nxFloat { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .6; } 85% { opacity: .6; } 100% { transform: translateY(-160px); opacity: 0; } }
.nx-hero-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.nx-stat { display: flex; align-items: center; gap: 16px; justify-self: start; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.nx-stat.right { justify-self: end; text-align: right; }
.nx-stat:hover { color: #fff; }
.nx-stat-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); font-size: 26px; transition: background .2s, transform .2s; }
.nx-stat:hover .nx-stat-ico { background: var(--primary); color: var(--primary-fg); transform: translateY(-2px); }
.nx-stat-txt b { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; }
.nx-stat-txt small { display: block; font-size: 14px; color: rgba(255, 255, 255, .7); }
.nx-hero-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; }
.nx-hero-logo img { width: 190px; height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .5)); animation: nxBob 4s ease-in-out infinite; }
@keyframes nxBob { 50% { transform: translateY(-10px); } }
.nx-hero-name { font-size: 34px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.nx-hero-name .metal { background: var(--metal, linear-gradient(#fff, #d4d4d8)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-hero-name .accent { color: var(--primary); }
.nx-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: #000; }
@media (prefers-reduced-motion: reduce) { .nx-particles, .nx-hero-logo img { animation: none; } .nx-particles { display: none; } }
@media (max-width: 760px) {
  .nx-hero { padding: 4rem 0 6rem; }
  .nx-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .nx-hero-logo { order: -1; }
  .nx-hero-logo img { width: 130px; }
  .nx-stat, .nx-stat.right { justify-self: center; }
  .nx-stat-ico { width: 52px; height: 52px; font-size: 22px; }
}

/* ---------- Slider ---------- */
.nx-slider-wrap { margin-top: -40px; position: relative; z-index: 2; }
.nx-slider { position: relative; overflow: hidden; border-radius: 12px; background: var(--nx-card); }
.nx-slider .nv-slides { aspect-ratio: auto; height: 400px; min-height: 0; }
.nx-slider .nv-slide { align-items: flex-end; justify-content: flex-start; }
.nx-slider .nv-slide::after { background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent 60%); }
.nx-slide-txt { position: relative; z-index: 1; padding: 0 40px 44px; max-width: 720px; }
.nx-slide-txt h2 { margin: 0; font-size: clamp(22px, 3vw, 34px); font-weight: 700; }
.nx-slide-txt p { margin: 6px 0 0; color: rgba(255, 255, 255, .8); }
.nx-slider .nv-arrow { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 12px; border: 0; background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; transition: background .2s; }
.nx-slider .nv-arrow:hover { background: var(--primary); color: var(--primary-fg); }
.nx-slider .nv-arrow.prev { left: 16px; } .nx-slider .nv-arrow.next { right: 16px; }
.nx-dots { position: absolute; z-index: 3; right: 24px; bottom: 20px; display: flex; gap: 6px; }
.nx-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .4); cursor: pointer; transition: width .25s, background .25s; }
.nx-dots button.active { width: 28px; background: var(--primary); }
@media (max-width: 760px) { .nx-slider .nv-slides { height: 220px; } .nx-slide-txt { padding: 0 20px 36px; } .nx-slider-wrap { margin-top: -20px; } }

/* ---------- Ana düzen: 7/3 ---------- */
.nx-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 4rem; align-items: start; margin-top: 48px; margin-bottom: 72px; }
.nx-content { min-width: 0; }
@media (max-width: 1100px) { .nx-main { gap: 2rem; } }
@media (max-width: 1024px) { .nx-main { grid-template-columns: 1fr; } }
.nx-card { background: var(--nx-card); border: 1px solid var(--nx-line); border-radius: 16px; }
.nx-empty { padding: 20px; color: var(--nx-text2); margin: 0; }
.nx-h4 { margin: 0 0 14px; font-size: 18px; font-weight: 600; color: #fff; }
.nx-block { margin-top: 40px; }

/* Konum çubuğu */
.nx-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 22px; margin-bottom: 24px; background: var(--nx-card); border: 1px solid var(--nx-line); border-radius: 16px; font-size: 14px; color: var(--nx-text2); }
.nx-crumb a { color: var(--nx-text2); }
.nx-crumb a:hover, .nx-crumb .cur { color: #fff; }
.nx-crumb .sep { font-size: 10px; opacity: .5; }
.nx-crumb > a:first-child { color: var(--primary); }

/* ---------- Haber kartları ---------- */
.nx-news, .news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nx-news-card { position: relative; display: block; height: 18rem; overflow: hidden; border-radius: 16px; background: var(--nx-card) center / cover no-repeat; color: #fff; isolation: isolate; }
.nx-news-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .15) 60%); }
.nx-news-card:hover { color: #fff; }
.nx-tag { position: absolute; top: 16px; left: 16px; padding: 4px 12px; border-radius: 8px; background: var(--primary); color: var(--primary-fg); font-size: 12px; font-weight: 600; }
.nx-nc-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; transition: opacity .25s; }
.nx-nc-bottom b { display: block; font-size: 18px; font-weight: 600; line-height: 1.35; }
.nx-nc-bottom small { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-nc-hover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px; background: linear-gradient(to top, color-mix(in oklab, var(--nx-p900) 96%, transparent), color-mix(in oklab, var(--nx-p900) 80%, transparent)); transform: translateY(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.nx-news-card:hover .nx-nc-hover, .nx-news-card:focus-visible .nx-nc-hover { transform: translateY(0); }
.nx-news-card:hover .nx-nc-bottom { opacity: 0; }
.nx-nc-hover b { font-size: 17px; font-weight: 600; line-height: 1.35; }
.nx-tagtxt { color: var(--primary); }
.nx-nc-hover p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nx-nc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.nx-chips { display: flex; gap: 6px; }
.nx-chips span { padding: 4px 9px; border-radius: 8px; background: rgba(0, 0, 0, .35); font-size: 12px; }
@media (max-width: 640px) { .nx-news, .news-grid { grid-template-columns: 1fr; } .nx-news-card { height: 15rem; } }

/* Sayfalama */
.nx-pages { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.nx-pages a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; background: var(--nx-card); border: 1px solid var(--nx-line); color: var(--nx-text2); font-weight: 600; }
.nx-pages a:hover { color: #fff; }
.nx-pages a.active { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.nx-pages a.disabled { opacity: .4; pointer-events: none; }

/* ---------- Yan panel ---------- */
.nx-side { display: flex; flex-direction: column; gap: 32px; }
.nx-wcard { padding: 8px; overflow: hidden; }
.nx-whero { display: flex; align-items: center; gap: 14px; padding: 12px; }
.nx-badge { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--p15); color: var(--primary); font-size: 18px; }
.nx-whero img { width: 40px; height: 40px; border-radius: 10px; }
.nx-whero b { display: block; font-size: 15px; } .nx-whero b a { color: #fff; }
.nx-whero small { display: block; color: var(--nx-text2); font-size: 13px; }
.nx-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.nx-tbl th { padding: 9px 10px; text-align: left; font-weight: 600; color: #fff; background: var(--p25); }
.nx-tbl th:first-child { border-radius: 10px 0 0 10px; } .nx-tbl th:last-child { border-radius: 0 10px 10px 0; }
.nx-tbl td { padding: 9px 10px; color: var(--nx-text2); border-bottom: 1px solid var(--nx-line); white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.nx-tbl tr:last-child td { border-bottom: 0; }
.nx-tbl .av { width: 20px; height: 20px; border-radius: 5px; vertical-align: -5px; margin-right: 4px; }
.nx-search { display: flex; gap: 8px; padding: 8px; }
.nx-search input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: none; color: #fff; font: inherit; outline: 0; }
.nx-search .btn { padding: 10px 16px; }
.nx-discord { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 16px; background: #5865f2; color: #fff; transition: filter .2s; }
.nx-discord:hover { color: #fff; filter: brightness(1.08); }
.nx-discord > i { font-size: 34px; }
.nx-discord div { flex: 1; min-width: 0; }
.nx-discord b { display: block; font-size: 16px; } .nx-discord small { opacity: .85; }
.nx-discord .btn { background: #fff; color: #5865f2; }
/* Diğer sayfalardaki .layout yan paneli de aynı görünür */
.layout > .sidebar.nx-side { gap: 28px; }

/* ---------- "Eğlenceye katılmak ister misin?" ---------- */
.nx-cta { position: relative; overflow: hidden; padding: 72px 0; isolation: isolate; }
.nx-cta-bg { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.nx-cta-grad { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, var(--nx-p900), color-mix(in oklab, var(--primary) 75%, transparent)); }
.nx-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nx-cta h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: #fff; }
.nx-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.nx-cta .btn-primary { background: #fff; color: var(--nx-p900); }
@media (max-width: 760px) { .nx-cta-inner { flex-direction: column; text-align: center; } }

/* ---------- Footer ---------- */
.nx-footer.footer { background: #000; border-top: 1px solid var(--nx-line); padding: 40px 0 28px; }
.nx-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; }
.nx-foot-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 20px; text-transform: uppercase; }
.nx-foot-logo:hover { color: #fff; }
.nx-foot-logo img { height: 44px; }
.nx-foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.nx-foot-links a { color: var(--nx-text2); font-size: 14px; font-weight: 500; }
.nx-foot-links a:hover { color: var(--primary); }
.nx-footer .footer-bottom { border-top-color: var(--nx-line); color: var(--nx-text2); }
.nx-footer .f-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--nx-card); border: 1px solid var(--nx-line); color: #fff; }
.nx-footer .f-social a:hover { background: var(--primary); color: var(--primary-fg); }
@media (max-width: 760px) { .nx-foot-row { flex-direction: column; text-align: center; } .nx-foot-links { justify-content: center; } }

/* ---------- Diğer sayfalarda Nova kart tonu ---------- */
.card, .widget { background: var(--nx-card); border-color: var(--nx-line); border-radius: 16px; }

/* =====================================================================
   İnce ayar (2. tur): daha canlı kahraman, cam kartlar, kart hover'ları
   ===================================================================== */
.nx-hero { padding: 6.5rem 0 8.5rem; }
.nx-hero-bg { opacity: .38; transform: scale(1.04); animation: nxPan 30s ease-in-out infinite alternate; }
@keyframes nxPan { to { transform: scale(1.12) translateY(-12px); } }
.nx-hero-grad { background:
  radial-gradient(ellipse 40% 55% at 50% 45%, color-mix(in oklab, var(--primary) 30%, transparent), transparent 70%),
  linear-gradient(to bottom, color-mix(in oklab, #000 45%, transparent), color-mix(in oklab, var(--nx-p900) 35%, transparent) 55%, #000); }
.nx-hero-logo { position: relative; }
.nx-hero-logo::before { content: ''; position: absolute; left: 50%; top: 40%; width: 320px; height: 320px; translate: -50% -50%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--primary) 45%, transparent), transparent 65%); filter: blur(10px); }
.nx-hero-logo img { width: 220px; }
.nx-hero-name { font-size: 44px; letter-spacing: .04em; text-shadow: 0 6px 24px rgba(0, 0, 0, .55); }
.nx-stat { padding: 12px 22px 12px 12px; border-radius: 20px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s, background .2s, transform .2s; }
.nx-stat.right { padding: 12px 12px 12px 22px; }
.nx-stat:hover { border-color: color-mix(in oklab, var(--primary) 60%, transparent); background: rgba(0, 0, 0, .4); transform: translateY(-2px); }
.nx-stat:hover .nx-stat-ico { transform: none; }
.nx-stat-ico { width: 56px; height: 56px; border-radius: 14px; background: color-mix(in oklab, var(--primary) 22%, transparent); border-color: color-mix(in oklab, var(--primary) 35%, transparent); color: var(--primary); }
.nx-stat.right .nx-stat-ico { background: rgba(88, 101, 242, .25); border-color: rgba(88, 101, 242, .45); color: #aab2ff; }
.nx-stat.right:hover .nx-stat-ico { background: #5865f2; color: #fff; }
.nx-stat-txt b { font-size: 17px; }
.nx-stat-txt b .live { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--nx-success); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); vertical-align: 2px; }

.nx-slider { border: 1px solid var(--nx-line); box-shadow: 0 30px 70px -35px color-mix(in oklab, var(--primary) 70%, transparent); }
.nx-slide-txt h2 { text-shadow: 0 4px 18px rgba(0, 0, 0, .6); }

.nx-crumb { justify-content: flex-start; }
.nx-crumb .nx-crumb-all { margin-left: auto; color: var(--primary); font-weight: 600; font-size: 13px; }
.nx-crumb .nx-crumb-all:hover { color: #fff; }

.nx-news-card { border: 1px solid var(--nx-line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.nx-news-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--primary) 45%, transparent); box-shadow: 0 22px 44px -22px color-mix(in oklab, var(--primary) 70%, transparent); }

.nx-whero { margin-bottom: 6px; border-radius: 12px; background: linear-gradient(to right, var(--p15), transparent); }
.nx-tbl tbody tr { transition: background .15s; }
.nx-tbl tbody tr:hover td { background: rgba(255, 255, 255, .03); color: #fff; }

.nx-cta { padding: 84px 0; }
.nx-cta .btn { padding: 14px 28px; font-size: 15px; }
.nx-cta .btn-primary:hover { color: var(--nx-p900); }

/* Ana sayfada IP zaten kahraman ve bantta var: yüzen buton yazıları kapatmasın */
body:has(.nx-hero:not(.nx-hero-sub)) .connect-float { display: none; }

@media (max-width: 760px) {
  .nx-hero { padding: 3.5rem 0 6rem; }
  .nx-hero-logo img { width: 140px; }
  .nx-hero-name { font-size: 32px; }
  .nx-hero-logo::before { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .nx-hero-bg { animation: none; } }

/* =====================================================================
   Tüm sayfalar aynı arayüz: alt sayfalarda da aynı kahraman alanı,
   altında Nova kartları. Eski "HUD" süsleri sadeleştirildi.
   ===================================================================== */
.page:not(.is-home) { padding-top: 0; }
.nx-hero-sub { padding: 5rem 0 7rem; }
.nx-hero-sub .nx-hero-logo img { width: 150px; }
.nx-hero-sub .nx-hero-name { font-size: 34px; }
.nx-hero-sub .nx-hero-logo::before { width: 240px; height: 240px; }
.nx-hero-sub + .container, .nx-hero-sub + .container.narrow { position: relative; z-index: 2; margin-top: -56px; }
@media (max-width: 760px) {
  .nx-hero-sub { padding: 2.5rem 0 5rem; }
  .nx-hero-sub .nx-hero-grid { gap: 14px; }
  .nx-hero-sub .nx-hero-logo img { width: 96px; }
  .nx-hero-sub .nx-hero-name { font-size: 24px; }
  .nx-hero-sub .nx-stat { display: none; }
  .nx-hero-sub + .container { margin-top: -40px; }
}

/* Sayfa başlığı */
.page-head { margin-bottom: 28px; padding: 26px 28px; border-radius: 16px; background: var(--nx-card); border: 1px solid var(--nx-line); align-items: center; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 34px); margin: 6px 0 0; }
.page-head p { font-size: 15px; color: var(--nx-text2); margin: 6px 0 0; }
.kicker { font-family: var(--font-sans); letter-spacing: .04em; text-transform: none; font-size: 13px; font-weight: 600; }
.kicker::before { display: none; }
.hud-label { font-family: var(--font-sans); letter-spacing: .04em; font-size: 12px; }

/* Kartlar ve yan widget'lar */
.card, .widget { background: var(--nx-card); border: 1px solid var(--nx-line); border-radius: 16px; box-shadow: none; }
.card-title, .w-title { font-family: var(--font-sans); }
.w-title { font-size: 17px; color: #fff; }
.layout { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 2.5rem; }
.layout.left { grid-template-columns: minmax(240px, 3fr) minmax(0, 9fr); }
.sidebar { display: flex; flex-direction: column; gap: 24px; }

/* Tablolar: Nova pembe başlık şeridi */
.tbl { border-collapse: separate; border-spacing: 0; }
.tbl th { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; color: #fff; background: var(--p25); border: 0; padding: 11px 14px; }
.tbl th:first-child { border-radius: 10px 0 0 10px; } .tbl th:last-child { border-radius: 0 10px 10px 0; }
.tbl td { border-bottom-color: var(--nx-line); color: var(--nx-text2); }
.tbl td b, .tbl td a { color: #fff; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .03); }

/* Form alanları */
input, select, textarea { border-radius: 12px; background: #050505; border-color: rgba(255, 255, 255, .09); }
.search-box button { border-radius: 12px; }
.form label, .auth-form label { color: var(--nx-text2); }

/* Sekmeler, rozetler, bildirimler */
.tabs { border-radius: 14px; background: var(--nx-card); border-color: var(--nx-line); padding: 6px; }
.tabs a { border-radius: 10px; }
.tabs a.active { background: var(--primary); color: var(--primary-fg); }
.badge { border-radius: 8px; }
.notice { border-radius: 14px; }

/* Forum */
.fs-head { background: var(--p25); border-bottom: 0; }
.fs-head span { font-family: var(--font-sans); letter-spacing: 0; text-transform: none; font-size: 12.5px; color: #fff; }
.fs-row { border-bottom-color: var(--nx-line); }
.fs-num { font-family: var(--font-sans); }
.fs-icon { border-radius: 12px; }

/* Giriş / kayıt */
.auth { border-radius: 16px; background: var(--nx-card); border-color: var(--nx-line); }
.auth-side h2 { font-family: var(--font-sans); letter-spacing: 0; }

/* Yardım merkezi başlığı */
.help-hero { border-radius: 16px; }

/* Mağaza / ürün kartları ve mod kartları aynı köşe ve zemin */
.product, .mode-card, .tile, .chest-item, .faq, .stat { border-radius: 16px; border-color: var(--nx-line); }
.product, .tile, .chest-item, .faq, .stat { background: var(--nx-card); }
@media (max-width: 1024px) { .layout, .layout.left { grid-template-columns: 1fr; } }

/* ---------- Hata düzeltmeleri (QA) ---------- */
/* Tüm başlıklar aynı yazı tipinde (Chakra Petch / mono karışıklığı vardı) */
:root { --font-display: 'Poppins', system-ui, sans-serif; }
/* Grid içindeki geniş tablo sayfayı telefonda yana taşırıyordu (kart oyunu) */
.layout > * { min-width: 0; }
@media (max-width: 1024px) { .layout, .layout.left { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.error-page h1 { font-family: var(--font-sans); }

/* Alt köşe kutuları (çerez, canlı satın alma bildirimi) ve uyarı pencereleri Nova kart tonunda */
.cookie { background: var(--nx-card); border: 1px solid var(--nx-line); border-radius: 16px; clip-path: none; }
.cookie .hud-label { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.live-toast { background: var(--nx-card); border-color: var(--nx-line); border-radius: 14px; }
.swal2-popup { background: var(--nx-card) !important; border-radius: 16px !important; font-family: var(--font-sans) !important; }
.swal2-styled.swal2-confirm, .swal2-styled.swal2-cancel { border-radius: 12px !important; }
/* Mono yazı tipi yerine her yerde Poppins (Nova) */
:root { --font-mono: 'Poppins', system-ui, sans-serif; }
.hud-label { letter-spacing: .06em; }
/* Telefonda canlı satın alma bildirimi içeriği kapatmasın: küçük ve en altta */
@media (max-width: 560px) {
  .live-toast { left: 10px; right: auto; bottom: 72px; max-width: 250px; padding: 8px 10px; gap: 8px; }
  .live-toast img { width: 28px; height: 28px; border-radius: 8px; }
  .live-toast div { font-size: 11.5px; }
  .connect-float span { display: none; }
  .connect-float { padding: 12px 14px; }
}
.footer-note a { color: inherit; text-decoration: underline; }

/* =====================================================================
   Üst menü butonları (3. tur): ikon kutulu butonlar, pembe hover/aktif
   ===================================================================== */
.nx-top .nav-wrap { height: 78px; }
.nx-nav.main-nav { gap: 6px; }
.nx-nav > a, .nx-nav .nav-more-btn { height: auto; padding: 7px 14px 7px 7px; gap: 10px; border-radius: 14px; border: 1px solid transparent; color: #d4d4d8; font-weight: 500; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.nx-nav .nav-more-btn { padding: 9px 14px; }
.nx-nav > a i { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); color: var(--nx-text2); font-size: 13px; opacity: 1; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.nx-nav > a:hover, .nx-nav .nav-more-btn:hover { background: rgba(255, 255, 255, .045) !important; border-color: rgba(255, 255, 255, .07); color: #fff; transform: translateY(-1px); }
.nx-nav > a:hover i { background: var(--p15); border-color: var(--p35); color: var(--primary); }
.nx-nav > a.active { background: linear-gradient(135deg, var(--p25), var(--p07)) !important; border-color: var(--p35); color: #fff; }
.nx-nav > a.active i { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); box-shadow: 0 6px 18px -6px var(--primary); }
.nx-nav .nx-bar { display: none; }
.nx-nav > a.nav-admin { color: var(--primary); }
/* Sağdaki butonlar */
.nx-btn-ghost { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.nx-btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: var(--p35); color: #fff; }
.nx-top .btn-login, .nx-top .btn-register { padding: 11px 18px; font-size: 14px; }
.nx-top .btn-login { box-shadow: 0 10px 28px -12px var(--primary); }
.nx-top .user-btn { padding: 5px 14px 5px 5px; }
.nx-top .user-btn img { border-radius: 9px; width: 32px; height: 32px; }
.nx-top .pill-cart { border-radius: 12px; padding: 10px 14px; }
.nx-top .nav-toggle { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
/* Dar masaüstü: önce etiketleri sıkıştır, sonra ikonları gizle */
@media (max-width: 1560px) { .nx-top .btn-register { display: none; } }
@media (max-width: 1360px) { .nx-nav > a { padding-right: 11px; gap: 8px; font-size: 13.5px; } .nx-nav.main-nav { gap: 2px; } }
@media (max-width: 1180px) and (min-width: 1025px) { .nx-nav > a i { display: none; } .nx-nav > a { padding: 9px 12px; } }
@media (max-width: 1024px) {
  .nx-nav > a { padding: 8px 12px 8px 8px; transform: none !important; }
  .nx-nav > a i { display: grid; }
}
@media (max-width: 560px) { .nx-top .btn-login { padding: 10px 14px; } .nx-top .btn-login i { display: none; } }

/* Mağaza: yüklenen ürün görselleri (rozetler, kasalar, spawnerlar) kartı doldursun; küçük SVG ikonlar eski boyutta kalır */
.p-img:has(img:not(.pixel)) { height: 210px; }
.p-img img:not(.pixel) { width: auto; height: 210px; max-height: 210px; max-width: 100%; object-fit: contain; padding: 6px 0; }
.pp2-icon:not(.pixel) { width: min(78%, 360px); height: auto; }

/* Mağaza: kategori kartları (önce kategori seçilir, sonra ürünler) */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--nx-card); border: 1px solid var(--nx-line); color: #fff; transition: transform .25s, border-color .25s, box-shadow .25s; }
.cat-card:hover { color: #fff; transform: translateY(-4px); border-color: var(--p35); box-shadow: 0 22px 44px -22px color-mix(in oklab, var(--primary) 70%, transparent); }
.cat-img { height: 190px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, var(--p15), transparent 70%); }
.cat-img img { height: 190px; max-height: 190px; width: auto; max-width: 100%; object-fit: contain; padding: 8px 0; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); transition: transform .4s; }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-img > i { font-size: 64px; color: var(--primary); }
.cat-body { padding: 14px 18px 6px; }
.cat-body b { display: block; font-size: 18px; }
.cat-body b i { color: var(--primary); margin-right: 4px; font-size: 15px; }
.cat-body small { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--nx-text2); font-size: 13px; }
.cat-go { margin: 8px 18px 16px; padding: 9px 14px; border-radius: 10px; background: var(--p15); color: var(--primary); font-weight: 600; font-size: 13.5px; text-align: center; transition: background .2s, color .2s; }
.cat-card:hover .cat-go { background: var(--primary); color: var(--primary-fg); }
.cat-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding: 14px 18px; border-radius: 16px; background: var(--nx-card); border: 1px solid var(--nx-line); }
.cat-head h2 { margin: 0; font-size: 20px; }
.cat-head h2 i { color: var(--primary); margin-right: 6px; }
.cat-head h2 small { font-size: 13px; font-weight: 500; color: var(--nx-text2); margin-left: 6px; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } .cat-img, .cat-img img { height: 160px; max-height: 160px; } }

/* =====================================================================
   Mağaza (sade): tam genişlik, üstte sunucu + bakiye, kategori düğmeleri
   ===================================================================== */
.shop-top { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 28px; margin-bottom: 14px; border-radius: 16px; border: 1px solid var(--nx-line); background: linear-gradient(90deg, #0f0f0f 25%, rgba(15, 15, 15, .55) 70%, rgba(15, 15, 15, .2)), var(--shop-bg) center 55% / cover; }
.shop-title h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.shop-title p { margin: 4px 0 0; color: var(--nx-text2); font-size: 14px; }
.shop-wallet { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 14px; background: rgba(0, 0, 0, .55); border: 1px solid var(--nx-line); backdrop-filter: blur(8px); }
.sw-bal { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--nx-text2); }
.sw-bal b { color: #fff; font-size: 17px; }
.shop-wallet .btn-light { width: 38px; padding: 8px 0; }
.shop-servers { display: flex; gap: 8px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.shop-servers a { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 6px 18px 6px 6px; border-radius: 12px; background: var(--nx-card); border: 1px solid var(--nx-line); color: var(--nx-text2); font-weight: 600; font-size: 14px; transition: .2s; }
.shop-servers a:hover { color: #fff; border-color: var(--p35); }
.shop-servers a.active { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.shop-servers .st-thumb { width: 32px; height: 32px; border-radius: 8px; }
.cat-chips { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cat-chips a { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 10px 16px; border-radius: 12px; background: var(--nx-card); border: 1px solid var(--nx-line); color: var(--nx-text2); font-size: 14px; font-weight: 500; transition: .2s; }
.cat-chips a i { color: var(--primary); font-size: 13px; }
.cat-chips a:hover { color: #fff; border-color: var(--p35); }
.cat-chips a.active { background: var(--p15); border-color: var(--primary); color: #fff; }
.cat-chips .cc-all { background: transparent; }
.shop .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shop .cat-body { padding: 16px 20px 20px; }
.shop .cat-card::after { content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 18px; bottom: 22px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--p15); color: var(--primary); font-size: 13px; transition: .2s; }
.shop .cat-card:hover::after { background: var(--primary); color: var(--primary-fg); }
.shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
/* Ürün kartı sade: nadirlik etiketi ve tekrar eden kategori yazısı yok */
.shop .product .rarity, .shop .p-body > small { display: none; }
.shop .product { background: var(--nx-card); border-color: var(--nx-line); }
.shop .p-body { padding: 14px 16px 16px; }
.shop .p-body h3 { font-size: 16px; }
.shop .price { margin: 6px 0 12px; }
.shop .price b { font-size: 20px; }
.shop-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 34px 0 6px; padding: 16px; border-radius: 16px; background: var(--nx-card); border: 1px solid var(--nx-line); color: var(--nx-text2); font-size: 14px; }
.shop-trust i { color: var(--primary); margin-right: 6px; }
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shop .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .shop-top { padding: 20px; } .shop-wallet { width: 100%; justify-content: space-between; } }
@media (max-width: 560px) { .shop .cat-grid { grid-template-columns: 1fr; } .shop .p-img:has(img:not(.pixel)), .shop .p-img img:not(.pixel) { height: 150px; max-height: 150px; } }

/* =====================================================================
   Harita sayfası (/harita): geniş harita kartı + yan panel
   ===================================================================== */
.nx-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-bottom: 72px; }
.nx-map-card { overflow: hidden; display: flex; flex-direction: column; }
.nx-map-card:fullscreen { border-radius: 0; height: 100vh; }
.nx-map-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--nx-line); background: linear-gradient(to right, var(--p15), transparent 70%); }
.nx-map-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nx-map-title h1 { margin: 0; font-size: 20px; line-height: 1.2; }
.nx-map-title small { display: flex; align-items: center; gap: 8px; color: var(--nx-text2); font-size: 13px; }
.nx-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-success); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: nxNabiz 2s ease-in-out infinite; }
@keyframes nxNabiz { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
.nx-map-tools { display: flex; gap: 8px; flex-shrink: 0; }
.nx-map-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--nx-line); background: rgba(255, 255, 255, .05); color: #fff; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.nx-map-btn:hover { background: var(--p15); border-color: color-mix(in oklab, var(--primary) 45%, transparent); color: var(--primary); transform: translateY(-2px); }
.nx-map-frame-wrap { position: relative; height: 74vh; min-height: 460px; background: #05050a; }
.nx-map-card:fullscreen .nx-map-frame-wrap { flex: 1; height: auto; }
.nx-map-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nx-map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--nx-text2); font-size: 15px; z-index: 1; pointer-events: none; }
.nx-map-loading[hidden] { display: none; }

.nx-map-side { display: flex; flex-direction: column; gap: 20px; }
.nx-map-panel { padding: 8px; }
.nx-map-panel .nx-whero b { display: block; color: #fff; }
.nx-map-panel .nx-whero small { color: var(--nx-text2); font-size: 12px; }
.nx-map-chat, .nx-map-locked { padding: 6px 10px 10px; }
.nx-map-me { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; color: #fff; }
.nx-map-me img { width: 28px; height: 28px; border-radius: 8px; image-rendering: pixelated; }
.nx-map-chat textarea { width: 100%; resize: vertical; min-height: 76px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--nx-line); background: rgba(0, 0, 0, .35); color: #fff; font: inherit; transition: border-color .2s; }
.nx-map-chat textarea:focus { outline: none; border-color: color-mix(in oklab, var(--primary) 60%, transparent); }
.nx-map-chat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: var(--nx-text2); font-size: 12px; }
.nx-map-note { display: block; margin-top: 10px; color: var(--nx-text2); font-size: 12px; line-height: 1.5; }
.nx-map-note.ok { color: var(--nx-success); }
.nx-map-note.err { color: #ff7a8a; }
.nx-map-locked { text-align: center; }
.nx-map-locked > i { font-size: 26px; color: var(--primary); margin: 6px 0 8px; }
.nx-map-locked p { margin: 0 0 12px; color: var(--nx-text2); font-size: 13px; }
.nx-map-list { list-style: none; margin: 0; padding: 4px 10px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--nx-text2); }
.nx-map-list li { display: flex; align-items: center; gap: 10px; }
.nx-map-list span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--p15); color: var(--primary); font-weight: 700; }
.nx-map-legend i { width: 26px; text-align: center; color: var(--primary); }
.nx-map-places { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 10px 0; }
.nx-map-places button { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--nx-line); background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: 13px; cursor: pointer; transition: background .2s, border-color .2s; }
.nx-map-places button:hover { background: var(--p15); border-color: color-mix(in oklab, var(--primary) 45%, transparent); }
.nx-map-panel > .nx-map-note { padding: 0 10px 6px; }
.nx-map-ip { width: calc(100% - 20px); margin: 12px 10px 8px; justify-content: center; background: var(--p15); border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent); color: var(--primary); }
.nx-map-ip:hover { background: var(--primary); color: var(--primary-fg); }

@media (max-width: 1000px) {
  .nx-map-layout { grid-template-columns: 1fr; }
  .nx-map-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 600px) {
  .nx-map-frame-wrap { height: 62vh; min-height: 360px; }
  .nx-map-title h1 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .nx-live-dot { animation: none; } }

/* Harita sayfası v2: canlı sohbet akışı, durum çipi, alt rehber şeridi */
.nx-map-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nx-map-side { position: sticky; top: 92px; }
.nx-map-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--nx-line); background: rgba(255, 255, 255, .04); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nx-map-chip.off { color: var(--nx-text2); }
.nx-map-chip.off .nx-live-dot { background: #71717a; box-shadow: none; animation: none; }
.nx-map-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nx-map-feat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; color: inherit; font: inherit; }
.nx-map-feat b { display: block; color: #fff; font-size: 14px; }
.nx-map-feat small { color: var(--nx-text2); font-size: 12px; }
.nx-map-ipcard { cursor: pointer; transition: border-color .2s, transform .2s; }
.nx-map-ipcard:hover { border-color: color-mix(in oklab, var(--primary) 50%, transparent); transform: translateY(-2px); }

.nx-map-chatcard { display: flex; flex-direction: column; }
.nx-map-feed { height: 340px; overflow-y: auto; padding: 6px 8px; margin: 4px 2px 8px; display: flex; flex-direction: column; gap: 4px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.nx-map-feed-empty { margin: auto; padding: 0 14px; text-align: center; color: var(--nx-text2); font-size: 13px; line-height: 1.6; }
.nx-map-feed-empty i { display: block; font-size: 24px; color: var(--primary); margin-bottom: 6px; }
.nx-map-feed-empty[hidden] { display: none; }
.nx-map-msg { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; animation: nxMsgGir .25s ease-out; }
.nx-map-msg:hover { background: rgba(255, 255, 255, .03); }
.nx-map-msg img { width: 24px; height: 24px; flex-shrink: 0; border-radius: 6px; image-rendering: pixelated; margin-top: 2px; }
.nx-map-msg > div { min-width: 0; }
.nx-map-msg-head { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.nx-map-msg-head b { color: #fff; font-size: 13px; }
.nx-map-msg-head time { margin-left: auto; color: var(--nx-text2); font-size: 11px; }
.nx-map-tag { padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: rgba(34, 197, 94, .14); color: var(--nx-success); }
.nx-map-msg.site .nx-map-tag { background: var(--p15); color: var(--primary); }
.nx-map-msg p { margin: 1px 0 0; color: #d4d4d8; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
@keyframes nxMsgGir { from { opacity: 0; transform: translateY(6px); } }
.nx-map-input { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 8px; border-radius: 14px; border: 1px solid var(--nx-line); background: rgba(0, 0, 0, .35); transition: border-color .2s; }
.nx-map-input:focus-within { border-color: color-mix(in oklab, var(--primary) 60%, transparent); }
.nx-map-input img { width: 26px; height: 26px; border-radius: 7px; image-rendering: pixelated; }
.nx-map-input input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 14px; outline: none; }
.nx-map-send { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--primary); color: var(--primary-fg); cursor: pointer; transition: filter .2s, transform .2s; }
.nx-map-send:hover { filter: brightness(1.1); transform: translateY(-1px); }
.nx-map-send:disabled { opacity: .6; cursor: wait; }
.nx-map-chatcard .nx-map-chat { padding: 0 6px 6px; }
.nx-map-chatcard .nx-map-note { margin-top: 8px; padding: 0 4px; }
.nx-map-chatcard .nx-map-locked { padding: 4px 10px 12px; }
.nx-map-chatcard .nx-map-locked p { display: flex; align-items: center; justify-content: center; gap: 8px; }
.nx-map-chatcard .nx-map-locked p i { font-size: 14px; margin: 0; }

@media (max-width: 1200px) { .nx-map-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .nx-map-side { position: static; } }
@media (max-width: 600px) {
  .nx-map-feats { grid-template-columns: 1fr; }
  .nx-map-chip { display: none; }
  .nx-map-feed { height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .nx-map-msg { animation: none; } }

/* Harita sayfası: oyuncu listesi */
.nx-map-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--p15); color: var(--primary); font-size: 11px; vertical-align: 2px; }
.nx-map-players { display: flex; flex-direction: column; gap: 4px; max-height: 300px; overflow-y: auto; padding: 4px 6px 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.nx-map-players .nx-map-feed-empty { padding: 18px 10px; }
.nx-map-player { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, .03); color: inherit; font: inherit; text-align: left; transition: background .15s, border-color .15s; }
button.nx-map-player { cursor: pointer; }
button.nx-map-player:hover { background: var(--p15); border-color: color-mix(in oklab, var(--primary) 40%, transparent); }
.nx-map-player img { width: 28px; height: 28px; border-radius: 8px; image-rendering: pixelated; }
.nx-map-player-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nx-map-player-info b { color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-map-player-info small { color: var(--nx-text2); font-size: 11px; }
.nx-map-player.uzak { opacity: .7; }
.nx-map-hp { width: 44px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; flex-shrink: 0; }
.nx-map-hp i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(to right, #ef4444, #f87171); }
/* Harita çubuğu başlıksız: çip ve tam ekran sağda */
.nx-map-bar { justify-content: flex-end; padding: 10px 12px; }

/* =====================================================================
   Alt sayfa başlıkları: düz kutu yerine sitenin görseliyle afiş
   ===================================================================== */
.page-head { position: relative; overflow: hidden; min-height: 150px; padding: 30px 32px; background: linear-gradient(90deg, #0f0f0f 30%, rgba(15, 15, 15, .7) 65%, rgba(15, 15, 15, .35)), var(--page-bg) center 40% / cover; }
.page-head::after { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--primary), transparent 60%); }
.page-head > * { position: relative; z-index: 1; }
.page-head .kicker { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--p15); border: 1px solid var(--p25); }
.page-head h1 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 12px; text-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.page-head p { color: #d4d4d8; }
@media (max-width: 640px) { .page-head { padding: 22px 20px; min-height: 0; } }

/* Oy ver sayfası */
.vote-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.vote-steps div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--nx-card); border: 1px solid var(--nx-line); color: var(--nx-text2); font-size: 14px; }
.vote-steps b { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background: var(--primary); color: var(--primary-fg); }
.vote-card { position: relative; padding: 30px 20px 24px; gap: 8px; }
.vote-card .vote-icon { width: 72px; height: 72px; font-size: 28px; border-radius: 20px; clip-path: none; background: linear-gradient(135deg, var(--p25), var(--p07)); border: 1px solid var(--p25); }
.vote-card h3 { margin: 6px 0 0; font-size: 18px; }
.vote-host { color: var(--nx-text2); font-size: 13px; margin-bottom: 6px; }
.vote-no { position: absolute; top: 14px; left: 14px; padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--nx-text2); font-size: 12px; font-weight: 600; }
@media (max-width: 760px) { .vote-steps { grid-template-columns: 1fr; } }

/* =====================================================================
   Çarkıfelek
   ===================================================================== */
.wheel-card { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 34px 20px 26px; background: radial-gradient(circle at 50% 42%, var(--p15), transparent 62%), var(--nx-card); }
.wheel-wrap { position: relative; width: min(520px, 100%); aspect-ratio: 1; }
.wheel-wrap canvas { width: 100%; height: 100%; display: block; border-radius: 50%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px color-mix(in oklab, var(--primary) 30%, transparent)); }
.wheel-pointer { position: absolute; left: 50%; top: -6px; z-index: 2; width: 0; height: 0; transform: translateX(-50%); border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 38px solid #fff; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.wheel-hub { position: absolute; left: 50%; top: 50%; z-index: 2; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 6px solid #1b1b1f; background: radial-gradient(circle at 35% 30%, #fff, #ffd1e0 30%, var(--primary) 75%); color: #2a0d1a; font: 800 clamp(14px, 2.4vw, 22px) var(--font-sans); letter-spacing: .04em; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 -6px 12px rgba(0, 0, 0, .2); transition: transform .15s; }
.wheel-hub:hover:not(:disabled) { transform: translate(-50%, -50%) scale(1.06); }
.wheel-hub:disabled { cursor: wait; filter: saturate(.6); }
.wheel-wrap.spinning .wheel-pointer { animation: wheelTick .12s ease-in-out infinite alternate; }
@keyframes wheelTick { to { transform: translateX(-50%) rotate(-8deg); } }
.wheel-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wi-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--nx-line); color: var(--nx-text2); font-size: 14px; }
.wi-chip b { color: #fff; }
.wi-chip.free { background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .4); color: #86efac; }
.wheel-legend { display: flex; flex-direction: column; gap: 8px; }
.wheel-legend div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.wheel-legend i { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.wheel-legend span { flex: 1; }
.wheel-legend small { padding: 2px 8px; border-radius: 6px; background: var(--p15); color: var(--primary); font-size: 11px; }
.wheel-last { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--nx-line); font-size: 13px; }
.wheel-last:last-child { border-bottom: 0; }
.wheel-last .av { width: 26px; height: 26px; border-radius: 7px; }
.wheel-last span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.wheel-last small { color: var(--nx-text2); font-size: 11px; }
.wheel-last em { font-style: normal; color: var(--nx-text2); font-size: 12px; text-align: right; }
.wheel-last em.won { color: #86efac; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .wheel-wrap.spinning .wheel-pointer { animation: none; } }

/* Çarkıfelek: efekt katmanı, ses düğmesi, sonuç satırı, tık animasyonu */
.wheel-fx { position: absolute; inset: -12%; width: 124% !important; height: 124% !important; pointer-events: none; z-index: 3; filter: none !important; border-radius: 0 !important; }
.wheel-mute { position: absolute; right: 0; top: 0; z-index: 4; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--nx-line); background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }
.wheel-mute:hover { border-color: var(--p35); color: var(--primary); }
.wheel-wrap.tick .wheel-pointer { animation: wheelKick .14s ease-out; }
.wheel-wrap.spinning .wheel-pointer { animation: none; }
.wheel-wrap.spinning.tick .wheel-pointer { animation: wheelKick .14s ease-out; }
@keyframes wheelKick { 0% { transform: translateX(-50%) rotate(0); } 40% { transform: translateX(-50%) rotate(-16deg); } 100% { transform: translateX(-50%) rotate(0); } }
.wheel-result { padding: 12px 20px; border-radius: 14px; font-size: 16px; text-align: center; animation: wheelPop .4s cubic-bezier(.2, 1.6, .4, 1); }
.wheel-result.won { background: rgba(34, 197, 94, .15); border: 1px solid rgba(34, 197, 94, .45); color: #bbf7d0; }
.wheel-result.won.big { background: linear-gradient(90deg, rgba(234, 179, 8, .25), rgba(255, 92, 138, .25)); border-color: #eab308; color: #fff; }
.wheel-result.lost { background: rgba(255, 255, 255, .05); border: 1px solid var(--nx-line); color: var(--nx-text2); }
.wheel-result i { margin-right: 6px; }
@keyframes wheelPop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.wheel-legend small { background: rgba(255, 255, 255, .06); color: var(--nx-text2); }
@media (prefers-reduced-motion: reduce) { .wheel-result { animation: none; } .wheel-wrap.tick .wheel-pointer { animation: none; } }

/* =====================================================================
   Ana sayfa sinematik giriş (hero-fx.js): büyük kahraman, ışık huzmeleri,
   kıvılcımlar, fareyle derinlik, açılış animasyonu, "Hemen Oyna" çağrısı.
   Alt sayfaların kahramanı (.nx-hero-sub) değişmez.
   ===================================================================== */
.nx-hero:not(.nx-hero-sub) { --mx: 0; --my: 0; min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: center; padding: 5rem 0 7.5rem; }
.nx-hero .nx-hero-bg { animation: none; transform: scale(1.12) translate(calc(var(--mx) * -26px), calc(var(--my) * -18px)); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1), opacity 1.6s ease; }
.nx-hero.nx-in .nx-hero-bg { transform: scale(1.05) translate(calc(var(--mx) * -26px), calc(var(--my) * -18px)); transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity 1.6s ease; }
html.fx .nx-hero:not(.nx-in) .nx-hero-bg { opacity: 0; }
.nx-hero:not(.nx-hero-sub) .nx-hero-bg { opacity: .55; }

/* Logonun arkasında yavaşça dönen ışık huzmeleri */
.nx-rays { position: absolute; left: 50%; top: 44%; width: 1100px; height: 1100px; translate: -50% -50%; z-index: -1; pointer-events: none; opacity: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in oklab, var(--primary) 16%, transparent) 0deg 6deg, transparent 6deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .55) 30%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .55) 30%, transparent 62%);
  animation: nxSpin 90s linear infinite; transition: opacity 2s ease .4s; }
.nx-in .nx-rays { opacity: .9; }
@keyframes nxSpin { to { rotate: 360deg; } }

/* Yükselen pembe kıvılcımlar */
.nx-embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.nx-embers i { position: absolute; left: var(--x); bottom: -20px; width: var(--s); height: var(--s); border-radius: 2px; background: color-mix(in oklab, var(--primary) 85%, #fff); box-shadow: 0 0 10px 2px color-mix(in oklab, var(--primary) 70%, transparent); opacity: 0; animation: nxEmber var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes nxEmber { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: .9; } 80% { opacity: .55; } 100% { transform: translate(var(--dx), -82vh) rotate(180deg); opacity: 0; } }

/* Katmanlar fareyle farklı derinlikte kayar */
.nx-hero .nx-hero-logo { translate: calc(var(--mx) * 14px) calc(var(--my) * 10px); }
.nx-hero .nx-stat { translate: calc(var(--mx) * 8px) calc(var(--my) * 6px); }

/* Büyük logo + ışık parlaması geçen isim */
.nx-hero:not(.nx-hero-sub) .nx-hero-logo img { width: 260px; }
.nx-hero:not(.nx-hero-sub) .nx-hero-logo::before { width: 420px; height: 420px; animation: nxPulse 4s ease-in-out infinite; }
@keyframes nxPulse { 50% { opacity: .6; scale: 1.08; } }
.nx-hero:not(.nx-hero-sub) .nx-hero-name { position: relative; overflow: hidden; font-size: 60px; padding: 0 .1em; }
.nx-hero:not(.nx-hero-sub) .nx-hero-name::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); mix-blend-mode: overlay; translate: -120% 0; animation: nxShine 5.5s ease-in-out 1.6s infinite; }
@keyframes nxShine { 0%, 60% { translate: -120% 0; } 85%, 100% { translate: 120% 0; } }
.nx-hero-slogan { margin-top: 8px; text-align: center; text-wrap: balance; font-size: 13px; font-weight: 700; letter-spacing: .5em; text-transform: uppercase; color: rgba(255, 255, 255, .72); padding-left: .5em; }

/* "Hemen Oyna" çağrısı */
.nx-hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.nx-play { display: inline-flex; align-items: center; gap: 14px; padding: 14px 30px 14px 16px !important; border-radius: 18px !important; font-size: 16px; animation: nxRing 2.6s ease-out 2s infinite; }
.nx-play > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 0, 0, .18); font-size: 16px; }
.nx-play span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.nx-play b { font-size: 18px; font-weight: 800; } .nx-play small { font-size: 12px; opacity: .85; font-weight: 600; }
@keyframes nxRing { 0% { box-shadow: 0 18px 40px -14px color-mix(in oklab, var(--primary) 80%, transparent), 0 0 0 0 color-mix(in oklab, var(--primary) 55%, transparent); } 100% { box-shadow: 0 18px 40px -14px color-mix(in oklab, var(--primary) 80%, transparent), 0 0 0 18px transparent; } }
.nx-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px !important; border-radius: 18px !important; font-weight: 700; color: #fff !important; background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .16) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nx-ghost:hover { background: rgba(255, 255, 255, .12) !important; border-color: color-mix(in oklab, var(--primary) 60%, transparent) !important; }

/* Aşağı kaydır işareti */
.nx-scroll { position: absolute; left: 50%; bottom: 46px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .45); z-index: 2; }
.nx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: nxWheel 1.8s ease-in-out infinite; }
@keyframes nxWheel { 0% { opacity: 0; translate: 0 0; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 14px; } }
.nx-anchor { display: block; position: relative; top: -90px; }

/* Açılış sırası: logo → yan kutular → buton */
html.fx .nx-hero:not(.nx-in) .nx-hero-logo, html.fx .nx-hero:not(.nx-in) .nx-stat, html.fx .nx-hero:not(.nx-in) .nx-hero-cta, html.fx .nx-hero:not(.nx-in) .nx-scroll { opacity: 0; }
.nx-in .nx-hero-logo { animation: nxDrop 1.1s cubic-bezier(.2, 1.3, .3, 1) .15s both; }
.nx-in .nx-stat:not(.right) { animation: nxSlideL .9s cubic-bezier(.2, .9, .2, 1) .7s both; }
.nx-in .nx-stat.right { animation: nxSlideR .9s cubic-bezier(.2, .9, .2, 1) .7s both; }
.nx-in .nx-hero-cta { animation: nxUp .8s cubic-bezier(.2, .9, .2, 1) 1s both; }
.nx-in .nx-scroll { animation: nxUp .8s ease 1.6s both; }
@keyframes nxDrop { 0% { opacity: 0; transform: translateY(-40px) scale(.7); filter: brightness(2.2) blur(6px); } 60% { opacity: 1; filter: brightness(1.4) blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes nxSlideL { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } }
@keyframes nxSlideR { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
@keyframes nxUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Aşağı kaydırınca bölümler belirir */
.nx-reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease var(--rd, 0ms), transform .8s cubic-bezier(.2, .8, .2, 1) var(--rd, 0ms); }
.nx-reveal.nx-shown { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .nx-hero:not(.nx-hero-sub) { min-height: 0; padding: 3rem 0 6.5rem; }
  .nx-hero:not(.nx-hero-sub) .nx-hero-logo img { width: 160px; }
  .nx-hero:not(.nx-hero-sub) .nx-hero-name { font-size: 38px; }
  .nx-hero:not(.nx-hero-sub) .nx-hero-logo::before { width: 260px; height: 260px; }
  .nx-hero-slogan { max-width: 300px; font-size: 10.5px; letter-spacing: .22em; line-height: 1.7; text-align: center; text-wrap: balance; }
  .nx-rays { width: 700px; height: 700px; top: 26%; }
  .nx-hero-cta { margin-top: 22px; } .nx-hero-cta .btn { width: 100%; justify-content: center; } .nx-ghost { padding: 14px !important; }
  .nx-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-rays, .nx-embers, .nx-play, .nx-hero-name::after, .nx-hero-logo::before { animation: none !important; }
  .nx-hero .nx-hero-logo, .nx-hero .nx-stat, .nx-hero-cta, .nx-scroll, .nx-hero .nx-hero-bg { opacity: 1 !important; animation: none !important; }
  .nx-hero:not(.nx-hero-sub) .nx-hero-bg { opacity: .55 !important; } .nx-hero-sub .nx-hero-bg { opacity: .38 !important; }
  .nx-embers { display: none; }
}

/* Alt sayfalar: aynı efektler, daha kısa açılış */
.nx-hero-sub .nx-rays { width: 820px; height: 820px; top: 50%; }
.nx-hero-sub.nx-in .nx-hero-logo { animation-duration: .8s; animation-delay: 0s; }
.nx-hero-sub.nx-in .nx-stat:not(.right), .nx-hero-sub.nx-in .nx-stat.right { animation-delay: .25s; animation-duration: .7s; }

/* =====================================================================
   Kartlar: fareyi takip eden ışık + hafif 3D eğilme (site-fx.js)
   ===================================================================== */
.fx-glow-layer { position: absolute; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .3s ease; mix-blend-mode: screen;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), color-mix(in oklab, var(--primary) 22%, transparent), transparent 45%); }
.fx-glow-layer.on { opacity: 1; }
.fx-hot { border-color: color-mix(in oklab, var(--primary) 45%, transparent) !important; }
.cat-grid, .shop-grid, .grid-4, .nx-news, .pp-related, .related-grid { perspective: 1100px; }
.cat-card, .product, .nx-news-card, .package { transition: rotate .25s ease-out, transform .25s, box-shadow .25s, border-color .25s; }

/* Aşağı kaydırınca belirme (sadece ilk ekranın altındakiler) */
.nx-reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease var(--rd, 0ms), transform .8s cubic-bezier(.2, .8, .2, 1) var(--rd, 0ms); }
.nx-reveal.nx-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nx-reveal { opacity: 1 !important; transform: none !important; } .fx-glow-layer { display: none; } }
