    .report-modal {
  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 {
  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;
}
/* Reset ve Temel Stiller */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background: #f0f0ff;
  color: #333;
  overflow-x:hidden;
  
  
}
body::-webkit-scrollbar {
      width: 4px;        /* İncelttik */
  height: 2px;       /* Yatay scrollbar varsa o da ince olsun */
    background: rgba(255, 99, 7, 0.9);  /* %30 opak */
  border-radius: 2px;                   /* Daha küçük radius */
}
:root {
   --sidebarr-width: 280px;
  --bg-main: #28293d;
  --bg-sidebar: #f1f5f9;
  --accent: #4a90e2;
   --primary-color: #4a90e2;
  --secondary-color: #212233;
  --text-color: #ffffff;
  --bg-light: #f5f5f5;
  --border-radius: 8px;
  --max-width: 600px;
  --spacing: 16px;
  --transition: 0.3s ease;
    --pg-bg: #f9fafb;
  --pg-primary: #1f2937;
  --pg-secondary: #4b5563;
  --pg-accent: #2563eb;
  --pg-border: #e5e7eb;
  --pg-box-shadow: rgba(0, 0, 0, 0.05);
  --pg-gap: 1rem;
  --pg-radius: 0.5rem;
  --pg-transition: 0.3s ease;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Header Container */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
  width: 100%;
  position: fixed;
  top: 0;
  background: #f0f0ff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  z-index: 9999;
}

/* Gruplar */
.header-group {
  display: flex;
  align-items: center;
}
.header-group--left {
  flex: 1 1 auto;
  gap: 10px;
}
.header-group--right {
  flex: 0 0 auto;
  gap: 10px;
}

/* Toggle Butonu */
#sidebarToggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Logo */
.header .logo img {
  display: block;
  max-height: 50px;
  border-radius: 10px;
}

/* Arama Çubuğu */

/* Icon Butonlar */
.header .icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #555;
}

