/* Açılır efekt (ilk giriş animasyonu) */
@keyframes popIn {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); }
}

/* "Nefes alan" gölge animasyonu */
@keyframes breathingShadow {
    0% {
        box-shadow: 0 6px 18px rgba(0,0,0,.15), inset 0 0 14px rgba(217,196,151,.25);
    }
    50% {
        box-shadow: 0 10px 26px rgba(0,0,0,.22), inset 0 0 20px rgba(217,196,151,.35);
    }
    100% {
        box-shadow: 0 6px 18px rgba(0,0,0,.15), inset 0 0 14px rgba(217,196,151,.25);
    }
}

/* ORTAK STİLLER */
.home-btn-gold {
    position: fixed;
    right: 22px;        /* PC varsayılan */
    bottom: 22px;       /* PC varsayılan */
    width: 58px;        /* PC varsayılan */
    height: 58px;       /* PC varsayılan */
    border-radius: 50%;
    background: #fffdf8;
    border: 2px solid #d9c497;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
    z-index: 9999;

    /* Animasyonlar */
    animation: popIn .6s ease-out, breathingShadow 4s ease-in-out infinite;
}

.home-btn-gold img.back_2-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

/* Hover efekti (sadece PC’de çalışır) */
@media (hover: hover) {
    .home-btn-gold:hover {
        transform: translateY(-4px) scale(1.08); /* daha güçlü parıltı */
        box-shadow: 0 14px 34px rgba(0,0,0,.25), inset 0 0 22px rgba(217,196,151,.45);
    }
}

/* ----- MOBİL İÇİN ----- */
@media (max-width: 768px) {

    .home-btn-gold {
        right: 10px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .home-btn-gold img.back_2-img {
        width: 35px;
        height: 35px;
    }

    /* Dokunmada büyüme (hover yok, touch var) */
    .home-btn-gold:active {
        transform: scale(1.15);  /* dokunurken hafif büyür */
    }
}

