/* ==========================================================================
   OyunLab Studio - Ana stil dosyası
   Bootstrap 5.3 üzerine özel stiller.
   Varsayılan: gündüz modu. Gece modu: <html data-bs-theme="dark">
   ========================================================================== */

/* ---------- Renk değişkenleri: GÜNDÜZ ---------- */
:root,
[data-bs-theme="light"] {
  --c-bg: #faf8ff;
  --c-alt: #f0ebff;
  --c-surface: #ffffff;
  --c-surface-2: #f4f1ff;
  --c-border: #e2d9ff;
  --c-text: #1b1640;
  --c-muted: #5f5a82;
  --c-primary: #6c4cf1;
  --c-primary-dark: #4a30c4;
  --c-accent: #ff6b4a;
  --c-yellow: #ffd23f;
  --c-link: #5b3fe0;
  --hero-1: #6c4cf1;
  --hero-2: #9a5cff;
  --hero-3: #ff6b4a;
  --header-bg: rgba(255, 255, 255, 0.92);
  --shadow-soft: 0 14px 40px rgba(76, 48, 196, 0.12);
  --shadow-card: 0 5px 0 var(--c-border);

  --bs-body-bg: var(--c-bg);
  --bs-body-color: var(--c-text);
  --bs-secondary-color: var(--c-muted);
  --bs-border-color: var(--c-border);
  --bs-link-color-rgb: 91, 63, 224;
  --bs-link-hover-color-rgb: 74, 48, 196;
}

/* ---------- Renk değişkenleri: GECE ---------- */
[data-bs-theme="dark"] {
  --c-bg: #0f0d24;
  --c-alt: #15122f;
  --c-surface: #1c1840;
  --c-surface-2: #251f52;
  --c-border: #342a6b;
  --c-text: #f1eeff;
  --c-muted: #aaa3d6;
  --c-primary: #8b73ff;
  --c-primary-dark: #5a43d6;
  --c-link: #b9a9ff;
  --hero-1: #3a2a9e;
  --hero-2: #5b34c4;
  --hero-3: #c2452b;
  --header-bg: rgba(15, 13, 36, 0.92);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 5px 0 #070618;

  --bs-body-bg: var(--c-bg);
  --bs-body-color: var(--c-text);
  --bs-secondary-color: var(--c-muted);
  --bs-border-color: var(--c-border);
  --bs-link-color-rgb: 185, 169, 255;
  --bs-link-hover-color-rgb: 220, 211, 255;
}

/* ---------- Genel ---------- */
html {
  scroll-behavior: smooth;
}

body {
  --bs-body-font-family: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-family: var(--bs-body-font-family);
  font-size: 1.02rem;
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.btn,
.hero-title,
.stat strong {
  font-family: "Fredoka", "Nunito", system-ui, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

.min-w-0 {
  min-width: 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2000;
  background: #fff;
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
}

/* ---------- Butonlar (oyun tarzı, "basılabilir") ---------- */
.btn {
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.7rem;
  font-size: 1.1rem;
}

.btn-gradient {
  background: linear-gradient(180deg, #8a6bff 0%, var(--c-primary) 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 5px 0 var(--c-primary-dark);
}

.btn-gradient:hover,
.btn-gradient:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--c-primary-dark);
}

.btn-gradient:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--c-primary-dark);
}

.btn-game {
  background: linear-gradient(180deg, #ffe066 0%, var(--c-yellow) 100%);
  color: #3a2a00;
  border: 0;
  box-shadow: 0 5px 0 #d9a300;
}

.btn-game:hover,
.btn-game:focus {
  color: #3a2a00;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #d9a300;
}

.btn-game:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #d9a300;
}

.btn-success {
  box-shadow: 0 5px 0 #0f6b3a;
  border: 0;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #0f6b3a;
}

.btn-success:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #0f6b3a;
}

.btn-outline-brand {
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
  background: transparent;
}

[data-bs-theme="dark"] .btn-outline-brand {
  color: var(--c-link);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.btn-outline-light {
  border-width: 2px;
}

/* ---------- Üst bilgi çubuğu ---------- */
.topbar {
  background: #1b1640;
  font-size: 0.86rem;
  padding: 7px 0;
}

.topbar a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--c-yellow);
}

.topbar-contact a {
  margin-right: 22px;
}

.topbar-contact i {
  color: var(--c-yellow);
  margin-right: 5px;
}

.topbar-icon {
  margin-left: 14px;
  font-size: 1rem;
}

/* ---------- Header / Navbar ---------- */
.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--c-border);
  z-index: 1030;
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(40, 20, 120, 0.14);
}

