/**
 * ROUGE VINTAGE-INDUSTRIAL URBAN LOUNGE — MOBILE DOCK NAV (REDESIGNED)
 * Main Color: #770b24 (Royal Velvet Rouge) | Accent: Antique Gold (#D4AF37)
 * Safe-Area-Aware & Mobile-First
 */

.rg-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--rg-dock-h);
    background: rgba(17, 13, 16, 0.95);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border-top: 1px solid var(--rg-primary-border);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.75), 0 -1px 0 rgba(119, 11, 36, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px env(safe-area-inset-bottom, 0px);
    z-index: 999;
}

@media (min-width: 840px) {
    .rg-dock {
        display: none;
    }
}

.rg-dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--rg-parchment-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 500;
    flex: 1;
    height: 100%;
    min-height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: color var(--rg-trans-fast);
    position: relative;
    padding: 4px 0;
}

.rg-dock__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 26px;
}

.rg-dock__icon {
    font-size: 1.15rem;
    transition: transform var(--rg-trans-smooth), color var(--rg-trans-fast);
}

.rg-dock__item:hover,
.rg-dock__item.is-active,
.rg-dock__item:active {
    color: var(--rg-gold);
}

.rg-dock__item:hover .rg-dock__icon,
.rg-dock__item.is-active .rg-dock__icon,
.rg-dock__item:active .rg-dock__icon {
    transform: translateY(-2px);
    color: var(--rg-gold);
    filter: drop-shadow(0 0 8px var(--rg-gold-glow));
}

.rg-dock__item.is-active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 3px;
    background: linear-gradient(90deg, var(--rg-primary-bright) 0%, var(--rg-gold) 100%);
    box-shadow: 0 0 10px var(--rg-primary-glow);
    border-radius: 0 0 4px 4px;
}

.rg-dock__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #c41c45 0%, #770b24 100%);
    color: #FAF7F2;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: var(--rg-radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 0 10px rgba(119, 11, 36, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.5);
}
