:root{
  --bg:#0f1424; --bg-soft:#121935;
  --card:#162146; --card-2:#1b2752;
  --text:#e9ecff; --muted:#a8b0d9;
  --brand:#6c63ff; --brand-2:#8a7bff;
  --chip:#232d5a; --stroke:rgba(255,255,255,.08);
  --shadow:0 8px 24px rgba(0,0,0,.25);
  --radius:16px;
  
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1400px;margin:0 auto;padding:0 0px;}

.trend-hero-section {
  margin: 20px auto 10px;
 /*  padding: 15px 20px; */
  background: linear-gradient(180deg,  /* #1e2030 #171827*/ #ffffff,#ffffff, );
  border-radius: 14px;
/*   border: 1px solid #2d3050; */
  max-width: 1400px;
}

.trend-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  color: #fff;
}

.trend-hero-header h2 {
  font-size: 22px;
  margin: 0;
  color:#000;
}

.trend-hero-link {
  display: inline-block;
  background: linear-gradient(90deg, #fc0752, #ff5f9e);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(252, 7, 82, 0.3);
  transition: all 0.25s ease;
}

.trend-hero-link:hover {
  background: linear-gradient(90deg, #ff3574, #ff7fb5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(252, 7, 82, 0.55);
  text-shadow: 0 0 6px rgba(255,255,255,0.7);
}

.trend-hero-link:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(252, 7, 82, 0.35);
}

.trend-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 14px;
}

.trend-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #2a2c45;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.25s;
}

.trend-hero-card:hover {
  transform: scale(1.04);
}

.trend-hero-large {
  grid-column: span 2;
  grid-row: span 2;
}

.trend-hero-thumb {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.trend-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 📌 kutuyu tamamen doldurur */
  object-position: center;/* 📌 ortalayarak kırpar */
  display: block;
  transition: transform 0.4s ease;
}

.trend-hero-card:hover .trend-hero-thumb img {
  transform: scale(1.08); /* 📌 hover’da hafif zoom efekti */
}
.trend-hero-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
}

.trend-hero-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 4px 0;
}

.trend-hero-views {
  color: #ccc;
  font-size: 13px;
}

.trend-hero-rank {
  background: #6b5bff;
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
}

.trend-hero-empty {
  color: #aaa;
  text-align: center;
  padding: 10px;
}

