/* === ARKA PLAN === */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(270deg, #a8edea, #5a25d4, #633cc0, #f3f72d, #33069c);
  background-size: 1000% 1000%;
  animation: gradientBG 20s ease infinite;
  text-align: center;
  color: white;
  min-height: 100vh;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === NAVBAR === */
.navbar {
  position: fixed;     /* Sayfanın üstüne yapışsın */
  top: 0;
  left: 0;
  width: 96%;         /* 👈 Tam ekran genişliği kaplasın */
  background: #000;    /* siyah arkaplan */
  color: #fff;
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-left .logo {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.nav-left .site-desc {
  font-size: 1.2em;
  font-weight: bold;
  background: linear-gradient(135deg, #5a25d4, #a8edea);
  width: 220px;
  height: 30px;
  border-radius: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.nav-left .site-desc:hover {
  background: rgb(18, 18, 143);
  color: yellow;
}

/* Menü linkleri */
.nav-right a {
  background: linear-gradient(135deg, #5a25d4, #a8edea);
  color: white;
  padding: 10px 16px;
  margin: 0 5px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-right a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  background: rgb(18, 18, 143);
  color: yellow;
}

/* Hamburger buton (mobil) */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Mobil görünüm */
@media (max-width: 768px) {
  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #5a25d4;
    text-align: center;
    margin-top: 10px;
    border-radius: 8px;
    padding: 8px 0;
  }

  .nav-right a {
    display: block;
    margin: 10px 12px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-right.active {
    display: flex;
  }
}

/* === /NAVBAR === */

/* Container içerik (navbar sabit olduğu için padding-top eklenmeli) */
.container2 {
  width: 100%;
  max-width: 900px;
  padding: 100px 20px 20px;  /* 👈 padding-top artırıldı ki içerik navbar altında başlasın */
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  animation: fadeIn 2s ease;
}

/* === İçerik stilleri (h1, h2, kartlar vs) === */
h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #fff;
}

h2 {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffdf6c;
}

.feedback-link {
  display: inline-block;
  font-size: 18px;
  background: #ff4081;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: all 0.3s ease;
}

.feedback-link:hover {
  background: #ff1744;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 23, 68, 0.7);
}

.section-title {
  font-size: 24px;
  margin: 25px 0;
  color: #ffeb3b;
  font-weight: bold;
  text-shadow: 2px 2px 5px black;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.game-card {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  padding: 20px;
  border-radius: 15px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255,255,255,0.8);
  background: linear-gradient(135deg, #ff6f61, #ff9a44);
}

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