/* Giriş Butonu */
.header .login-btn {
  padding: 8px 14px;
  border: none;
  background: #0078d4;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* “Most Played / Liked / Top” Linkleri */
.header-links {
  display: flex;
  gap: 8px;
}
.header-links a {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #333;
  transition: opacity 0.3s;
}
.header-links a:hover {
  opacity: 0.8;
}
.btn-played { background: #d0eaff; }
.btn-liked  { background: #dff7d0; }
.btn-top    { background: #ffe6c2; }

/* Küçük Ekran (≤600px) */
 .moth {
    margin-top:50px;
  }
@media (max-width: 768px) {

  /* Grup sıralaması ve genişlikler */
  .header-group--left {
    order: 1;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 10px;
  }
  .header-group--right {
    order: 2;
    width: 100%;
    justify-content: center;
    margin-top: 5px;
  }


 

  /* Diğer butonlar altta */
  .header .icon-btn,
  .header .login-btn {
    order: 3;
    margin: 8px 5px 0;
    text-align: center;
  }

  /* İsteğe bağlı: başlık linklerini gizle */
  .moth {
    margin-top:60px;
  }
    .sidebar {
    margin-top:55px;
  }
}

/* Sidebar */
.sidebar {
height:500px;
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 46px;
  background: white;
  border-right: 1px solid #ddd;
  overflow-x:auto ;
  transition: width .3s ease;
}
.sidebar.expanded,
.sidebar:hover {
  width: 220px;
}
.sidebar.hidden {
  width: 0;
}
.sidebar nav ul {
  list-style: none;
}
.sidebar nav ul li {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  cursor: pointer;
}
.sidebar a {
  display: flex;
  align-items: center;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.sidebar a:hover {
  color: #00ffff;
}
.sidebar span {
  margin-left: 12px;
  font-size: 0.95rem;
  color: #333;
  display: none;
}
.sidebar.expanded span,
.sidebar:hover span {
  display: inline-block;
}
.sidebar.hidden ~ main {
  margin-left: 0;
}
/* WebKit */
.sidebar::-webkit-scrollbar {
  width: 4px;        /* İncelttik */
  height: 2px;       /* Yatay scrollbar varsa o da ince olsun */
  
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(74, 104, 206, 0.3);  /* %30 opak */
  border-radius: 2px;                   /* Daha küçük radius */
}

.sidebarr::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 144, 226, 0.6);  /* Hover’da biraz daha opak */
}


/* Main içerik */
main { 
  margin-top: 0;
  margin-left: 40px;
  padding-top: 20px;
  transition: margin-left .3s ease;
}

/* Genel Carousel Stilleri */
.slider-container {
  position: relative;
    background: #1e1f2f00; /* koyu arka plan */
  border-radius: 16px; /* yuvarlak köşeler */
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); /* alttan gölge */
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-container .prev,
.slider-container .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;                /* mutlaka carousel’ın üstünde olsun */
  cursor: pointer;
  pointer-events: all; 
backgroun:#000;  /* overlay’ler bu butonları kaplamasın */
}

/* örnek pozisyonlar */
.slider-container .prev { left: 10px; width: 40px;
    height: 40px;
}
.slider-container .next { right: 10px; width: 40px;
    height: 40px;
} 

/* Flex Carousel (varsayılan) */
.carousel {
  display: flex;
  gap: 10px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
/* Grid Carousel (2 satır) */
.carousel.grid {
  display: grid;
  grid-template-rows: repeat(2, 150px);
  grid-auto-columns: 150px;
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.carousel .item {

  scroll-snap-align: start;
  background: #fff;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 auto;
}
#zzz .item {
    width: 180px;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  margin: 5px;
  background-color: #fff;
}


.carousel img {
  width: 100%;
  height: 100%;
    object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Sadece boş (placeholder) kutulara özel çerçeve */
.placeholder-item {
  border: 2px dashed #bacaf3;
  background-color: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ortadaki ikon */
.placeholder-icon {
  font-size: 28px;
  color: #0078D1;
  opacity: 0.5;
}
.carousel .name {
  position: relative;
            background-color: #ddd;
            border: 1px solid #aaa;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
}
.carousel .item:hover .hover-content-hover {
  opacity: 1;
}
.carousel .item:hover .hover-content-hover img {

height:15px;
}

/* Footer Stilleri */
.site-footer {
	z-index:9999;
  background-color: #1e1e2f;
  color: #ccc;
  padding: 20px 10px;
  font-size: 14px;
  border-top: 2px solid #333;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.footer-left {
  flex: 1 1 100%;
  text-align: center;
  margin-bottom: 10px;
}

.footer-links {
  flex: 1 1 100%;
  text-align: center;
}

.footer-links a {
  margin: 0 10px;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Geniş ekranlarda sola yaslama */
@media (min-width: 768px) {
  .footer-left {
    flex: 1;
    text-align: left;
    margin-bottom: 0;
  }

  .footer-links {
    flex: 1;
    text-align: right;
  }
}

/* Modal Temel Stilleri */
.modal {
  display: none; /* Gizli başta */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.4rem;
  cursor: pointer;
}


/* Modal Temel Stilleri */
.modal {
  display: none;              /* Gizli başta */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal h2 {
    position: relative;
    margin: 1.5em 0 1em;
    padding-bottom: 0.5em;
    font-size: 1.3rem;
    font-weight: 300;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #000;
    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);
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  width: 90%;
  max-width: 700px;
  text-align: center;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 1.4rem;
  cursor: pointer;
}  
.fa-heart {
 color:red;
} 

  .fa-thumbs-up {
 color:blue;
} 
    .search-inp{
	  width: 700px;
    display: flex;
    align-items: center;
}



.searchinp{
display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 50px;
    padding: 5px 15px;
	  width: 100%;
    position: relative; /* Relative yapıyoruz ki sonuçları buna gÖre konumlandıralım */

}
.searchinp input {
   flex: 1 1 auto;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.searchinp input::placeholder {
    color: #aaa;
}

.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 */
}

/* Mobil düzeni için */
@media (max-width: 768px) {
	.logo img {
    height: 40px;
    margin-right: 10px;
	  border-radius: 20px;
}
    .result-card {
        flex-direction: row; /* Kartları yatay hizala */
        text-align: left; /* Ä°çeriği sola hizala */
    }

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

    .result-item {
        text-align: left; /* Başlıkları sola hizala */
        font-size: 14px; /* Yazı boyutunu küçült */
    }
	
	
	}

  @media (max-width: 1024px) {
           
			.searchinp {

    width: 100%;
	}
.header-group--right {
   width: 96%;
}
.header-links {
   width: 100%;
}

}

@media (max-width: 768px) {

			.searchinp {

    width: 45%;

}
			.game-card {

    height: 400px;

}
.header-group--right {
   width: 96%;
}
.header-links {
   width: 100%;
}

.header-links a {
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 13px;
}
  }
  
  
  .grid-container {
            padding: 5px;
            display: grid;
            gap: 10px;
        }

        /* Geniş ekranlar için (1200px ve üzeri) */
        @media (min-width: 1200px) {
            .grid-container {
                grid-template-columns: repeat(8, 1fr);  /* 8 kolon */
                grid-template-rows: repeat(3, 100px);   /* 3 satır, sabit yükseklik */
            }

            /* Büyük gridlerde özel boyutlandırma */
            .grid-item:first-child,
            .grid-item:nth-child(6),
            .grid-item:nth-child(8) {
                grid-column: span 2;
                grid-row: span 2;
                background-color: #ffddcc;
            }

            .grid-item img {
                width: 100%;
                height: 100%;
                object-fit: cover; /* Görseli kutuya sığacak şekilde kırpmak için */
            }
        }

        /* Orta ekranlar için (tablet ve küçük ekranlar) */
        @media (max-width: 1199px) {
            .grid-container {
                grid-template-columns: repeat(4, 1fr); /* 4 kolon sabit */
                grid-auto-rows: 150px; /* Yükseklik sabit */
            }

            /* Küçük gridlerde görsel boyutlandırma */
            .grid-item img {
                width: 100%;
                height: auto;
                object-fit: contain; /* Görseli kutuya sığdırmak için */
            }
        }

        /* Daha küçük ekranlar için */
        @media (max-width: 768px) {
            .grid-container {
                grid-template-columns: repeat(2, 1fr);  /* 2 kolon sabit */
            }

          
			.grid-container .grid-item:last-child {
    display: none;
  }
			
        }

        /* Grid kutuları */
        .grid-item {
            position: relative;
            background-color: #ddd;
            border: 1px solid #aaa;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
   .grid-item  a{
           color: #fff; text-decoration:none;
        }
        /* Hover içeriği */
        .hover-content-hover {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            text-align: center;
        }

        .grid-item:hover .hover-content-hover {
            opacity: 1;
        }
		
		.justify-content-center {
    -ms-flex-pack: center!important;
    justify-content: center !important;
}

/* Sayfalama iÃ§in CSS */
.pagination-wrapper {
  margin-top: 20px; /* Ãœst boÅŸluk ekleyerek kategori oyunlarÄ±nÄ±n altÄ±nda yer almasÄ±nÄ± saÄŸlar */
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Sayfalama elemanlarÄ±nÄ±n sÄ±ÄŸmamasÄ± durumunda bir alt satÄ±ra geÃ§mesini saÄŸlar */
  width: 100%; /* Sayfalama geniÅŸliÄŸini tam yap */
  overflow-x: auto; /* TaÅŸmayÄ± Ã¶nlemek iÃ§in yatay kaydÄ±rma ekle */
  padding: 10px 0;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  border-radius: 5px;
  margin: 0;
}

.pagination .page-item {
  margin: 5px; /* Elemanlar arasÄ±na boÅŸluk bÄ±rakÄ±r */
}

.pagination .page-link {
  color: #007bff; /* Link rengi */
  background-color: white;
  border: 1px solid #ddd;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap; /* Sayfa linklerinin tek satÄ±rda kalmasÄ±nÄ± saÄŸlar */
}

.pagination .page-link:hover {
  background-color: #007bff; /* Ãœzerine gelince arka plan rengi */
  color: white;
  text-decoration: none;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

/* Mobil uyum iÃ§in responsive dÃ¼zenlemeler */
@media (max-width: 999px) {
  .page-link {
	  
    padding: 6px 12px;
    font-size: 14px;
  }
.pagination {
  justify-content: center;
  list-style: none;
  border-radius: 5px;
  margin: 0;
}
  .pagination .page-item {
    margin: 3px;
  }
}

@media (max-width: 576px) {
  .pagination .page-link {
    padding: 5px 10px;
    font-size: 13px;
  }

  .pagination .page-item {
    margin: 2px;
  }
}






    .game-card {
      width: 98%;
      /* 16:9 oranı için aspect-ratio kullanıyoruz */
      aspect-ratio: 16 / 9;

      background-image: var(--game-bg);
      background-size: cover;
      background-position: center;
      
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 16px rgba(0,0,0,0.5);

      /* İçerikleri dikey ve yatay ortala */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 6px;
      text-align: center;
    }

    /* === İçerideki küçük oyun görseli === */
    .game-poster {
      width: 200px;
	  height:200px;
      border: 3px solid rgba(255,255,255,0.8);
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.7);
      background-color: #000;
    }

    /* === Play butonu === */
   .play-button {margin-top:20px;
  background: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 0.75em 1.5em;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.play-button:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}
    @media (max-width: 360px) {
      .game-poster {
        width: 80%;
      }
      .play-button {
        width: 100%;
        padding: 1em;
      }
    }
	
 /* COMMENT SYSTEM */
#comments-section {
  max-width: 700px;
  margin: 4px auto;
  background: #1e1e2f;
  color: #eee;
  border-radius: 10px;
  padding: 60px;
  font-family: sans-serif;
}

#comment-form {
  margin-bottom: 20px;
}

#comment-input {
  width: 100%;
  height: 80px;
  padding: 10px;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid #444;
  background-color: #2c2c3e;
  color: #fff;
}

#send-comment-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #5c6bc0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.comment {
  border-top: 1px solid #333;
  padding: 15px 0;
}

.comment .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
}

.comment .info {
  overflow: hidden;
}

.comment .username {
  font-weight: bold;
  color: #81a1c1;
}

.comment .text {
  margin-top: 4px;
}

.reply-btn {
  margin-top: 5px;
  font-size: 12px;
  color: #ccc;
  cursor: pointer;
}

.reply-form {
  margin-top: 10px;
  margin-left: 50px;
}

.reply {
  margin-left: 50px;
  border-left: 2px solid #333;
  padding-left: 10px;
}

#load-more-wrapper {
  display: none;
}
#load-more-wrapper {
  text-align: center;
  margin-top: 20px;
}