.navbar-brand img {
  display: block;
  height: 45px;
  width: auto;
}

/* Gündüz: koyu yazılı logo, gece: beyaz yazılı logo */
.brand-logo-dark {
  display: none !important;
}

[data-bs-theme="dark"] .brand-logo-dark {
  display: block !important;
}

[data-bs-theme="dark"] .brand-logo-light {
  display: none !important;
}

.navbar-toggler {
  border: 2px solid var(--c-border);
  color: var(--c-text);
  font-size: 1.6rem;
  padding: 0 10px;
  border-radius: 14px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(108, 76, 241, 0.35);
}

.navbar .nav-link {
  color: var(--c-text);
  font-weight: 800;
  padding: 0.9rem 0.95rem;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .nav-link.show {
  color: var(--c-primary);
}

[data-bs-theme="dark"] .navbar .nav-link:hover,
[data-bs-theme="dark"] .navbar .nav-link.active,
[data-bs-theme="dark"] .navbar .nav-link.show {
  color: var(--c-yellow);
}

@media (min-width: 1200px) {
  .navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 6px;
    height: 4px;
    border-radius: 4px;
    background: var(--c-accent);
  }
}

/* Gece / gündüz düğmesi */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-text);
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  transform: rotate(18deg) scale(1.06);
  background: var(--c-yellow);
  color: #3a2a00;
  border-color: var(--c-yellow);
}

.theme-toggle .icon-sun {
  display: none;
}

[data-bs-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-bs-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

/* ---------- Mega menü ---------- */
.mega-menu {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  padding: 22px 0;
  margin-top: 0;
  box-shadow: var(--shadow-soft);
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 18px;
  color: var(--c-text);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mega-item:hover,
.mega-item:focus {
  background: var(--c-surface-2);
  color: var(--c-text);
  transform: translateX(4px);
}

.mega-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.mega-icon-box {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.mega-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mega-text strong {
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.mega-text small {
  color: var(--c-muted);
  line-height: 1.35;
}

.mega-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 2px dashed var(--c-border);
  color: var(--c-muted);
  font-size: 0.92rem;
}

@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .mega-menu {
    left: 0;
    right: 0;
  }

  .mega-menu-sm .row {
    max-width: 780px;
  }
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding-bottom: 16px;
  }

  .mega-menu {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 4px 0 8px;
  }

  .mega-item {
    padding: 8px 6px;
  }

  .navbar .btn-gradient {
    width: 100%;
  }
}

/* ---------- Bölümler ---------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--c-alt);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 46px;
}

.section-head h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 6px;
  margin: 12px auto 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent), var(--c-yellow));
}

.section-head p {
  color: var(--c-muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .section {
    padding: 56px 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 150px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 55%, var(--hero-3) 130%);
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
  width: 380px;
  height: 380px;
  top: -140px;
  right: -90px;
}

.shape-2 {
  width: 220px;
  height: 220px;
  bottom: 30px;
  left: -70px;
}

.shape-3 {
  width: 70px;
  height: 70px;
  top: 90px;
  left: 44%;
  background: rgba(255, 210, 63, 0.4) !important;
}

.shape-4 {
  width: 36px;
  height: 36px;
  bottom: 140px;
  right: 38%;
  background: rgba(255, 107, 74, 0.55) !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.hero-mark {
  position: relative;
  color: var(--c-yellow);
  white-space: nowrap;
}

.hero-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q5 0 10 5 T20 5 T30 5 T40 5' fill='none' stroke='%23ffd23f' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 40px 10px;
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
}

.proof-icons {
  display: flex;
}

.proof-icons img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 3px solid #fff;
  margin-left: -10px;
}

.proof-icons img:first-child {
  margin-left: 0;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
}

.hero-wave path {
  fill: var(--c-bg);
}

/* Hero sahnesi: telefon + yüzen ikonlar */
.hero-stage {
  position: relative;
  height: 500px;
  max-width: 520px;
  margin: 0 auto;
}

.stage-phone {
  position: absolute;
  left: 50%;
  top: 0;
  width: 270px;
  height: auto;
  transform: translateX(-50%) rotate(3deg);
  border-radius: 34px;
  border: 7px solid #1b1640;
  box-shadow: 0 30px 60px rgba(20, 8, 80, 0.45);
}

.stage-icon {
  position: absolute;
  border-radius: 24px;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px rgba(20, 8, 80, 0.35);
  animation: float 5s ease-in-out infinite;
}

.icon-a {
  left: 2%;
  top: 70px;
}

.icon-b {
  right: 0;
  top: 40px;
  animation-delay: -1.5s;
}

.icon-c {
  left: 6%;
  bottom: 40px;
  animation-delay: -3s;
}

.icon-d {
  right: 6%;
  bottom: 80px;
  animation-delay: -2.2s;
}

.stage-chip {
  position: absolute;
  padding: 8px 14px;
  border-radius: 50px;
  background: #fff;
  color: #1b1640;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(20, 8, 80, 0.3);
  animation: float 6s ease-in-out infinite;
}

.chip-a {
  left: 22%;
  top: 8px;
  animation-delay: -1s;
}

.chip-b {
  right: 18%;
  bottom: 10px;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-16px) rotate(3deg);
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 56px 0 120px;
  }
}

