* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Yatay kaydırmayı engelle */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Tüm bölümlerin yatay taşmasını engelle */
section, div, header, footer, nav, main, article, aside {
    max-width: 100%;
}

/* Görsel içeren bileşenlerin taşmasını engelle */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Desktop ve Mobile görünüm sınıfları */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

body {
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

/* Header için temel stiller */
header {
    position: fixed;
    width: 100%;
    height: 88px;
    background-color: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    top: 0;
}

.header-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between; /* Logo ve hamburger menü arasında boşluk */
    align-items: center;
    padding: 0 20px;
}

/* Logo için temel stiller */
.logo-container {
    height: 44px;
    display: flex;
    align-items: center;
}

.logo {
    height: 44px; /* Desktop için başlangıç boyutu */
    width: auto;
}

/* Responsive logo boyutları */
@media (max-width: 1336px) {
    .logo {
        height: 36px;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 28px;
    }
}

@media (max-width: 360px) {
    .logo {
        height: 24px;
    }
}

 
.nav-container {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    font-weight: 500;
}

.nav-link.active::after {
    width: 100%;
}

/**/
 
  /* Hamburger Menüsü (Mobilde Gözüksün) */
  .hamburger-menu {
    display: none;      /* Masaüstünde gizli */
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;      /* Header'ın üst katmanında */
    position: relative; /* z-index'in çalışması için */
  }
  
  .hamburger-menu span {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
  }
  
  /* X'e dönüşme */
  .hamburger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger-menu.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Mobil Menü Overlay */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999; /* mobile-nav'dan bir düşük z-index */
  }
  
  .mobile-menu-overlay.active {
    display: block;
  }
  
  /* MOBILE NAV - Header bitiminden başlayacak şekilde konumlanır */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: auto; /* Tam ekran yerine içeriğe göre otomatik yükseklik */
    max-height: 80vh; /* Ekranın en fazla %80'ini kaplasın */
    background: rgb(0, 0, 0); /* Tamamen opak siyah arka plan */
    padding: 20px;
    z-index: 1000;
    border-radius: 0 0 10px 10px; /* Alt köşeleri yuvarla */
    overflow-y: auto; /* İçerik fazla olursa kaydırma çubuğu ekle */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Gölge ekleyerek derinlik hissi ver */
  }
  
  .mobile-nav a {
    padding: 16px;
    text-align: center;
    font-size: 18px;
    text-decoration: none;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .mobile-nav a:hover {
    background: #0afff0;
    color: #000;
  }
  
  .mobile-nav.active {
    display: flex;
    flex-direction: column;
  }
  
  /* MEDIA QUERIES - Mobil */
  @media (max-width: 768px) {
    /* Masaüstü menüyü gizle, hamburger butonu göster */
    .nav-container {
      display: none;
    }
    .hamburger-menu {
      display: block;
    }
  }
  

.header-right {
    display: flex;
    align-items: center;
}

.header-right .join-now-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px; /* Header'da daha küçük buton */
    height: 40px; /* Header'da daha küçük buton */
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}
/* MEDIA QUERIES - Mobil */
@media (max-width: 768px) {
    .header-right {
        display: none;
    }
  }

  .button-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  .header-right .join-now-btn span {
    position: relative;
    z-index: 3;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
  }
  
  /* Gradient stroke için yeni pseudo-element */
  .header-right .join-now-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    padding: 1.5px;
    background: linear-gradient(170deg, #f4f9fa 0%, #8f8f8f 100%);
    pointer-events: none;
    z-index: 2;
    mask: linear-gradient(rgba(255,255,255,1) 0 0) content-box, 
          linear-gradient(rgba(255,255,255,1) 0 0);
    -webkit-mask: linear-gradient(rgba(255,255,255,1) 0 0) content-box, 
                  linear-gradient(rgba(255,255,255,1) 0 0);

    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    
  }

  
  /* Hover efektleri */
  .header-right .join-now-btn:hover {
    transform: translateY(-2px);
  }
  
  .header-right .join-now-btn:hover::after {
    opacity: 0.8;
  }
  
  /* Active efekti */
  .join-now-btn:active {
    transform: translateY(1px);
  }
