:root {
  --pk-kirmizi: #ff4b2b;
  --pk-mavi: #00d2ff;
  --pk-sari: #ffcb05;
  --pk-turuncu: #f16436;
  --pk-yesil: #4cba17;
  --glass: rgba(0, 0, 0, 0.4);
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, sans-serif;
  background: url("./bg.jpg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: white;
}

.ana-kart {
  width: 95%;
  max-width: 500px;
  background: var(--glass);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 35px;
  margin: 40px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.logo {
  background: url("./logo.png") no-repeat center;
  background-size: contain;
  height: 150px;
  margin-bottom: 25px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* --- Sunucu Durum Paneli --- */
.durum-kart {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.durum-ust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.durum-nokta {
  height: 10px;
  width: 10px;
  background-color: #777;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  transition: 0.3s;
}

.online-nokta {
  background-color: var(--pk-yesil);
  box-shadow: 0 0 8px var(--pk-yesil);
}

.offline-nokta {
  background-color: var(--pk-kirmizi);
  box-shadow: 0 0 8px var(--pk-kirmizi);
}

.oyuncu-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.oyuncu-etiket {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 203, 5, 0.15);
  border: 1px solid rgba(255, 203, 5, 0.4);
  color: var(--pk-sari);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* --------------------------- */

.ip-kutu {
  position: relative;
  background: linear-gradient(90deg, var(--pk-sari), var(--pk-mavi));
  padding: 3px;
  border-radius: 20px;
  margin-bottom: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.ip-kutu:hover {
  transform: translateY(-3px);
}

.ip-ic {
  background: #111;
  padding: 15px;
  border-radius: 17px;
}

.ip-ic span {
  font-size: 1.3rem;
  font-weight: 800;
  display: block;
  color: #fff;
}

.ip-ic p {
  margin: 5px 0 0;
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
}

h3 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--pk-sari);
  margin: 25px 0 15px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 203, 5, 0.2);
  padding-bottom: 5px;
}

.mod-packs {
  display: flex;
  justify-content: space-evenly;
  gap: 15px;
  margin-bottom: 10px;
}

.mod-pack-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-btn,
.app-install-btn {
  display: block;
  width: 100%;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.65rem;
  padding: 10px 0;
  margin-top: 8px;
  border-radius: 8px;
  transition: 0.3s;
  text-transform: uppercase;
}

.app-install-btn.modrinth {
  background: var(--pk-yesil);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 186, 23, 0.3);
  margin-top: 12px;
}

.app-install-btn.curseforge {
  background: var(--pk-turuncu);
  color: white;
  box-shadow: 0 4px 15px rgba(241, 100, 54, 0.3);
  margin-top: 12px;
}

.download-btn {
  background: var(--pk-sari);
  color: black;
  box-shadow: 0 4px 15px rgba(255, 203, 5, 0.2);
}

.download-btn:hover,
.app-install-btn:hover {
  background: white;
  color: black;
  transform: scale(1.03);
}

.rehber-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.65rem;
  cursor: pointer;
  margin-top: 8px;
  transition: 0.3s;
  width: 100%;
}

.mod-satir {
	position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.07);
  margin: 8px 0;
  padding: 12px 15px;
  border-radius: 12px;
  text-align: left;
}

.mod-bilgi {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.85rem;
}

.mod-ikon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--pk-sari), #f9a825);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #000;
  font-size: 0.8rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal-ic {
  background: #151515;
  padding: 30px;
  border-radius: 20px;
  max-width: 450px;
  width: 90%;
  border: 1px solid var(--pk-sari);
  position: relative;
}

footer {
  margin-top: 30px;
  font-size: 0.7rem;
  color: #888;
	text-align: center;
}


.guncellendi-badge {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: var(--pk-sari);
  color: black;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
}