/* İlkokul Dijital Oyun Portalı — v11 güvenli sürüm
   - MutationObserver yoktur.
   - :has() yoktur.
   - Kartlar statik HTML'dir; sayfa donmasını önler.
   - Site tema düğmesi html/body data-bs-theme, dark-mode, theme-dark sınıfları üzerinden otomatik etkiler.
   - Oyun kartları canlı, net ve temiz sıvı metal görünümündedir; beyaz eskitme/yansıma efektleri kaldırılmıştır.
   - Gece modu arka planı referans tasarımdaki derin uzay görünümüne uyarlanmıştır.
   - Kart renkleri daha canlı ve daha net hale getirilmiştir.
*/
.ild-game-portal-neon-safe,
.ild-game-portal-neon-safe *{box-sizing:border-box}

.ild-gp-page { width: 100%; min-width: 0; background: #000; }
.ild-gp-page-trail { box-sizing: border-box; width: 100%; max-width: 1668px; margin: 0 auto; padding: 12px clamp(12px, 2.2vw, 34px) 0; }

.ild-game-portal-neon-safe{
  --gp-text:#07304f;
  --gp-muted:rgba(7,48,79,.76);
  --gp-star:#0284c7;
  --gp-starbox:#f4fbff;
  --gp-page-1:#eaf8ff;
  --gp-page-2:#f4fbff;
  --gp-page-3:#eef2ff;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:calc(100vh - 80px);
  padding:72px clamp(14px,5vw,72px) 88px;
  color:var(--gp-text);
  font-family:Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 17%,rgba(14,165,233,.23) 0,transparent 25%),
    radial-gradient(circle at 88% 27%,rgba(168,85,247,.16) 0,transparent 24%),
    radial-gradient(circle at 55% 8%,rgba(59,130,246,.12) 0,transparent 34%),
    linear-gradient(180deg,var(--gp-page-1) 0%,var(--gp-page-2) 43%,var(--gp-page-3) 100%);
}
.ild-game-portal-neon-safe::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-4;background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 22%,transparent 78%,rgba(255,255,255,.06));opacity:.45}
.ild-game-portal-neon-safe::after{
  content:"";
  position:absolute;
  inset:-12% -6%;
  pointer-events:none;
  z-index:-3;
  background:
    radial-gradient(ellipse at 24% 20%,rgba(56,189,248,.18) 0 12%,transparent 31%),
    radial-gradient(ellipse at 82% 51%,rgba(147,51,234,.12) 0 17%,transparent 39%),
    radial-gradient(ellipse at 52% 92%,rgba(34,197,94,.10) 0 18%,transparent 37%);
}

