body {
    background: #000000;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
}

h1 {
    margin-bottom: 10px;
}

#game {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-top: 50px;
}

.rod {
    width: 180px;
    height: 250px;
    background: #333;
    border-radius: 10px;
    padding-top: 20px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    padding-bottom: 20px;
}

.disk {
    height: 25px;
    border-radius: 6px;
    margin: 4px 0;
    cursor: grab;
    max-width: 95%;

}

#controls {
    margin-top: 25px;
}

.credit {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: #bbb;
    font-size: 14px;
    opacity: 0.8;
}

.credit-link {
    color: #4db8ff;   /* Açık mavi */
    text-decoration: none;
}

.credit-link:hover {
    color: #33aaff;   /* Üzerine gelince daha parlak */
    text-decoration: underline;
}



/*X (92-132)*/

.password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    align-items: center !important;

}

.password-box {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 260px;
}

.password-box input {
    padding: 8px;
    border-radius: 5px;
    border: none;
    margin-bottom: 10px;
    width: 180px;
    outline: none;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}


#password-submit {
    background: #0a0a0a;
    color: #00f3ff;
    padding: 5px 10px;
    border: 2px solid #00f3ff;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    text-shadow: 0 0 8px #00f3ff;
    box-shadow: 
        0 0 8px #00f3ff,
        0 0 18px #00f3ff inset;
    transition: 0.25s ease;
    margin-top: 12px;
    /* 🔥 DALGALANMA ANİMASYONU EKLENDİ */
    animation: neonWave 2.8s ease-in-out infinite;
}

#password-submit:hover {
    box-shadow: 
        0 0 10px #00f3ff,
        0 0 25px #00f3ff,
        0 0 40px #00f3ff inset;
    background: #00161a;
    color: #9ffcff;
}

#password-submit:active {
    transform: scale(0.95);
    box-shadow: 
        0 0 5px #00f3ff,
        0 0 15px #00f3ff inset;
}

/* 🌊 Hafif Dalgalanma / Wave Efekti */
@keyframes neonWave {
    0% {
        transform: scale(1);
        box-shadow:
            0 0 8px #00f3ff,
            0 0 18px #00f3ff inset;
    }
    50% {
        transform: scale(1.03);
        box-shadow:
            0 0 14px #00f3ff,
            0 0 30px #00f3ff inset;
    }
    100% {
        transform: scale(1);
        box-shadow:
            0 0 8px #00f3ff,
            0 0 18px #00f3ff inset;
    }
}





/* === MOBİL DÜZENLEMELER === */
@media (max-width: 600px) {

    #game {
        gap: 8px; /* Eskisi 20px’ti → Aralık küçüldü */
        margin-top: 20px;
    }

    .rod {
        width: 100px;
        height: 150px;
    }

    .disk {
        height: 22px;
        /* --- MOBİLDE GENİŞLİK KÜÇÜLSÜN --- */
        transform: scale(0.99);   /* %50 küçültür */
        transform-origin: center; /* ortadan küçülsün */
        margin-bottom: -2px;  /* aradaki boşluğu sıkılaştırır */

    }

    #controls {
        margin-top: 10px;
    }

    h1 {
        font-size: 22px;
    }

    p {
        font-size: 14px;
    }

    .credit {
        font-size: 11px;
        left: 5px;
    }
}

h1 {
    font-family: "Segoe Print", sans-serif;
}