#load-more-comments {
  background-color: #5c6bc0;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#load-more-comments:hover {
  background-color: #7986cb;
  transform: translateY(-2px);
}
body::-webkit-scrollbar {
      width: 4px;        /* İncelttik */
  height: 2px;       /* Yatay scrollbar varsa o da ince olsun */
    background: rgba(255, 99, 7, 0.9);  /* %30 opak */
  border-radius: 2px;                   /* Daha küçük radius */
}
:root {
   --sidebarr-width: 280px;
  --bg-main: #28293d;
  --bg-sidebar: #f1f5f9;
  --accent: #4a90e2;
}

/* Genel Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Ana İçerik Bölümü */
.main-content {
  flex: 1;
  display: flex;
  position: relative;
}
.score-panel {

  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height:600px;
  margin-top:10px;
}
.score-panel .fa-trophy {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.score-panel .score {
  font-size: 1.2rem;
}

/* Oyun Alanı */
.game-area {
  flex: 1;
  position: relative;
  background: var(--dark-bg);
  margin: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.instruction {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  color: var(--text-dark);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: bold;
  max-width: 240px;
}
.blocks-pool {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}
.block {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}
.block.red    { background: #e74c3c; }
.block.green  { background: #2ecc71; }
.block.blue   { background: #3498db; }
/* … istediğin renkleri ekle */


/* Sidebar’ın varsayılan hali */
.sidebarr {
	background:#00bcd408;
	border-radius:30px;
  width: var(--sidebarr-width);
  padding: 16px;
  transition: width 0.3s ease, padding 0.3s ease;
  overflow: auto;
  height:550px;
}


/* WebKit */
.sidebarr::-webkit-scrollbar {
  width: 4px;        /* İncelttik */
  height: 2px;       /* Yatay scrollbar varsa o da ince olsun */
  
}

.sidebarr::-webkit-scrollbar-track {
  background: transparent;
}

.sidebarr::-webkit-scrollbar-thumb {
  background: rgba(74, 144, 226, 0.3);  /* %30 opak */
  border-radius: 2px;                   /* Daha küçük radius */
}

.sidebarr::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 144, 226, 0.6);  /* Hover’da biraz daha opak */
}

/* Kapanmış hali */
.sidebarr.closed {
  width: 0;
  padding: 0;
}


/* Toggle butonu */
.toggle-sidebarr {
  position: absolute;
  top: 50%;
  margin-right:-280px;
  right: var(--sidebarr-width);
  transform: translateY(-50%);
  width: 30px;
  height: 80px;
  background: #d71111;
  border: none;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: right 0.3s ease;
  z-index: 10;
}

/* Kapanmış sidebar durumu: buton kayar */
.toggle-sidebarr.closed {
  right: 0;
}
.toggle-sidebarr i {
  transition: transform 0.3s ease;
}

/* .closed sınıfı eklenince ikonu 180° döndür */
.toggle-sidebarr.closed i {
  transform: rotate(180deg);
}




/* ---------- OYUN ALANI ---------- */

.panel + .panel {
  margin-top: 24px;
  
}

/* Alt Sol Geri Yükle Butonu */
.reload-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--accent);
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}
		#game-content {
		
			    top: 0;
			    left: 0;
			    width: 0;
			    height: 0;
			    overflow: hidden;
			    max-width: 100%;
			    max-height: 450px;
			    min-width: 100%;
			    min-height: 100%;
			    box-sizing: border-box;
			}
			
			.game-play-page-collapse-container {
    grid-area: infopane;
}




