/* ==================== MOBILE FOOTER ==================== */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(14, 165, 233, 0.15);
    padding: 8px 12px 20px;
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 20px);
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 12px;
    flex: 1;
    max-width: 70px;
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    position: relative;
    color: #94A3B8;
}

.footer-nav-item i {
    font-size: 1.1rem;
    color: #94A3B8;
    transition: all 0.2s ease;
}

.footer-nav-item span {
    font-size: 0.6rem;
    font-weight: 500;
    color: #94A3B8;
    transition: all 0.2s ease;
}

.footer-nav-item.active i {
    color: #0EA5E9;
}

.footer-nav-item.active span {
    color: #0EA5E9;
    font-weight: 600;
}

.footer-nav-item:active {
    transform: scale(0.95);
}

/* Active dot indicator */
.footer-nav-item.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #0EA5E9;
    border-radius: 50%;
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-footer {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-footer {
        display: flex !important;
    }
}

/* ==================== BOTTOM SHEETS ==================== */
.mobile-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1A2332, #0F172A);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10002;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(14, 165, 233, 0.15);
    padding-bottom: env(safe-area-inset-bottom, 0);
    width: 100%;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-sheet.open {
    transform: translateY(0);
}

.sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10001;
}

.sheet-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sheet-drag-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin: 10px auto 0;
    flex-shrink: 0;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 14px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    flex-shrink: 0;
}

.sheet-header h3 {
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
    margin: 0;
}

.sheet-header h3 i {
    color: #0EA5E9;
    margin-right: 10px;
}

.sheet-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sheet-close-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.sheet-close-btn:active {
    transform: scale(0.95);
}

.sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 20px;
}

.sheet-body::-webkit-scrollbar {
    width: 4px;
}

.sheet-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sheet-body::-webkit-scrollbar-thumb {
    background: #0EA5E9;
}

/* ==================== SHEET OPTIONS ==================== */
.sheet-vip-option,
.sheet-fixed-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: #E2E8F0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    border-left: 3px solid transparent;
}

.sheet-vip-option:hover {
    background: rgba(14, 165, 233, 0.08);
    color: #0EA5E9;
    border-left-color: #0EA5E9;
}

.sheet-fixed-option:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #A78BFA;
    border-left-color: #8B5CF6;
}

.sheet-vip-option:active,
.sheet-fixed-option:active {
    transform: scale(0.98);
}

.sheet-vip-option i {
    width: 28px;
    font-size: 1rem;
    color: #0EA5E9;
    text-align: center;
}

.sheet-fixed-option i {
    width: 28px;
    font-size: 1rem;
    color: #8B5CF6;
    text-align: center;
}

.sheet-vip-option .option-arrow,
.sheet-fixed-option .option-arrow {
    margin-left: auto;
    color: #4A5568;
    font-size: 0.8rem;
}

/* ==================== ACCOUNT SHEET ==================== */
.sheet-profile-section {
    text-align: center;
    padding: 28px 24px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.08);
}

.sheet-profile-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #0EA5E9, #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.sheet-profile-avatar i {
    font-size: 2.2rem;
    color: white;
}

.sheet-profile-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.sheet-profile-email {
    font-size: 0.8rem;
    color: #94A3B8;
}

.sheet-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #E2E8F0;
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
    border-left: 3px solid transparent;
}

.sheet-menu-item:hover {
    background: rgba(14, 165, 233, 0.08);
    color: #0EA5E9;
    border-left-color: #0EA5E9;
}

.sheet-menu-item i {
    width: 28px;
    font-size: 1rem;
    color: #0EA5E9;
    text-align: center;
}

.sheet-menu-item .arrow {
    margin-left: auto;
    color: #4A5568;
    font-size: 0.8rem;
}

.sheet-logout-item {
    color: #EF4444 !important;
    border-top: 1px solid rgba(239, 68, 68, 0.1);
    margin-top: 8px;
}

.sheet-logout-item i {
    color: #EF4444 !important;
}

.sheet-logout-item:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #EF4444 !important;
    border-left-color: #EF4444 !important;
}

/* Auth section for logged out */
.sheet-auth-section {
    text-align: center;
    padding: 40px 24px;
}

.sheet-auth-section i {
    font-size: 3rem;
    color: #0EA5E9;
    margin-bottom: 16px;
}

.sheet-auth-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.sheet-auth-section p {
    color: #94A3B8;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.sheet-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
}

.sheet-btn-login {
    background: linear-gradient(135deg, #0EA5E9, #3B82F6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
}

.sheet-btn-register {
    background: rgba(255, 255, 255, 0.05);
    color: #E2E8F0;
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
}

.sheet-btn-login:active,
.sheet-btn-register:active {
    transform: scale(0.98);
}

.sheet-loading {
    text-align: center;
    padding: 60px 20px;
    color: #94A3B8;
}

.sheet-loading i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #0EA5E9;
}