@font-face { font-family: "PatrickHand"; src: url("/css/PatrickHand-Regular.ttf") format("truetype"); font-display: swap; }
/* MyRabtGames tanıtım sayfası (/myrabtgames/). Ana stil: site.css */
html:has(.mg-sayfa) { scroll-behavior: smooth; }
.mg-sayfa { position: relative; display: grid; align-items: center; padding-block: clamp(36px, 6vw, 72px); border-bottom: 1px solid var(--cizgi); scroll-margin-top: 62px; }
.mg-sayfa > .sar { width: 100%; }
.mg-iki-ic { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 5vw, 64px); align-items: center; width: 100%; }
.mg-sayfa.ters .mg-iki-ic { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.mg-sayfa.ters .mg-yazi { order: 2; }
.mg-yazi { display: grid; gap: 14px; align-content: center; min-width: 0; }
.mg-yazi h2, .mg-bas h2 { font-size: clamp(1.7rem, 4.6vw, 2.8rem); font-weight: 800; line-height: 1.12; }
.mg-yazi p, .mg-bas p { font-size: 1.06rem; max-width: 56ch; }
.mg-bas { display: grid; gap: 8px; padding-bottom: 18px; }
.mg-liste { margin-top: 4px; }
.mg-adim { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--sari); }
.mg-adim b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sari); color: #3b1a0a; font-size: 1.1rem; }
.mg-adimlar { margin: 0; padding: 0; list-style: none; counter-reset: a; display: grid; gap: 10px; }
.mg-adimlar li { counter-increment: a; display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.mg-adimlar li::before { content: counter(a); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--isik-z); border: 1px solid var(--cizgi); color: var(--isik); font-weight: 800; font-size: .85rem; }
.mg-hero { background: radial-gradient(70rem 40rem at 80% 20%, rgba(255,211,107,.12), transparent 60%); }
.mg-hero-ic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.mg-hero h1 { font-size: clamp(2.6rem, 9vw, 5rem); font-weight: 900; line-height: 1; background: linear-gradient(90deg, #fff, var(--sari)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mg-hero-yazi { display: grid; gap: 16px; }
.mg-slogan { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 700; }
.mg-takim { display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; gap: 4px; }
.mg-takim .mg-kar { height: clamp(130px, 22vw, 230px); width: auto; }
.mg-takim.mg-sira { margin-top: 26px; }
.mg-takim.mg-sira .mg-kar { height: clamp(90px, 12vw, 150px); }
.mg-gorsel { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 2vw, 22px); min-width: 0; }
.mg-gorsel .mg-kar { height: clamp(150px, 22vw, 230px); width: auto; flex: none; }
.mg-gorsel .mg-kar.buyuk { height: clamp(150px, 20vw, 250px); }
.mg-tel { width: min(100%, 270px); aspect-ratio: 9 / 19.5; border-radius: 34px; padding: 8px; background: linear-gradient(145deg, #2a3446, #070a12); box-shadow: 0 30px 60px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08), 0 0 60px -12px rgba(255,211,107,.3); }
.mg-tel img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; display: block; }
.mg-cift .mg-tel { width: min(46%, 240px); }
.mg-cift .mg-tel:nth-child(2) { margin-top: 34px; }
.mg-tv { width: 100%; max-width: 560px; }
.mg-tv-ekran { aspect-ratio: 16 / 9; border-radius: 14px; padding: 9px; background: #0a0d14; box-shadow: 0 30px 60px -22px rgba(0,0,0,.85), 0 0 0 2px #2a3446; }
.mg-tv-ekran img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.mg-tv-ayak { width: 34%; height: 14px; margin: 0 auto; background: linear-gradient(#2a3446, #121827); border-radius: 0 0 14px 14px; }
.mg-not { text-align: center; color: var(--soluk); font-size: .82rem; margin-top: 6px; }
.mg-tvblok { position: relative; flex-direction: column; align-items: center; padding-bottom: 40px; }
.mg-tvblok .mg-tvkar { position: absolute; left: -2%; bottom: -12px; height: clamp(110px, 16vw, 170px); width: auto; }
.mg-tvblok .mg-tvkar2 { position: absolute; right: -2%; bottom: -12px; height: clamp(110px, 16vw, 170px); width: auto; }
.mg-tarayici { flex: 1 1 0; min-width: 0; align-self: center; border-radius: 12px; overflow: hidden; background: #070a12; box-shadow: 0 30px 60px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.12); }
.mg-tarayici-bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #121827; font-size: .72rem; color: var(--soluk); }
.mg-tarayici-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4458; }
.mg-tarayici-bar span { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.07); }
.mg-tarayici img { width: 100%; height: auto; display: block; }
/* Cihaz şeması */
.mg-sema { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.mg-sema::before { content: ""; position: absolute; inset: 14%; border: 2px dashed var(--cizgi); border-radius: 50%; }
.mg-merkez, .mg-dugum { position: absolute; display: grid; justify-items: center; gap: 2px; text-align: center; }
.mg-merkez { inset: 34%; place-content: center; border-radius: 50%; background: linear-gradient(150deg, #2fa85a, #14502a); box-shadow: 0 0 40px rgba(47,168,90,.5); }
.mg-merkez small { font-size: .6rem; color: #dff7e6; max-width: 9ch; line-height: 1.1; }
.mg-ik { font-size: 1.7rem; line-height: 1; }
.mg-dugum { width: 26%; padding: 8px 4px; border-radius: 16px; background: var(--cam-2); border: 1px solid var(--cizgi); font-size: .78rem; }
.mg-dugum b { font-size: .78rem; }
.mg-dugum.d0 { left: 37%; top: 0; } .mg-dugum.d1 { right: 2%; top: 17%; } .mg-dugum.d2 { right: 2%; bottom: 17%; }
.mg-dugum.d3 { left: 37%; bottom: 0; } .mg-dugum.d4 { left: 2%; bottom: 17%; } .mg-dugum.d5 { left: 2%; top: 17%; }
/* Oyun ızgarası */
.mg-kategori { margin-top: 18px; }
.mg-kategori h3 { font-size: 1.15rem; color: var(--sari); margin-bottom: 8px; }
.mg-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.mg-oyun { margin: 0; display: grid; justify-items: center; align-content: center; gap: 4px; padding: 16px 8px 14px; text-align: center; background: #fffdf3 repeating-linear-gradient(0deg, transparent 0 19px, rgba(60,110,180,.12) 19px 20px); border: 3px solid #2b2b2b; border-radius: 16px; box-shadow: 3px 4px 0 rgba(0,0,0,.55); color: #2b2b2b; font-family: "PatrickHand", "Segoe Print", "Comic Sans MS", cursive; }
.mg-oyun img { width: 64px; height: 64px; }
.mg-oyun figcaption { display: grid; gap: 2px; }
.mg-oyun figcaption b { font-size: 1.1rem; font-weight: 700; line-height: 1.15; }
.mg-oyun figcaption small { font-size: .85rem; color: #6b6b6b; }
/* Kapanış */
.mg-son { display: grid; gap: 26px; justify-items: center; }
.mg-orta { text-align: center; justify-items: center; }
.mg-orta p { margin-inline: auto; }
.mg-orta-dugme { justify-content: center; }
.mg-ss { width: min(100%, 680px); display: grid; gap: 8px; }
.mg-ss h3 { font-size: 1.2rem; }
.mg-ss details { border: 1px solid var(--cizgi); border-radius: 14px; padding: 10px 14px; background: var(--cam); }
.mg-ss summary { cursor: pointer; font-weight: 700; }
.mg-ss details p { color: var(--soluk); margin-top: 6px; }
/* Gezinti: tek akışta sıralı (MyRabt gibi); yalnız üstte ilerleme çubuğu, noktalar ve oklar gizli */
.mg-nokta, .mg-oklar { display: none; }
.mg-nokta { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 15; display: grid; gap: 9px; }
.mg-nokta a { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.22); border: 1px solid var(--cizgi); transition: transform .2s, background .2s; display: block; }
.mg-nokta a.on { background: var(--sari); transform: scale(1.5); }
.mg-ilerleme { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 30; background: transparent; }
.mg-ilerleme i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--isik), var(--sari)); transition: width .25s; }
.mg-oklar { position: fixed; right: 18px; bottom: 18px; z-index: 15; display: flex; gap: 8px; }
.mg-oklar button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--cizgi); background: rgba(2,11,34,.82); color: var(--yazi); font-size: 1.6rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); }
.mg-oklar button:hover { background: var(--cam-2); }
@media (max-width: 860px) {
  .mg-iki-ic, .mg-sayfa.ters .mg-iki-ic, .mg-hero-ic { grid-template-columns: minmax(0, 1fr); }
  .mg-sayfa.ters .mg-yazi { order: 0; }
  .mg-nokta { display: none; }
  .mg-sayfa { min-height: auto; scroll-snap-align: none; }
  html:has(.mg-sayfa) { scroll-snap-type: none; }
  .mg-tvblok .mg-tvkar, .mg-tvblok .mg-tvkar2 { position: static; }
  .mg-cift .mg-tel:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { html:has(.mg-sayfa) { scroll-behavior: auto; } }
/* Bölümler alt alta akar; içerik soluk beklemez, yalnız yukarı kayarak yerine oturur */
html.anim .mg-sayfa .belir { opacity: 1; transform: translateY(18px); }
html.anim .mg-sayfa .belir.gor { transform: none; }