.game-area > div:first-child {
  flex: 1 1 auto;       
}

/* sss div’i: alt reklam alanı */
.sss {
  display: flex;
  gap: 10px;           /* kutular arası boşluk */
}

/* İçerik kutuları: eşit paylaşıp yan yana */
.sss {
  display: flex;
  gap: 10px;           
  overflow: hidden;         /* ← ekledik */
  transition: flex 0.3s ease, height 0.3s ease, padding 0.3s ease;
}

/* İçerik kutuları: eşit paylaşıp yan yana */
.sss > div {
  flex: 1 1 45%;       
  background: #fff;
  padding: 5px;
}

/* Küçük ekranlarda alt alta diz */
@media (max-width: 768px) {
  .sss {
    flex-direction: column;
  }
  .sss > div {
    padding: 20px;
    flex: 1 1 100%;    
  }
}

/* kapalıyken */
.sss.closed {
  flex: 0 0 0;         /* tüm flex özelliğini kapat */
  height: 0;           /* yükseklik sıfırlansın */
  padding: 0 !important;   
  margin: 0 !important;    
  overflow: hidden;     /* içerik gizlensin */
}
.btr {
    bottom: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}
.game-stats {
    display: flex;
    gap: 20px;
}
.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1b1e3d;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    bottom: 0;
    z-index: 5;
}