.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Tablet ve mobil cihazlarda hero container'ın yüksekliğini ayarla */
@media (max-width: 1336px) {
    .hero-container {
        height: auto;
        min-height: 50vh;
    }
}

.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block; /* Desktop'ta görünür */
}

.grid-cell {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 1.5px solid #000000;
    transition: background-color 0.5s ease-out;
    background-color: transparent;
}

.grid-cell.active {
    background-color: #b7b7b7;
    transition: none;
}

/* Tablet ve mobil cihazlarda grid'i gizle */
@media (max-width: 1336px) {
    .background-grid {
        display: none;
    }
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 188px 20px 0;
    text-align: center;
    z-index: 1;
}

/* Tablet için hero-content responsive ayarları */
@media (max-width: 1336px) {
    .hero-content {
        max-width: 700px;
        padding: 160px 20px 0;
    }
    
    .hero-content h1 {
        font-size: 72px;
    }
    
    .hero-content p {
        font-size: 20px;
        padding: 0 20px;
        margin-bottom: 30px;
    }
}

/* Mobil için hero-content responsive ayarları */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
        padding: 120px 20px 0;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 14px;
        padding: 0 15px;
        margin-bottom: 25px;
    }
}

/* Küçük mobil cihazlar için hero-content responsive ayarları */
@media (max-width: 480px) {
    .hero-content {
        padding: 100px 15px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 14px;
        padding: 0 10px;
        margin-bottom: 20px;
    }
}

.hero-content h1 {
    font-family: 'Pixelify Sans', cursive;
    font-size: 100px;
    margin-bottom: 20px;
    text-align: center;
    position: relative; /* h1'i relative yapıyoruz */
}
.title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.coin-animation {
    position: absolute;
    width: 80px;
    height: 80px;
    right: 60px; /* sağdan mesafe */
    top: 55%; /* dikey ortalama */
    transform: translateY(-50%) rotate(10deg); /* Döndürme derecesini buraya ekledik */
    z-index: -1; /* başlığın arkasında kalması için */
}

.coin-state {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: coinRotate 320ms steps(1) infinite;
}

/* Diğer coin animasyon stilleri aynı kalacak */



.coin-state:nth-child(1) { animation-delay: 0ms; }
.coin-state:nth-child(2) { animation-delay: 80ms; }
.coin-state:nth-child(3) { animation-delay: 160ms; }
.coin-state:nth-child(4) { animation-delay: 240ms; }


