body {
    background: gold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    text-align: center;
    position: relative;
}

img {
    max-width: 300px;
    border: 5px solid black;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease;
}

button {
    background: black;
    color: gold;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
}

button:hover {
    background: darkgoldenrod;
    color: black;
}

.social-links {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
}

.social-link {
    color: black;
    background: gold;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin: 5px 0;
    transition: background 0.3s, color 0.3s;
}

.social-link:hover {
    background: darkgoldenrod;
    color: black;
}

.bless-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: black;
    font-weight: bold;
    display: none; /* Başlangıçta gizli */
    z-index: 2;
}

#logoOverlay {
    position: fixed; /* Sayfa boyunca sabit olacak */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none; /* Başlangıçta gizli */
    justify-content: center;
    align-items: center;
    z-index: 3; /* Logo ön planda olacak */
    pointer-events: none; /* Diğer elementlerin üzerinde olmasını engeller */
}

#logoOverlay img {
    position: absolute;
    width: 200px;
    height: 200px;
    animation: spreadLogo 1.5s ease-out infinite;
}

/* Logo'nun yayılma animasyonu */
@keyframes spreadLogo {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(10);
        opacity: 0;
    }
}

/* Patlama animasyonu */
@keyframes explodeButton {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(4);
        opacity: 0.5;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

button.exploded {
    animation: explodeButton 0.8s ease-out forwards;
}

/* Resim ve buton sallanma animasyonu */
@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
    75% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
        opacity: 0;
    }
}

/* Sallanma animasyonunu eklemek için resim ve butona */
img.shake, button.shake {
    animation: shake 2s ease-out forwards;
}



