/* --- Genel Ayarlar --- */
* {
    box-sizing: border-box;
    z-index: 1;
}

body {
    /* Arka plan resmi değiştirmek istersen img klasörüne yükle ve adını 'minecraft.jpg' yap */
    background: linear-gradient(rgba(16, 20, 26,0.65), rgba(16, 20, 26, 0.65)),
                url("../img/minecraft.jpg") no-repeat center center fixed;
    background-size: cover;
    font-family: "Open Sans", Helvetica;
    margin: 0;
    position: relative;
}

html, body {
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
}

p {
    margin: 0;
    padding: 3px;
}

/* --- Ana Konteyner --- */
.konteyner {
    text-align: center;
}

/* --- Logo Ayarları --- */
.logo img {
    width: 225px;
    animation: logo 5s infinite ease-in-out;
}

/* Logo animasyonu */
@keyframes logo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

/* --- Oyuncu Sayısı Kutusu --- */
.oyuncusayisi {
    display: inline-block;
    margin: 20px 15px 15px 15px;
    padding: 2px 0;
    background-color: rgba(15, 199, 209, 0.75);
    font-size: 1em;
    color: white;
    text-align: center;
    border-radius: 5px 0 5px 0;
    line-height: 27px;
}

.oyuncusayisi > p > span {
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(9, 150, 158, 0.7);
    margin: 0 2px;
}

#ip {
    cursor: pointer;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3);
}

/* --- Menü / Butonlar --- */
.ogeler {
    display: flex;
    justify-content: space-around;
    padding: 18px 0 10px 0;
}

.ogeler img {
    transition: all 0.2s ease;
    margin-bottom: 7px;
}

.ogeler img:hover {
    transform: scale(1.1);
}

.img {
    width: 80%;
}

.baslik {
    font-weight: bold;
    font-size: 17px;
    color: white;
}

.altbaslik {
    color: #cfcfcf;
    font-size: 12px;
}

#tsparticles {
    z-index: 0; /* Partikülleri sayfanın arkasına al */
}

/* --- Responsive Tasarım --- */
@media(min-width: 400px) {
    .logo img { width: 280px; }
    .oyuncusayisi { margin-top: 30px; padding: 5px; }
    .oyuncusayisi > p > span { padding: 2px 7px; }
}

@media(min-width: 1250px) {
    .baslik { font-size: 24px; }
    .altbaslik { font-size: 15px; }
    .logo img { width: 470px; }
    .logo { margin-bottom: 23px; }
    .img { width: 100%; }
    .ogeler { padding: 30px 0 20px 0; }
    .oyuncusayisi { font-size: 1.22em; padding: 10px; }
    .oyuncusayisi > p > span { padding: 4px 7px; }
}

@media(min-width: 1000px) {
    .ogeler { justify-content: center; }
    .ogeler:not(:first-child) { margin-left: 90px; }
}
