:root {
  --bg-dark:#171a21;
  --bg-light:#283a5ac9;
  --primary-color:#00bcd4;
  --secondary-color:#007bff;
  --text-light:#f0f0f0;
  --text-dark:#c0c0c0;
  --radius-xl:20px;
  --radius-md:12px;
  --transition:all .25s ease;
}

/* === GLOBAL === */
*{box-sizing:border-box;margin:0;padding:0}
body{
  background:
    radial-gradient(circle at top,rgba(0,188,212,.08),transparent 60%),
    radial-gradient(circle at bottom,rgba(0,123,255,.06),transparent 60%),
    var(--bg-dark);
  color:var(--text-light);
  font-family:"Poppins","Segoe UI",sans-serif;
  display:flex;
  flex-direction:column;
  align-items:stretch;     /* ✅ artık ortalamıyor, tam genişlikte */
  min-height:100vh;
}
.page{
  max-width:1200px;
  width:100%;
  margin:0 auto;           /* ✅ ortalanmış ana içerik */
  padding:24px 32px 100px; /* ✅ alt boşluk artırıldı ki footer’a yer kalsın */
  display:flex;
  flex-direction:column;
  gap:32px;
}

/* === BACK BUTTON === */
.back-btn{
  align-self:flex-start;
  border:1px solid rgba(255,255,255,.2);
  background:linear-gradient(90deg,rgba(0,188,212,.25),rgba(0,123,255,.15));
  color:var(--text-light);
  border-radius:999px;
  padding:8px 18px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
  cursor:pointer;
  transition:var(--transition);
}
.back-btn:hover{
  box-shadow:0 0 14px rgba(0,188,212,.5);
  border-color:var(--primary-color);
  transform:translateY(-1px);
}

/* === TOP SECTION === */
.top-section{
  display:grid;
  grid-template-columns:1.6fr 1.4fr;
  gap:24px;
}
.game-cover{
  position:relative;
  background:linear-gradient(145deg,var(--bg-dark),var(--bg-light));
  border-radius:var(--radius-xl);
  padding:10px;
  border:1px solid rgba(255,255,255,.05);
  box-shadow:0 18px 45px rgba(0,0,0,.55);
}
.game-cover-inner{
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:16px;
}
.game-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.game-cover:hover img{
  transform:scale(1.03);
}

/* === GAME HEADER === */
.game-header{
  background:var(--bg-light);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-xl);
  padding:18px 20px;
  box-shadow:0 18px 45px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.game-title{
  font-size:26px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.game-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.game-tags span{
  font-size:11px;
  color:var(--text-dark);
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);
  padding:3px 10px;
  border-radius:999px;
}

/* === STATS === */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.stat-item{
  background:rgba(23,26,33,.96);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-md);
  padding:8px 10px;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.stat-label{
  color:var(--text-dark);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.stat-value{
  color:var(--primary-color);
  font-size:13px;
  font-weight:600;
}
.stat-sub{
  font-size:9px;
  color:var(--text-dark);
}

/* === BUTTON === */
.cta-row{margin-top:auto}
.primary-btn{
  background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));
  border:none;
  color:#000;
  border-radius:999px;
  padding:10px 32px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:11px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 9px 22px rgba(0,0,0,.7);
  transition:var(--transition);
}
.primary-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.9);
}

/* === ABOUT + SYSTEM === */
.info-grid{
  display:grid;
  grid-template-columns:1.8fr 1fr;
  gap:20px;
}
.section{
  background:var(--bg-light);
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  padding:20px;
}
.section-title{
  color:var(--primary-color);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.16em;
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}
.section-title::before{
  content:"";
  width:22px;
  height:1px;
  background:linear-gradient(90deg,var(--primary-color),transparent);
}
.section-body{
  font-size:13px;
  line-height:1.7;
  color:var(--text-dark);
}

/* ✅ SYSTEM REQ TEXT — açıklamayla aynı ton */
.requirements-single p{
  font-size:13px;
  line-height:1.7;
  color:var(--text-dark);
}
.requirements-single p span{
  color:var(--text-light);
}

/* ==== EXPLORE MORE ==== */
.explore-section {
  padding: 20px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0 2px;
}

