/* Sıfırlama ve temel ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: black;
  overflow: hidden;
  font-family: 'Orbitron', sans-serif;
  color: white;
}

/* Güvenlik kontrolü (bot önleme ekranı) */
#security-check {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

#security-check p {
  font-size: 18px;
  margin-top: 15px;
  animation: pulse 2s infinite;
}

/* Yükleniyor ekranı */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99;
  animation: fadein 1s ease-in-out;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255,255,255,0.2);
  border-top: 6px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

#loader p {
  font-size: 20px;
  animation: pulse 2s infinite;
}

/* Kar efekti */
#snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

/* Ana mesaj */
.message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  font-size: 2.5vw;
  text-align: center;
  z-index: 2;
  animation: appear 2s ease-in-out forwards;
  opacity: 0;
  line-height: 1.5;
  padding: 0 10px;
}

/* Görünmez hale getirme */
.hidden {
  display: none;
}

/* Animasyonlar */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes appear {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .message {
    font-size: 5vw;
    padding: 0 20px;
  }

  #loader p, #security-check p {
    font-size: 18px;
  }

  .spinner {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .message {
    font-size: 6vw;
  }
}
