:root {
  --main-bg: #20113a;
  --sidebar-bg: #19002e;
  --accent: #8f36ff;
  --header-bg: #2a1657;
  --card-bg: #2b1856;
  --text-main: #fff;
  --text-muted: #cac3e6;
  --border: #2d1f4e;
  --btn-bg: #6f1fff;
  --btn-hover: #ff00ae;
  --related-bg: #261148;
  --progress-bg: #eee2ff;
  --progress-bar: #8f36ff;
  --success: #34d87a;
  --danger: #ff005a;
  --gold: #ffd700;
  --silver: #cacaca;
  --bronze: #b16e3b;
  --blog-bg: #22173a;
}

body {
  background: var(--main-bg);
  color: var(--text-main);
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  transition: background .2s, color .2s;
}
body.light {
  --main-bg: #eee7fc;
  --sidebar-bg: #fff;
  --accent: #a644ff;
  --header-bg: #d6c7f8;
  --card-bg: #f6edfd;
  --text-main: #231141;
  --text-muted: #6e5c9c;
  --border: #dfd2f7;
  --btn-bg: #8f36ff;
  --btn-hover: #ff00ae;
  --related-bg: #e7d5fa;
  --progress-bg: #e8d9fa;
  --progress-bar: #a644ff;
  --blog-bg: #e3d6f8;
}
a { color: var(--accent); text-decoration: none; }

::-webkit-scrollbar {
  width: 9px; background: var(--main-bg);
}
::-webkit-scrollbar-thumb {
  background: #472484; border-radius: 7px;
}

.main-header {
  background: var(--header-bg);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 30px 12px 98px;
  box-shadow: 0 2px 20px #0002;
  position: sticky; top: 0; z-index: 99;
  gap: 24px;
  animation: headerIn 0.5s;
}
@keyframes headerIn {
  from { opacity: 0; transform: translateY(-16px);}
  to   { opacity: 1; transform: translateY(0);}
}
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}
.header-logo-img { height: 36px; width: 36px; margin-right: 6px; object-fit: contain; }
.header-logo-title { font-size: 2rem; font-weight: 900; letter-spacing: 2px; }
.logo-accent { color: var(--accent); }
.header-center { flex: 1; display: flex; justify-content: center; }
.header-search-input {
  padding: 7px 14px; border-radius: 18px; border: none; font-size: 1rem;
  margin-right: 6px; outline: none; min-width: 220px; max-width: 420px;
  color: var(--text-main); background: #fff2;
  transition: background .16s, color .16s;
}
body.light .header-search-input {
  background: #fff; color: #231141; border: 1.5px solid #e2d6ff;
}
.header-search-btn { border: none; background: var(--accent); color: #fff; font-size: 1.2rem; border-radius: 50%; padding: 7px 12px; cursor: pointer; }
.header-search-btn:hover { background: var(--btn-hover); }
.header-right { display: flex; align-items: center; gap: 13px; }
.theme-btn { font-size: 1.22em; background: none; border: none; cursor: pointer; color: inherit; }
.lang-select { border-radius: 7px; padding: 3px 8px; background: var(--header-bg); color: inherit; border: 1px solid var(--border);}
.login-btn { background: var(--btn-bg); color: #fff; border: none; padding: 6px 18px; border-radius: 18px; font-weight: 600; cursor: pointer; }
body.light .login-btn { background: var(--btn-bg); color: #fff; }
.user-menu { display: inline-block; }
.user-profile-card {
  background: var(--card-bg);
  border-radius: 13px;
  box-shadow: 0 2px 16px #7b30d233;
  color: var(--text-main);
  padding: 15px 24px;
  margin-bottom: 12px;
  min-width: 210px;
  animation: fadeIn .3s;
  display: flex;
  align-items: center;
  gap: 15px;
}
.user-profile-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--accent); background: #fff;
}
.user-profile-info {
  display: flex; flex-direction: column; gap: 2px;
}
.user-profile-name { font-size: 1.17em; font-weight: 800; color: var(--accent);}
.user-profile-level { font-size: 1em; color: #ffe871;}
.user-xp-bar {
  background: var(--progress-bg); border-radius: 7px; margin-top: 4px;
  width: 100%; height: 8px; position: relative;
}
.user-xp-fill {
  background: var(--progress-bar); height: 8px; border-radius: 7px;
  width: 0%; transition: width .3s; position: absolute; left: 0; top: 0;
}
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;}}

