/* ===== SOFT MODERN GOLDEN HOVER - OVERRIDE ===== */

/* --- LOGO: hafif asagi --- */
.row.justify-content-center [alt="logo"] {
    margin-top: 28px;
    display: block;
}

/* --- NAVBAR: subtle texture + depth --- */
.top-panel {
    background-color: #180f0a !important;
    background-image:
        linear-gradient(to bottom, rgba(212, 170, 60, 0.04) 0%, transparent 100%),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.018) 0px,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px,
            transparent 7px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.018) 0px,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px,
            transparent 7px
        ) !important;
    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.65),
        inset 0 -1px 0 rgba(197, 158, 60, 0.18) !important;
}

/* --- MOBİL OPTİMİZASYON --- */

/* ---- HAMBURGER BUTONU ---- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(197, 158, 60, 0.08);
    border: 1px solid rgba(197, 158, 60, 0.35);
    border-radius: 6px;
    cursor: pointer;
    position: fixed;
    right: 18px;
    top: 14px;
    transform: none;
    transition: background 0.25s ease, border-color 0.25s ease;
    z-index: 9999;
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #c9a84c;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}
.hamburger-btn:hover {
    background: rgba(197, 158, 60, 0.18);
    border-color: rgba(197, 158, 60, 0.65);
}
/* Aktif (menü açık) — X animasyonu */
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBİL OVERLAY MENÜ ---- */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9998;
    /* Arkaplan: koyu + hafif sıcak ton */
    background: rgba(18, 10, 5, 0.97);
    /* Çok ince texture */
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 8px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 8px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-nav.open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.mobile-nav ul li {
    margin: 18px 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav.open ul li { opacity: 1; transform: translateY(0); }
.mobile-nav.open ul li:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open ul li:nth-child(2) { transition-delay: 0.10s; }
.mobile-nav.open ul li:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open ul li:nth-child(4) { transition-delay: 0.20s; }
.mobile-nav ul li a {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #c9aa71;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    padding: 8px 24px;
    border-bottom: 1px solid rgba(197, 158, 60, 0.15);
    display: inline-block;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.mobile-nav ul li a:hover {
    color: #fff;
    border-bottom-color: rgba(197, 158, 60, 0.55);
    text-decoration: none;
}
/* Kapatma butonu */
.mobile-nav-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(197, 158, 60, 0.6);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.mobile-nav-close:hover { color: #c9a84c; }

@media (max-width: 910px) {
    .hamburger-btn { display: flex; }
    .top-panel { position: relative; justify-content: center; }
}



/* Mobil buton görselleri — daha uygun yükseklik */
@media (max-width: 1365px) {
    .f-d-n.animated {
        height: auto !important;
        max-width: 90vw;
        max-height: 220px;
    }

    /* Logo mobilde boyutlanır */
    .row.justify-content-center [alt="logo"] {
        max-width: 80vw;
        height: auto;
        margin-top: 18px;
    }

    /* Date görseli mobilde taşmasın */
    [alt="logo"] ~ * img,
    .row.justify-content-center img[alt="logo"]:not([alt="logo"]) {
        max-width: 90vw;
        height: auto;
    }

    /* Alt yazı mobilde okunabilir */
    .footer-text {
        font-size: 12px !important;
    }

    /* Buton görselleri arası boşluk */
    .col-lg-4.shadow6 {
        margin-bottom: 10px;
    }

    /* Discord widget mobilde taşmasın */
    .discord-widget {
        bottom: 3% !important;
        left: 3% !important;
    }

    .discord-widget img {
        max-width: 110px;
        height: auto;
    }
}

/* Küçük ekranlar (telefon) */
@media (max-width: 576px) {
    .f-d-n.animated {
        max-height: 160px;
    }

    .row.justify-content-center [alt="logo"] {
        max-width: 88vw;
        margin-top: 10px;
    }

    .footer-text {
        font-size: 11px !important;
        padding: 0 12px;
    }

    /* Navbar mobilde gizlenince üst boşluk düzeltmesi */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Donen enerji halkalarini kapat */
.server-link-fx::before,
.server-link-fx::after {
    opacity: 0 !important;
    animation: none !important;
    display: none !important;
}

/* Sürekli yuzen animasyonu ve pulse'u kapat, sadece basit altin glow birak */
.server-link-fx img {
    filter: drop-shadow(0 2px 10px rgba(197, 158, 60, 0.22)) !important;
    transition: filter 0.35s ease !important;
}

/* Hover — yumusak altin parlamasi + hafif yukarikalkis */
.server-link-fx:hover img {
    filter:
        drop-shadow(0 0 12px rgba(212, 174, 68, 0.55))
        drop-shadow(0 4px 18px rgba(197, 155, 50, 0.40))
        brightness(1.07) !important;
    transform: scale(1.04) translateY(-5px) !important;
    transition: filter 0.35s ease, transform 0.35s ease !important;
}

/* Shadow6 hover — kirmizi glow'u altin yap, daha soft tut */
.shadow6::before {
    background: #c9a84c !important;
}

.shadow6:hover::before {
    opacity: 0.28 !important;
    transform: scale(0.6) !important;
    filter: blur(28px) !important;
}

.shadow6:hover {
    transform: translateY(-4px) !important;
    filter: brightness(1.07) !important;
    transition: 0.35s ease-in-out !important;
}




/* Donen enerji halkalarini kapat */
.server-link-fx::before,
.server-link-fx::after {
    opacity: 0 !important;
    animation: none !important;
    display: none !important;
}

/* Sürekli yuzen animasyonu ve pulse'u kapat, sadece basit altin glow birak */
.server-link-fx img {
    filter: drop-shadow(0 2px 10px rgba(197, 158, 60, 0.22)) !important;
    transition: filter 0.35s ease !important;
}

/* Hover — yumusak altin parlamasi + hafif yukarikalkis */
.server-link-fx:hover img {
    filter:
        drop-shadow(0 0 12px rgba(212, 174, 68, 0.55))
        drop-shadow(0 4px 18px rgba(197, 155, 50, 0.40))
        brightness(1.07) !important;
    transform: scale(1.04) translateY(-5px) !important;
    transition: filter 0.35s ease, transform 0.35s ease !important;
}

/* Shadow6 hover — kirmizi glow'u altin yap, daha soft tut */
.shadow6::before {
    background: #c9a84c !important;
}

.shadow6:hover::before {
    opacity: 0.28 !important;
    transform: scale(0.6) !important;
    filter: blur(28px) !important;
}

.shadow6:hover {
    transform: translateY(-4px) !important;
    filter: brightness(1.07) !important;
    transition: 0.35s ease-in-out !important;
}