@keyframes coinRotate {
    0% { opacity: 1; }
    25% { opacity: 0; }
    50% { opacity: 0; }
    75% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-content p {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.see-more {
    position: relative;
    background: #000000;
    color: #ffffff;
    padding: 16px 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    border-radius: 10px; /* Yüksek border-radius değeri ile tam yuvarlatılmış köşeler */
    margin-top: 40px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.see-more::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1.5px; /* Stroke kalınlığı */
    background: linear-gradient(170deg, #ffffff 0%, #585858 100%);
    mask: linear-gradient(rgba(255,255,255,1) 0 0) content-box, 
    linear-gradient(rgba(255,255,255,1) 0 0);
    -webkit-mask: linear-gradient(rgba(255,255,255,1) 0 0) content-box, 
            linear-gradient(rgba(255,255,255,1) 0 0);
            
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    pointer-events: none;
}

.see-more:hover {
    transform: translateY(-2px);
}

.see-more:active {
    transform: translateY(1px);
}

/* Tablet için responsive ayarlar */
@media (max-width: 1336px) {
    .see-more {
        padding: 14px 32px;
        font-size: 16px;
        min-width: 180px;
        margin-top: 30px;
    }
}

/* Mobil için responsive ayarlar */
@media (max-width: 768px) {
    .see-more {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 160px;
        margin-top: 25px;
    }
}

/* Küçük mobil cihazlar için responsive ayarlar */
@media (max-width: 480px) {
    .see-more {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 140px;
        margin-top: 20px;
    }
}

.explore-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 0px;
    background-color: #000000;
}

.explore-section h2 {
    font-family: 'Pixelify Sans', cursive;
    font-size: 80px;
    margin-bottom: 24px;
}

.explore-section p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #dbdbdb;
    font-weight: 300;
}

/* Animasyon Bölümü Stilleri */
.animation-section {
    padding-top: 60px;
    position: relative;
    height: calc((45px + 21px) * 26);
    width: 100%;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('images/animation-bg.png'); /* Arka plan görseli */
    background-size: cover; /* Görseli section'a sığdır */
    background-position: center; /* Görseli ortala */
    background-repeat: no-repeat;
}

.game-container {
    position: relative;
    width: 1200px; /* Sabit bir genişlik verdik */
    height: calc((45px + 21px) * 26);
    overflow: visible;
    display: flex;
    justify-content: center; /* İçeriği yatayda ortala */
}

.path {
    display: flex;
    flex-direction: column;
    gap: 21px;
    position: relative;
    height: 100%;
    margin: 0 auto;
}

.square {
    width: 45px;
    height: 45px;
    background-color: #D9D9D9;
    opacity: 0.65;
    margin: 0 auto; /* Her kareyi ortala */
}

#character {
    width: 100px;
    height: 100px;
    position: absolute;
    left: calc(50% - 40px); /* Merkeze göre konumlandır */
    top: 20px;
}

.state1 {
    background-image: url('images/karakter-state1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
}

.state2 {
    background-image: url('images/karakter-state2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
}

.state-idle {
    background-image: url('images/karakter-idle.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
}

/* Sağdaki kartlar için ortak stiller */
.info-card {
    position: absolute;
    right: -250px; /* Başlangıçta ekranın dışında */
    width: 250px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s ease;
    z-index: 10;
}

/* Her sağ kartın pozisyonu */
#infoCard {
    top: calc(5 * (45px + 21px) - 45px);
}

#infotonman {
    top: calc(15 * (45px + 21px) - 45px);
}

/* Sağdaki kartların aktif hali */
.info-card.active {
    opacity: 1;
    right: 80px;
    transform: translateX(0);
}

/* Soldaki kartlar için ortak stiller */
.left-info-card {
    position: absolute;
    left: -250px; /* Başlangıçta ekranın dışında */
    width: 250px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

@media (max-width: 767px) {
    .card {
        /* Kartların varsayılan pozisyonu - sağdan başlayacak */
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    }

    .card.active-mobile {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .card.active {
        /* Mevcut masaüstü animasyonlarınız */
    }
}
/* Her sol kartın pozisyonu */
#leftInfoCard {
    top: calc(10 * (45px + 21px) - 45px);
}

#leftInfotonman {
    top: calc(20 * (45px + 21px) - 45px);
}

/* Soldaki kartların aktif hali */
.left-info-card.active {
    opacity: 1;
    left: 80px;
    transform: translateX(0);
}

/* Slideshow Bölümü Stilleri */
.slideshow-section {
    margin-top: 0px; /* Slideshow ile açıklama yazısı arasındaki mesafe */
    padding: 40px 0;
    background-color: #000000;
    margin-bottom: 0px;
}


.slideshow-container {
    position: relative;
    height: 528px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 0px; /* Kartların daha iyi görünmesi için padding ekledik */
}

.slideshow-card {
    cursor: pointer;
    position: absolute;
    width: 240px;
    height: 340px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    overflow: hidden;
    will-change: transform, opacity;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Yumuşak geçiş */
}

.slideshow-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-card.active {
    width: 371px;
    height: 528px;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Yumuşak geçiş */
}

.slideshow-card.active:hover {
    transform: translate(-50%, calc(-50% - 10px)) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Hover için daha hızlı geçiş */
}

/* Mevcut CSS kodlarınıza bu kısmı ekleyin */
.games-intro {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 120px; /* 250px'den 120px'e düşürdük */
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
}

.games-intro h2 {
    font-family: 'Pixelify Sans', cursive;
    font-size: 80px;
    margin-bottom: 24px;
    color: #ffffff;
}

.games-intro p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #dbdbdb;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 0px; /* Açıklama yazısı ile slideshow arasındaki mesafe */
}