.explore-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--esport-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.explore-title::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--esport-accent), transparent);
}
.explore-sub {font-size:11px;color:var(--text-dark);}

.explore-row {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 4px 6px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,188,212,.45) rgba(255,255,255,.03);
}
.explore-row::-webkit-scrollbar {height: 6px;}
.explore-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(0,188,212,.55), rgba(0,123,255,.55));
  border-radius: 999px;
}
.explore-row::-webkit-scrollbar-track {background: rgba(255,255,255,.02);}

/* === CARD === */
a.game-card {
  flex: 0 0 270px;
  background: linear-gradient(160deg, rgba(40,58,90,.65), rgba(23,26,33,.9));
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.6);
  padding: 0 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 34px rgba(0,0,0,.9);
  border-color: rgba(0,188,212,.55);
}

/* === IMAGE === */
.game-card-img {
  width: calc(100% + 20px);
  margin: 0 -10px;
  aspect-ratio: 16/9;
  border-radius: 18px 18px 12px 12px;
  overflow: hidden;
  background: var(--bg-dark);
  position: relative;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* 🔥 görüntü tam oturuyor */
  object-position: center;
  transform: scale(1.03);    /* kart oranına tam oturması için min zoom */
  transition: transform .45s ease, filter .45s ease;
}
a.game-card:hover .game-card-img img {
  transform: scale(1.08);    /* yumuşak büyütme */
  filter: brightness(1.08) contrast(1.03);
}

.game-card-title {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 6px;
}
.game-card-meta {
  font-size: 10.5px;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  gap: 6px;
  white-space: nowrap;
}

/* === PLACEHOLDER === */
.game-card.skeleton {
  flex: 0 0 270px;
  height: 220px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer {
  0% {background-position: -200% 0;}
  100% {background-position: 200% 0;}
}

/* === FADE-IN === */
.game-card.appear {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp .45s ease forwards;
}
@keyframes fadeInUp {
  to {opacity: 1; transform: translateY(0);}
}


@media(max-width:900px){
  .top-section{grid-template-columns:1fr;}
  .info-grid{grid-template-columns:1fr;}
  .game-card{flex:0 0 55%;}
}
@media(max-width:600px){
  .game-card{flex:0 0 70%;}
}

/* === IMAGE GALLERY SLIDER === */
.oyun-galerisi, .game-cover-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-dark);
}

.galeri-resmi {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 1.2s ease;
}
.galeri-resmi.active {
  opacity: 1;
  transform: scale(1);
}

/* SLIDER BUTTONS */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0,0,0,0.45);
  color: var(--text-light);
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  z-index: 10;
}
.gallery-btn:hover {
  background: var(--primary-color);
  color: #000;
  transform: translateY(-50%) scale(1.05); /* ✅ artık yukarı kaymaz */
  box-shadow: 0 0 14px var(--primary-color);
}
.gallery-btn.prev { left: 12px; }
.gallery-btn.next { right: 12px; }

/* DOTS */
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.4); /* ✅ kontrast için */
  border-radius: 999px;
  padding: 4px 8px; /* ✅ uzamadan tam çevresine */
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 11;
  backdrop-filter: blur(4px);
}
.gallery-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.35);
  transition: all .25s ease;
  cursor: pointer;
}
.gallery-dots button.active {
  background: var(--primary-color);
  transform: scale(1.25);
}
.gallery-dots button:hover {
  background: rgba(255,255,255,.8);
}

/* === "Oýna" BUTTON as <a> === */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,var(--primary-color),var(--secondary-color));
  border: none;
  color: #000;
  border-radius: 999px;
  padding: 10px 32px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(0,0,0,.7);
  transition: all .25s ease;
  text-decoration: none; /* ✅ link görünümü olmasın */
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.9);
}

.stat-value{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--primary-color);
  font-size:13px;
  font-weight:600;
}

.stat-icon{
  width:16px;
  height:16px;
  top: -5px;
  flex:0 0 auto;
  object-fit:contain;
  opacity:.95;
  filter:drop-shadow(0 0 4px rgba(0,0,0,.7));
}
