/* --- FOOTER --- */
.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), height 0.3s ease;
}

.app-footer.footer-hidden {
    transform: translateY(100%);
}

.footer-toggle-con {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
    z-index: 1100;
    transition: bottom 0.3s ease;
}

.f-tog-btn {
    width: 50px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: var(--txt-sec);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.f-tog-btn:hover {
    color: var(--blue);
    background: var(--bg);
    transform: translateX(-50%) scale(1.05);
}

/* Fix hover transform because of parent translateX */
.f-tog-btn:hover {
    transform: scale(1.05);
}

.f-tog-btn i {
    transition: transform 0.4s ease;
    font-size: 14px;
}

.footer-hidden-state .f-tog-btn i {
    transform: rotate(180deg);
}

.in-game .app-footer {
    height: 60px;
}

.in-game .app-footer .c-btn {
    padding: 6px 12px;
    font-size: 11px;
}

.footer-controls {
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.f-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--txt-sec);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    font-size: 16px;
}

.f-btn:hover {
    transform: scale(1.1);
    color: var(--blue);
    box-shadow: var(--shadow-md);
}

.watermark {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
}

.wm-small {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
}

.wm-large {
    font-size: 14px;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.5px;
    margin-top: 4px;
}


/* === FOOTER SHOULD NOT ADAPT TO ACCENT === */
.app-footer .c-btn.active {
    background: #3b82f6 !important; /* Fixed blue */
    box-shadow: none !important;
}
