/* Oyunlar vitrini — sahne görünümü (yalnızca katalog ana sayfası) */
.gm-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 44px 40px 72px; margin: 4px 0 18px;
  background: radial-gradient(90% 120% at 50% -10%, #2b5bb8 0%, #13306a 38%, #081530 78%);
  box-shadow: 0 24px 60px -24px #081530aa, inset 0 1px 0 #ffffff30; color: #fff; }
.gm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 18% 30%, #ffcc0022 0 1.5px, transparent 2px) 0 0 / 46px 46px,
    radial-gradient(circle at 70% 60%, #ffffff26 0 1px, transparent 1.6px) 0 0 / 62px 62px; animation: gmDust 30s linear infinite; }
@keyframes gmDust { to { background-position: 0 -460px, 0 -620px; } }
.gm-beam { position: absolute; top: -40px; width: 46%; height: 150%; z-index: -1; pointer-events: none; transform-origin: 50% 0;
  background: linear-gradient(180deg, #fff5c8aa, #fff5c822 45%, transparent 75%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(6px); opacity: .55; }
.gm-beam--l { left: 2%; animation: gmSwayL 9s ease-in-out infinite; }
.gm-beam--r { right: 2%; background: linear-gradient(180deg, #b9d4ffaa, #b9d4ff22 45%, transparent 75%); animation: gmSwayR 11s ease-in-out infinite; }
@keyframes gmSwayL { 0%,100% { transform: rotate(-24deg); } 50% { transform: rotate(-6deg); } }
@keyframes gmSwayR { 0%,100% { transform: rotate(22deg); } 50% { transform: rotate(5deg); } }
.gm-floor { position: absolute; left: -20%; right: -20%; bottom: -40px; height: 120px; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, #7fb0ff40 0 1px, transparent 1px 56px), repeating-linear-gradient(0deg, #7fb0ff40 0 1px, transparent 1px 24px);
  transform: perspective(260px) rotateX(58deg); transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(180deg, transparent, #000 70%); mask: linear-gradient(180deg, transparent, #000 70%); animation: gmFloor 3s linear infinite; }
@keyframes gmFloor { to { background-position: 0 0, 0 24px; } }
.gm-hero-in { position: relative; max-width: 640px; }
.gm-hero h1 { margin: 0; font-size: clamp(40px, 5.2vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 800;
  background: linear-gradient(100deg, #fff 0 40%, #ffe58a 50%, #fff 60% 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: gmShine 6s ease-in-out 1s infinite; }
@keyframes gmShine { 0% { background-position: 100% 0; } 25%,100% { background-position: -60% 0; } }
.gm-hero p { margin: 14px 0 26px; font-size: 16px; line-height: 1.55; color: #d5e2fb; max-width: 52ch; }
.gm-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #ffffff14; border: 1px solid #ffffff26; backdrop-filter: blur(8px); }
.gm-switch button { border: 0; font: inherit; font-weight: 800; font-size: 14px; color: #d5e2fb; background: none; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.gm-switch button.on { background: #ffcc00; color: #0b1f3a; box-shadow: 0 6px 18px -6px #ffcc00; }
.gm-switch button span { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #0b1f3a22; font-size: 12px; }
.gm-switch button:not(.on) span { background: #ffffff1f; }
.gm-switch button:focus-visible, .gm-filter button:focus-visible, .gm-btn:focus-visible { outline: 3px solid #ffcc00; outline-offset: 2px; }

.gm-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.gm-filter button { border: 1px solid #d4def0; background: #fff; color: #2a4672; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.gm-filter button span { color: #7a8db0; font-weight: 800; margin-left: 2px; }
.gm-filter button.on { background: #0b1f3a; color: #fff; border-color: #0b1f3a; } .gm-filter button.on span { color: #ffcc00; }

.gm-sec { margin: 26px 0 12px; } .gm-sec h2 { margin: 0; font-size: 19px; color: #10294f; letter-spacing: -.01em; } .gm-sec p { margin: 3px 0 0; font-size: 14px; color: #63779a; }
.gm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); gap: 18px; margin-top: 12px; }
.gm-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #102a5a 0%, #0a1a3a 100%); border: 1px solid #1f3c75;
  box-shadow: 0 18px 38px -20px #0a1a3acc; transition: transform .25s cubic-bezier(.2,1,.3,1), box-shadow .25s, border-color .25s;
  animation: gmIn .6s cubic-bezier(.2,.9,.25,1) both; animation-delay: var(--d, 0ms); }
@keyframes gmIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.gm-card:hover { transform: translateY(-6px); border-color: #ffcc00aa; box-shadow: 0 26px 50px -22px #0a1a3a, 0 0 0 1px #ffcc0066, 0 0 34px -6px #ffcc0055; }
.gm-thumb { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 80% at 50% 30%, #3a6fd0 0%, #17377a 55%, #0a1a3a 100%); }
.gm-thumb::before { content: ""; position: absolute; inset: auto -30% -8% -30%; height: 46%; z-index: -1;
  background: repeating-linear-gradient(90deg, #8ab4ff33 0 1px, transparent 1px 30px), repeating-linear-gradient(0deg, #8ab4ff33 0 1px, transparent 1px 14px);
  transform: perspective(160px) rotateX(60deg); transform-origin: 50% 100%; -webkit-mask: linear-gradient(180deg, transparent, #000 80%); mask: linear-gradient(180deg, transparent, #000 80%); }
.gm-thumb::after { content: ""; position: absolute; top: -30%; left: 50%; width: 70%; height: 130%; translate: -50% 0; z-index: -1;
  background: linear-gradient(180deg, #ffffff40, transparent 70%); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); opacity: .5; transition: opacity .3s; }
.gm-card:hover .gm-thumb::after { opacity: .9; }
.gm-thumb-art { width: 44%; transition: transform .45s cubic-bezier(.2,1.4,.4,1); filter: drop-shadow(0 14px 20px #0008); }
.gm-thumb-art svg { width: 100%; height: auto; display: block; }
.gm-card:hover .gm-thumb-art { transform: translateY(-6px) scale(1.08) rotate(-2deg); }
.gm-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #fff;
  padding: 4px 10px; border-radius: 999px; background: #0a1a3acc; border: 1px solid #ffffff2a; backdrop-filter: blur(6px); }
.gm-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 0 #ff4d5e; animation: gmLive 1.6s ease-out infinite; }
.gm-card.is-ai .gm-tag i { background: #8a7dff; box-shadow: 0 0 0 0 #8a7dff; }
@keyframes gmLive { 0% { box-shadow: 0 0 0 0 #ff4d5eaa; } 100% { box-shadow: 0 0 0 9px #ff4d5e00; } }
.gm-count { position: absolute; right: 12px; top: 12px; font-size: 12px; font-weight: 800; color: #0b1f3a; background: #ffcc00; padding: 4px 10px; border-radius: 999px; }
.gm-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gm-body h2 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.gm-body p { margin: 0; color: #b4c6e6; font-size: 14px; line-height: 1.5; }
.gm-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.gm-btn { border: 0; font: inherit; font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 12px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; background: linear-gradient(180deg, #ffe066, #ffcc00 55%, #e0b000); color: #0b1f3a;
  box-shadow: inset 0 1px 0 #ffffffaa, 0 8px 18px -8px #ffcc00; transition: transform .12s; }
.gm-btn:active { transform: scale(.97); }
.gm-btn.ghost { background: #ffffff14; color: #fff; box-shadow: inset 0 0 0 1px #ffffff30; }
.gm-btn.ghost:hover { background: #ffffff24; }
.gm-btn:disabled { opacity: .55; cursor: default; }
.gm-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-top: 12px; }
.gm-soon div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 15px; border: 1px dashed #b9c8e2; border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f4f7fd); font-size: 14px; color: #5d6f8c; }
.gm-soon strong { color: #10294f; font-weight: 700; } .gm-soon span { font-size: 11.5px; font-weight: 800; color: #b7791f; white-space: nowrap; background: #fff4d6; padding: 3px 8px; border-radius: 999px; }
@media (max-width: 640px) { .gm-hero { padding: 30px 22px 60px; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .gm-hero::after, .gm-beam, .gm-floor, .gm-hero h1, .gm-card, .gm-tag i { animation: none !important; } }
.gm-btn, .gm-switch button, .gm-filter button { font-weight: 800 !important; letter-spacing: -.005em; }
.gm-actions { flex-wrap: nowrap; } .gm-actions .gm-btn { font-size: 13.5px; padding: 10px 12px; white-space: nowrap; } .gm-actions .gm-btn:first-child { flex: 1; justify-content: center; }