html[data-bs-theme="dark"] .ild-game-portal-neon-safe,
body[data-bs-theme="dark"] .ild-game-portal-neon-safe,
body.dark-mode .ild-game-portal-neon-safe,
body.theme-dark .ild-game-portal-neon-safe{
  --gp-text:#f4f8ff;
  --gp-muted:rgba(239,246,255,.72);
  --gp-star:#7dd3fc;
  --gp-starbox:#071126;
  --gp-page-1:#031127;
  --gp-page-2:#07123a;
  --gp-page-3:#120a36;
  background:
    radial-gradient(circle at 16% 18%,rgba(0,140,255,.14) 0,transparent 21%),
    radial-gradient(circle at 80% 19%,rgba(196,70,255,.18) 0,transparent 22%),
    radial-gradient(circle at 50% 9%,rgba(100,82,255,.18) 0,transparent 26%),
    radial-gradient(circle at 74% 54%,rgba(74,124,255,.08) 0,transparent 17%),
    linear-gradient(180deg,var(--gp-page-1) 0%,var(--gp-page-2) 28%,var(--gp-page-3) 62%,#080c1f 100%);
}
html[data-bs-theme="dark"] .ild-game-portal-neon-safe::before,
body[data-bs-theme="dark"] .ild-game-portal-neon-safe::before,
body.dark-mode .ild-game-portal-neon-safe::before,
body.theme-dark .ild-game-portal-neon-safe::before{background:linear-gradient(180deg,rgba(255,255,255,.03),transparent 22%,transparent 82%,rgba(255,255,255,.02));opacity:.54}
html[data-bs-theme="dark"] .ild-game-portal-neon-safe::after,
body[data-bs-theme="dark"] .ild-game-portal-neon-safe::after,
body.dark-mode .ild-game-portal-neon-safe::after,
body.theme-dark .ild-game-portal-neon-safe::after{
  background:
    radial-gradient(ellipse at 18% 18%,rgba(56,189,248,.10) 0 12%,transparent 31%),
    radial-gradient(ellipse at 82% 16%,rgba(216,70,255,.11) 0 14%,transparent 34%),
    radial-gradient(ellipse at 84% 54%,rgba(109,40,217,.12) 0 18%,transparent 38%),
    radial-gradient(ellipse at 50% 82%,rgba(34,197,94,.04) 0 14%,transparent 32%);
}

.ild-gp-bg{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
.ild-gp-bg::before{
  content:"";
  position:absolute;
  width:min(82vw,1280px);
  height:240px;
  top:64px;
  left:50%;
  transform:translateX(-50%) rotate(2deg);
  background:radial-gradient(ellipse at 50% 50%,transparent 0 61%,rgba(56,189,248,.18) 62%,transparent 64%);
  opacity:.7;
}
.ild-gp-bg::after{
  content:"";
  position:absolute;
  right:clamp(24px,8vw,160px);
  top:118px;
  width:238px;
  height:238px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(168,85,247,.12),transparent 68%);
}
html[data-bs-theme="dark"] .ild-gp-bg::before,
body[data-bs-theme="dark"] .ild-gp-bg::before,
body.dark-mode .ild-gp-bg::before,
body.theme-dark .ild-gp-bg::before{
  width:min(90vw,1460px);
  height:285px;
  top:58px;
  background:
    radial-gradient(ellipse at 50% 50%,transparent 0 57%,rgba(49,184,255,.16) 58.6%,transparent 61.2%),
    radial-gradient(ellipse at 50% 50%,transparent 0 70%,rgba(160,120,255,.12) 71.6%,transparent 73.9%);
  opacity:.95;
}
html[data-bs-theme="dark"] .ild-gp-bg::after,
body[data-bs-theme="dark"] .ild-gp-bg::after,
body.dark-mode .ild-gp-bg::after,
body.theme-dark .ild-gp-bg::after{
  right:clamp(28px,8vw,170px);
  top:96px;
  width:500px;
  height:360px;
  border-radius:32px;
  background:
    radial-gradient(circle at 16% 18%,rgba(216,70,255,.12) 0,transparent 8%),
    radial-gradient(circle at 26% 30%,rgba(216,70,255,.12) 0,transparent 8%),
    radial-gradient(circle at 38% 18%,rgba(216,70,255,.12) 0,transparent 8%),
    radial-gradient(circle at 48% 30%,rgba(216,70,255,.12) 0,transparent 8%),
    radial-gradient(circle at 60% 18%,rgba(216,70,255,.12) 0,transparent 8%),
    radial-gradient(circle at 72% 30%,rgba(216,70,255,.12) 0,transparent 8%),
    radial-gradient(circle at 84% 18%,rgba(216,70,255,.12) 0,transparent 8%),
    radial-gradient(circle at 16% 44%,rgba(96,165,250,.10) 0,transparent 8%),
    radial-gradient(circle at 28% 56%,rgba(96,165,250,.10) 0,transparent 8%),
    radial-gradient(circle at 40% 44%,rgba(96,165,250,.10) 0,transparent 8%),
    radial-gradient(circle at 52% 56%,rgba(96,165,250,.10) 0,transparent 8%),
    radial-gradient(circle at 64% 44%,rgba(96,165,250,.10) 0,transparent 8%),
    radial-gradient(circle at 76% 56%,rgba(96,165,250,.10) 0,transparent 8%),
    radial-gradient(circle at 88% 44%,rgba(96,165,250,.10) 0,transparent 8%),
    radial-gradient(circle at 50% 50%,rgba(168,85,247,.14),transparent 70%);
  background-size:22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,22px 22px,auto;
  filter:blur(0);
  opacity:.62;
}
.ild-gp-dots{display:none}.ild-gp-dots{position:absolute;right:clamp(22px,7vw,150px);top:112px;width:390px;height:245px;pointer-events:none;z-index:-1;border-radius:26px;opacity:0}.ild-gp-dots::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(0,0,0,.08) 1.1px,transparent 1.4px);background-size:18px 18px}
.ild-gp-stars{position:absolute;inset:0;z-index:-1;pointer-events:none}
.ild-gp-stars i{position:absolute;display:block;width:8px;height:8px;transform:rotate(45deg);background:currentColor;box-shadow:0 0 18px currentColor;opacity:.72}
html[data-bs-theme="dark"] .ild-gp-stars i,
body[data-bs-theme="dark"] .ild-gp-stars i,
body.dark-mode .ild-gp-stars i,
body.theme-dark .ild-gp-stars i{opacity:.95}
html[data-bs-theme="dark"] .ild-gp-dots,
body[data-bs-theme="dark"] .ild-gp-dots,
body.dark-mode .ild-gp-dots,
body.theme-dark .ild-gp-dots{display:block;opacity:.55}
html[data-bs-theme="dark"] .ild-gp-dots::before,
body[data-bs-theme="dark"] .ild-gp-dots::before,
body.dark-mode .ild-gp-dots::before,
body.theme-dark .ild-gp-dots::before{background-image:radial-gradient(circle,rgba(180,155,255,.34) 1.1px,transparent 1.45px)}
.ild-gp-stars i:nth-child(1){left:11%;top:19%;color:#d946ef;width:7px;height:7px}.ild-gp-stars i:nth-child(2){left:16.5%;top:21%;color:#38bdf8;width:9px;height:9px}.ild-gp-stars i:nth-child(3){left:50%;top:28%;color:#7dd3fc;width:12px;height:12px}.ild-gp-stars i:nth-child(4){right:20%;top:24%;color:#f59e0b;width:7px;height:7px}.ild-gp-stars i:nth-child(5){right:17%;top:17%;color:#d946ef;width:10px;height:10px}.ild-gp-stars i:nth-child(6){left:3.5%;bottom:12%;color:#d946ef;width:6px;height:6px}

.ild-gp-hero{position:relative;text-align:center;max-width:1220px;margin:0 auto 28px}.ild-gp-heading-wrap{display:inline-block;position:relative;line-height:1}.ild-gp-heading-wrap::before{content:attr(data-text);position:absolute;inset:0;font-family:Sora, Nunito, system-ui, sans-serif;font-size:clamp(40px,5.2vw,78px);font-weight:900;letter-spacing:-.055em;line-height:1.02;background:linear-gradient(90deg,#0284c7 0%,#06b6d4 22%,#7c3aed 47%,#f97316 72%,#e11d48 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:blur(18px);opacity:.54;z-index:-1}.ild-gp-heading{margin:0;font-family:Sora, Nunito, system-ui, sans-serif;font-size:clamp(40px,5.2vw,78px);font-weight:900;letter-spacing:-.055em;line-height:1.02;background:linear-gradient(90deg,#0284c7 0%,#06b6d4 22%,#7c3aed 47%,#f97316 72%,#e11d48 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 34px rgba(96,165,250,.18)}
html[data-bs-theme="dark"] .ild-gp-heading-wrap::before,
body[data-bs-theme="dark"] .ild-gp-heading-wrap::before,
body.dark-mode .ild-gp-heading-wrap::before,
body.theme-dark .ild-gp-heading-wrap::before{background:linear-gradient(90deg,#fb923c 0%,#f59e0b 14%,#f472b6 34%,#a78bfa 52%,#60a5fa 74%,#22d3ee 100%);-webkit-background-clip:text;background-clip:text;color:transparent;opacity:.58;filter:blur(20px)}
html[data-bs-theme="dark"] .ild-gp-heading,
body[data-bs-theme="dark"] .ild-gp-heading,
body.dark-mode .ild-gp-heading,
body.theme-dark .ild-gp-heading{background:linear-gradient(90deg,#fb923c 0%,#f59e0b 14%,#f472b6 34%,#a78bfa 52%,#60a5fa 74%,#22d3ee 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 34px rgba(96,165,250,.20)}
.ild-gp-line{width:min(520px,62vw);height:3px;margin:26px auto 8px;border-radius:999px;background:linear-gradient(90deg,transparent 0%,#22d3ee 18%,#a78bfa 50%,#22d3ee 82%,transparent 100%);position:relative;box-shadow:0 0 18px rgba(56,189,248,.30)}.ild-gp-line::before{content:"✦";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:36px;height:28px;display:grid;place-items:center;color:var(--gp-star);background:var(--gp-starbox);text-shadow:0 0 18px currentColor;font-size:22px}.ild-gp-subtitle{margin:0;font-size:clamp(14px,1.35vw,18px);font-weight:700;letter-spacing:.02em;color:var(--gp-muted);text-shadow:0 2px 18px rgba(255,255,255,.65)}
html[data-bs-theme="dark"] .ild-gp-subtitle,
body[data-bs-theme="dark"] .ild-gp-subtitle,
body.dark-mode .ild-gp-subtitle,
body.theme-dark .ild-gp-subtitle{text-shadow:0 2px 18px rgba(0,0,0,.65)}
html[data-bs-theme="dark"] .ild-gp-hero::before,
body[data-bs-theme="dark"] .ild-gp-hero::before,
body.dark-mode .ild-gp-hero::before,
body.theme-dark .ild-gp-hero::before{
  content:"";
  position:absolute;
  left:50%;
  top:-30px;
  transform:translateX(-50%);
  width:min(82vw,1120px);
  height:240px;
  border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(125,211,252,.12) 0%,rgba(168,85,247,.10) 28%,rgba(59,130,246,.05) 44%,transparent 72%);
  filter:blur(10px);
  pointer-events:none;
  z-index:-1;
}

.ild-gp-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;width:100%;max-width:1600px;margin:28px auto 0}
.ild-gp-card{
  --c1:#0b2e7a;
  --c2:#1f78ff;
  --c3:#36c2ff;
  --glow:#38bdf8;
  position:relative;
  display:flex;
  min-height:178px;
  border-radius:24px;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  isolation:isolate;
  border:1px solid rgba(255,255,255,.32);
  background:
    linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.01) 20%,rgba(0,0,0,.10) 100%),
    linear-gradient(145deg,var(--c1) 0%,var(--c2) 54%,var(--c3) 100%);
  box-shadow:
    0 16px 32px rgba(0,0,0,.22),
    0 0 22px color-mix(in srgb,var(--glow) 20%,transparent),
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -16px 24px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.06);
}
.ild-gp-card::before{content:none}
.ild-gp-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.02),transparent 30%,transparent 78%,rgba(255,255,255,.03) 100%),
    radial-gradient(ellipse at 50% 102%,color-mix(in srgb,var(--glow) 28%,transparent) 0%,transparent 50%);
  opacity:.88;
}
.ild-gp-card:hover,
.ild-gp-card:focus-visible{
  filter:saturate(1.06) brightness(1.03);
  outline:none;
  border-color:rgba(255,255,255,.40);
  box-shadow:
    0 18px 34px rgba(0,0,0,.24),
    0 0 24px color-mix(in srgb,var(--glow) 24%,transparent),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -16px 24px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.07);
}
.ild-gp-motif{display:none!important}
.ild-gp-light{position:absolute;left:50%;bottom:0;width:94px;height:4px;transform:translateX(-50%);background:linear-gradient(90deg,transparent 0%,var(--glow) 20%,#fff 50%,var(--glow) 80%,transparent 100%);border-radius:999px;box-shadow:0 0 10px color-mix(in srgb,var(--glow) 46%,transparent),0 0 18px color-mix(in srgb,var(--glow) 20%,transparent);z-index:4;opacity:.96}
.ild-gp-inner{position:relative;z-index:5;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:26px 16px 24px}
.ild-gp-icon{position:relative;overflow:hidden;width:74px;height:60px;border-radius:20px;display:grid;place-items:center;font-size:31px;line-height:1;background:linear-gradient(180deg,rgba(255,255,255,.12) 0%,rgba(255,255,255,.06) 48%,rgba(0,0,0,.06) 100%);border:1px solid rgba(255,255,255,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -12px 14px rgba(0,0,0,.08),0 10px 18px rgba(0,0,0,.16)}
.ild-gp-icon::before{content:none}
.ild-gp-num{font-family:Sora, Nunito, system-ui, sans-serif;font-size:14px;line-height:1;font-weight:900;letter-spacing:.14em;color:rgba(255,255,255,.92);text-shadow:0 2px 10px rgba(0,0,0,.30)}
.ild-gp-title{font-family:Sora, Nunito, system-ui, sans-serif;font-size:clamp(15px,1.04vw,18px);line-height:1.16;font-weight:900;letter-spacing:-.01em;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.34)}
.theme-a{--c1:#2c2269;--c2:#7647ef;--c3:#bb63ff;--glow:#b793ff}.theme-b{--c1:#0a2b70;--c2:#1d6ff7;--c3:#47c7ff;--glow:#4cc9ff}.theme-c{--c1:#08513e;--c2:#11ad77;--c3:#40ebb1;--glow:#4ce3b0}.theme-d{--c1:#8a4f00;--c2:#df8f00;--c3:#ffc52f;--glow:#ffca3a}.theme-e{--c1:#a81647;--c2:#e12864;--c3:#ff5f8a;--glow:#ff6d97}.theme-f{--c1:#0c4b46;--c2:#12ac9f;--c3:#3ef1e3;--glow:#40e8d0}.theme-g{--c1:#8a390d;--c2:#e25f15;--c3:#ffa066;--glow:#ff9a52}.theme-h{--c1:#252b6d;--c2:#6170e6;--c3:#a9b3ff;--glow:#94a0ff}.theme-i{--c1:#65208c;--c2:#b12ae3;--c3:#f06fff;--glow:#ef88ff}.theme-j{--c1:#114a28;--c2:#31b55a;--c3:#91ffaf;--glow:#98ffb3}
@supports not (color:color-mix(in srgb, red 50%, transparent)){
  .ild-gp-card{box-shadow:0 16px 32px rgba(0,0,0,.22),0 0 22px rgba(56,189,248,.18),inset 0 1px 0 rgba(255,255,255,.14),inset 0 -16px 24px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.06)}
  .ild-gp-card:hover,.ild-gp-card:focus-visible{box-shadow:0 18px 34px rgba(0,0,0,.24),0 0 24px rgba(56,189,248,.22),inset 0 1px 0 rgba(255,255,255,.16),inset 0 -16px 24px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.07)}
  .ild-gp-light{box-shadow:0 0 10px rgba(56,189,248,.46),0 0 18px rgba(56,189,248,.20)}
  .ild-gp-card::after{background:linear-gradient(180deg,rgba(255,255,255,.02),transparent 30%,transparent 78%,rgba(255,255,255,.03) 100%)}
}
@media(max-width:1280px){.ild-game-portal-neon-safe{padding-left:clamp(16px,4vw,44px);padding-right:clamp(16px,4vw,44px)}.ild-gp-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1040px}}
@media(max-width:980px){.ild-game-portal-neon-safe{padding-top:56px;padding-bottom:64px}.ild-gp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:760px}.ild-gp-card{min-height:156px;border-radius:19px}.ild-gp-heading,.ild-gp-heading-wrap::before{font-size:clamp(34px,7.5vw,58px)}}
@media(max-width:640px){.ild-game-portal-neon-safe{padding:40px 12px 54px}.ild-gp-bg::before{top:42px;height:210px;width:110vw}.ild-gp-line{margin-top:18px;width:78vw}.ild-gp-subtitle{font-size:13.5px}.ild-gp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px;max-width:440px}.ild-gp-card{min-height:132px;border-radius:16px}.ild-gp-inner{padding:15px 8px 16px;gap:7px}.ild-gp-icon{width:52px;height:44px;border-radius:14px;font-size:24px}.ild-gp-num{font-size:11px}.ild-gp-title{font-size:12.5px;line-height:1.16}}
@media(max-width:380px){.ild-gp-title{font-size:11.5px}.ild-gp-card{min-height:122px}}
@media(prefers-reduced-motion:reduce){.ild-gp-card,.ild-gp-icon{transition:none!important}}