@media (max-width: 575.98px) {
  .hero-stage {
    height: 400px;
  }

  .stage-phone {
    width: 205px;
  }

  .icon-a,
  .icon-c {
    width: 62px;
    height: 62px;
  }

  .icon-b {
    width: 72px;
    height: 72px;
  }

  .icon-d {
    width: 56px;
    height: 56px;
  }

  .hero-wave {
    height: 50px;
  }
}

/* ---------- Kayan oyun şeridi ---------- */
.marquee {
  overflow: hidden;
  background: var(--c-surface);
  border-top: 2px solid var(--c-border);
  border-bottom: 2px solid var(--c-border);
  padding: 16px 0;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px 6px 8px;
  border-radius: 50px;
  background: var(--c-surface-2);
  border: 2px solid var(--c-border);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

.marquee-item img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

/* ---------- İstatistikler ---------- */
.stats {
  padding: 56px 0 8px;
}

.stat {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 24px;
  padding: 24px 10px;
  box-shadow: var(--shadow-card);
}

.stat strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-primary);
}

[data-bs-theme="dark"] .stat strong {
  color: var(--c-yellow);
}

.stat span {
  color: var(--c-muted);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- Oyun kartları ---------- */
.game-card {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-primary);
  box-shadow: 0 5px 0 var(--c-primary), var(--shadow-soft);
}

.game-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.game-card:hover .game-card-thumb img {
  transform: scale(1.08);
}

.game-card .card-body {
  background: transparent;
  padding: 1.1rem 1.1rem 0.6rem;
}

.game-icon-sm {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  flex-shrink: 0;
  margin-top: -30px;
  border: 3px solid var(--c-surface);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.game-card h3 {
  font-weight: 600;
  font-size: 1.1rem;
}

.game-card .badge {
  font-weight: 700;
  background: var(--c-surface-2) !important;
  color: var(--c-primary) !important;
  border: 1px solid var(--c-border);
}

[data-bs-theme="dark"] .game-card .badge {
  color: var(--c-link) !important;
}

.game-card .card-footer {
  background: transparent;
  border-top: 2px dashed var(--c-border);
  padding: 0.7rem 1.1rem;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .game-card .card-body {
    padding: 0.8rem 0.8rem 0.4rem;
  }

  .game-card .card-body p {
    display: none;
  }

  .game-icon-sm {
    width: 44px;
    height: 44px;
    margin-top: -26px;
  }
}

/* ---------- Öne çıkan oyun ---------- */
.spotlight {
  position: relative;
  padding: 48px;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  overflow: hidden;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.18), var(--shadow-soft);
}

.spotlight::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.spotlight .row {
  position: relative;
}

.spotlight-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.spotlight-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
}

.spotlight-media {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.spotlight-media:hover {
  transform: rotate(0deg) scale(1.02);
}

.spotlight-media img {
  display: block;
  width: 100%;
}

.spotlight-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-yellow);
  color: #3a2a00;
  font-size: 2.6rem;
  box-shadow: 0 6px 0 #d9a300;
}

@media (max-width: 767.98px) {
  .spotlight {
    padding: 28px 20px 34px;
    border-radius: 30px;
  }
}

/* ---------- Kategori kartları ---------- */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 10px;
  border-radius: 24px;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  box-shadow: var(--shadow-card);
  color: var(--c-text);
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-accent);
  color: var(--c-text);
}

.category-card i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: var(--c-surface-2);
  color: var(--c-accent);
  font-size: 1.7rem;
}

.category-card strong {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}

.category-card small {
  color: var(--c-muted);
}