.trend-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.trend-hero-rank {
  position: absolute;
  top: 0px;
  right: 12px;  /* 🔥 sola değil, sağa alıyoruz */
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  z-index: 5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(135deg, #666, #333);
}

/* Hover efekti */
.trend-hero-card:hover .trend-hero-rank {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* 🥇 Gold */
.trend-hero-rank[data-rank="1"] {
  background: linear-gradient(135deg, #ffcf40, #ffb300);
}
.trend-hero-rank[data-rank="1"]::before {
  content: "🥇";
}

/* 🥈 Silver */
.trend-hero-rank[data-rank="2"] {
  background: linear-gradient(135deg, #d7d7d7, #a8a8a8);
}
.trend-hero-rank[data-rank="2"]::before {
  content: "🥈";
}

/* 🥉 Bronze */
.trend-hero-rank[data-rank="3"] {
  background: linear-gradient(135deg, #d09c6e, #b57843);
}
.trend-hero-rank[data-rank="3"]::before {
  content: "🥉";
}

/* 💜 Purple */
.trend-hero-rank[data-rank="4"] {
  background: linear-gradient(135deg, #a35bff, #6f2bff);
  
}
.trend-hero-rank[data-rank="4"]::before {
  content: "💜";
}

/* 💙 Blue */
.trend-hero-rank[data-rank="5"] {
  background: linear-gradient(135deg, #00b8ff, #0077ff);
}
.trend-hero-rank[data-rank="5"]::before {
  content: "💙";
}

/* 💚 Green */
.trend-hero-rank[data-rank="6"] {
  background: linear-gradient(135deg, #00d27f, #00b067);
}
.trend-hero-rank[data-rank="6"]::before {
  content: "💚";
}

@media (max-width: 768px) {
  .trend-hero-grid {
    grid-template-columns: repeat(2, 1fr); /* 🔥 Her mobilde 2 sütun */
    grid-gap: 10px; /* 📏 Mobilde daha sıkı aralık */
  }

  .trend-hero-large {
    grid-column: span 2;  /* büyük kart tam genişlikte */
    grid-row: span 1;
  }

  .trend-hero-header h2 {
    font-size: 18px;
  }
}


/* ICON BUTON */
/* Ortak stil */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

/* Favoriler (kalp) */
.icon-btn.heart {
  background: #444; /* pasif gri */
}
.icon-btn.heart.is-active {
  background: #e63946; /* aktif kırmızı */
}

/* Beğeni (like) */
.icon-btn.like {
  background: #444; /* pasif gri */
}
.icon-btn.like.is-active {
  background: #2563eb; /* aktif mavi */
}

/* Hover efekti */
.icon-btn:hover {
  transform: scale(1.05);
  opacity: .9;
}

/* === FAVORİ MODAL === */
/* Modal kaplama */
.fav-modal {
  display: none; /* başlangıçta gizli */
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
}

/* Modal içeriği */
.fav-content{

  position: relative;
  background: #1a1b26;
  margin: auto;
  max-width: 990px;
  border-radius: 14px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  z-index: 10000;  /* içerik de en üste */
}

/* kapatma butonu */
.fav-modal .fav-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: color .2s;
}
.fav-modal .fav-close:hover { color: #fff; }

/* Başlık */
.fav-modal h2 {
  font-size: 22px;
  margin-bottom: 18px;
  color: #f0f0f0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
}

/* Slider alanı */
.fav-slider {
  max-width:100%;
  width:950px;
  position: relative;
  display: flex;
  align-items: center;
}
.fav-carousel {
  width:100%;
  max-width:950px;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 10px 0;
}
.fav-carousel::-webkit-scrollbar {
  height: 6px;
}
.fav-carousel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2);
  border-radius: 6px;
}

/* Oyun kartı */
.fav-item {
  flex: 0 0 auto;
  width: 150px;
  background: #222436;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.fav-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.55);
}
.fav-item .fav-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fav-item .fav-name {
  padding: 10px;
  font-size: 14px;
  color: #fff;
}
.fav-item .fav-name a {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s;
}
.fav-item .fav-name a:hover {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

/* Prev/Next butonları */
.fav-slider .fav-prev,
.fav-slider .fav-next {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
}
.fav-slider .fav-prev:hover,
.fav-slider .fav-next:hover {
  background: rgba(255,255,255,.25);
}

/* animasyon */
@keyframes favFadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* === LIKE MODAL === */


.like-modal {
  display: none; /* başlangıçta gizli */
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
}

/* Modal içeriği */

.like-content {
  position: relative;
  background: #1a1b26;
  margin: auto;
  max-width: 990px;
  border-radius: 14px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  z-index: 10000;  /* içerik de en üste */
}
/* kapatma butonu */
.like-modal .like-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: color .2s;
}
.like-modal .like-close:hover { color: #fff; }

/* Başlık */
.like-modal h2 {
  font-size: 22px;
  margin-bottom: 18px;
  color: #f0f0f0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
}

/* Slider alanı */
.like-slider {
  max-width:100%;
  width:950px;
  position: relative;
  display: flex;
  align-items: center;
}
.like-carousel {
  width:100%;
  max-width:950px;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 10px 0;
}
.like-carousel::-webkit-scrollbar {
  height: 6px;
}
.like-carousel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2);
  border-radius: 6px;
}

/* Oyun kartı */
.like-item {
  flex: 0 0 auto;
  width: 150px;
  background: #232637;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.like-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.55);
}
.like-item .like-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.like-item .like-name {
  padding: 10px;
  font-size: 14px;
  color: #fff;
}
.like-item .like-name a {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #3b82f6, #2563eb); /* mavi degrade */
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s;
}
.like-item .like-name a:hover {
  background: linear-gradient(90deg, #1d4ed8, #1e40af);
}

/* Prev/Next butonları */
.like-slider .like-prev,
.like-slider .like-next {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
}
.like-slider .like-prev:hover,
.like-slider .like-next:hover {
  background: rgba(255,255,255,.25);
}

/* animasyon */
@keyframes likeFadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}


  .image-container-user img.imgg {
    width: 42px;
    height: 42px;
  }
}

/* Kullanıcı avatarı */
.image-container-user {
  position: relative;
}

.image-container-user img.imgg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #222;
}
.image-container-user img.imgg:hover {
  transform: scale(1.05);
}

/* Dropdown menü */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: #1b2233;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  padding: 10px;
  min-width: 160px;
}

.dropdown-content a {
  display: block;
  color: #ddd;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 14px;
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.image-container-user:hover .dropdown-content {
  display: block;
}

/* Login butonu */
.login-btn {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.login-btn:hover {
  background: #fc0752;
}

/* === MOBİL TASARIM === */
@media (max-width: 768px) {
  .container.bar {
    display: block;
    text-align: center;
  }

  .logo {
    margin-bottom: 12px;
  }

  .searchbar {
    width: 90%;
    margin: 0 auto 15px auto;
    display: block;
  }

  .searchbar input.search {
    text-align: center;
  }

  .actions {
    justify-content: center;
    gap: 15px;
  }

  .icon-btn {
    font-size: 20px;
    padding: 10px;
  }

  .image-container-user img.imgg {
    width: 46px;
    height: 46px;
  }
}

/* HERO (home) */
.hero{margin:24px 0 12px}
.hero-grid{display:grid;grid-template-columns:2fr 2fr 2fr;gap:16px}
@media (max-width:1024px){.hero-grid{grid-template-columns:1fr}}
.slide{position:relative;border-radius:22px;overflow:hidden;background:var(--card);min-height:220px;box-shadow:var(--shadow)}
.slide img{width:100%;height:100%;object-fit:cover;opacity:.85}
.slide .label{position:absolute;left:18px;bottom:18px;background:rgba(0,0,0,.35);backdrop-filter:blur(6px);padding:10px 14px;border:1px solid var(--stroke);border-radius:12px;font-weight:700}
.slide .arrows{position:absolute;right:16px;bottom:16px;display:flex;gap:8px}
.icon-btn{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--stroke);background:rgba(0,0,0,.35);backdrop-filter:blur(6px);cursor:pointer}

/* Hero chips */
.hero-chips-wrapper {
  position: relative;
}

/* Ad boxes (home + play) */
.ad-box{grid-column:1/-1;height:120px;border:1px dashed #556;border-radius:12px;
display:flex;align-items:center;justify-content:center;color:#aab;background:#1a2247}
.ad-boxW{grid-column:1/-1; width:300px; height:600px;border:1px dashed #556;border-radius:12px;display:flex;
align-items:center;justify-content:center;color:#aab;background:#1a2247}

/* Top played (home sidebar) */
.top-played{margin-top:14px;padding-top:14px;border-top:1px solid var(--stroke)}
.top-played h4{margin:0 0 10px;font-size:14px}
.toplist{display:grid;gap:10px}
.topitem{display:flex;gap:10px;align-items:center}
.topitem img{width:52px;height:38px;object-fit:cover;border-radius:8px}
.topitem .t{font-size:13px;flex:1}
.topitem .c{font-size:12px;color:var(--muted)}

/* Breadcrumb (game & play) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #ccc;
  background: linear-gradient(180deg, #1e2030, #171827);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #2d3050;
  margin: 10px 0 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.breadcrumb a {
  color: #8b8fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.breadcrumb a:hover {
  color: #fff;
  text-shadow: 0 0 5px #8b8fff;
}

.breadcrumb .divider {
  color: #666;
  margin: 0 2px;
  font-weight: 600;
}

.breadcrumb i.fa-home {
  margin-right: 5px;
  color: #8b8fff;
}

.breadcrumb i.far.fa-clock {
  margin-left: 10px;
  color: #aaa;
}

.breadcrumb .date {
  font-size: 13px;
  color: #bbb;
  margin-left: 3px;
}

.breadcrumb span[itemprop="itemListElement"] a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
/* 📱 Mobil uyum */
@media (max-width: 600px) {
  .breadcrumb {
    font-size: 13px;
    padding: 8px 10px;
  }
  .breadcrumb span,
  .breadcrumb a {
    white-space: nowrap;
  }
}


/* Game detail: layout + hero card + tabs + sidebar */
.page{display:grid;grid-template-columns:1.55fr .45fr;gap:18px}
@media (max-width:980px){.page{grid-template-columns:1fr}}
.hero-card{background:var(--card);border:1px solid var(--stroke);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.cover{position:relative;aspect-ratio:32/9;background:#0b1022}
.cover img{width:100%;height:100%;object-fit:cover;opacity:.9}
.cover .play{position:absolute;right:14px;bottom:14px;display:flex;gap:8px}
.icon-btn{border:1px solid var(--stroke);background:rgba(0,0,0,.35);backdrop-filter:blur(6px);width:42px;height:42px;border-radius:12px;color:#fff;display:grid;place-items:center;cursor:pointer}
.titlebar{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:14px}
.titlebar h1{margin:0;font-size:22px}
.meta-row{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.pill{display:inline-flex;gap:6px;align-items:center;padding:6px 10px;border-radius:999px;background:var(--chip);border:1px solid var(--stroke)}
.star {
  font-size: 18px;
  display: inline-block;
}
 
.star.full  { color: gold; }
.star.empty { color: #ccc; }

.star.half {
  background: linear-gradient(90deg, gold 50%, #ccc 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.metastar {
  font-size: 14px;
  line-height: 1.4;
  margin-top: 5px;
}

.metastar div {
  display: block;
  margin-bottom: 3px;
}

.metastar.star.full  { color: gold; }
.metastar.star.empty { color: #ccc; }
.metastar.star.half {
  background: linear-gradient(90deg, gold 50%, #ccc 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Tabs (genel) */
.tabs{margin-top:16px;border:1px solid var(--stroke);border-radius:14px;overflow:hidden;background:var(--card)}
.tab-head{display:flex;gap:6px;padding:6px;background:rgba(255,255,255,.02);border-bottom:1px solid var(--stroke)}
.tab-btn{flex:1;padding:10px;border-radius:10px;border:1px solid transparent;text-align:center;cursor:pointer;color:#fff;font-weight: bold;
background: linear-gradient(180deg, var(--brand), var(--brand-2));}
.tab-btn.active{color:#fff;border-color:var(--stroke);background:var(--chip)}
.tab-panel{display:none;padding:14px}
.tab-panel.active{display:block}
.section{display:grid;gap:8px}
.section h3{margin:0 0 4px}




/* Related (oyun kartlarını yeniden kullanır) */
.related{margin:20px 0}
.related h3{margin:0 0 10px}
.related .grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
@media (max-width:1200px){.related .grid{grid-template-columns:repeat(5,1fr)}}
@media (max-width:980px){.related .grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:720px){.related .grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:520px){.related .grid{grid-template-columns:repeat(2,1fr)}}
.related .card{position:relative;background:var(--card-2);border:1px solid var(--stroke);border-radius:16px;overflow:hidden}
.related .thumb{position:relative;aspect-ratio:16/11;background:#0b1022}
.related .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.related .card:hover .thumb img{transform:scale(1.08)}
.related .play-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);opacity:0;transition:opacity .25s ease}
.related .card:hover .play-overlay{opacity:1}
.related .play-overlay span{background:linear-gradient(180deg,var(--brand),var(--brand-2));color:#fff;padding:8px 14px;border-radius:999px;font-weight:700;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.related .content{padding:2px}
.related .title{font-size:13px;font-weight:700;min-height:34px}
.related .meta2{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:6px}

/* PLAY sayfası: player */
.page.page-play .page{grid-template-columns:1fr 330px}
@media (max-width:1040px){.page.page-play .page{grid-template-columns:1fr}}
.player{background:var(--card);border:1px solid var(--stroke);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.player-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--stroke);background:rgba(255,255,255,.02)}
.controls{display:flex;gap:8px;flex-wrap:wrap}
.ctrl{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;border-radius:10px;border:1px solid var(--stroke);background:#bbc2e0;cursor:pointer}
.ctrl:hover{filter:brightness(1.05)}
.ctrl[aria-pressed="true"]{outline:2px solid rgba(108,99,255,.35)}
.player-viewport{position:relative;background:#0b1022}
/* .ratio{position:relative;width:100%;padding-top:56.25%} /* 16:9 */ */
/* .ratio[data-ratio="4-3"]{padding-top:75%} */
/* .ratio[data-ratio="21-9"]{padding-top:42.857%} */
/* .ratio[data-ratio="1-1"]{padding-top:100%} */
/* .ratio iframe,.ratio canvas{position:absolute;inset:0;width:100%;height:100%;border:0} */
/* ==== OYUN ORANLARI ==== */
.ratio {
  position: relative;
  width: 100%;
  transition: padding-top 0.3s ease;
}

/* Diğer oranlar */
.ratio[data-ratio="21-9"] { aspect-ratio: 21 / 9; }
.ratio[data-ratio="16-9"] { aspect-ratio: 16 / 9; }
.ratio[data-ratio="4-3"]  { aspect-ratio: 4 / 3; }
.ratio[data-ratio="1-1"]  { aspect-ratio: 1 / 1; }

/* 🔹 Fullscreen'de oran devre dışı */
.ratio[data-ratio="fullscreen"] {
  padding-top: unset !important;
  height: 100vh !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* iframe konumu */
.ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}de
}
.loader{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(0deg,rgba(0,0,0,.35),rgba(0,0,0,.35));backdrop-filter:blur(2px)}
.loader .dot{width:10px;height:10px;border-radius:50%;background:#fff;opacity:.6;margin:0 3px;display:inline-block;animation:b 1s infinite alternate}
.loader .dot:nth-child(2){animation-delay:.15s}.loader .dot:nth-child(3){animation-delay:.3s}
@keyframes b{to{opacity:1;transform:translateY(-4px)}}

.player-under{display:grid;grid-template-columns:1fr;gap:12px;padding:12px}
.hints{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}

/* Fullscreen/Theatre */
:fullscreen .header{display:none}
:fullscreen body{background:#000}
.theatre .page{grid-template-columns:1fr 300px}
.theatre #playerCard{grid-column:1/-1}
@media (max-width:1040px){ .theatre .page{grid-template-columns:1fr} }
.player-viewport.zoomable{overflow:hidden}
.player-viewport.zoomable .ratio{transform-origin:center center; transition:transform .2s ease}



.searchinp .search-icon {
    color: #aaa;
    margin-left: 10px;
}

.results-container {
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 10px;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
    height: 300px;
    position: absolute;
    width: 100%; /* search-container genişliğine uyum sağlamak için */
    left: 0; /* Arama kutusuyla hizalanması için */
    top: 100%; /* Arama kutusunun hemen altında çıkması için */
    overflow: auto;
    display: none;
    z-index: 1;
    margin-top: 0; /* Varsayılan margin'i kaldırdık */
}

#results {
    position: absolute;
    background-color: #1e1f2d;
    border: 1px solid #444;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
    display: none;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.search-result {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #333;
    transition: background 0.3s;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background-color: #2e2f3f;
}

.search-result a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #eee;
    width: 100%;
}

.search-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.search-title {
    font-size: 15px;
    font-weight: 500;
}

.no-result {
    text-align: center;
    color: #aaa;
    padding: 10px;
}


/* Her bir sonucun gÖrünüm stili */
.result-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.result-card img {
    width: 50px;
    height: auto;
    border-radius: 10px;
    margin-right: 15px;
}

.result-item {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
}

.result-item a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.result-item a:hover {
    color: #007bff; /* Hover'da renk değişimi */
}
/* Avatar container */
.image-container-user {
  position: relative;
  display: inline-block;
}

.image-container-user .imgg {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.15);
  transition: transform 0.2s, border-color 0.2s;
}

.image-container-user .imgg:hover {
  transform: scale(1.05);
  border-color: #3b82f6; /* mavi highlight */
}

/* Dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  margin-top: 0px;
  background: #1f2233;
  min-width: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  z-index: 9999;
  animation: fadeIn .2s ease;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #e5e7eb;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.dropdown-content a:first-child {
  background: #2b2f44;
  font-weight: 600;
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Show on hover */
.image-container-user:hover .dropdown-content {
  display: block;
}

/* Login button style */
.login-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: #3b82f6;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.login-btn:hover {
  background: #2563eb;
}

/* Small fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


./* Ortak stil */

/* ==== Game Stats Bölümü ==== */
.action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 6px 10px;
}

.stat {
  background: #c9d0f0; /* diğer toolbar butonlarının rengi */
  color: #111;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.stat i {
  font-size: 17px;
  transition: color 0.25s ease, transform 0.25s ease;
}

/* Hover efekti */
.stat:hover {
  background: #e0e4ff;
  transform: translateY(-1px);
}

/* Upvote - aktif veya hover */
.stat#upvote.active,
.stat#upvote:hover {
  background: #ffe066;
  color: #222;
}

/* Downvote - aktif veya hover */
.stat#downvote.active,
.stat#downvote:hover {
  background: #000;
  color: #fff;
}

.fa-thumbs-up {
  color: #28a745 !important; 
}

.fa-thumbs-down {
  color: #ec1144 !important; 	
}
/* Favori kalp */
.favorite-btn {
  background: #c9d0f0;
  border-radius: 8px;
  padding: 6px 10px;
  transition: all 0.25s ease;
}

.favorite-btn:hover {
  background: #e0e4ff;
  transform: translateY(-1px);
}

/* Kalp ikonunun görünümü 
.favorite-btn i.fa-heart {
  font-size: 18px;
  color: #222;
  transition: color 0.3s ease, transform 0.25s ease;
}*/

/* Aktif favori (kırmızı kalp + animasyon) */
.favorite-btn i.fa-heart.color-red {
  color: #ff4757 !important;
  animation: heartPop 0.35s ease;
}

/* Kalp büyüme efekti */
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* Oy sayısı */
.vote-count {
  font-weight: 600;
  font-size: 15px;
}

/* Uyarı alanı */
.vote-status {
  margin-top: 8px;
  font-size: 15px;
  text-align: right;
  color: #ddd;
}

.vote-status.text-success { color: #22c55e; }
.vote-status.text-danger { color: #ef4444; }


/* Favoriye ekli ikonu kırmızı yap */
.stat .fa-heart.color-red {
  color: red !important;
}

/* Durum mesajı renkleri */
.text-success {
  color: green !important;
}
.text-danger {
  color: red !important;
}
.stat .fa {
    font-size: 25px;
}


.text-success {
  color: green !important;
}
.text-danger {
  color: red !important;
}

/* likes favorites button fnish */
   .report-modal {
	   z-index:9999;
  display: none;
  position: fixed;
  z-index: 20;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.report-modal-content {
	   z-index:9999;
  background-color: #fefefe;
  color: #000;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 320px;
}
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.report-label {
  padding: 0 10px;
  margin-right: 5px;
  border-radius: 15px;
  display: inline-block;
  margin-bottom: 8px;
}

/* report modal fnish */
/* Genel açıklama bloğu */
.game-description {
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  line-height: 1.7;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.game-description a {
  text-decoration:none;
  
}
/* Kısa açıklama kısmı */
.desc-short p,
.desc-full p {
  margin-bottom: 10px;
  color: #fff;
}
.desc-full a {

  color: #f1960d;
  font-size:16px;
  font-weight: bold;
}

.desc-short a {

  color: #f1960d;
  font-size:16px;
  font-weight: bold;
}
/* "Read More" ve "Hide" bağlantıları */
.toggle-desc {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Read More stili */
.desc-short .toggle-desc {
  background: #004aad;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.desc-short .toggle-desc:hover {
  background: #0b6ef0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

/* Hide stili */
.desc-full .toggle-desc {
  background: #d83b3b;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.desc-full .toggle-desc:hover {
  background: #f24c4c;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

/* Hafif geçiş efektiyle açılıp kapanma */
.desc-full {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
  

/* gizli kalan metin */
.more-content span {
  display: none;
}

/* link stili */
.more-link {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
}
.game-instructions p::before {
  content: '❯';
  position: absolute;
  left: 0;
  top: 0;
  color: #28a745;
  font-weight: bold;
}
.game-instructions p {
  margin: 8px 0;
  padding-left: 18px;
  position: relative;
}

.ad-top{overflow:hidden;border-radius:12px;  justify-content: center;
  align-items: center;      /* gri çerçeve */
  padding: 5px;
  background: #fff;      /* arka plan hafif gri */}
  
 /* ===USER PAGE === */ 
  
  .user-page {
  background: linear-gradient(180deg, #fffff 0%, #fffff 100%);
  color: #000;
  font-family: "Poppins", sans-serif;
  padding: 40px 20px;
  box-sizing: border-box;
}

.user-page h2 {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(252, 7, 82, 0.4);
}

/* === Layout === */
.container-user {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.container-user .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.col-md-4,
.col-md-8 {
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  padding: 20px;
  box-sizing: border-box;
}

.col-md-4 {
  flex: 1 1 30%;
  min-width: 280px;
}

.col-md-8 {
  flex: 1 1 65%;
  min-width: 300px;
}

/* === PROFILE === */
.profile-photo img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid #fc0752;
  object-fit: cover;
  transition: transform 0.3s;
}

.profile-photo img:hover {
  transform: scale(1.05);
}

.profile-username {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-top: 12px;
}

.profile-join {
  color: #9da6c2;
  font-size: 14px;
  margin: 6px 0;
}

.profile-bio {
  font-style: italic;
  color: #7b84a3;
}

/* === SECTION === */
.section {
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand, #3b82f6);
  margin-bottom: 10px;
}

/* === LEVEL BAR === */
.level-badge {
  width: 60px;
  margin-right: 10px;
  vertical-align: middle;
}

.progress {
  width: 100%;
  background-color: #1b2238;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar {
  background: linear-gradient(90deg, #3b82f6, #fc0752);
  height: 12px;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
}

/* === GAME LIST (Favorites & Likes) === */
.profile-gamelist-horizontal {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.profile-gamelist-horizontal ul {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.profile-gamelist-horizontal ul::-webkit-scrollbar {
  display: none;
}

/* Her oyun kutusu */
.profile-game-item {
  flex-shrink: 0;
  width: 120px;
  border-radius: 16px;
  background: #141c2f;
  border: 1px solid #1f2945;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

/* çerçeve */
.profile-game-item .list-thumbnail {
  width: 100%;
  aspect-ratio: 3 / 4;  /* tüm resimler aynı oranda görünür */
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1220; /* arka plan (yüklenme anında) */
}

/* resmin kendisi */
.profile-game-item .list-thumbnail img.small-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* taşmadan doldurur */
  border-radius: 16px;
  transition: transform 0.3s ease;
}

/* hover efekti */
.profile-game-item:hover .list-thumbnail img.small-thumb {
  transform: scale(1.05);
}

/* Resimler sabit oranda, taşmadan */
.profile-game-item img.small-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* === SCROLL BUTTONS === */
.btn-arrow {
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all 0.3s ease;
}

.btn-arrow:hover {
  background: rgba(255,255,255,0.2);
}

.btn-left { left: 5px; }
.btn-right { right: 5px; }

/* === MOBİL === */
@media (max-width: 768px) {

  .btn-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  
}

  .profile-game-item {
    width: 95px;
  }

  .profile-game-item .list-thumbnail {
    aspect-ratio: 3 / 4;
  }
}
/* === UL yapısındaki spacing === */
.profile-gamelist-horizontal ul {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.profile-gamelist-horizontal ul li{
 list-style-type: none;
}
.profile-gamelist-horizontal ul::-webkit-scrollbar {
  display: none;
}
.profile-gamelist-horizontal {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}




/* === COMMENTS === */
.profile-comments {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.profile-comment-item {
  background: #151d32;
  border: 1px solid #222b45;
  border-radius: 10px;
  padding: 12px 15px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.profile-comment-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(252, 7, 82, 0.3);
}

.comment-text {
  font-size: 15px;
  color: #eee;
  margin-bottom: 5px;
}

.comment-date {
  font-size: 13px;
  color: #8d94af;
}

.delete-comment {
  font-size: 13px;
  color: #fc0752;
  margin-top: 6px;
  cursor: pointer;
  text-align: right;
}

.delete-comment:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .container-user {
    flex-direction: column;
  }

  .col-md-4, .col-md-8 {
    width: 100%;
  }

  .profile-photo img {
    width: 100px;
    height: 100px;
  }

  .profile-game-item img.small-thumb {
    width: 85px;
    height: 85px;
  }

  .btn-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}




/* === EDIT PROFILE PAGE === */

.user-page .section {

  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s ease;
}

.user-page .section:hover {
  box-shadow: 0 0 20px rgba(59,130,246,0.25);
}

/* === HEADERS === */
.user-page h3.single-title,
.user-page .section-title {
  color: #7a9eff;
  font-weight: 600;
  margin-bottom: 16px;
  text-shadow: 0 0 8px rgba(59,130,246,0.4);
}

/* === FORM LABELS === */
.user-page label {
  font-size: 14px;
  color: #000;
  margin-bottom: 6px;
  display: block;
}

/* === FORM INPUTS === */
.user-page .form-control,
.user-page textarea {
  color: #000;
  border: 1px solid #2b385b;
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  transition: border 0.2s, box-shadow 0.2s;
  font-size: 15px;
}

.user-page .form-control:focus,
.user-page textarea:focus {
  outline: none;
  border-color: #4f6aff;
  box-shadow: 0 0 0 3px rgba(79,106,255,0.2);
}

/* === RADIO BUTTONS === */
.user-page .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.user-page .form-check-input {
  accent-color: #4f6aff;
  width: 16px;
  height: 16px;
}

.user-page .form-check-label {
  font-size: 14px;
  color: #000;
}

/* === BUTTONS === */
.user-page .btn-primary {
  background: linear-gradient(90deg, #4f6aff, #9c54ff);
  border: none;
  color: white;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.user-page .btn-primary:hover {
  background: linear-gradient(90deg, #5b75ff, #b366ff);
  transform: translateY(-2px);
}

/* === AVATAR CHOOSER === */
/* === AVATAR SEÇİMİ === */
.user-page .avatar-chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 10px;
}

/* Her avatar kutusu */
.user-page .avatar-chooser .col-3 {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}




/* Radio input tamamen gizlendi */
.user-page .avatar-chooser input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Avatar görseli */
.user-page .avatar-chooser label img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

/* Hover efekti */
.user-page .avatar-chooser label img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(79,106,255,0.3);
}

/* Seçili avatar efekti */
.user-page .avatar-chooser input[type="radio"]:checked + label img {
  border-color: #4f6aff;
  box-shadow: 0 0 12px rgba(79,106,255,0.6);
  transform: scale(1.08);
}

/* Responsive uyum */
@media (max-width: 768px) {
  .user-page .avatar-chooser .col-3 {
    width: 60px;
    height: 60px;
  }

  .user-page .avatar-chooser label img {
    width: 55px;
    height: 55px;
  }
}
/* === PASSWORD SECTIONS === */
.user-page .section input[type="password"] {
  background: #ccc;
}

/* === UPLOAD INPUT === */
.user-page input[type="file"] {

  color: #000;
  padding: 6px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.user-page input[type="file"]::-webkit-file-upload-button {

  color: #000;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  margin-right: 8px;
}

.user-page input[type="file"]::-webkit-file-upload-button:hover {
  background: #fff;
   border-color: #4f6aff;
}

/* === LAYOUT ADJUST === */
@media (max-width: 768px) {
  .user-page .avatar-chooser .col-3 {
    width: 25%;
  }
}

/* ===USER PAGE === */


/* === CONTACT FORM PLUGIN === */
#contact-form-plugin {
  max-width: 700px;
  margin: 0px auto;
  background: #111a2e;
  border: 1px solid #1e2a4a;
  border-radius: 14px;
  padding: 30px 35px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  color: #e0e6f1;
  font-family: "Inter", sans-serif;
}

/* Başlıklar ve etiketler */
#contact-form-plugin label.form-label {
  font-size: 15px;
  font-weight: 500;
  color: #c9d3eb;
  display: block;
  margin-bottom: 8px;
}

/* Input ve textarea */
#contact-form-plugin .form-control {
  background: #0d1426;
  color: #e2e7f1;
  border: 1px solid #2b385b;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  width: 100%;
  transition: border 0.25s, box-shadow 0.25s;
}

#contact-form-plugin .form-control:focus {
  outline: none;
  border-color: #4f6aff;
  box-shadow: 0 0 0 3px rgba(79,106,255,0.25);
}

/* Placeholder rengi */
#contact-form-plugin .form-control::placeholder {
  color: #7b87a6;
}

/* Captcha görseli */
#contact-form-plugin img {
  border-radius: 8px;
  border: 1px solid #2b385b;
  display: block;
  margin-bottom: 10px;
}

/* Gönder butonu */
#contact-form-plugin .btn-primary {
  background: linear-gradient(90deg, #4f6aff, #9c54ff);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

#contact-form-plugin .btn-primary:hover {
  background: linear-gradient(90deg, #5b75ff, #b366ff);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79,106,255,0.3);
}

/* Alert kutuları */
#contact-form-plugin-alert .alert {
  border-radius: 10px;
  font-size: 14px;
  padding: 12px 16px;
}

#contact-form-plugin-alert .alert-success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

#contact-form-plugin-alert .alert-danger {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

/* Responsive düzen */
@media (max-width: 768px) {
  #contact-form-plugin {
    padding: 20px;
    margin: 20px;
  }
}


/* --- LOADER --- */
.loading_pager {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 22, 33, 0.6); /* Hafif kararma */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  border-radius: 12px;
}

.spinner_pager {
  width: 50px;
  height: 50px;
  border: 4px solid #fff;
  border-top: 4px solid #6a8cff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- RANDOM REFRESH BUTTON --- */
.random-refresh {
  margin: 20px auto;
  width: fit-content;
  background: linear-gradient(135deg, #2c2f59, #3d468c);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.random-refresh:hover {
  background: linear-gradient(135deg, #3e4a9a, #5a63d9);
  transform: scale(1.05);
}

.trend-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}

.trend-tab {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: #2a2c45;
  color: #ccc;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid #2f3254;
}

.trend-tab:hover {
  background: #3b3e63;
  color: #fff;
  transform: scale(1.03);
}

.trend-tab.active {
  background: linear-gradient(90deg, #6b5bff, #8a7fff);
  color: #fff;
  border: 1px solid #6b5bff;
  box-shadow: 0 0 10px rgba(107,91,255,0.5);
}


.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top {
    z-index: 9999;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #6c5ce7;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex
;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s 
ease, visibility 0.3s 
ease;
}

.recommend-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 340px;
  max-height: 460px;
  background: rgba(28, 29, 47, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 9999;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.recommend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.08);
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.recommend-header span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.recommend-header span::before {
  content: "🎮";
}

.recommend-header button {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  padding: 2px 8px;
  transition: 0.2s;
}

.recommend-header button:hover {
  background: rgba(255,255,255,0.2);
}

.recommend-content {
  padding: 10px;
  overflow-y: auto;
  max-height: 380px;
}

.recommend-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: 0.25s ease;
}

.recommend-content a:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.recommend-content img {
  width: 68px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.recommend-content span {
  font-size: 14px;
  font-weight: 500;
}

	.most {

  position: relative;
  margin: 1.5em 0 1em;
  padding-bottom: 0.75em;
  font-size: 1.7rem;
  font-weight: 300;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.most::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 50px;
  height: 4px;
  background-color:#4a90e2;
  border-radius: 2px;
}