/* SIDEBAR */
.sidebar-hamburger {
  position: fixed; top: 28px; left: 13px; z-index: 200; background: none; border: none; padding: 0;
}
.hamburger-btn {
  background: var(--sidebar-bg); color: var(--text-main); border: none;
  font-size: 2em; border-radius: 50%; padding: 10px 14px; cursor: pointer;
  box-shadow: 0 2px 8px #0004; transition: background .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
}
body.light .hamburger-btn { background: var(--sidebar-bg); color: #382a51; }
.sidebar {
  background: var(--sidebar-bg); width: 70px; position: fixed; top: 0; left: 0; height: 100vh; z-index: 120;
  transition: width 0.22s; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 0 26px #0002;
}
.sidebar.expanded { width: 210px; }
.sidebar.show-mobile { left: 0; transition: left .18s; }
.sidebar-inner { flex: 1; width: 100%; margin-top: 80px; }
.sidebar-nav { display: flex; flex-direction: column; width: 100%; gap: 4px; }
.sidebar-cat-link {
  display: flex; align-items: center; gap: 15px; padding: 13px 21px;
  font-size: 1.13rem; color: var(--text-muted); border-radius: 14px; cursor: pointer; transition: background .16s, color .16s;
}
.sidebar-cat-link.active, .sidebar-cat-link:hover { background: #331c51; color: #fff; }
.cat-ico { font-size: 1.33em; width: 26px; text-align: center; min-width: 26px; }
.sidebar:not(.expanded) .cat-title { display: none; }
.sidebar:not(.expanded) .sidebar-cat-link { justify-content: center; gap: 0; padding-left: 0; padding-right: 0;}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: #0006; z-index: 119; }

.main-wrap { margin-left: 70px; transition: margin-left .22s; }
.sidebar.expanded ~ .main-wrap { margin-left: 210px; }

.main-content { padding: 28px 40px 40px 40px; }
.section-title { font-size: 1.55rem; font-weight: 800; margin: 18px 0 18px 0; color: var(--accent); text-shadow: 0 2px 8px #8f36ff44; }
.games-row, .games-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.games-row { margin-bottom: 24px; }
.games-grid { justify-content: flex-start; margin-left: 18px; }
#gamesGrid { margin-top: 10px; margin-left: 18px; }

.game-card {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 3px 18px #28174833;
  position: relative;
  overflow: hidden;
  width: 320px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  animation: fadeIn .36s;
}
.game-card:hover { transform: scale(1.045); box-shadow: 0 9px 40px #7b30d24d; z-index: 12; }
.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: opacity .18s;
  z-index: 1;
  position: absolute;
  top: 0; left: 0;
}
.game-card-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: none;
  z-index: 2;
}
.game-card:hover .game-card-video,
.game-card:focus .game-card-video {
  display: block;
}
.game-card-label-absolute {
  position: absolute; top: 17px; left: 16px; padding: 6px 15px;
  background: var(--btn-bg); color: #fff; font-size: 1em; font-weight: 700; border-radius: 12px; letter-spacing: 1px;
  z-index: 4;
  box-shadow: 0 2px 8px #ff00ae38;
}
.game-card-label-absolute.hot { background: #ff005a; }
.game-card-label-absolute.new { background: #00c1ff; }
.game-card-label-absolute.upd { background: #ffc800; color: #222; }
.no-games { color: #ff005a; padding: 36px; font-size: 1.24rem; }
.favorite-btn {
  position: absolute; top: 16px; right: 17px; background: #fff9;
  color: #ffbe00; border: none; border-radius: 50%; font-size: 1.43em;
  width: 36px; height: 36px; cursor: pointer; z-index: 6;
  transition: background .17s, color .17s, box-shadow .14s;
  box-shadow: 0 2px 7px #ad36ff33;
}
.favorite-btn.active, .favorite-btn:hover { background: #ffbe00; color: #fff; }
body.light .game-card-label-absolute { color: #fff; }
body.light .game-card-label-absolute.upd { color: #444; }
body.light .favorite-btn { background: #fff; color: #eeb30c; }
.game-card-title {
  position: absolute; left: 18px; bottom: 16px;
  font-size: 1.1em; font-weight: 700; color: #fff;
  text-shadow: 0 2px 8px #0007; z-index: 10;
  opacity: 0.93; transition: opacity .14s;
}
.game-card:hover .game-card-title { opacity: 1; }

.game-card-progress-wrap {
  position: absolute; left: 0; right: 0; bottom: 7px; height: 7px; z-index: 14;
  background: var(--progress-bg); border-radius: 0 0 8px 8px;
  width: 95%; margin: 0 auto 0 auto; left: 2.5%;
  overflow: hidden;
}
.game-card-progress-bar {
  height: 7px; background: var(--progress-bar); border-radius: 0 0 8px 8px;
  width: 0%; transition: width .7s cubic-bezier(.77,.01,.37,1.02);
  animation: progressBarAnim 1.2s;
}
@keyframes progressBarAnim {
  from { width: 0%; }
  to   { width: 89%; }
}
.game-card-plays {
  position: absolute; top: 17px; right: 58px;
  background: #ffe871d7; color: #432800; font-weight: 700; font-size: 0.98em;
  padding: 3px 13px; border-radius: 9px; box-shadow: 0 2px 7px #ffe87144;
  z-index: 10; letter-spacing: 0.5px;
}

.main-banner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 32px auto;
  background: #110822;
  border-radius: 22px;
  display: flex;
  overflow: hidden;
  min-height: 220px;
  box-shadow: 0 6px 32px #7b30d288;
}
.banner-img-wrap { width: 45%; min-width: 240px; }
.banner-img {
  width: 100%; height: 100%; min-height: 220px;
  object-fit: cover; border-radius: 22px 0 0 22px;
}
.banner-info {
  flex: 1; padding: 38px 32px; display: flex; flex-direction: column; justify-content: center;
}
.banner-title { font-size: 2.6rem; font-weight: bold; margin-bottom: 16px; color: #ff00ae; text-shadow: 0 2px 8px #20113a55; }
.banner-labels { margin-bottom: 17px; }
.banner-label {
  padding: 7px 20px; background: var(--accent); color: #fff; border-radius: 14px;
  font-size: 1.12em; font-weight: 700; margin-right: 10px; box-shadow: 0 1px 8px #ff00ae3d;
}
.banner-play-btn {
  background: var(--btn-bg); color: #fff; border: none; padding: 12px 32px;
  border-radius: 23px; font-size: 1.25rem; font-weight: bold; margin-top: 26px; cursor: pointer; transition: background .17s;
  display: inline-block;
}
.banner-play-btn:hover { background: var(--btn-hover); }
body.light .banner-title { color: #a644ff; }
body.light .banner-label { background: #a644ff; color: #fff; }
.main-banner .banner-desc { color: #d5caf7; font-size: 1.13rem; margin-top: 8px; }
body.light .main-banner .banner-desc { color: #573b9b; }

footer {
  background: var(--header-bg); color: #d5caf7; padding: 23px 0 14px 0; text-align: center; margin-top: 80px;
}
body.light footer { background: #d6c7f8; color: #502194; }
.footer-logo-row { display: flex; align-items: center; justify-content: center; margin-bottom: 8px;}
.footer-logo-img { height: 36px !important; width: 36px !important; margin-right: 9px; object-fit: contain; border-radius: 7px; }
.footer-logo-title { font-size: 1.45rem; font-weight: bold; }
.footer-links { margin-bottom: 8px;}
.footer-links a { color: #ccc; margin: 0 14px; font-size: 1.06em;}
.footer-links a:hover { color: var(--btn-hover);}
body.light .footer-links a { color: #502194; }
.footer-note { font-size: .98em; color: #7f68ab; }
body.light .footer-note { color: #b295d7; }

/* GAME PAGE, MODERN BAR, SKOR BARLARI, XP ROZETLERİ, GÖREV ROZETİ */
#gamePageSection {
  display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start;
  width: 100%; margin-top: 24px; margin-bottom: 48px; gap: 38px;
}
.troygame-play-box {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 34px #0008;
  padding: 30px 20px 22px 20px;
  width: 100%;
  max-width: 1000px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-left: 0; margin-right: 0;
  transition: background .18s;
  box-sizing: border-box;
}
body.light .troygame-play-box { background: #f6edfd; }
.game-iframe-responsive {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f6f4e9;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 420px;
  max-height: 640px;
  display: flex; align-items: center; justify-content: center;
}
body.light .game-iframe-responsive { background: #fff; }
.game-iframe-responsive iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  border-radius: 16px;
  background: #f6f4e9;
  object-fit: contain;
  display: block;
  max-width: 100%; max-height: 100%;
  pointer-events: auto;
}
body.light .game-iframe-responsive iframe { background: #fff; }

.play-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(20,13,39,0.87);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 9;
  border-radius: 18px;
}
.play-thumb {
  max-width: 38%;
  max-height: 38%;
  margin-bottom: 22px;
  border-radius: 18px;
  box-shadow: 0 4px 30px #0007;
  background: #fff;
  object-fit: contain;
}
.play-title {
  color: #fff;
  font-size: 1.48em;
  font-weight: 700;
  margin-bottom: 19px;
  text-shadow: 0 2px 10px #8f36ff60;
  letter-spacing: 1.2px;
}
.play-btn {
  padding: 14px 36px;
  font-size: 1.15em;
  border: none;
  border-radius: 20px;
  background: var(--btn-bg);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .14s;
  margin-top: 16px;
  box-shadow: 0 2px 14px #fe0a;
}
.play-btn:hover { background: var(--btn-hover); }

.modern-gamebar-wrap { width: 100%; margin: 0; padding: 0; }
.modern-gamebar {
  width: 100%; box-sizing: border-box;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(90deg, #8f36ff 0%, #290058 100%);
  border-radius: 13px;
  box-shadow: 0 2px 18px #4600721c;
  padding: 10px 24px;
  margin: 0 0 12px 0;
  min-height: 50px;
  gap: 20px;
  color: #fff;
}
.modern-bar-left { display: flex; align-items: center; gap: 10px; }
.modern-bar-logo { height: 32px; width: 32px; margin-right: 6px; object-fit: contain; }
.modern-bar-title { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: 1px; }
.modern-bar-gamename { color: #ffe871; font-weight: 800; font-size: 1.06em; }
.modern-bar-actions-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modern-bar-btn {
  background: #23133b;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px #5e0b8e22;
  color: #cabaff;
  font-size: 1.1em;
  transition: background .15s, color .15s, box-shadow .13s, transform .10s;
  outline: none;
  cursor: pointer;
}
.modern-bar-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}
.modern-bar-btn:active { transform: scale(0.96); }
.modern-fav-btn.active, .modern-fav-btn:hover { background: #ffe8a8; color: #ffbe00; }
.modern-like-btn.active, .modern-like-btn:hover { background: #eaffea; color: #27d54b; }
.modern-dislike-btn.active, .modern-dislike-btn:hover { background: #ffe2e7; color: #ff3a6b; }
.modern-fs-btn.active, .modern-fs-btn:hover { background: #dacfff; color: #7c41ea; }

/* BENZER OYUNLAR (2'li grid, hover'da isim) */
.troygame-related-title {
  font-size: 1.36em; font-weight: 800; margin-bottom: 8px;
  color: var(--accent); text-shadow: 0 2px 8px #ff00ae3a; text-align: left;
  letter-spacing: .03em; padding-left: 2px;
}
.troygame-related-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 16px;
  align-items: flex-start;
  justify-items: center;
  margin-top: 22px;
}
.small-related-card {
  width: 168px;
  height: 126px;
  background: var(--related-bg);
  border-radius: 10px;
  box-shadow: 0 2px 14px #22003225;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.16s, border 0.14s;
  border: 2px solid transparent;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.small-related-card:hover {
  border: 2.5px solid var(--accent);
  box-shadow: 0 0 0 4px #ad36ff33, 0 10px 32px #8f36ff25;
  z-index: 8;
}
.troygame-related-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: #241342;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}
.troygame-related-thumb, .troygame-related-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  transition: opacity 0.15s;
}
.troygame-related-video {
  opacity: 0; pointer-events: none;
}
.small-related-card:hover .troygame-related-video {
  opacity: 1; pointer-events: auto;
}
.small-related-card:hover .troygame-related-thumb {
  opacity: 0.15;
}
.troygame-related-title2 {
  position: absolute; left: 10px; bottom: 9px;
  font-size: 1em; font-weight: 600; color: #fff;
  text-shadow: 0 2px 8px #20113a98;
  background: rgba(30,0,60,0.28);
  padding: 4px 12px 3px 8px; border-radius: 7px; margin: 0;
  pointer-events: none; letter-spacing: 0.01em;
  opacity: 0; transition: opacity 0.15s;
}
.small-related-card:hover .troygame-related-title2 { opacity: 1; }

.troygame-advert-area {
  width: 100%; margin: 30px 0 0 0;
  display: flex; justify-content: center; align-items: center;
}
.ad-banner-big {
  width: 220px; height: 48px;
  background: linear-gradient(90deg,#fff700 10%,#ff00ae 90%);
  color: #232; font-weight: bold; font-size: 1.28em; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 2px; box-shadow: 0 2px 24px #ff00ae21;
  border: 2px solid #f5b400; text-transform: uppercase;
}

/* GÖREV ROZETİ & XP BADGE & GÜNLÜK BONUS */
.daily-quest-badge {
  display: inline-block;
  background: var(--success); color: #fff;
  padding: 4px 12px 3px 9px;
  font-size: 1.04em; border-radius: 9px; margin-right: 8px;
  font-weight: 700; box-shadow: 0 2px 6px #34d87a22;
  letter-spacing: 1px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #34d87a66;}
  70%{ box-shadow: 0 0 0 10px #34d87a00;}
  100%{ box-shadow: 0 0 0 0 #34d87a00;}
}
.xp-badge {
  background: var(--accent); color: #fff; font-size: 0.97em;
  border-radius: 8px; padding: 2px 11px;
  margin-left: 7px; box-shadow: 0 1px 5px #8f36ff45; font-weight: bold;
}
.trophy-gold { color: var(--gold);}
.trophy-silver { color: var(--silver);}
.trophy-bronze { color: var(--bronze);}

/* YORUM SİSTEMİ */
.game-comments-wrap {
  margin: 21px 0 0 0;
  width: 100%; background: #23113b44; border-radius: 9px; padding: 13px 16px;
}
#commentForm { display: flex; gap: 12px; margin-bottom: 8px; }
#commentInput { flex: 1; border-radius: 8px; border: 1.3px solid #c8b8e4; padding: 8px 12px; font-size: 1.04em;}
#ratingInput { border-radius: 7px; border: 1.3px solid #e0d2ff; padding: 4px 9px; font-size: 1.03em;}
#commentForm button { background: var(--btn-bg); color: #fff; border-radius: 8px; border: none; padding: 7px 18px; font-weight: bold;}
#commentsBoard { margin-top: 6px; }

/* OYUN AÇIKLAMASI/ALT BAR */
.troygame-game-footer {
  margin-top: 19px; color: #c5b1ea; font-size: 1.08em;
  font-weight: 500; text-shadow: 0 1px 8px #27163b44;
  background: #2a166b14; border-radius: 7px; padding: 8px 13px;
}
.troygame-back-btn {
  margin-top: 18px; padding: 11px 27px; border-radius: 19px;
  background: var(--btn-bg); color: #fff; border: none; font-size: 1.14em; font-weight: bold; cursor: pointer;
  box-shadow: 0 1px 8px #8f36ff25; transition: background .16s;
}
.troygame-back-btn:hover { background: var(--btn-hover); }

.troygame-engage-row {
  margin: 9px 0 0 0;
  font-size: 1.08em; color: #ffe871; font-weight: 600;
  display: flex; align-items: center; gap: 17px;
}

/* BLOG/NEWS BÖLÜMÜ */
.blog-section {
  background: var(--blog-bg); border-radius: 19px;
  box-shadow: 0 2px 19px #8f36ff21;
  margin: 18px auto 32px auto; max-width: 970px; padding: 24px 32px 34px 32px;
  animation: fadeIn .45s;
}
#blogPosts { display: flex; flex-direction: column; gap: 24px;}
.blog-post-card {
  background: #39286a; color: #fff; border-radius: 13px;
  box-shadow: 0 2px 14px #8f36ff18;
  padding: 19px 22px;
  font-size: 1.08em;
  animation: fadeIn .5s;
}
body.light .blog-section { background: #e3d6f8;}
body.light .blog-post-card { background: #f9f4ff; color: #231141;}

#pwaInstallPrompt { z-index: 3000; }

/* Modal (giriş kutusu) */
.modal {
  position: fixed;
  z-index: 999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40,20,75,0.87);
}
.modal-content {
  background: #f5f0fa;
  color: #222;
  border-radius: 19px;
  padding: 28px 32px 20px 32px;
  min-width: 310px;
  max-width: 94vw;
  box-shadow: 0 6px 42px #7b30d299;
  position: relative;
}
.modal-close {
  position: absolute; right: 19px; top: 13px;
  font-size: 1.7em; color: #a644ff; cursor: pointer; font-weight: bold;
}
.modal-title {
  font-size: 1.22em; font-weight: bold; text-align: center; margin: 0 0 16px 0;
  color: #8f36ff; letter-spacing: .04em;
}
.social-login-row {
  display: flex; gap: 14px; justify-content: center; margin-bottom: 15px;
}
.social-btn {
  border: none;
  background: #f3e8fd;
  color: #a644ff;
  border-radius: 9px;
  padding: 7px 16px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background .15s;
  box-shadow: 0 1px 8px #a644ff14;
}
.social-btn:hover { background: #e0d5f9; }
.modal-separator {
  text-align: center;
  margin: 10px 0;
  color: #b6a6e5;
}
.auth-form input {
  width: 100%;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid #dbcef6;
  font-size: 1em;
}
.auth-btn {
  width: 100%;
  background: #a644ff;
  color: #fff;
  border: none;
  padding: 9px 0;
  border-radius: 7px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 4px;
}
.auth-btn:hover { background: #ff00ae; }

/* Responsive */
@media (max-width: 900px) {
  .main-header { padding-left: 78px; }
  .troygame-play-box { min-width: 620px; max-width: 99vw; width: 96vw; }
  .game-iframe-responsive { max-height: 350px; }
  .troygame-related-list { grid-template-columns: 1fr; gap: 14px 0; }
  .small-related-card { width: 97vw; height: 72vw; min-width: 145px; min-height: 90px; }
  .modal-content { min-width: 200px; padding: 18px 5vw 15px 5vw; }
}
@media (max-width: 600px) {
  .main-header, .main-content, .main-banner, .troygame-play-box, .game-card, .troygame-related-list .small-related-card {
    padding-left: 1vw !important; padding-right: 1vw !important;
  }
  .game-iframe-responsive { min-height: 140px; max-height: 180px; }
  .modal-content { padding: 14px 2vw 10px 2vw; }
  .main-header { flex-direction: column; gap: 8px;}
}

@media (max-width: 900px) {
  #gamePageSection {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .troygame-play-box, .troygame-related {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    float: none !important;
  }
  .game-iframe-responsive, .game-iframe {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    aspect-ratio: 16/9 !important;
    height: 56vw !important;
    min-height: 200px !important;
    max-height: 70vw !important;
    display: block !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    background: #15151a;
  }
  .game-iframe-responsive iframe,
  .game-iframe iframe {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 56vw !important;
    min-height: 200px !important;
    max-height: 70vw !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
    display: block !important;
    background: #15151a;
  }
  .troygame-related-list {
    grid-template-columns: 1fr !important;
    gap: 7px 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .small-related-card {
    width: 95vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 90px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .modern-gamebar, .troygame-engage-row, .game-comments-wrap, .troygame-game-footer {
    padding: 6px 2vw !important;
    font-size: 1em !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .troygame-back-btn {
    width: 95vw !important;
    max-width: 100vw !important;
    margin: 12px auto !important;
    display: block;
  }
}

/* Mobile uyumluluk ve tam ekran düzeltmeleri */

@media screen and (max-width: 768px) {
  .main-wrap {
    margin-left: 0;
    padding: 12px;
  }

  .main-header {
    flex-wrap: wrap;
    padding: 12px;
  }

  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }

  .game-iframe-responsive {
    aspect-ratio: auto;
    height: 80vh;
    min-height: auto;
    max-height: none;
    width: 100% !important;
  }

  .game-iframe-responsive iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 0;
  }

  .play-thumb {
    max-width: 70%;
    max-height: 30%;
  }

  .play-title {
    font-size: 1.1em;
    text-align: center;
  }

  .troygame-play-box {
    padding: 16px 12px;
  }

  .troygame-related-list {
    grid-template-columns: 1fr !important;
    gap: 18px 0;
  }

  .small-related-card {
    width: 100% !important;
    height: 110px;
  }

  .footer-logo-row {
    flex-direction: column;
    gap: 6px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9em;
  }

  .banner-title {
    font-size: 1.7rem;
    text-align: center;
  }

  .banner-play-btn {
    padding: 10px 22px;
    font-size: 1rem;
  }

  .troygame-back-btn {
    width: 100%;
    font-size: 1rem;
    padding: 10px 0;
  }

  .game-comments-wrap {
    padding: 12px;
  }

  .section-title {
    font-size: 1.3rem;
    text-align: center;
  }
}

/* Mevcut CSS dosyasının altına eklenmelidir. */

:root {
  --main-bg: #20113a;
  --sidebar-bg: #19002e;
  --accent: #8f36ff;
  --header-bg: #2a1657;
  --card-bg: #2b1856;
  --text-main: #fff;
  --text-muted: #cac3e6;
  --border: #2d1f4e;
  --btn-bg: #6f1fff;
  --btn-hover: #ff00ae;
  --related-bg: #261148;
  --progress-bg: #eee2ff;
  --progress-bar: #8f36ff;
  --success: #34d87a;
  --danger: #ff005a;
  --gold: #ffd700;
  --silver: #cacaca;
  --bronze: #b16e3b;
  --blog-bg: #22173a;
}

body {
  background: var(--main-bg);
  color: var(--text-main);
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  transition: background .2s, color .2s;
}

a { color: var(--accent); text-decoration: none; }

.main-header {
  background: var(--header-bg);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 30px 12px 98px;
  box-shadow: 0 2px 20px #0002;
  position: sticky; top: 0; z-index: 99;
  gap: 24px;
}

.header-left { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.header-logo-img { height: 36px; width: 36px; margin-right: 6px; object-fit: contain; }
.header-logo-title { font-size: 2rem; font-weight: 900; letter-spacing: 2px; }
.logo-accent { color: var(--accent); }
.header-center { flex: 1; display: flex; justify-content: center; }
.header-search-input {
  padding: 7px 14px; border-radius: 18px; border: none; font-size: 1rem;
  margin-right: 6px; outline: none; min-width: 140px; max-width: 420px;
  color: var(--text-main); background: #fff2;
  transition: background .16s, color .16s;
}
.header-search-btn { border: none; background: var(--accent); color: #fff; font-size: 1.2rem; border-radius: 50%; padding: 7px 12px; cursor: pointer; }
.header-search-btn:hover { background: var(--btn-hover); }
.header-right { display: flex; align-items: center; gap: 13px; }
.theme-btn { font-size: 1.22em; background: none; border: none; cursor: pointer; color: inherit; }
.lang-select { border-radius: 7px; padding: 3px 8px; background: var(--header-bg); color: inherit; border: 1px solid var(--border);}
.login-btn { background: var(--btn-bg); color: #fff; border: none; padding: 6px 18px; border-radius: 18px; font-weight: 600; cursor: pointer; }
.user-menu { display: inline-block; }

/* SIDEBAR */
.sidebar-hamburger {
  position: fixed; top: 28px; left: 13px; z-index: 200; background: none; border: none; padding: 0;
}
.hamburger-btn {
  background: var(--sidebar-bg); color: var(--text-main); border: none;
  font-size: 2em; border-radius: 50%; padding: 10px 14px; cursor: pointer;
  box-shadow: 0 2px 8px #0004; transition: background .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
}
.sidebar {
  background: var(--sidebar-bg); width: 70px; position: fixed; top: 0; left: 0; height: 100vh; z-index: 120;
  transition: width 0.22s; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 0 26px #0002;
}
.sidebar.expanded { width: 210px; }
.sidebar-inner { flex: 1; width: 100%; margin-top: 80px; }
.sidebar-nav { display: flex; flex-direction: column; width: 100%; gap: 4px; }
.sidebar-cat-link {
  display: flex; align-items: center; gap: 15px; padding: 13px 21px;
  font-size: 1.13rem; color: var(--text-muted); border-radius: 14px; cursor: pointer; transition: background .16s, color .16s;
}
.sidebar-cat-link.active, .sidebar-cat-link:hover { background: #331c51; color: #fff; }
.cat-ico { font-size: 1.33em; width: 26px; text-align: center; min-width: 26px; }
.sidebar:not(.expanded) .cat-title { display: none; }
.sidebar:not(.expanded) .sidebar-cat-link { justify-content: center; gap: 0; padding-left: 0; padding-right: 0;}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: #0006; z-index: 119; }

.main-wrap { margin-left: 70px; transition: margin-left .22s; }
.sidebar.expanded ~ .main-wrap { margin-left: 210px; }

.games-grid { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-start; margin-left: 18px; }
#gamesGrid { margin-top: 10px; margin-left: 18px; }

.game-card {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 3px 18px #28174833;
  position: relative;
  overflow: hidden;
  width: 320px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  animation: fadeIn .36s;
}
.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: opacity .18s;
  z-index: 1;
  position: absolute;
  top: 0; left: 0;
}
.game-card-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: none;
  z-index: 2;
}
.game-card:hover .game-card-video,
.game-card:focus .game-card-video {
  display: block;
}
.game-card-label-absolute {
  position: absolute; top: 17px; left: 16px; padding: 6px 15px;
  background: var(--btn-bg); color: #fff; font-size: 1em; font-weight: 700; border-radius: 12px; letter-spacing: 1px;
  z-index: 4;
  box-shadow: 0 2px 8px #ff00ae38;
}
.no-games { color: #ff005a; padding: 36px; font-size: 1.24rem; }
.favorite-btn {
  position: absolute; top: 16px; right: 17px; background: #fff9;
  color: #ffbe00; border: none; border-radius: 50%; font-size: 1.43em;
  width: 36px; height: 36px; cursor: pointer; z-index: 6;
  transition: background .17s, color .17s, box-shadow .14s;
  box-shadow: 0 2px 7px #ad36ff33;
}
.game-card-title {
  position: absolute; left: 18px; bottom: 16px;
  font-size: 1.1em; font-weight: 700; color: #fff;
  text-shadow: 0 2px 8px #0007; z-index: 10;
  opacity: 0.93; transition: opacity .14s;
}
.game-card-progress-wrap {
  position: absolute; left: 0; right: 0; bottom: 7px; height: 7px; z-index: 14;
  background: var(--progress-bg); border-radius: 0 0 8px 8px;
  width: 95%; margin: 0 auto 0 auto; left: 2.5%;
  overflow: hidden;
}
.game-card-progress-bar {
  height: 7px; background: var(--progress-bar); border-radius: 0 0 8px 8px;
  width: 0%; transition: width .7s cubic-bezier(.77,.01,.37,1.02);
  animation: progressBarAnim 1.2s;
}
.game-card-plays {
  position: absolute; top: 17px; right: 58px;
  background: #ffe871d7; color: #432800; font-weight: 700; font-size: 0.98em;
  padding: 3px 13px; border-radius: 9px; box-shadow: 0 2px 7px #ffe87144;
  z-index: 10; letter-spacing: 0.5px;
}

/* OYUN SAYFASI */
#gamePageSection {
  display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start;
  width: 100%; margin-top: 24px; margin-bottom: 48px; gap: 38px;
}
.troygame-play-box {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 34px #0008;
  padding: 30px 20px 22px 20px;
  width: 100%;
  max-width: 1000px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-left: 0; margin-right: 0;
  box-sizing: border-box;
}
.game-iframe-responsive {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f6f4e9;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 420px;
  max-height: 640px;
  display: flex; align-items: center; justify-content: center;
}
.game-iframe-responsive iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  border-radius: 16px;
  background: #f6f4e9;
  object-fit: contain;
  display: block;
  max-width: 100%; max-height: 100%;
  pointer-events: auto;
}
.play-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(20,13,39,0.87);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 9;
  border-radius: 18px;
}
.play-thumb {
  max-width: 38%;
  max-height: 38%;
  margin-bottom: 22px;
  border-radius: 18px;
  box-shadow: 0 4px 30px #0007;
  background: #fff;
  object-fit: contain;
}
.play-title {
  color: #fff;
  font-size: 1.48em;
  font-weight: 700;
  margin-bottom: 19px;
  text-shadow: 0 2px 10px #8f36ff60;
  letter-spacing: 1.2px;
}
.play-btn {
  padding: 14px 36px;
  font-size: 1.15em;
  border: none;
  border-radius: 20px;
  background: var(--btn-bg);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .14s;
  margin-top: 16px;
  box-shadow: 0 2px 14px #fe0a;
}

/* Benzer Oyunlar */
.troygame-related-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 16px;
  align-items: flex-start;
  justify-items: center;
  margin-top: 22px;
}
.small-related-card {
  width: 168px;
  height: 126px;
  background: var(--related-bg);
  border-radius: 10px;
  box-shadow: 0 2px 14px #22003225;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.16s, border 0.14s;
  border: 2px solid transparent;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
/* CRAZYGAMES tarzı tam ekran ve mobil uyumluluk için responsive CSS */

/* ANA GÖVDE TAŞMASIZ */
html, body {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

/* 1200px ALTI ANA İÇERİK */
@media (max-width: 1200px) {
  .main-content {
    padding: 18px 2vw 28px 2vw;
  }
}

/* 900px ALTI GENEL DÜZEN */
@media (max-width: 900px) {
  .main-wrap, .main-content, .games-grid, #gamesGrid,
  .troygame-play-box, .troygame-related,
  .game-card, .game-iframe-responsive, .game-iframe-responsive iframe {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    border-radius: 0 !important;
    left: 0 !important; right: 0 !important;
  }
  #gamePageSection {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .troygame-play-box, .troygame-related {
    padding: 0 !important;
    float: none !important;
  }
  .game-iframe-responsive, .game-iframe-responsive iframe {
    aspect-ratio: 16/9 !important;
    height: 56vw !important;
    min-height: 180px !important;
    max-height: 70vw !important;
    background: #15151a;
    display: block !important;
  }
  .troygame-related-list {
    grid-template-columns: 1fr !important;
    gap: 7px 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .small-related-card {
    width: 95vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 90px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}

/* 600px ALTI KÜÇÜK EKRAN - GERÇEK TAŞMASIZ DÜZEN + GAME BAR */
@media (max-width: 600px) {
  .sidebar {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    height: 100vh !important;
    z-index: 102 !important;
    background: #251549 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .main-wrap {
    margin-left: 44px !important;
    width: calc(100vw - 44px) !important;
    min-width: calc(100vw - 44px) !important;
    max-width: calc(100vw - 44px) !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }
  .hamburger-btn {
    position: fixed !important;
    top: 7px !important;
    left: 7px !important;
    z-index: 120 !important;
    font-size: 1.35em !important;
    width: 36px !important;
    height: 36px !important;
    padding: 7px !important;
    border-radius: 50% !important;
    background: #2c1a52 !important;
    box-shadow: 0 2px 12px #0002;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  /* Ana içerik ve oyun kartları ortalı */
  .main-content,
  #gamePageSection,
  .games-row, .games-grid, #gamesGrid,
  .troygame-play-box, .troygame-related,
  .game-iframe-responsive, .game-iframe-responsive iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    border-radius: 0 !important;
    left: 0 !important; right: 0 !important;
  }
  .game-card {
    width: 98vw !important;
    max-width: 350px !important;
    min-width: 0 !important;
    margin: 0 auto 12px auto !important;
    border-radius: 12px !important;
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
  }
  .game-iframe-responsive, .game-iframe-responsive iframe {
    height: 60vw !important;
    min-height: 140px !important;
    max-height: 270px !important;
    background: #15151a;
    display: block !important;
  }
  /* Benzer oyunlar 2'li grid, taşmasız ve ortalı */
  .troygame-related-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    width: 98% !important;
    margin: 0 auto !important;
    padding: 10px 2vw 0 2vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .small-related-card {
    width: 97% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 80px !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    flex: 1 1 45vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: #181727;
  }
  /* GAME BAR -- responsive ve asla taşmaz */
  .game-bar, .modern-gamebar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto 8px auto !important;
    padding: 0 3px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    background: #4b269e !important;
    z-index: 99 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    height: 31px !important;
  }
  .game-bar-title, .modern-bar-title {
    font-size: 0.98em !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 85px !important;
    margin-right: 2px !important;
  }
  .game-bar-btns, .modern-bar-actions-v2 {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }
  .game-bar-btn, .modern-bar-btn {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #361872 !important;
    border-radius: 5px !important;
    font-size: 0.98em !important;
    color: #fff !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .game-bar-btn > *, .modern-bar-btn > * {
    font-size: 1em !important;
    line-height: 1em !important;
  }
  /* Header ve banner paddinglerini sıfırla */
  .main-header,
  .main-banner,
  .troygame-play-box,
  .game-card,
  .troygame-related-list .small-related-card {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .main-header { flex-direction: column; gap: 8px; }
  .header-logo-title { font-size: 1.1rem; }
  .footer-logo-title { font-size: 1.0rem; }
}

/* En küçük ekranlar için ekstra iyileştirme */
@media (max-width: 420px) {
  .main-header { padding: 8px 1vw 8px 1vw; }
  .footer-logo-title { font-size: 0.95rem; }
  .game-bar, .modern-gamebar { min-height: 28px !important; height: 28px !important; }
  .game-bar-title, .modern-bar-title { max-width: 55px !important; font-size: 0.83em !important; }
}

...  (diğer css kodların)
/* Modern ve klasik gamebar çakışmaları ve IOS pointer fixleri */
.modern-gamebar {
  position: relative;
  z-index: 1100;
  pointer-events: auto !important;
}
#modernGameBar { ... }
... (devamı yukarıda verdiğim gibi)

body.fullscreen-fake {
  position: fixed !important;
  left: 0; top: 0;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  z-index: 99999 !important;
  background: #15151a !important;
}

body.fullscreen-active .main-content,
body.fullscreen-active #gamePageSection,
body.fullscreen-active .troygame-play-box {
  position: fixed !important;
  z-index: 2000 !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw !important;
  height: 100vh !important;
  background: #15151a;
}

.ios-fullscreen {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  background: #000 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.ios-fullscreen iframe {
  width: 100vw !important;
  height: 100vh !important;
}

.ios-fullscreen-hack {
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw !important;
  height: 100vh !important;
  background: #000 !important;
  z-index: 99999 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
.ios-fullscreen-hack iframe,
.ios-fullscreen-hack .game-iframe-responsive,
.ios-fullscreen-hack #oyunIframeContainer {
  width: 100vw !important;
  height: 100vh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  background: #000 !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  top: 0; left: 0;
  z-index: 100000 !important;
}
body.ios-fullscreen-fake {
  overflow: hidden !important;
}


// ================= CSS İPUCU (FULL-FAKE) =================
 style.css dosyana şunu ekle:
 body.full-fake .main-header, 
 body.full-fake .sidebar, 
 body.full-fake .footer-logo-row,
 body.full-fake footer,
 body.full-fake .sidebar-overlay,
 body.full-fake #siteContent,
 body.full-fake .blog-section,
 body.full-fake .troygame-related,
 body.full-fake .troygame-game-footer,
 body.full-fake .troygame-engage-row,
 body.full-fake .game-comments-wrap {
   display: none !important;
 }
 body.full-fake #gamePageSection,
 body.full-fake .troygame-play-box,
 body.full-fake .game-iframe-responsive {
   width: 100vw !important;
   height: 100vh !important;
   max-width: 100vw !important;
   max-height: 100vh !important;
   min-width: 0 !important;
   min-height: 0 !important;
   border-radius: 0 !important;
   margin: 0 !important;
   padding: 0 !important;
   background: #000 !important;
   z-index: 999999 !important;
   position: fixed !important;
   top: 0 !important;
   left: 0 !important;
}
 body.full-fake .game-iframe-responsive iframe {
   width: 100vw !important;
   height: 100vh !important;
   border-radius: 0 !important;
   background: #000 !important;
 }






