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

body {
  background: radial-gradient(ellipse at center, #0b0f1a 0%, #000000 100%);
  color: white;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(50, 50, 50, 0.3);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 20px 0;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #42e3f5;
}

.play-button {
  background: #42e3f5;
  padding: 10px 24px;
  border-radius: 25px;
  color: black;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.play-button:hover {
  background: #2bd8f0;
}

.hero {
  text-align: center;
  margin-top: 120px;
  z-index: 2;
  position: relative;
  animation: fadeIn 2s ease-in-out;
  padding: 20px;
}

.icon {
  width: 60px;
  margin-bottom: 20px;
}

.glow-text {
  text-shadow: 0 0 15px #42e3f5;
  animation: glow 2s ease-in-out infinite alternate;
}

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

@keyframes glow {
  from { text-shadow: 0 0 5px #42e3f5; }
  to { text-shadow: 0 0 20px #42e3f5; }
}

canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

body {
    padding-bottom: 60px; /* footer yüksekliğine göre boşluk */
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #ccc;
    position: relative;
    z-index: 2;
    margin-top: 100px;
}

.contact {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 40px;
  margin: 50px auto;
  max-width: 800px;
  border-radius: 12px;
  animation: fadeIn 2s ease-in-out;
}

.contact h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.info-item {
  margin-bottom: 20px;
  font-size: 16px;
  color: #eee;
}

.info-item .label {
  font-weight: bold;
  color: #42e3f5;
}

.contact a {
  color: #42e3f5;
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }

  .play-button {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 42px;
  }
    .games-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
        gap: 20px;
        padding: 40px;
    }

    .game-item {
        background: rgba(255,255,255,0.05);
        padding: 20px;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

        .game-item:hover {
            background: rgba(66,227,245,0.1);
        }

        .game-item h3 {
            margin-bottom: 8px;
        }
}