/* ==========================================================================
   Footer and scroll-to-top button
   ========================================================================== */

.footer {
    position: relative;
    padding: 2.5rem 5%;
    color: var(--accent);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-brand {
    margin-bottom: 0.4rem;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin: 0.75rem 0;
    font-weight: 700;
}

.footer-credit {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dotted var(--glass-border);
    color: var(--accent);
    font-size: 0.85rem;
    opacity: 0.85;
}

.footer-credit strong {
    color: var(--primary);
}

.footer-credit i {
    margin-inline-end: 0.3rem;
}

.footer-brand i {
    margin-inline-end: 0.4rem;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gold-gradient);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

@media (max-width: 600px) {
    .scroll-to-top {
        bottom: 18px;
        right: 18px;
    }
}