/* ---------- Özellik kutuları ---------- */
.feature-box {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 26px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h3 {
  font-weight: 600;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

/* ---------- CTA ---------- */
.cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 46px;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2) 60%, var(--hero-3) 140%);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.15);
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -60px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .cta-box {
    padding: 30px 22px;
    border-radius: 28px;
  }
}

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
  position: relative;
  padding: 60px 0 96px;
  color: #fff;
  background: linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 60%, var(--hero-3) 150%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background: var(--c-bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C240,100 480,0 720,36 C960,72 1200,100 1440,44 L1440,90 L0,90 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C240,100 480,0 720,36 C960,72 1200,100 1440,44 L1440,90 L0,90 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-weight: 700;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.9) !important;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- Filtre çubuğu ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border-radius: 50px;
  padding: 6px 16px;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  color: var(--c-text);
  font-weight: 700;
}

.filter-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-surface);
}

.filter-btn.active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 4px 0 var(--c-primary-dark);
}

.filter-btn .count {
  opacity: 0.7;
  font-size: 0.78rem;
  margin-left: 2px;
}

.search-box {
  max-width: 300px;
}

.search-box .input-group-text,
.search-box .form-control {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  color: var(--c-text);
}

.search-box .input-group-text {
  border-radius: 50px 0 0 50px;
  border-right: 0;
}

.search-box .form-control {
  border-radius: 0 50px 50px 0;
  border-left: 0;
}

.search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--c-primary);
}

/* ---------- Oyun detay ---------- */
.game-hero {
  position: relative;
  padding: 36px 0 52px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}

.game-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.32;
}

.game-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) saturate(1.2);
  transform: scale(1.15);
}

.game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5));
}

.game-hero .container {
  z-index: 2;
}

.game-hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 34px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25), 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 5px solid #fff;
}

.game-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.game-stats > div {
  flex: 1 1 110px;
  max-width: 170px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.game-stats strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.15rem;
}

.game-stats span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 575.98px) {
  .game-hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .game-hero h1 {
    font-size: 1.7rem;
  }

  .game-hero .btn-lg {
    flex: 1 1 100%;
  }

  .game-stats > div {
    flex: 1 1 calc(50% - 10px);
    max-width: none;
  }
}

.shots-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
}

.shots-scroller .shot {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.shots-scroller img {
  width: 210px;
  height: auto;
  border-radius: 22px;
  border: 4px solid var(--c-surface);
  box-shadow: 0 5px 0 var(--c-border), var(--shadow-soft);
  transition: transform 0.2s ease;
}

.shots-scroller img:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.info-card {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.info-card .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--c-text);
  --bs-table-border-color: var(--c-border);
}

.info-card th {
  color: var(--c-muted);
  font-weight: 700;
  width: 48%;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.feature-list i {
  color: #12b981;
  font-size: 1.15rem;
}

.game-desc p {
  color: var(--c-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--header-bg);
  border-top: 2px solid var(--c-border);
  backdrop-filter: blur(10px);
}

.mobile-cta img {
  border-radius: 12px;
}

body.page-game-detail {
  padding-bottom: 66px;
}

@media (min-width: 992px) {
  body.page-game-detail {
    padding-bottom: 0;
  }
}

/* ---------- Hakkımızda ---------- */
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.about-visual img {
  width: 44%;
  border-radius: 28px;
  border: 5px solid var(--c-surface);
  box-shadow: 0 6px 0 var(--c-border), var(--shadow-soft);
}

.about-visual img:first-child {
  transform: rotate(-3deg);
}

.about-visual img:last-child {
  margin-top: 48px;
  transform: rotate(3deg);
}

.timeline {
  border-left: 4px dashed var(--c-border);
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 4px solid var(--c-bg);
  box-shadow: 0 0 0 3px var(--c-accent);
}

.timeline-year {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-primary);
  min-width: 56px;
}

[data-bs-theme="dark"] .timeline-year {
  color: var(--c-yellow);
}

.team-card {
  text-align: center;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 26px;
  padding: 26px 14px;
  box-shadow: var(--shadow-card);
}

.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 3px solid var(--c-border);
  font-size: 2.5rem;
  color: var(--c-primary);
}

/* ---------- Hizmetler ---------- */
.step-card {
  position: relative;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 26px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: #3a2a00;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 0 #d9a300;
}

/* ---------- Galeri ---------- */
.gallery-tabs .nav-link {
  border-radius: 50px;
  color: var(--c-text);
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  margin: 0 5px;
  font-weight: 800;
}

.gallery-tabs .nav-link.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 0 var(--c-primary-dark);
}

.gallery-thumb {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid var(--c-surface);
  box-shadow: 0 5px 0 var(--c-border);
}