/* Yeni buton stilleri */
.games-intro .see-more-games {
    position: relative;
    background: #000000;
    color: #ffffff;
    padding: 16px 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    border-radius: 10px; /* Yüksek border-radius değeri ile tam yuvarlatılmış köşeler */
    margin-top: 40px;
    min-width: 200px;
    transition: all 0.3s ease;
}

/* Gradientli stroke için pseudo-element */
.games-intro .see-more-games::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1.5px; /* Stroke kalınlığı */
    background: linear-gradient(170deg, #ffffff 0%, #585858 100%);
    mask: linear-gradient(rgba(255,255,255,1) 0 0) content-box, 
          linear-gradient(rgba(255,255,255,1) 0 0);
    -webkit-mask: linear-gradient(rgba(255,255,255,1) 0 0) content-box, 
                  linear-gradient(rgba(255,255,255,1) 0 0);

    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    pointer-events: none;
}

/* Hover efekti */
.games-intro .see-more-games:hover {
    transform: translateY(-2px);
}

/* Active efekti */
.games-intro .see-more-games:active {
    transform: translateY(1px);
}

/* Tablet için responsive ayarlar */
@media (max-width: 1336px) {
    .games-intro .see-more-games {
        padding: 14px 32px;
        font-size: 16px;
        min-width: 180px;
        margin-top: 24px;
    }
}

/* Mobil için responsive ayarlar */
@media (max-width: 768px) {
    .games-intro .see-more-games {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 160px;
        margin-top: 21px;
    }
}

/* Küçük mobil cihazlar için responsive ayarlar */
@media (max-width: 480px) {
    .games-intro .see-more-games {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 140px;
        margin-top: 16px;
    }
}

.immersive-gaming {
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
    margin-top: 80px;
  }
  
  .gaming-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 21px;
    align-items: center;
  }
  
  .gaming-gif {
    width: 40%;
  }
  
  .gaming-gif img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .gaming-text {
    width: 50%;
  }
  
  .gaming-text h2 {
    font-family: 'Pixelify Sans', cursive;
    font-size: 64px;
    margin-bottom: 24px;
    line-height: 1.2;
  }
  
  .gaming-text p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #dbdbdb;
  }
  
  .button-wrapper {
    position: relative;
    width: 100%;
    max-width: 200px;
    margin-top: 20px;
  }

  @media (max-width: 768px) {
    .button-wrapper {
      margin: 20px auto 0;
    }
  }
  
  .join-now-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  .button-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  .join-now-btn span {
    position: relative;
    z-index: 3;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
  }
  
  /* Gradient stroke için yeni pseudo-element */
  .join-now-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1.5px; /* Stroke kalınlığı */
    background: linear-gradient(170deg, #86e1f8 0%, #012b4f 100%);
    mask: linear-gradient(rgba(255,255,255,1) 0 0) content-box, 
          linear-gradient(rgba(255,255,255,1) 0 0);
    -webkit-mask: linear-gradient(rgba(255,255,255,1) 0 0) content-box, 
                  linear-gradient(rgba(255,255,255,1) 0 0);

    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    pointer-events: none;
    z-index: 2;
  }
  
  /* Hover efektleri */
  .join-now-btn:hover {
    transform: translateY(-2px);
  }
  
  .join-now-btn:hover::after {
    opacity: 0.8;
  }
  
  /* Active efekti */
  .join-now-btn:active {
    transform: translateY(1px);
  }


  .metrics-section {
    text-align: center;
    background-color: #000000;
    margin-top: 100px;
    margin-bottom: 100px;
}