.game-bar {
    display: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #1b1e3d;
    color: white;
    padding: 10px 0px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}
.stat .fa-thumbs-down {
    color: #e91e63;
}
.stat .fa-heart {
  color: #fff;
  transition: color 0.2s ease;
}

/* 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: 20px;
}
.favorite-btn {
    margin-top:-16px;
}
#rep-game {
    margin-top:-6px;
}


.sidebarr {
  display: block;
  position: relative; /* normal akışta */
}
 .toggle-sidebarr {
    display: block; 
	
  }
   #sidee {
    display: none;           /* gizle */
  }
@media (max-width: 768px) {
  /* Grup sıralaması ve genişlikler */
  .score-panel {
	  
   display:none;
  }
  #sidebarr {
    display: none;           /* gizle */
  }
 .toggle-sidebarr {
    display: none;           /* gizle */
  }
  #sidee {
    display: block;           /* gizle */
  }

  }

 
.sidebarr h2 {
  position: relative;
  margin: 1.5em 0 1em;
  padding-bottom: 0.5em;
  font-size: 1.3rem;
  font-weight: 300;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #000;
  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);
}

/* Altına ince renkli çizgi için pseudo-element */
.sidebarr h2::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

#sidee  h2 {
  position: relative;
  margin: 1.5em 0 1em;
  padding-bottom: 0.5em;
  font-size: 1.3rem;
  font-weight: 300;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #000;
  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);
}

/* Altına ince renkli çizgi için pseudo-element */
#sidee h2::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.toggle-desc {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}
/* 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;
}


  <!-- TOP PLAYER -->
/* Ana kapsayıcı */
.container {
  margin: 50px auto;
  padding: 40px 20px;
  max-width: 1200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

/* Başlıklar */
.most-played {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #0078D1;
  text-align: center;
}

/* Top 3 oyuncular */
.top-3 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.top-user {
  width: 140px;
  text-align: center;
  background: #f4f8ff;
  padding: 15px;
  border-radius: 10px;
  position: relative;
  transition: transform 0.3s ease;
}

.top-user:hover {
  transform: translateY(-5px);
}

.top-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #0078D1;
  margin-bottom: 10px;
}

.top-number img {
  width: 32px;
  position: absolute;
  top: -10px;
  right: -10px;
}

.top-username {
  font-weight: bold;
  color: #333;
  margin-top: 5px;
}

.top-xp {
  color: #0078D1;
  font-size: 14px;
}

.top-rank {
  font-size: 13px;
  color: #777;
}

