/* --- GENEL OYUN ALANI & BUTONLAR --- */
.extra-section {
  padding: 4rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.section-title {
  font-family: "Dancing Script", cursive;
  font-size: 3.5rem;
  color: #ff4757;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.game-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.game-buttons button {
  background: white;
  border: 2px solid #ff4757;
  color: #ff4757;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.15);
  cursor: pointer;
}
.game-buttons button:hover {
  background: #ff4757;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
}

.game-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 30px;
  margin-bottom: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.start-btn {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  color: white;
  font-size: 1.1rem;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin: 20px 0;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
  font-weight: bold;
  transition: transform 0.2s;
}
.start-btn:hover {
  transform: scale(1.05);
}

/* --- WIN MODAL (PREMIUM ZAFER EKRANI) --- */
#win-modal {
  display: none;
  position: fixed;
  z-index: 10002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.win-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  text-align: center;
  border-radius: 40px;
  max-width: 90%;
  width: 450px;
  box-shadow:
    0 0 50px rgba(255, 71, 87, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 1);
  border: 4px solid #fff;
  animation: modalPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.win-content::before {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: -6px;
  right: -6px;
  background: linear-gradient(45deg, #ff9a9e, #ff6b6b, #ff4757, #a55eea);
  z-index: -1;
  border-radius: 44px;
  animation: rotateBorder 3s linear infinite;
}
@keyframes modalPop {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
.win-content h2 {
  font-family: "Dancing Script", cursive;
  font-size: 3rem;
  background: linear-gradient(45deg, #ff4757, #ff6b81);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.win-icon {
  font-size: 5rem;
  margin: 15px 0;
  display: block;
  animation: bounceTrophy 2s infinite ease-in-out;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.2));
}
@keyframes bounceTrophy {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}
.win-content p {
  font-size: 1.2rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 30px;
}
.close-game {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: #f1f2f6;
  color: #ff4757;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.close-game:hover {
  background: #ff4757;
  color: white;
  transform: rotate(90deg) scale(1.1);
}