.metrics-section h2 {
    font-family: 'Pixelify Sans', cursive;
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 32px;
    text-align: center;
    overflow: visible;
}

.metrics-image {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.metrics-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .metrics-section {
        padding: 80px 0;
    }

    .metrics-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
}
.collaborative-section {
    margin-top: -500px;
    padding: 80px 0;
    background-color: #000000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collaborative-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 80px; */
}

.collaborative-text {
    /* Metni sola yaslamak veya ortalamak tamamen tercihinize bağlı */
    text-align: left;
    margin-left: 40%;
}


.collaborative-text h2 {
    font-family: 'Pixelify Sans', cursive;
    font-size: 64px;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    white-space: pre-line;
}

.collaborative-image {
    flex: 0 0 auto;
}

.collaborative-image img {
    display: block;
}

.cta-section {
    width: 100%;
    /* min-height: 100vh; */
    background-image: url('images/cta-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 20px;
    margin-top: -400px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1336px) {
    .cta-section {
        background-size: 150% auto;
        margin-top: -200px;
        margin-bottom: 300px;
        position: relative;
        z-index: 1;
    }
}
@media (max-width: 768px) {
    .cta-section {
        margin-top: 0px;
        margin-bottom: 200px;
        background-size: 200% auto;
    }
}
.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Pixelify Sans', cursive;
    font-size: 60px;
    color: #ffffff;
    margin-bottom: 24px;
}

.cta-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 40px;
}

/* Button wrapper ve join-now-btn stilleri zaten mevcut,
   ama burada merkeze almak için ek stil */
.cta-content .button-wrapper {
    margin: 0 auto;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 40px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
}