/* Leaderboard tablo */
.leaderboard-table {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

.leaderboard-row {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s;
}

.leaderboard-row:hover {
  background: #eef6ff;
}

.leaderboard-cell {
  flex: 1;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.leaderboard-user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.level-badge {
  width: 24px;
  height: 24px;
  margin-top: 5px;
}

/* Most played games */
.gamesso {
  margin-top: 40px;
  padding: 20px;
  background: #f4f8ff;
  border-radius: 12px;
}

.gamet {
  background: #fff;
  border: 1px dashed #0078D1;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gamet:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 120, 209, 0.2);
}

.gamet img {
  width: 100%;
  height: auto;
  display: block;
}

.hover-content {
  padding: 10px;
  background: #0078D1;
  color: #fff;
  text-align: center;
}

.hover-content p {
  margin: 5px 0;
  font-size: 14px;
}

.hover-content img {
  margin-top: 5px;
}

/* Responsive yapı */
@media (max-width: 768px) {
  .top-3 {
    flex-direction: column;
    align-items: center;
  }

  .top-user {
    width: 100%;
    max-width: 250px;
  }

  .leaderboard-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .leaderboard-cell {
    text-align: left;
    width: 100%;
    margin-bottom: 6px;
  }

  .gamesso {
    margin-top: 30px;
  }
}
/* Küçük ekranlarda sidebar gizli başlasın */

@media (max-width: 768px) {


  .sidebar {
    width: 220px;
    position: absolute;
    top: 50;
    left: -220px; /* Başta gizli */
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .sidebar.expanded {
    left: 0; /* Açıldığında görünür */
  }

  main {
  margin-left:0px;    width: 100%; margin-top:30px;
    transition: margin-left 0.3s ease;
  }

  .sidebar.expanded ~ main {
    margin-left: 220px; /* Sidebar açıkken main sağa kayar */
  }
}

.image-container-user {
  position: relative;
  display: inline-block;
}

.image-container-user .imgg {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  background-color: #222;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 99;
}

.dropdown-content a {
  color: #fff;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  border-bottom: 1px solid #333;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background-color: #333;
}

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



.user-page .row {
   padding: 20px;
    max-width: 100%;
    margin-left:0%;
    font-family: 'Poppins', sans-serif;
}
.user-page .row {
   padding: 20px;
    margin-left:0%;
    font-family: 'Poppins', sans-serif;
}
/* Başlık */
.single-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Form kutusu */
.section {
    background-color: #ccc;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px #00000050;
    margin-bottom: 20px;
}

/* Input, textarea, date alanı */
.form-control {
    border: 1px solid #444;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: #4caf50;
    outline: none;
}



/* Radio butonlar */
.form-check-label {
    margin-left: 5px;
}
.form-check-input {
    accent-color: #4caf50;
}
/* Label'lar */
label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

/* Inputlar */
input[type="password"],
input[type="text"],
input[type="email"],
textarea,
input[type="date"] {


}

/* Güncelle butonu */
.btn-primary {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
}

/* Avatar Seçici */
.avatar-chooser {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 10px;
}

/* Her avatar kutusu */
.avatar-chooser .col-3 {
    flex: 0 0 calc(7.5% - 12px); /* 8 adet yanyana (100% / 8) */
    max-width: calc(7.5% - 12px);
    position: relative;
}

/* Checkbox görünmesin */
.input-hidden {
    display: none;
}

/* Avatar görseli */
.avatar-chooser label img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
}

/* Seçili avatar çerçevesi */
.input-hidden:checked + label img {
    border: 2px solid #4caf50;
    transform: scale(1.05);
}

/* Responsive: Tablet ve Mobil */
@media (max-width: 1024px) {
    .avatar-chooser .col-3 {
        flex: 0 0 20%; /* 5 taneye düşer */
        max-width: 20%;
		}
		.user-page {
   padding: 10px;
   width: 100%;
   
}
   
}




/* Profil kutusu */


/* Profil resmi */
.profile-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #444;
    object-fit: cover;
}

/* Kullanıcı adı */
.profile-username {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

/* Katılım tarihi ve bio */
.profile-join, .profile-bio {
    font-size: 14px;
    color: #fff;
    margin-top: 5px;
}

/* Level görseli */
.level-badge {
    height: 60px;
    margin-right: 10px;
}

/* İlerleme çubuğu */
.progress {
    background-color: #3a3a4d;
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    margin-top: 10px;
}
.progress-bar {
    background-color: #4caf50;
    height: 100%;
}

/* Oyun listeleri */
.profile-gamelist-horizontal {
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}
.profile-gamelist-horizontal ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 10px;
}

.profile-game-item {
    background-color: #38384e;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
    transition: transform 0.3s;
}
.profile-game-item:hover {
    transform: scale(1.05);
}
.list-thumbnail img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-bottom: 1px solid #444;
}
.small-thumb {
    width: 100%;
}

/* Ok butonları */
.btn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #444;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}
.btn-left {
    left: -10px;
}
.btn-right {
    right: -10px;
}