/* v11 — Tema CSS'i başlığı beyaza zorlarsa bunu kesin olarak ezer.
   Referans görseldeki turuncu/pembe/mor/mavi neon başlık korunur. */
html .ild-game-portal-neon-safe .ild-gp-heading,
body .ild-game-portal-neon-safe .ild-gp-heading{
  background:linear-gradient(90deg,#fb923c 0%,#f472b6 28%,#a78bfa 48%,#60a5fa 70%,#22d3ee 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:0 0 34px rgba(96,165,250,.20)!important;
}
html .ild-game-portal-neon-safe .ild-gp-heading-wrap::before,
body .ild-game-portal-neon-safe .ild-gp-heading-wrap::before{
  background:linear-gradient(90deg,#fb923c 0%,#f472b6 28%,#a78bfa 48%,#60a5fa 70%,#22d3ee 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  opacity:.68!important;
  filter:blur(20px)!important;
}

/* v11 — Gece uzay arka planını referans görseldeki gibi daha canlı tutar. */
html[data-bs-theme="dark"] .ild-game-portal-neon-safe,
body[data-bs-theme="dark"] .ild-game-portal-neon-safe,
body.dark-mode .ild-game-portal-neon-safe,
body.theme-dark .ild-game-portal-neon-safe,
body.ild-dark .ild-game-portal-neon-safe,
body.dark .ild-game-portal-neon-safe{
  background:
    radial-gradient(circle at 14% 18%,rgba(0,140,255,.16) 0,transparent 22%),
    radial-gradient(circle at 82% 20%,rgba(196,70,255,.20) 0,transparent 24%),
    radial-gradient(circle at 50% 8%,rgba(100,82,255,.20) 0,transparent 28%),
    radial-gradient(circle at 74% 54%,rgba(74,124,255,.10) 0,transparent 18%),
    linear-gradient(180deg,#031127 0%,#07123a 30%,#120a36 64%,#080c1f 100%)!important;
}

/* v11 — Kartları biraz daha net/canlı gösterir, beyaz eskitme efekti eklemez. */
.ild-game-portal-neon-safe .ild-gp-card{
  filter:saturate(1.10) contrast(1.04)!important;
}
.ild-game-portal-neon-safe .ild-gp-card::before{
  content:none!important;
}
.ild-game-portal-neon-safe .ild-gp-icon::before{
  content:none!important;
}


/* ================================================================
   v17 — Referans görselin %100 aynısı
   - Tema değişiminden ETKİLENMEZ: html,body koşulsuz override
   - Saf siyah arka plan
   - Kartlar: derin koyu + parlak neon border glow
   ================================================================ */

/* Portal container: her zaman saf siyah uzay */
html .ild-game-portal-neon-safe,
body .ild-game-portal-neon-safe,
.ild-game-portal-neon-safe {
  --gp-text: #f4f8ff !important;
  --gp-muted: rgba(220,235,255,.80) !important;
  --gp-star: #60a5fa !important;
  --gp-starbox: #000 !important;
  background: #000 !important;
  min-height: 100vh !important;
  padding: 42px clamp(14px,4vw,64px) 88px !important;
}

html .ild-game-portal-neon-safe::before,
body .ild-game-portal-neon-safe::before {
  background: transparent !important;
  opacity: 0 !important;
}

html .ild-game-portal-neon-safe::after,
body .ild-game-portal-neon-safe::after {
  background: transparent !important;
  opacity: 0 !important;
}

/* Başlık: referanstaki gibi — turuncu/pembe/mor/mavi */
html .ild-game-portal-neon-safe .ild-gp-heading,
body .ild-game-portal-neon-safe .ild-gp-heading {
  background: linear-gradient(90deg, #fb923c 0%, #f472b6 26%, #a78bfa 50%, #60a5fa 74%, #22d3ee 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: clamp(26px,3.2vw,52px) !important;
  text-shadow: none !important;
}

html .ild-game-portal-neon-safe .ild-gp-heading-wrap::before,
body .ild-game-portal-neon-safe .ild-gp-heading-wrap::before {
  background: linear-gradient(90deg, #fb923c 0%, #f472b6 26%, #a78bfa 50%, #60a5fa 74%, #22d3ee 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: blur(16px) !important;
  opacity: .55 !important;
}

/* Subtitle */
html .ild-game-portal-neon-safe .ild-gp-subtitle,
body .ild-game-portal-neon-safe .ild-gp-subtitle {
  color: rgba(200,220,255,.82) !important;
  text-shadow: none !important;
}

/* Dekoratif çizgi */
html .ild-game-portal-neon-safe .ild-gp-line,
body .ild-game-portal-neon-safe .ild-gp-line {
  background: linear-gradient(90deg, transparent, #60a5fa 30%, #a78bfa 50%, #60a5fa 70%, transparent) !important;
  box-shadow: 0 0 12px rgba(96,165,250,.35) !important;
}

/* ===== KARTLAR: Referanstaki gibi koyu+derin+parlak neon border ===== */

/* Tema renkleri — referanstaki canlılık */
html .ild-game-portal-neon-safe .theme-a,
body .ild-game-portal-neon-safe .theme-a { --c1:#1a0a4a; --c2:#6030d0; --c3:#9050ff; --glow:#9060ff }
html .ild-game-portal-neon-safe .theme-b,
body .ild-game-portal-neon-safe .theme-b { --c1:#050f3a; --c2:#1050d0; --c3:#2080ff; --glow:#40a0ff }
html .ild-game-portal-neon-safe .theme-c,
body .ild-game-portal-neon-safe .theme-c { --c1:#041e12; --c2:#0a9060; --c3:#10c878; --glow:#20e890 }
html .ild-game-portal-neon-safe .theme-d,
body .ild-game-portal-neon-safe .theme-d { --c1:#3a1800; --c2:#c07000; --c3:#e8a000; --glow:#ffb800 }
html .ild-game-portal-neon-safe .theme-e,
body .ild-game-portal-neon-safe .theme-e { --c1:#3a0420; --c2:#c01040; --c3:#e82060; --glow:#ff3070 }
html .ild-game-portal-neon-safe .theme-f,
body .ild-game-portal-neon-safe .theme-f { --c1:#031a16; --c2:#0a9088; --c3:#10c8c0; --glow:#20e8e0 }
html .ild-game-portal-neon-safe .theme-g,
body .ild-game-portal-neon-safe .theme-g { --c1:#3a1000; --c2:#c04808; --c3:#e87010; --glow:#ff8820 }
html .ild-game-portal-neon-safe .theme-h,
body .ild-game-portal-neon-safe .theme-h { --c1:#0e1040; --c2:#3040c0; --c3:#5060e0; --glow:#7080ff }
html .ild-game-portal-neon-safe .theme-i,
body .ild-game-portal-neon-safe .theme-i { --c1:#280838; --c2:#8010c0; --c3:#b020e8; --glow:#d030ff }
html .ild-game-portal-neon-safe .theme-j,
body .ild-game-portal-neon-safe .theme-j { --c1:#041808; --c2:#108840; --c3:#18c058; --glow:#20e070 }

/* Kart: referanstaki gibi koyu gradient + parlak neon border + güçlü glow */
html .ild-game-portal-neon-safe .ild-gp-card,
body .ild-game-portal-neon-safe .ild-gp-card {
  background:
    linear-gradient(160deg, var(--c1) 0%, color-mix(in srgb, var(--c1) 40%, var(--c2)) 40%, var(--c2) 70%, var(--c3) 100%) !important;
  border: 1.5px solid color-mix(in srgb, var(--glow) 60%, transparent) !important;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--glow) 20%, transparent),
    0 0 20px color-mix(in srgb, var(--glow) 40%, transparent),
    0 0 50px color-mix(in srgb, var(--glow) 18%, transparent),
    0 20px 40px rgba(0,0,0,.70),
    inset 0 1px 0 rgba(255,255,255,.15) !important;
  filter: saturate(1.20) contrast(1.06) !important;
  min-height: 185px !important;
  border-radius: 22px !important;
  transition: transform .18s, box-shadow .18s !important;
}

html .ild-game-portal-neon-safe .ild-gp-card:hover,
body .ild-game-portal-neon-safe .ild-gp-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow:
    0 0 0 1.5px color-mix(in srgb, var(--glow) 70%, transparent),
    0 0 28px color-mix(in srgb, var(--glow) 60%, transparent),
    0 0 70px color-mix(in srgb, var(--glow) 28%, transparent),
    0 24px 48px rgba(0,0,0,.80),
    inset 0 1px 0 rgba(255,255,255,.20) !important;
}

/* İkon kutusu: referanstaki yarı-şeffaf cam görünümü */
html .ild-game-portal-neon-safe .ild-gp-icon,
body .ild-game-portal-neon-safe .ild-gp-icon {
  background: rgba(0,0,0,.35) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 8px 20px rgba(0,0,0,.40) !important;
  width: 72px !important;
  height: 64px !important;
  border-radius: 18px !important;
  font-size: 30px !important;
}

/* Alt ışık çizgisi */
html .ild-game-portal-neon-safe .ild-gp-light,
body .ild-game-portal-neon-safe .ild-gp-light {
  width: 80% !important;
  height: 3px !important;
  opacity: 1 !important;
  box-shadow: 0 0 14px var(--glow), 0 0 28px var(--glow) !important;
}

/* Kart başlığı */
html .ild-game-portal-neon-safe .ild-gp-title,
body .ild-game-portal-neon-safe .ild-gp-title {
  font-size: clamp(14px,1vw,17px) !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.50) !important;
}

/* Grid */
html .ild-game-portal-neon-safe .ild-gp-grid,
body .ild-game-portal-neon-safe .ild-gp-grid {
  gap: 20px !important;
}

/* v19 — Başlık kaldırıldı, kartların üst panel altına yaklaşması sağlandı.
   Sadece portalın üst boşluğu sıkılaştırılır; kart renkleri, linkler ve ikonlar korunur. */
html .ild-game-portal-neon-safe,
body .ild-game-portal-neon-safe,
.ild-game-portal-neon-safe {
  padding-top: 12px !important;
}

html .ild-game-portal-neon-safe .ild-gp-hero,
body .ild-game-portal-neon-safe .ild-gp-hero,
.ild-game-portal-neon-safe .ild-gp-hero {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html .ild-game-portal-neon-safe .ild-gp-grid,
body .ild-game-portal-neon-safe .ild-gp-grid,
.ild-game-portal-neon-safe .ild-gp-grid {
  margin-top: 0 !important;
}

@media(max-width:980px){
  html .ild-game-portal-neon-safe,
  body .ild-game-portal-neon-safe,
  .ild-game-portal-neon-safe {
    padding-top: 10px !important;
  }
}

@media(max-width:640px){
  html .ild-game-portal-neon-safe,
  body .ild-game-portal-neon-safe,
  .ild-game-portal-neon-safe {
    padding-top: 8px !important;
  }
}



/* v20 — Mobilde kartların kenara yapışmasını kesin düzeltir.
   Sadece telefon görünümünde çalışır; masaüstü/tablet düzenine dokunmaz. */
@media(max-width:640px){
  html .ild-game-portal-neon-safe,
  body .ild-game-portal-neon-safe,
  .ild-game-portal-neon-safe{
    padding-left:11px!important;
    padding-right:11px!important;
    padding-top:8px!important;
  }

  html .ild-game-portal-neon-safe .ild-gp-grid,
  body .ild-game-portal-neon-safe .ild-gp-grid,
  .ild-game-portal-neon-safe .ild-gp-grid{
    width:100%;
    max-width:440px;
    margin-left:auto!important;
    margin-right:auto!important;
    gap:14px!important;
  }

  html .ild-game-portal-neon-safe .ild-gp-card,
  body .ild-game-portal-neon-safe .ild-gp-card,
  .ild-game-portal-neon-safe .ild-gp-card{
    min-width:0!important;
  }
}


/* v21 — Akıllı tahta hover çerçeve/iz bırakma düzeltmesi
   Bazı akıllı tahta/Pardus tarayıcılarında hover sırasında transform + güçlü neon box-shadow
   renkli hayalet çerçeve bırakabiliyor. Kart görünümü korunur; sadece hover büyütme ve
   ekstra hover çerçevesi kapatılır. */
html .ild-game-portal-neon-safe .ild-gp-card,
body .ild-game-portal-neon-safe .ild-gp-card,
.ild-game-portal-neon-safe .ild-gp-card{
  transition:none!important;
  transform:none!important;
  outline:none!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  -webkit-tap-highlight-color:transparent!important;
}

html .ild-game-portal-neon-safe .ild-gp-card:hover,
body .ild-game-portal-neon-safe .ild-gp-card:hover,
.ild-game-portal-neon-safe .ild-gp-card:hover,
html .ild-game-portal-neon-safe .ild-gp-card:focus,
body .ild-game-portal-neon-safe .ild-gp-card:focus,
.ild-game-portal-neon-safe .ild-gp-card:focus,
html .ild-game-portal-neon-safe .ild-gp-card:focus-visible,
body .ild-game-portal-neon-safe .ild-gp-card:focus-visible,
.ild-game-portal-neon-safe .ild-gp-card:focus-visible{
  transform:none!important;
  outline:none!important;
  filter:saturate(1.20) contrast(1.06)!important;
  border:1.5px solid color-mix(in srgb,var(--glow) 60%,transparent)!important;
  box-shadow:
    0 0 0 1px color-mix(in srgb,var(--glow) 20%,transparent),
    0 0 20px color-mix(in srgb,var(--glow) 40%,transparent),
    0 0 50px color-mix(in srgb,var(--glow) 18%,transparent),
    0 20px 40px rgba(0,0,0,.70),
    inset 0 1px 0 rgba(255,255,255,.15)!important;
}

@supports not (color:color-mix(in srgb, red 50%, transparent)){
  html .ild-game-portal-neon-safe .ild-gp-card:hover,
  body .ild-game-portal-neon-safe .ild-gp-card:hover,
  .ild-game-portal-neon-safe .ild-gp-card:hover,
  html .ild-game-portal-neon-safe .ild-gp-card:focus,
  body .ild-game-portal-neon-safe .ild-gp-card:focus,
  .ild-game-portal-neon-safe .ild-gp-card:focus,
  html .ild-game-portal-neon-safe .ild-gp-card:focus-visible,
  body .ild-game-portal-neon-safe .ild-gp-card:focus-visible,
  .ild-game-portal-neon-safe .ild-gp-card:focus-visible{
    transform:none!important;
    outline:none!important;
    box-shadow:
      0 0 0 1px rgba(56,189,248,.20),
      0 0 20px rgba(56,189,248,.34),
      0 0 50px rgba(56,189,248,.16),
      0 20px 40px rgba(0,0,0,.70),
      inset 0 1px 0 rgba(255,255,255,.15)!important;
  }
}


/* v22 — Güvenli hover: akıllı tahtada iz bırakmadan kartı belirginleştirir.
   Hareket yok: scale/translate kullanılmaz.
   Dışa taşan yeni gölge yok: sadece kart içi parlaklık ve iç vurgu artar. */
html .ild-game-portal-neon-safe .ild-gp-card,
body .ild-game-portal-neon-safe .ild-gp-card,
.ild-game-portal-neon-safe .ild-gp-card{
  transition:
    filter .14s ease,
    border-color .14s ease !important;
  transform:none!important;
  will-change:auto!important;
}

html .ild-game-portal-neon-safe .ild-gp-card:hover,
body .ild-game-portal-neon-safe .ild-gp-card:hover,
.ild-game-portal-neon-safe .ild-gp-card:hover,
html .ild-game-portal-neon-safe .ild-gp-card:focus,
body .ild-game-portal-neon-safe .ild-gp-card:focus,
.ild-game-portal-neon-safe .ild-gp-card:focus,
html .ild-game-portal-neon-safe .ild-gp-card:focus-visible,
body .ild-game-portal-neon-safe .ild-gp-card:focus-visible,
.ild-game-portal-neon-safe .ild-gp-card:focus-visible{
  transform:none!important;
  outline:none!important;
  filter:saturate(1.28) contrast(1.08) brightness(1.07)!important;
  border-color:color-mix(in srgb,var(--glow) 74%,transparent)!important;
  box-shadow:
    0 0 0 1px color-mix(in srgb,var(--glow) 20%,transparent),
    0 0 20px color-mix(in srgb,var(--glow) 40%,transparent),
    0 0 50px color-mix(in srgb,var(--glow) 18%,transparent),
    0 20px 40px rgba(0,0,0,.70),
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 0 0 999px rgba(255,255,255,.028),
    inset 0 0 0 2px color-mix(in srgb,var(--glow) 36%,transparent)!important;
}

html .ild-game-portal-neon-safe .ild-gp-card:hover::after,
body .ild-game-portal-neon-safe .ild-gp-card:hover::after,
.ild-game-portal-neon-safe .ild-gp-card:hover::after,
html .ild-game-portal-neon-safe .ild-gp-card:focus-visible::after,
body .ild-game-portal-neon-safe .ild-gp-card:focus-visible::after,
.ild-game-portal-neon-safe .ild-gp-card:focus-visible::after{
  opacity:1!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),transparent 34%,transparent 76%,rgba(255,255,255,.05) 100%),
    radial-gradient(ellipse at 50% 102%,color-mix(in srgb,var(--glow) 30%,transparent) 0%,transparent 50%)!important;
}

html .ild-game-portal-neon-safe .ild-gp-card:hover .ild-gp-icon,
body .ild-game-portal-neon-safe .ild-gp-card:hover .ild-gp-icon,
.ild-game-portal-neon-safe .ild-gp-card:hover .ild-gp-icon{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.32)!important;
}

@supports not (color:color-mix(in srgb, red 50%, transparent)){
  html .ild-game-portal-neon-safe .ild-gp-card:hover,
  body .ild-game-portal-neon-safe .ild-gp-card:hover,
  .ild-game-portal-neon-safe .ild-gp-card:hover,
  html .ild-game-portal-neon-safe .ild-gp-card:focus,
  body .ild-game-portal-neon-safe .ild-gp-card:focus,
  .ild-game-portal-neon-safe .ild-gp-card:focus,
  html .ild-game-portal-neon-safe .ild-gp-card:focus-visible,
  body .ild-game-portal-neon-safe .ild-gp-card:focus-visible,
  .ild-game-portal-neon-safe .ild-gp-card:focus-visible{
    transform:none!important;
    outline:none!important;
    filter:saturate(1.28) contrast(1.08) brightness(1.07)!important;
    box-shadow:
      0 0 0 1px rgba(56,189,248,.20),
      0 0 20px rgba(56,189,248,.34),
      0 0 50px rgba(56,189,248,.16),
      0 20px 40px rgba(0,0,0,.70),
      inset 0 1px 0 rgba(255,255,255,.15),
      inset 0 0 0 999px rgba(255,255,255,.028),
      inset 0 0 0 2px rgba(255,255,255,.18)!important;
  }
}

.ild-game-portal-neon-safe [hidden] { display: none !important; }
.ild-portal-item { min-width: 0; display: flex; flex-direction: column; }
.ild-portal-item > .ild-gp-card { width: 100%; flex: 1; }
.ild-game-portal-neon-safe .ild-portal-item .ild-gp-icon {
  --ild-card-icon-size: 88px;
  box-sizing: border-box;
  width: var(--ild-card-icon-size) !important;
  height: var(--ild-card-icon-size) !important;
  border-radius: calc(var(--ild-card-icon-size) * .235) !important;
  flex: 0 0 auto;
  margin-bottom: 3px;
}
@media (max-width: 640px) {
  .ild-game-portal-neon-safe .ild-portal-item .ild-gp-icon { --ild-card-icon-size: 72px; }
}
.ild-game-portal-neon-safe .ild-portal-card-art {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.ild-portal-item .ild-gp-title { font-size: 17px; font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.ild-portal-grade { color: #f8fbff; font-size: .75rem; line-height: 1; font-weight: 750; text-shadow: 0 1px 4px #151526; }
.ild-portal-info { align-self: center; margin-top: .35rem; color: #d5e9ff; font-size: .8rem; padding: .25rem .45rem; text-decoration: underline; }
.ild-portal-draft { text-decoration: none; }
.ild-portal-filters { position: relative; z-index: 2; margin: 0 auto .9rem; padding: 0 .5rem; display: flex; width: min(100%, 46rem); gap: .65rem; color-scheme: dark; }
.ild-game-portal-neon-safe .ild-portal-filters :is(input, select) {
  min-width: 0;
  padding: .65rem .8rem;
  border: 1px solid #42678b;
  border-radius: 12px;
  font: inherit;
  background: #0d1829 linear-gradient(180deg, #142137, #0d1829);
  color: #e6f2ff;
  box-shadow: inset 0 1px 0 rgba(190, 225, 255, .1);
}
.ild-portal-filters input { flex: 1; width: 100%; }
.ild-game-portal-neon-safe .ild-portal-filters input::placeholder { color: #a9bdd4; opacity: 1; }
.ild-game-portal-neon-safe .ild-portal-filters select { cursor: pointer; }
.ild-portal-filters select option { background: #0d1829; color: #e6f2ff; }
.ild-game-portal-neon-safe .ild-portal-filters :is(input, select):hover { border-color: #6b9bc5; }
.ild-game-portal-neon-safe .ild-portal-filters :is(input, select):focus-visible { outline: 2px solid #79ccff; outline-offset: 2px; }
.ild-portal-empty { position: relative; text-align: center; padding: 1rem; color: #d5e9ff; }
:is(html[data-bs-theme="dark"],body[data-bs-theme="dark"],body.dark-mode,body.theme-dark) :is(.ild-portal-info,.ild-portal-empty) { color: #d5e9ff; }
.ild-game-portal-neon-safe a:focus-visible { outline: 3px solid #ffb847; outline-offset: 3px; }