/* Footer Styles */
.footer {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-left {
    max-width: 400px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 24px;
}

.footer-left p {
    color: #dbdbdb;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    font-family: 'Pixelify Sans', cursive;
    font-size: 20px;
    margin-bottom: 24px;
    color: #ffffff;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #dbdbdb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social .social-icons {
    display: flex;
    gap: 20px;
}

.footer-social .social-icons img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.footer-social .social-icons a:hover img {
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 60px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #dbdbdb;
    font-size: 14px;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-left {
        max-width: 100%;
    }
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.game-card {
    cursor: pointer;
    position: relative;
}

.card-wrapper {
    transition: transform 0.3s ease;
}

.game-card:hover .card-wrapper {
    transform: translateY(-10px);
}

/* Hover olduğunda animasyonu durdur */
.game-card:hover .card-wrapper img {
    animation-play-state: paused;
}

.game-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 1336px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

.games-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.games-section .games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.games-section .game-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.games-section .game-card:hover {
    transform: translateY(-10px);
}

.games-section .game-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet ve küçük ekranlar için (1024px'e kadar) */
@media (max-width: 1336px) {
    .hero-content h1 {
        font-size: 80px;
    }

    .explore-section h2 {
        font-size: 48px;
    }

    .games-intro h2 {
        font-size: 60px;
    }

    .gaming-text h2 {
        font-size: 48px;
    }

    .cta-content h2 {
        font-size: 48px;
    }
    
    .coin-animation {
        width: 60px;
        height: 60px;
        right: 40px;
    }

    .slideshow-container {
        height: 428px; /* Kartların yüksekliğine göre ayarlandı */
    }

    .slideshow-card.active {
        width: 300px;
        height: 428px;
    }

    .slideshow-card {
        width: 200px;
        height: 280px;
    }
    
    /* Tablet için collaborative section düzenlemeleri */
    .collaborative-section {
        /* overlap yapacaksanız ölçüyü abartmayın */
        margin-top: -200px;
        padding: 60px 0;
        /* position: relative; // gerekirse eklenebilir */
      }
      
      .collaborative-container {
        display: flex;
        flex-direction: row;
        justify-content: space-around; /* Ya da center */
        align-items: center;
        gap: 40px;
      }
      
      .collaborative-text {
        /* tablet ekranında metin gereksiz yere kaymasın */
        flex: 1;
        text-align: center;
        margin: 0; /* 40% yerine 0 */
      }
      
      .collaborative-text h2 {
        font-size: 36px; /* Tablet için biraz küçültülebilir */
        text-align: left; /* Metni solda tutmak istiyorsanız left yapın */
      }
    
      .collaborative-image {
        flex: 1.5; /* Görsel biraz daha geniş yer kaplayabilir */
        overflow: visible; 
        /* display: block; // Gerekirse ekleyebilirsiniz */
      }
      
      .collaborative-image img {
        width: 100%;
        height: auto;
        /* Görselin içeriği kesilmesin diye max-width: none; ekleyebilirsiniz */
      }
}

/* Mobil cihazlar için (768px'e kadar) */
@media (max-width: 768px) {
    /* Karakter ve path'i gizle */
    #character, .path {
        display: none !important;
    }

    /* Animasyon section düzenlemesi */
    .animation-section {
        padding: 20px;
        height: auto;
        margin-top: 40px;
        position: relative;
        overflow: visible;
        background-position: center;
    }

    /* Game container düzenlemesi */
    .game-container {
        width: 100%;
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
    }

    /* Kartların yeni stili */
    .info-card, .left-info-card {
        position: static;
        width: 280px;
        margin: 10px auto;
        opacity: 1;
        transform: none;
        transition: none;
        right: auto;
        left: auto;
        display: block;
    }

    /* Tüm bölümlerin yatay taşmasını engelle */
    .hero-container,
    .explore-section,
    .animation-section,
    .slideshow-section,
    .games-intro,
    .immersive-gaming,
    .metrics-section,
    .collaborative-section,
    .cta-section,
    .games-section {
        max-width: 100%;
        overflow-x: hidden;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Görsel içeren bileşenlerin taşmasını engelle */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* Tablo ve yatay kaydırma gerektiren içeriklerin taşmasını engelle */
    table, pre {
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }
    
    /* Diğer mobil düzenlemeler */
    .animation-section {
        /*height: calc((35px + 15px) * 25); /* Kare sayısını artırdık */
        position: relative;
        overflow: visible;
    }
    
    .path {
        position: absolute;
        left: 80px;
        transform: translateX(0);
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 35px;
    }

    /* Kartların konumu ve boyutu */
    .info-card, .left-info-card {
        width: 140px;
        right: -140px;
        left: auto; /* Sol kartlar için left değerini sıfırla */
        transform: translateX(20px);
        animation: slideFromRight 0.5s forwards;
    }

    
@keyframes slideFromRight {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

    .info-card.active, .left-info-card.active {
        right: 40px;
        transform: translateX(0);
    }

    .info-card img, .left-info-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Hero content için düzenlemeler başka bir yerde yapıldı */

    .coin-animation {
        width: 50px;
        height: 50px;
        right: 20px;
    }

    .games-intro {
        padding-top: 80px;
    }

    .games-intro h2 {
        font-size: 48px;
    }

    .games-intro p {
        font-size: 14px;
        padding: 0 20px;
    }

    .slideshow-container {
        height: 356px;
    }

    .slideshow-card.active {
        width: 250px;
        height: 356px;
    }

    .slideshow-card {
        width: 160px;
        height: 220px;
    }

    .gaming-wrapper {
        flex-direction: column;
        padding: 40px 20px;
    }

    .gaming-gif {
        width: 100%;
        margin-bottom: 40px;
    }

    .gaming-text {
        width: 100%;
        text-align: center;
    }

    .gaming-text h2 {
        font-size: 36px;
    }
    
    /* Mobil için collaborative section düzenlemeleri */
    .collaborative-section {
        margin-top: 0;
        padding: 40px 0;
    }

    .collaborative-container {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        gap: 30px;
    }

    .collaborative-text {
        width: 100%;
        text-align: center;
    }

    .collaborative-text h2 {
        font-size: 36px;
        text-align: center;
        white-space: normal;
    }

    .collaborative-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .collaborative-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .cta-content p {
        font-size: 14px;
    }
    
    /* Görsel boyutları için */
    .coin-animation {
        width: 40px;
        height: 40px;
        right: 20px;
    }

    .gaming-gif {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .gaming-gif img {
        width: 100%;
        height: auto;
    }

    .metrics-image img {
        width: 100%;
        height: auto;
        padding: 0 20px;
    }

    /* Layout düzenlemeleri */
    .gaming-wrapper {
        flex-direction: column;
        padding: 40px 20px;
    }
}

/* Çok küçük mobil cihazlar için (480px'e kadar) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .explore-section h2,
    .games-intro h2,
    .gaming-text h2,
    .collaborative-text h2,
    .cta-content h2 {
        font-size: 32px;
    }

    .coin-animation {
        width: 30px;
        height: 30px;
        right: 15px;
    }

    .gaming-gif {
        max-width: 300px;
    }
}

/* Metrics section için mobil düzenlemeler */
@media (max-width: 768px) {
    .metrics-section {
        padding: 60px 0 20px 0;
    }

    .metrics-section h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .metrics-image {
        width: 100%;
        padding: 0 20px;
        margin-bottom: 60px;
    }
    
    /* Collaborative section için mobil düzenlemeler */
    .collaborative-section {
        margin-top: 0;
        padding: 0 0 60px 0;
    }

    .collaborative-container {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        gap: 30px;
    }

    .collaborative-text {
        width: 100%;
        text-align: center;
    }

    .collaborative-text h2 {
        font-size: 36px;
        text-align: center;
        white-space: normal;
    }

    .collaborative-image {
        width: 100%;
    }

    .collaborative-image img {
        width: 100%;
        height: auto;
    }
}

/* Daha küçük mobil ekranlar için */
@media (max-width: 480px) {
    .path {
        position: absolute;
        left: 40px; /* Daha küçük ekranlarda daha az boşluk */
        transform: translateX(0);
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 30px;
    }
    
    .metrics-section {
        margin-top: 0px;
        padding: 0px 20px;
    }

    .metrics-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    

    #character {
        left: 40px;
        width: 50px;
        height: 50px;
    }

    .info-card, .left-info-card {
        width: 120px;
        right: -120px;
    }
    
    .info-card.active, .left-info-card.active {
        right: 40px; /* Sol tarafla aynı mesafe */
    }

    .square {
        width: 30px;
        height: 30px;
    }

    .path {
        width: 30px;
        gap: 12px;
    }

    /* Hero content için düzenlemeler başka bir yerde yapıldı */

    .coin-animation {
        width: 40px;
        height: 40px;
        right: 10px;
    }

    .games-intro h2 {
        font-size: 36px;
    }

    .slideshow-container {
        height: 284px;
    }
    
    .slideshow-card.active {
        width: 200px;
        height: 284px;
    }

    .slideshow-card {
        width: 140px;
        height: 200px;
    }
    
    /* Küçük mobil için collaborative section düzenlemeleri */
    .collaborative-section {
        padding: 30px 0;
    }
    
    .collaborative-container {
        padding: 0 15px;
        gap: 20px;
    }
    
    .collaborative-text h2 {
        font-size: 28px;
    }
    
    .collaborative-image img {
        max-width: 300px;
    }

    .gaming-text h2 {
        font-size: 28px;
    }
}