/* Yorum kutusu */
.profile-comments {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.profile-comment-item {
    background-color: #45456e;
    padding: 12px 15px;
    border-radius: 10px;
    position: relative;
}
.comment-text {
color:#fff;
    font-size: 15px;
    margin-bottom: 6px;
}
.comment-date {
    font-size: 12px;
    color: #aaa;
}
.delete-comment {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #ff6b6b;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
	.container-user {    margin-left:2%; width:97%;}
    .profile-gamelist-horizontal ul {
        overflow-x: scroll;
    }

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

    .btn-arrow {
        display: none;
    }
	
}






/* Şifre Değiştir Formu */
.section form {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.mb-3 label {
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.form-control {
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

.form-control:focus {
  border-color: #4a90e2;
  outline: none;
}

/* Güncelle butonu */
.btn-primary {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  border: none;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(to right, #0072ff, #00c6ff);
}


.containerse {
    display: flex
; 
    flex-direction: row;
    align-items: flex-start;
    padding: 10px;
    gap: 20px;
    height: auto;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.1);
}


    /* Carousel */
    .carouselse-container {
      overflow: hidden;
      position: relative;
      flex-grow: 1;
      height: auto;
      display: flex;
      align-items: center;
    }

    .carouselse {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
      grid-auto-flow: column;
      grid-template-rows: repeat(2, 112px);
      gap: 15px;
      transition: transform 0.5s ease-in-out;
      height: 100%;
      align-items: stretch;
    }

    .carouselse-item {
      width: 153px;
      background-color: #1e1e2d;
      border-radius: 8px;
      text-align: center;
      color: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      height: 100%;
      aspect-ratio: 1 / 1; /* Equal width and height */
      box-sizing: border-box;
    }

    .carouselse-item a {
		color:#fff;
		text-transform:lowercase;
      font-size: 20px;
      margin-bottom: 8px;
	  text-decoration:none;
	  
    }

    .carouselse-item:hover {
      background-color: #29293f;
    }

    .carouselse-controls {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 100%;
      display: flex;
      justify-content: space-between;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .carouselse-container:hover .carouselse-controls {
      opacity: 1;
    }

    .carouselse-controls button {
      background-color: #f00e5e;
      color: #ffffff;
      border: none;
      padding: 10px;
      border-radius: 50%;
      cursor: pointer;
    }

    .carouselse-controls button:hover {
      background-color: #000;
    }


  /* Responsive */
    @media (max-width: 999px) {
		
 
      .containerse {
        flex-direction: column;
        height: auto;
      }

      .infose-box {
        width: 85%;
      }

      .carouselse-container {
        width:100%;
		margin-left:-10px;
        height: auto;
      }

      .carouselse {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        grid-auto-flow: column;
        grid-template-rows: repeat(2, 1fr);
        gap: 5px;
      }

      .carouselse-item {
        width: 100px;
		margin-left:10px;
      }
    }
	.most {

  position: relative;
  margin: 1.5em 0 1em;
  padding-bottom: 0.75em;
  font-size: 1.3rem;
  font-weight: 300;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #000;
  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;
}
.buttonArea {
    display: flex
;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 15px;
}
.buttonArea .btn {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
a, button, .cursorsHover, [cursorshover], [cursorshover] {
    cursor: pointer !important;
	text-decoration:none;
}


  .adsense-wrapper {
  position: relative;
     /* Hiçbir zaman kapsayıcıyı aşmaz */
  overflow: hidden;     /* Taşan reklam içeriğini gizler */
}
.adsense-wrapper ins.adsbygoogle {
  box-sizing: border-box;
}


.game-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.game-wrapper iframe {
  width: 100%;
  height: 90%;
  border: none;
  display: block;
}
/* Genel yapı */
.game-grid-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding-top: 20px;
  background-color: #f0efff; /* Açık arka plan */
}

.game-grid-section {
  flex: 1 1 400px;
  max-width: 33.33%;
  box-sizing: border-box;
}

.section-title {
  font-size: 22px;
  color: #222;
  text-align: center;
  margin-bottom: 15px;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Oyun grid'i */
.game-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Oyun kartı */
.game-card {
  width: 100px;
  height: 100px;
  overflow: hidden;

  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

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

.game-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
   border-radius: 10px;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .game-grid-section {
    max-width: 100%;
  }

  .game-card {
    width: 90px;
    height: 70px;
  }
}
.game-info-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.game-info-section {
  flex: 1 1 48%;
  padding: 15px 20px;
  background: #f9f9ff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.section-title {
	background:#f4030326;
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
  border-radius:10px;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-description p,
.game-instructions p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #333;
}

.toggle-desc {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #007BFF;
  cursor: pointer;
  text-decoration: underline;
}

/* Mobilde alt alta gelsin */
@media (max-width: 768px) {
  .game-info-wrapper {
    flex-direction: column;
  }

  .game-info-section {
    flex: 1 1 100%;
  }
}


.home-h2-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1 rem;
  font-weight: 600;
  padding: 2px 6px;
  border-left: 6px solid #ff6f61;
  background: linear-gradient(90deg, #fefefe, #f9f9f9);
  color: #333;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.home-h2-title:hover {
  background: linear-gradient(90deg, #fefefe, #e0e0e0);
}

.home-h2-title i {
  font-size: 1rem;
  color: #ff6f61;
}


.back-to-top {
	z-index:9999;
    position: fixed;
    bottom: 20px;
    right: 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; 
} 


.back-to-top:hover {
    background-color: #5a4dcf; 
}
 

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


.back-to-top span {
    font-size: 18px;
}
  #mobils {
   display:none;
  }

@media (max-width: 768px) {
  #mobils {
   display:block;
  }
  #wides {
   display:none;
  }

   .back-to-top {
   display:none;
  }

}
/* NEW GAMES GRID SYSTEM */

.flr-game-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
}
.flr-game-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  cursor: pointer;
  aspect-ratio: 16 / 9; 

}  
.flr-game-card img {
  width: 100%;
  height: 100%;
    border-radius: 8px;
  object-fit: cover;           
  display: block;
}

/* Overlay de tüm kartı kaplasın */
.flr-game-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  
}

/* Hover overlay */
.flr-game-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px;
  text-align: center;
}