.gallery-thumb img {
  width: 100%;
  transition: transform 0.35s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(27, 22, 64, 0.65);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-overlay i {
  font-size: 1.9rem;
}

.gallery-thumb:hover .gallery-overlay,
.gallery-thumb:focus .gallery-overlay {
  opacity: 1;
}

.lightbox-img {
  max-height: 80vh;
  width: auto;
}

.video-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 4px solid var(--c-surface);
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  box-shadow: 0 5px 0 var(--c-border);
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.35s ease;
}

.video-card:hover img {
  transform: scale(1.05);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-yellow);
  color: #3a2a00;
  font-size: 2.3rem;
  box-shadow: 0 5px 0 #d9a300;
}

.video-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  text-align: left;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

/* ---------- Mağazalar ---------- */
.store-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 26px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.store-card:hover {
  transform: translateY(-5px);
}

.store-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  font-size: 1.9rem;
  margin-bottom: 14px;
  color: var(--store-color);
  background: color-mix(in srgb, var(--store-color) 14%, transparent);
  border: 2px solid color-mix(in srgb, var(--store-color) 40%, transparent);
}

.store-matrix {
  --bs-table-bg: var(--c-surface);
  --bs-table-color: var(--c-text);
  --bs-table-border-color: var(--c-border);
  --bs-table-hover-bg: var(--c-surface-2);
  --bs-table-hover-color: var(--c-text);
  min-width: 720px;
}

.store-matrix thead th {
  background: var(--c-surface-2);
  font-family: "Fredoka", sans-serif;
}

/* ---------- İletişim ---------- */
.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 22px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}

.contact-card .feature-icon {
  margin-bottom: 0;
}

.contact-form {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.contact-form .form-control,
.contact-form .form-select {
  background-color: var(--c-bg);
  border: 2px solid var(--c-border);
  color: var(--c-text);
  border-radius: 16px;
  padding: 0.65rem 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(108, 76, 241, 0.2);
}

.contact-form .form-label {
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .contact-form {
    padding: 22px 18px;
  }
}

.map-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 260px;
  border: 3px dashed var(--c-border);
  border-radius: 30px;
  color: var(--c-muted);
  text-align: center;
  padding: 20px;
}

.map-placeholder i {
  font-size: 2.4rem;
  color: var(--c-accent);
}

/* ---------- Accordion ---------- */
.accordion {
  --bs-accordion-bg: var(--c-surface);
  --bs-accordion-color: var(--c-text);
  --bs-accordion-border-color: var(--c-border);
  --bs-accordion-border-width: 2px;
  --bs-accordion-border-radius: 22px;
  --bs-accordion-inner-border-radius: 20px;
  --bs-accordion-btn-color: var(--c-text);
  --bs-accordion-btn-bg: var(--c-surface);
  --bs-accordion-active-bg: var(--c-surface-2);
  --bs-accordion-active-color: var(--c-primary);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(108, 76, 241, 0.25);
}

.accordion-button {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
}

[data-bs-theme="dark"] .accordion {
  --bs-accordion-active-color: var(--c-yellow);
}

/* ---------- Footer (her zaman koyu) ---------- */
.site-footer {
  position: relative;
  background: #120f2b;
  color: #e8e4ff;
  padding: 70px 0 24px;
  margin-top: 40px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -39px;
  height: 40px;
  background: #120f2b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 L0,22 C240,-6 480,44 720,20 C960,-4 1200,40 1440,14 L1440,40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 L0,22 C240,-6 480,44 720,20 C960,-4 1200,40 1440,14 L1440,40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a,
.footer-contact a {
  color: #b9b2e6;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--c-yellow);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: #b9b2e6;
}

.footer-contact i {
  color: var(--c-yellow);
  margin-top: 3px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-icon:hover {
  background: var(--c-yellow);
  color: #3a2a00;
  transform: translateY(-4px);
}

/* İletişim sayfasında (açık zemin) sosyal ikonlar */
.contact-social .footer-icon {
  background: var(--c-surface);
  border-color: var(--c-border);
  color: var(--c-text);
  box-shadow: 0 4px 0 var(--c-border);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 2px dashed rgba(255, 255, 255, 0.14);
}

.footer-bottom .text-body-secondary {
  color: #9a93c9 !important;
}

/* ---------- Yukarı çık ---------- */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1025;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-yellow);
  color: #3a2a00;
  font-size: 1.25rem;
  box-shadow: 0 5px 0 #d9a300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

body.page-game-detail .back-to-top {
  bottom: 82px;
}

@media (min-width: 992px) {
  body.page-game-detail .back-to-top {
    bottom: 18px;
  }
}

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