.flr-game-card:hover .flr-game-overlay {
  opacity: 1;
}

.flr-game-overlay h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.flr-game-rating .fa-star {
  margin: 0 2px;
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
}

.flr-game-rating .fa-star.filled {
  color: #ffd700;
}

/* Load More butonu */
#flr-load-more {
  display: block;
  margin: 24px auto;
  padding: 10px 20px;
  background: #212233;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}
#flr-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  /* #flr-game-container içindeki son <a> öğesini tamamen gizle */
  #flr-game-container > a:last-child {
    display: none !important;
  }
}



.flr-game-card {
  position: relative;
  overflow: visible !important;
  border-radius: 8px;
  background: #f5f5f5;
  aspect-ratio: 16/9;
  cursor: pointer;
}


.flr-game-card:hover .flr-game-overlay {
  opacity: 1;
}
.flr-game-overlay h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

/* Tooltip baloncuk */
.flr-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background:#0eb4c0cc;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: .85rem;
  line-height: 1.2;
  width: 400px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 10;
}
.flr-game-card:hover .flr-tooltip {
  opacity: 1;
  visibility: visible;
}

/* SECTIONS */
.sectioncat{padding:0px}


/* CATEGORY TABS */
#catContent {
  position: relative; /* loading’i ortalamak için gerekli */
  min-height: 200px;  /* boşken de biraz yüksek olsun */
    background: #1e1f2f00;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-tabs {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;          /* Firefox */
  scrollbar-color: #df3131 #222;     /* renkler */
}
.cat-tabs::-webkit-scrollbar {
  height: 1px;
}
.cat-tabs::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 2px;
}
.cat-tabs::-webkit-scrollbar-track {
  background: #222;
}

/* Butonlar */
.cat-tabs button {
  flex: 0 0 auto; /* genişliği sabitle, kaydırmaya uygun olsun */
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  background: #2d2f45;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase; /* BÜYÜK HARF */
  cursor: pointer;
  transition: all 0.3s ease;
}
.cat-tabs button:hover {
  background: #3f4260;
  transform: translateY(-2px);
}
.cat-tabs button.active {
  background: #feb445;
  color: #000;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Grid alanı */
#catContent.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top:17px;
}

/* Oyun kartı */

.game-cardcat h3 {
  margin: 8px 0 0;
  font-size: 14px;
  color: #fff;
}


.game-cardcat  {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #1e1f2f;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-cardcat  img {
  width: 100%;
height:150px;
  border-radius: 12px;
}
.game-cardcat:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  text-align: center;
}
.overlay h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}
.overlay p {
  margin: 2px 0;
  font-size: 13px;
}
.overlay .stars {
  color: #feb445;
  font-size: 25px;
  margin-top: 6px;
  letter-spacing: 2px;
}
.game-cardcat:hover .overlay {
  opacity: 1;
}
.loading_s {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}

.spinner_s {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top: 4px solid var(--accent, #feb445);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* CATEGORY TABS */